Skip to content

Commit

Permalink
Version 19.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Dec 2, 2021
1 parent e46f76f commit a604d67
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Basic info:

- **Node.js version:** <!-- only v12 and above are supported -->
- **jsdom version:** <!-- only v18 and above are supported -->
- **jsdom version:** <!-- only v19 and above are supported -->

### Minimal reproduction case

Expand Down
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ Kasper Isager <kasperisager@gmail.com>
kblomquist <kblomquist@groupon.com>
Ken "Elf" Mathieu Sternberg <elf@pendorwright.com>
Kenneth Powers <ken@kenpowers.net>
Kevin Gibbons <bakkot@gmail.com>
Kevin Raynel <kraynel@users.noreply.github.com>
King Koopa <bbyholm@abo.fi>
Konto Mondo <kontomondo@gmail.com>
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ Other guidelines:
* Roughly order changes within those groupings by impact.
-->

## 19.0.0

* Changed `jsdom.nodeLocation()` to return `undefined` when used on nodes that originate via fragment parsing (e.g., via `innerHTML`). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)
* Fixed calling `window.close()` inside the `Window`'s `load` event to no longer crash. (MattiasBuelens)

## 18.1.1

* Fixed `connectedCallback` to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsdom",
"version": "18.1.1",
"version": "19.0.0",
"description": "A JavaScript implementation of many web standards",
"keywords": [
"dom",
Expand Down

0 comments on commit a604d67

Please sign in to comment.