npm / match-sorter
match-sorter
What changed in match-sorter 5 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
6 breaking3 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmatch-sorter 83 changes
Breaking changes 1
Support for finding data with typos was reverted because it was too generous.
New APIs and options 2
Adds matchSorterWithRankInfo to expose rank info in results.
Adds getItemValues to the exported members, making it available to developers using the package.
match-sorter 71 changes
New APIs and options 1
Support finding data with typos.
match-sorter 63 changes
Breaking changes 3
The baseSort arguments now use rankedValue instead of rankedItem.
match-sorter now uses String.prototype.includes; older browsers need a polyfill.
match-sorter now uses String.prototype.startsWith; older browsers need a polyfill.
match-sorter 52 changes
Breaking changes 2
The default export is no longer supported; use a named import instead.
Support for different casing styles, including camelCase, PascalCase, kebab-case, and snake_case, was removed.