Skip to content

Releases: krisk/Fuse

v5.2.1

19 Apr 00:11
Compare
Choose a tag to compare
  • Addresses #376, #382, #384, #385, #390
  • Extended fuzzy search for long patterns (and removed ngram-based searching for long patterns)
  • Reduced overall bundle-size

CJS + Updated TypeScript Definitions

23 Mar 15:40
Compare
Choose a tag to compare
Pre-release

What's New

  • Changed bundler to Rollup
  • Added ES6 module for bundlers and browsers (fuse.esm.js) (#262)
  • Added CommonJS builds (fuse.common.js)
  • Updated TypeScript definitions

(Possible) Breaking Changes

  • The minified version is finally actually called fuse.min.js

Indexing & Enhanced Searching

18 Mar 02:21
Compare
Choose a tag to compare
Pre-release
  • Added indexing for increased performance over large lists
    • Added Fuse.createIndex, which created and returns an index. This function can be used to pre-generate the index, which you can then save, and ultimately pass to the Fuse instance.
  • Breaking changes:
    • Removed id option
    • Changed format of the search results
    • Updated TypeScript definitions
  • A couple of fixes, courtesy of Daniel Dickinson:
    • Generate multiple targets with webpack (#359)
    • Fixed TypeError (#360)

Match indices & Weighted Keys

07 Mar 17:37
Compare
Choose a tag to compare
v2.2.0

Added v2.2.0. Issue #6, #62

Improved searching

05 Feb 15:45
Compare
Choose a tag to compare
  • Modified search algorithm to search individual words AND the full string, computing the final score as a function of both. This yields better scoring accuracy (#41)
  • Changed exact substrings to not have a score of zero. That is searching for "hell" in "hello" will not yield a score of zero, while searching for "hello" will (#63)
  • Added verbose option, which will print to the console useful information, mostly for debugging
  • Improved code structure.
  • Added version information within Fuse itself
  • Added this Changelog (#64)
  • Added fallback when pattern length is greater than machine word length (i.e, > 32 characters) (#38)
  • Allowed results with a value of 0 to be returned (#73)

Nested Arrays

11 Sep 19:10
Compare
Choose a tag to compare

Exposed new options

09 Apr 00:06
Compare
Choose a tag to compare

Added new options:

  • includeScore
  • shouldSort
  • sortFn
  • searchFn

For a full list, take a look at the README

Support for deep key search

07 Apr 00:49
Compare
Choose a tag to compare
  • Added support for deep key search (#17)
  • Now threshold and match distance can be set to zero (#8)
  • Various optimizations and code clean-up