All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- value fetched at the end must be a string (1de1dff), closes #661
- getFn to FuseOptionKeyObject (80b87a9), closes #655
- typescript: type definition for `FuseOptionKeyObject, fixes #655 (4acabb6)
- typescript: type definition for FuseOptionKeyObject (0a790b5), closes #655 #656
- allow passing getFn for a specific key (1d445b9), closes #627
- excessive splitting in parseQuery (2c78022)
- type mismatch on toJSON (f5425ea)
- rollback min node version (9918f67)
- scoring: field length norm weight (a9e0080)
- typescript: add config declaration to types (2f4de0c)
- extended: correctly score include-match results (443c863), closes #522
- extended: ignoreLocation when useExtendedSearch is true (8f67ac9), closes #465
- extended: add ability to search actual exact string (350283f)
- logical: scores in logical query operators are ignored (e357229), closes #449
- provide alternative array notation for nested paths (7077fbe), closes #432
- typescript: add types for string and object together for the key property (85fb211)
- typescript: add typing for nested paths with array notation (dfa4823)
- Addresses #390, #376, #382, #385
- Removed ngram search and extended bitap to search long patterns
- Fixed Fuse global name. Erroenously set as 'Fuse.js'
- Changed bundler to Rollup.
- Added ES6 modules for bundlers and browsers (
fuse.esm.js
) (fixed #262)
- Added CommonJS builds (
fuse.common.js
)
- The minimified version is finally actually called
fuse.min.js
- 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.
- Removed
id
option
- Changed format of the search results
- Updated TypeScript definitions
- Removed
matchAllTokens
option.
- Added ability to search patterns longer > 32 characters
- Removed
maxPatternLength
option
- Perf optimization on nested array search
- Re-added license information
- Removed unused codepath
- Fixed case sensititivity check
- Upgraded dev dependencies
- Improved error handling for keys
- Fixed #341, adjusting weights into the calculation
- Improved performance by ~10% (really can only be seen when you have 10k+ items)
- Fixed #261
- Rewrote tests to Jest framework
- Wrote tests for TypeScript typings
- Cleanup build
- Ensured
dist/
content is production ready (both full and min versions) #283
- Upgraded build tool to Webpack 4. New
dist/
output.
- Fixed issue in which more fuzzy matches would weaken a score instead of strengthening it (#233)
- Give better result for exact match when using weighted keys (#192)
- Added match index location for array key (#183)
- Allow searching deep nested numbers (#189)
- Escape special characters in search pattern (#168)
- Removed Bower support
- Modified library into a more more palatable architecture, where the Bitap portion is now its own separate module.
- Removed
include
option in favor of more explicit booleans: includeScore
and includeMatches
. Both are false
by default.
- Removed
searchFn
option, as this (for now) will remain a Bitap based solution
- Reverted to previous version, thus fixing breaking changes (a little bit of a version match here)
- Revert back to previous version
- Fix typings based on TypeScript guidelines (#129)
- Added Typescript definition
- Added ability to set min/max matched character lengths when returning the matched indices (#122)
- Added option to search by matching all tokens (in every record) when
matchAllTokens:true
(#95)
- Added token separator to options, when
tokenize:true
(#93)
- General code clean up (#88)
- Bunch of other bug fixes
- Added option to include matched indices (#6)
- Added ability to search with weighted keys (#62)
- Added ability to search with weighted keys (#62)
- 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)