# What changed in match-sorter

> 9 changes in match-sorter 5 to 8 from its official release notes, upgrade guides and advisories: 6 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/match-sorter/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## match-sorter 8

### Breaking changes

- Support for finding data with typos was reverted because it was too generous. (8.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v8.0.0)

### New APIs and options

- Adds matchSorterWithRankInfo to expose rank info in results. (8.3.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v8.3.0)
- Adds getItemValues to the exported members, making it available to developers using the package. (8.2.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v8.2.0)

## match-sorter 7

### New APIs and options

- Support finding data with typos. (7.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v7.0.0)

## match-sorter 6

### Breaking changes

- The baseSort arguments now use rankedValue instead of rankedItem. (6.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v6.0.0)
- match-sorter now uses String.prototype.includes; older browsers need a polyfill. (6.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v6.0.0)
- match-sorter now uses String.prototype.startsWith; older browsers need a polyfill. (6.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v6.0.0)

## match-sorter 5

### Breaking changes

- The default export is no longer supported; use a named import instead. (5.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v5.0.0)
- Support for different casing styles, including camelCase, PascalCase, kebab-case, and snake_case, was removed. (5.0.0) — [release notes](https://github.com/kentcdodds/match-sorter/releases/tag/v5.0.0)
