build(deps): bump fuse.js from 7.4.2 to 7.5.0 in /docs
Bumps fuse.js from 7.4.2 to 7.5.0.
Release notes
Sourced from fuse.js's releases.
v7.5.0
⚠️ Behavior changes
Every change in this release is a bug fix, but each one corrects a scoring or ranking bug. Scores and result ordering will shift for some queries. That is why this ships as a minor rather than a patch: the public API is unchanged and upgrading is a drop-in, but the results you get back can differ, and that should not arrive silently in a patch bump.
If you assert on exact
scorevalues or on a specific result order, expect those assertions to need updating. Re-baseline them against 7.5.0 rather than pinning to 7.4.x, since the 7.4.x behavior was wrong in the cases below.
- Field-length normalisation now counts words correctly. Tabs and newlines were not treated as word separators, so a multi-line or tab-delimited field was scored as though it were one long word, making it look far shorter than it is. Fields containing
\t,\n, or\rnow score differently (#830).- Key weights are now normalised in object and keyless-logical search. Weights that did not sum to
1were applied unnormalised, skewing the relative influence of each key. If yourkeysweights do not already sum to1, your relative ranking changes (#833).limitnow returns the correct top-N when scores tie. A tie at the cutoff boundary could evict a result that should have been kept, solimitcould return the wrong items, not merely the right items in a different order (#835).- Bitap respects
minMatchCharLengthin the exact-match shortcut. Matches shorter thanminMatchCharLengthwere still reported via the exact-match fast path, so thematchesarray could contain entries it was configured to exclude (#831).Bug Fixes
- bitap: respect minMatchCharLength in exact-match shortcut (dbb98b6), closes #831
- fieldNorm: count tabs and newlines as word separators (6fe85b0), closes #830
- fieldNorm: count word-starts instead of space transitions (2946f97)
- scoring: normalise key weights in object and keyless-logical search (e164b61), closes #833
- search: keep the correct top-N under limit when scores tie (437f8f3), closes #835, thanks
@spokodevfor the report and the fixFull Changelog: https://github.com/krisk/Fuse/compare/v7.4.2...v7.5.0
Changelog
Sourced from fuse.js's changelog.
7.5.0 (2026-07-13)
⚠️ Behavior changes
Every change in this release is a bug fix, but each one corrects a scoring or ranking bug. Scores and result ordering will shift for some queries. That is why this ships as a minor rather than a patch: the public API is unchanged and upgrading is a drop-in, but the results you get back can differ, and that should not arrive silently in a patch bump.
If you assert on exact
scorevalues or on a specific result order, expect those assertions to need updating. Re-baseline them against 7.5.0 rather than pinning to 7.4.x, since the 7.4.x behavior was wrong in the cases below.
- Field-length normalisation now counts words correctly. Tabs and newlines were not treated as word separators, so a multi-line or tab-delimited field was scored as though it were one long word, making it look far shorter than it is. Fields containing
\t,\n, or\rnow score differently (#830).- Key weights are now normalised in object and keyless-logical search. Weights that did not sum to
1were applied unnormalised, skewing the relative influence of each key. If yourkeysweights do not already sum to1, your relative ranking changes (#833).limitnow returns the correct top-N when scores tie. A tie at the cutoff boundary could evict a result that should have been kept, solimitcould return the wrong items, not merely the right items in a different order (#835).- Bitap respects
minMatchCharLengthin the exact-match shortcut. Matches shorter thanminMatchCharLengthwere still reported via the exact-match fast path, so thematchesarray could contain entries it was configured to exclude (#831).Bug Fixes
- bitap: respect minMatchCharLength in exact-match shortcut (dbb98b6), closes #831
- fieldNorm: count tabs and newlines as word separators (6fe85b0), closes #830
- fieldNorm: count word-starts instead of space transitions (2946f97)
- scoring: normalise key weights in object and keyless-logical search (e164b61), closes #833
- search: keep the correct top-N under limit when scores tie (437f8f3), closes #835, thanks
@spokodevfor the report and the fix
Commits
45bac9fchore(release): 7.5.0437f8f3fix(search): keep the correct top-N under limit when scores tieb8142cftest(fieldNorm): cover full separator set; narrow "any whitespace" comment6fe85b0fix(fieldNorm): count tabs and newlines as word separatorse164b61fix(scoring): normalise key weights in object and keyless-logical searchdbb98b6fix(bitap): respect minMatchCharLength in exact-match shortcute2ee793chore: rebuild dist for #830 (fieldNorm whitespace fix)2946f97fix(fieldNorm): count word-starts instead of space transitions2fadbfachore: bump doc versions to 7.4.2- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Upgrade fuse.js in docs from 7.4.2 to 7.5.0 to fix scoring and ranking bugs. Search results and order in the docs may change; API usage is unchanged.
-
Dependencies
- Bump
fuse.jsto 7.5.0.
- Bump
-
Migration
- Re-baseline tests that assert scores or exact result order.
- If using weighted
keys, ensure weights sum to 1. - Verify
limitresults andminMatchCharLengthbehavior.