match-sorter

Simple, expected, and deterministic best-match sorting of an array in JavaScript

MIT License

Downloads
8.7M
Stars
3.6K
Committers
33

Bot releases are hidden (Show)

match-sorter - v5.0.0

Published by kentcdodds about 4 years ago

5.0.0 (2020-10-12)

Features

  • change export from default to named (ad338de)
  • case: remove support of different casings (camel/kebab/etc) (02a0180), closes #103 #106

BREAKING CHANGES

  • We no longer support a default export. You must use a
    named import
  • case: This removes support for different cases (like
    camelCase, PascalCase, kebab-case, snake_case). A workaround is
    documented in the README.md.
match-sorter - v4.2.1

Published by kentcdodds about 4 years ago

4.2.1 (2020-09-14)

Bug Fixes

match-sorter - v4.2.0

Published by kentcdodds over 4 years ago

4.2.0 (2020-07-15)

Features

  • add baseSort configuration option (#95) (4d233b7)
match-sorter - v4.1.0

Published by kentcdodds over 4 years ago

4.1.0 (2020-03-25)

Features

match-sorter - v4.0.2

Published by kentcdodds about 5 years ago

4.0.2 (2019-09-30)

Bug Fixes

match-sorter - v4.0.1

Published by kentcdodds about 5 years ago

4.0.1 (2019-07-27)

Bug Fixes

  • deps: add @babel/runtime as a dep (dbb870a), closes #71
match-sorter - v4.0.0

Published by kentcdodds about 5 years ago

4.0.0 (2019-07-19)

Features

  • upgrade everything and remove CJS/UMD entries (fe94fc6), closes #41 #70

BREAKING CHANGES

  • If you're using the CJS module format, you now have to get matchSorter from the default property.
match-sorter - v3.1.1

Published by kentcdodds over 5 years ago

3.1.1 (2019-06-13)

Bug Fixes

match-sorter - v3.1.0

Published by kentcdodds over 5 years ago

3.1.0 (2019-06-06)

Features

  • sort same ranked items alphabetically (#64) (9888015)
match-sorter - v3.0.1

Published by kentcdodds over 5 years ago

3.0.1 (2019-06-04)

Bug Fixes

  • don't allow simple match to meet acronym threshold (#60) (fcf34f4), closes #54 #54
match-sorter - v3.0.0

Published by kentcdodds over 5 years ago

3.0.0 (2019-04-17)

Bug Fixes

  • replace Diactric.js with remove-accents (#58) (fa454c5), closes #57

BREAKING CHANGES

  • We changed the diacritics library. No API changes, but there may be some behavioral changes with diacritics.
match-sorter - v2.3.0

Published by kentcdodds about 6 years ago

2.3.0 (2018-08-29)

Features

  • add ability to set a threshold per key (#50) (22f1d73)
match-sorter - v2.2.3

Published by kentcdodds over 6 years ago

2.2.3 (2018-05-07)

Bug Fixes

  • issue with filtering with property values of number 0 (#47) (3b98826)
match-sorter - v2.2.2

Published by kentcdodds over 6 years ago

2.2.2 (2018-05-07)

Bug Fixes

  • replaced String.includes() with indexOf() due to IE incompatibility (#45) (486549f)
match-sorter - v2.2.1

Published by kentcdodds over 6 years ago

2.2.1 (2018-03-15)

Bug Fixes

  • remove code sponsor link from Readme (#38) (2800b57)
  • skip search/sort when search term is empty (#40) (dcec521), closes #39
match-sorter - v2.2.0

Published by kentcdodds almost 7 years ago

2.2.0 (2017-11-22)

Features

  • add sorting based on case to the ranking system (#33) (8d59730)
match-sorter - v2.1.0

Published by kentcdodds almost 7 years ago

2.1.0 (2017-11-21)

Features

  • null check in nested key resolution (#32) (fa8380b)
match-sorter - v2.0.2

Published by kentcdodds about 7 years ago

2.0.2 (2017-09-22)

Bug Fixes

  • umd: add sourcemaps to minified (8a20725)
match-sorter - v2.0.1

Published by kentcdodds about 7 years ago

2.0.1 (2017-09-22)

Bug Fixes

match-sorter - v2.0.0

Published by kentcdodds about 7 years ago

2.0.0 (2017-09-22)

Features

  • remove global-object dep and upgrade build (8613bf2)

BREAKING CHANGES

  • If you use the UMD build, please note the changed location of the files. If you don't then you should be safe to upgrade.