From 2f8a7302a43fff92f244d5f3426367a8eb2b8896 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sun, 21 Jan 2024 22:05:22 +0900 Subject: [PATCH] Version 24.0.0 --- .mailmap | 1 + AUTHORS.txt | 1 - Changelog.md | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.mailmap b/.mailmap index 9d876fef82..db9fe17f25 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 b9914220c2..a5c4012909 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 b7881de060..5639a2b0c7 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 87abde22d3..5963559b2f 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 3b9b745c7f..84e3dc9648 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",