diff --git a/.mailmap b/.mailmap index 9d876fef8..db9fe17f2 100644 --- a/.mailmap +++ b/.mailmap @@ -25,3 +25,4 @@ Christoph Pojer Michał Gołębiowski-Owczarek Jesus David Garcia Gomez Magne Andersson +asamuzaK (Kazz) diff --git a/AUTHORS.txt b/AUTHORS.txt index b9914220c..a5c401290 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -32,7 +32,6 @@ antonj Aria Stewart Arrix Aryan Arora -asamuzaK (Kazz) asamuzaK (Kazz) Avery Fay Avi Deitcher diff --git a/Changelog.md b/Changelog.md index b7881de06..5639a2b0c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -26,6 +26,16 @@ Other guidelines: * Roughly order changes within those groupings by impact. --> +## 24.0.0 + +This release reverts our selector engine back to [`nwsapi`](https://www.npmjs.com/nwsapi). As discussed in [#3659](https://github.com/jsdom/jsdom/issues/3659), the performance regressions from [`@asamuzakjp/dom-selector`](https://www.npmjs.com/package/@asamuzakjp/dom-selector) turned out to be higher than anticipated. In the future, we can revisit `@asamuzakjp/dom-selector` after it reaches `nwsapi`'s performance on the [two real-world benchmarks provided by the community](https://github.com/jsdom/jsdom/issues/3659#issuecomment-1890852609). + +Since reverting to `nwsapi` causes several functionality regressions, e.g. removing `:has()` support, we've decided to make this a major version. + +Additionally: + +* Small fixes to edge-case behavior of the following properties: `input.maxLength`, `input.minLength`, `input.size`, `progress.max`, `tableCell.colSpan`, `tableCell.rowSpan`, `tableCol.span`, `textArea.cols`, `textArea.maxLength`, `textArea.minLength`, `textArea.rows`. + ## 23.2.0 This release switches our CSS selector engine from [`nwsapi`](https://www.npmjs.com/nwsapi) to [`@asamuzakjp/dom-selector`](https://www.npmjs.com/package/@asamuzakjp/dom-selector). The new engine is more actively maintained, and supports many new selectors: see [the package's documentation](https://github.com/asamuzaK/domSelector#supported-css-selectors) for the full list. It also works better with shadow trees. diff --git a/package-lock.json b/package-lock.json index 87abde22d..5963559b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jsdom", - "version": "23.2.0", + "version": "24.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jsdom", - "version": "23.2.0", + "version": "24.0.0", "license": "MIT", "dependencies": { "cssstyle": "^4.0.1", diff --git a/package.json b/package.json index 3b9b745c7..84e3dc964 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsdom", - "version": "23.2.0", + "version": "24.0.0", "description": "A JavaScript implementation of many web standards", "keywords": [ "dom",