Skip to content

Releases: brianreavis/sifter.js

0.5.3

01 Dec 03:22
Compare
Choose a tag to compare
  • Removed microtime (was only used to report search times in CLI utility)
  • Fixed --file flag

0.5.2

15 Sep 20:22
Compare
Choose a tag to compare
  • Swapped out node-csv with csv-parse. The csv-parse package is available on NPM (unlike node-csv), which should be more secure and make installation behind proxies easier) (#45, thanks @kraigmckernan).

0.4.1

11 Feb 19:40
Compare
Choose a tag to compare

0.4.0

28 Jan 02:43
Compare
Choose a tag to compare
  • Text sorting is now locale-aware.
  • Added Polish diacritics: łŁ (#13)

0.2.0

15 Sep 05:37
Compare
Choose a tag to compare

Features

  • Added multi-property sorting.
    When the score of two or more fields is identical, ordering falls back to fields specified in the "sort" option.
  • Added a "sort_empty" option.
    It overrides "sort" when an empty search is performed.
  • Added "filter" option.
    When set to false, results that don't match will not be excluded from the resultset.
  • Added code coverage reporting.

Fixes

  • Fixed sorting by numeric values.

API Changes

There is no longer a "direction" option. Sort direction is now specified with fields in the "sort" option – which has also changed in format. See the readme for more information.