NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2274 most downloaded on npm
A CSS selector engine.
Latest stable
10.0.7
Last release today
21 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
290 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Recheck the length only when the validity value is valid by @asamuzaK in #381
Full Changelog: v10.0.5...v10.0.6
Bound the per-document selector cache by @harsh-thakkar7 in #376
Full Changelog: v10.0.4...v10.0.5
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix preceding logic by @asamuzaK in #374
Fix extractSubjects handler by @asamuzaK in #372
Accept empty string for |= attr selector by @asamuzaK in #371
Full Changelog: v10.0.1...v10.0.2
Full Changelog : v10.0.0...v10.0.1
Full Changelog: v10.0.0...v10.0.1
Move traversal methods to traverser.js by @asamuzaK in #363
Full Changelog: v9.2.4...v10.0.0
Use css-tree clone() instead of deep freeze by @asamuzaK in #362
Full Changelog: v9.2.3...v9.2.4
Add cacheSize field and update related logic by @asamuzaK in #359
Full Changelog: v9.2.2...v9.2.3
perf(startup): Use selective CSS-tree imports by @scttcper in #354
Full Changelog: v9.2.1...v9.2.2
Refine :lang subtag regex by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/351
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.2.0...v9.2.1
Add error field to check results by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/347
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.1.4...v9.2.0
Invalidate by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/346
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.1.3...v9.1.4
Add types by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/345
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.1.2...v9.1.3
perf(matcher): Speed up simple attribute equality checks by @scttcper in https://github.com/asamuzaK/domSelector/pull/335
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.1.1...v9.1.2
Fix selector validation for pseudo selectors by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/334
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.1.0...v9.1.1
Split the Evaluator's responsibilities by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/313
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.0.4...v9.1.0
perf(jsdom): Speed up simple attribute presence queries by @scttcper in https://github.com/asamuzaK/domSelector/pull/311
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.0.3...v9.0.4
perf(jsdom): Restore matches fast path by @scttcper in https://github.com/asamuzaK/domSelector/pull/309
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.0.2...v9.0.3
Add isHTMLElement util and use in matcher by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/307
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.0.1...v9.0.2
Lowercase HTML attribute names per flags by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/305
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v9.0.0...v9.0.1
Fix case-insensitivity for attribute selectors by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/300
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.3.0...v9.0.0
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.3.1...v8.3.2
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.3.1...v8.3.2
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.3.0...v8.3.1
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.3.0...v8.3.1
Use WeakMap for AST metadata caching by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/290
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.5...v8.3.0
Fix performance regressions by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/286
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.4...v8.2.5
Add third filter parameter to tree walker creation by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/285
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.3...v8.2.4
Use validity.valid for :valid/:invalid checks by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/284
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.2...v8.2.3
Refactor cache manager into separate components by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/277
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.1...v8.2.2
Switch to generator by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/275
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.2.0...v8.2.1
Add test by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/270
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.1.5...v8.2.0
Improve QSA handling by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/268
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.1.4...v8.1.5
Let sort be true if branch length is > 1 by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/267
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.1.3...v8.1.4
Review and update selector regular expression by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/265
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.1.2...v8.1.3
Adjust regular expression for improved matching by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/264
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.1.1...v8.1.2
Add clearAll option to clear method by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/250
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.0.2...v8.1.1
Add new supports() method by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/246
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.0.1...v8.0.2
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.0.0...v8.0.1
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.0.0...v8.0.1
Split event tracker from finder by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/237
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.1.1...v8.0.0
Implement nwsapi internally by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/243
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v8.0.0-a.1...v8.0.0-a.2
Split event tracker from finder by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/237
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.1.1...v8.0.0-a.1
Check if the target is an element node by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/236
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.1.0...v7.1.1
Remove --parallel by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/233
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.10...v7.1.0
Use external generational-cache by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/227
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.9...v7.0.10
Split generational cache to new file by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/226
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.8...v7.0.9
Update cache handling by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/225
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.7...v7.0.8
Remove lru-cache by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/224
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.6...v7.0.7
Reduce the use of treeWalker and cache leaves by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/223
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.5...v7.0.6
Cache selectorAST by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/222
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.4...v7.0.5
Add fast pass for type selector by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/219
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.3...v7.0.4
Review matchAttributeSelector() by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/213
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.2...v7.0.3
Simplify code implementation by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/210
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.1...v7.0.2
Review _correspond() by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/209
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v7.0.0...v7.0.1
Make :popover-open to be unsupported by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/204
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.8.1...v7.0.0
Return empty string for top level & by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/203
& by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/203Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.8.0...v6.8.1
Include AST in check result by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/202
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.7.8...v6.8.0
Refactor scoped complex selector handling by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/201
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.7.7...v6.7.8
Update node.js.yml by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/195
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.7.6...v6.7.7
Sort if selector includes :scope by @asamuzaK in https://github.com/asamuzaK/domSelector/pull/194
Full Changelog: https://github.com/asamuzaK/domSelector/compare/v6.7.5...v6.7.6
One column per quarter.