Skip to content

Commit

Permalink
Version 21.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jan 7, 2023
1 parent 0c8eb3a commit a7c8545
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 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 v14 and above are supported -->
- **jsdom version:** <!-- only v20 and above are supported -->
- **jsdom version:** <!-- only v21 and above are supported -->

### Minimal reproduction case

Expand Down
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Robin <fbzhong@gmail.com>
ulteriorlife <ulteriorlife@gmail.com> <ulterior@vbox.(none)>
Ivan Nikulin <ifaaan@gmail.com>
Jeff Carpenter <gcarpenterv@gmail.com>
eps1lon <silbermann.sebastian@gmail.com>
Sebastian Silbermann <silbermann.sebastian@gmail.com>
Sebastian Mayr <github@smayr.name> <sebastian@trello.com>
Sebastian Mayr <github@smayr.name> <sebmaster16@gmail.com>
Sebastian Mayr <github@smayr.name> <git@smayr.name>
Expand Down
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Johan Sköld <johan@pingdom.com>
John Hurliman <jhurliman@jhurliman.org>
John Nguyen <tgohn@users.noreply.github.com>
John Roberts <jroberts@logitech.com>
Jon Jensen <jenseng@gmail.com>
Jon Sakas <jon.sakas@gmail.com>
Jonathan Commins <joncom@gmail.com>
Jonathan Ong <jonathanrichardong@gmail.com>
Expand Down
17 changes: 16 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ Other guidelines:
* Roughly order changes within those groupings by impact.
-->

## 21.0.0

A potentially-breaking bug fix:

* Fixed the `window`, `document`, `location`, and `top` properties of `Window` to be non-configurable. (ExE-Boss)

Other changes:

* Added support for `<input type=image>` submitting forms. (jenseng)
* Added the `location` setter to the `Window` object, which forwards to the `location.href` setter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss)
* Fixed `defer=""` `<script>` elements that are added after `DOMContentLoaded` to execute, instead of being skipped.
* Fixed `selectElement.selectedOptions` being incorrect when `optionElement.selected` is set. This was a regression introduced in v20.0.1. Unfortunately this also reverts the performance improvement when appending `<option>` elements that was introduced then. (eps1lon)
* Fixed the `self`, `locationbar`, `menubar`, `personalbar`, `scrollbars`, `statusbar`, `toolbar`, `frames`, `parent`, `external`, `length`, and `screen` properties of `Window` to be replaceable: that is, setting them will override their values, instead of having the new value be ignored. (ExE-Boss)
* Fixed a few issues with `JSOM.fromURL()` in the browser build of jsdom. (LungZeno)

## 20.0.3

* Updated dependencies, notably `w3c-xmlserializer`, which fixes using `DOMParser` on XML documents containing emoji.
Expand All @@ -45,7 +60,7 @@ Other guidelines:

## 20.0.0

* Node.js v14 is now the minimum supported version
* Node.js v14 is now the minimum supported version.
* Added `crypto.getRandomValues()`. (sjrd)
* Added `HTMLFormControlsCollection` and `RadioNodeList`, so `formEl.elements` now behaves correctly. (UndefinedBehavior)
* Added the `signal` option to `addEventListener()`. (cheap-glitch)
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": "20.0.3",
"version": "21.0.0",
"description": "A JavaScript implementation of many web standards",
"keywords": [
"dom",
Expand Down

0 comments on commit a7c8545

Please sign in to comment.