unstale

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 init

@unstale/cli on npm

match-sorter 83 changes

Breaking changes 1

  • Support for finding data with typos was reverted because it was too generous.

    8.0.0release notes

New APIs and options 2

  • Adds matchSorterWithRankInfo to expose rank info in results.

    8.3.0release notes

  • Adds getItemValues to the exported members, making it available to developers using the package.

    8.2.0release notes

match-sorter 71 changes

New APIs and options 1

match-sorter 63 changes

Breaking changes 3

  • The baseSort arguments now use rankedValue instead of rankedItem.

    6.0.0release notes

  • match-sorter now uses String.prototype.includes; older browsers need a polyfill.

    6.0.0release notes

  • match-sorter now uses String.prototype.startsWith; older browsers need a polyfill.

    6.0.0release notes

match-sorter 52 changes

Breaking changes 2

  • The default export is no longer supported; use a named import instead.

    5.0.0release notes

  • Support for different casing styles, including camelCase, PascalCase, kebab-case, and snake_case, was removed.

    5.0.0release notes