Skip to content

Bump fuse.js from 7.3.0 to 7.4.0#3840

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/fuse.js-7.4.0
Open

Bump fuse.js from 7.3.0 to 7.4.0#3840
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/fuse.js-7.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 31, 2026

Bumps fuse.js from 7.3.0 to 7.4.0.

Release notes

Sourced from fuse.js's releases.

v7.4.0

First stable on the 7.4 line. Aggregates everything from the 7.4.0-beta.17.4.0-beta.8 cycle. See CHANGELOG.md for the per-beta breakdown.

Features

  • FuseWorker — parallel search via Web Workers (9ba192c). New FuseWorker class shards the collection across workers, runs searches in parallel, and preserves the same result ordering as Fuse. See the Web Workers guide.
  • token-search: tokenMatch: 'all' | 'any' option for AND/OR semantics (#827, 9f979d0). Default 'any' preserves existing behavior; 'all' requires every query word to match somewhere in a record (term-centric AND), useful for filter-style queries.
  • token-search: customizable tokenizer with unicode-aware default (#821, 8e55cae). New tokenize?: RegExp | (text: string) => string[] option; the default regex now segments CJK, Cyrillic, Greek, Arabic, etc. out of the box.

Bug Fixes

  • matches: report array-path keys as dotted strings (acd54e8). Previously match.key leaked a raw string[] for keys declared as path arrays (e.g. keys: [['author', 'firstName']]), contradicting the documented FuseResultMatch.key: string type. Now emits the canonical dotted string ('author.firstName'). Behavior change: consumers relying on the array shape need to update.
  • bitap: restrict highlight indices to matched window (#792, 622f105). Closes #505, #611, #691, #793.
  • index: correct doc-index alignment for Fuse<string> with blank docs (0b8e3ca).
  • core: invalidate searcher cache on collection mutation (fcf4228).
  • token-search: renumber inverted index after doc removal (ea9356d).
  • workers: preserve global refIndex across shards (e4217f9), match Fuse ordering and reject non-cloneable options (d571390), reject useTokenSearch in FuseWorker (8c6183d).
  • match: explicitly reject useTokenSearch in Fuse.match (3959d91).
  • correct fieldCount accounting and add reverse lookup in inverted index (54e702c).
  • guard against empty-string crash in fieldNorm (e550ab1); skip consecutive spaces in fieldNorm word counting (5929af6).
  • types: resolve typecheck errors and align KeyStore types (dbc115d).
  • docs: reflect data edits in playground demo (#825, 6eff909).

Performance

  • reuse bit arrays in Bitap search instead of allocating per error level (ec9b446)
  • replace forEach with for loops in search hot paths (1945f49)
  • fast-path Math.pow when exponent is 1 in computeScore (c82de57)
  • pre-allocate records array and use for loops in FuseIndex.create (5800036)
  • replace regex with loop for word counting in fieldNorm (5517a9b)
  • use filter instead of reverse-splice in removeAll / remove (c74823b, 8372b0a)
  • token-search: drop unused postings from inverted index (5ea216f)

Internal

  • refactor: replace extended-search matcher classes with plain functions (f8d61c9)
  • bench: consolidate benchmark/ into bench/ and add npm scripts (3b3a4c6)
  • ci: update Node matrix to 20, 22, 24 (b906906)
  • chore(deps): pin secure versions via npm overrides (3a1b118)

Docs

  • Migrated the site from VuePress to VitePress (663ee53)
  • New articles: "Using Fuse.js with React" (512bc7d), "Fuse.js vs Semantic Search" (5f93b4d)
  • New interactive demos in the fuzzy search article (edit distance, Bitap, threshold, search window)
  • Web Workers documentation and demo
  • Fuse Cloud landing page with waitlist

Behavior changes worth noting

... (truncated)

Changelog

Sourced from fuse.js's changelog.

7.4.0 (2026-05-30)

7.4.0-beta.8 (2026-05-25)

Bug Fixes

  • matches: report array-path keys as dotted strings (acd54e8)

7.4.0-beta.7 (2026-05-22)

Features

  • token-search: add tokenMatch 'all' | 'any' for AND/OR (#827) (9f979d0)

Bug Fixes

  • docs: reflect data edits in playground demo (#825) (6eff909)

7.4.0-beta.6 (2026-05-14)

Bug Fixes

7.4.0-beta.5 (2026-05-10)

Features

  • token-search: add customizable tokenizer with unicode-aware default (8e55cae), closes #821

Bug Fixes

  • index: correct doc-index alignment for Fuse with blank docs (0b8e3ca)

7.4.0-beta.4 (2026-04-28)

7.4.0-beta.3 (2026-04-26)

Bug Fixes

  • match: explicitly reject useTokenSearch in Fuse.match (3959d91)
  • workers: match Fuse ordering and reject non-cloneable options (d571390)
  • workers: reject useTokenSearch in FuseWorker (8c6183d)

... (truncated)

Commits
  • 77afcf3 chore(release): 7.4.0
  • 3ef9328 chore(release): 7.4.0-beta.8
  • acd54e8 fix(matches): report array-path keys as dotted strings
  • 5985a7e style: reformat src and test with prettier 3
  • 08bb3a7 chore: upgrade prettier to 3 and add format scripts
  • 9417622 chore(release): 7.4.0-beta.7
  • 9f979d0 feat(token-search): add tokenMatch 'all' | 'any' for AND/OR (#827)
  • 6eff909 fix(docs): reflect data edits in playground demo (#825)
  • a84f9cd docs: mention fuse-swift port and correct bundle sizes
  • b08ad28 chore(release): 7.4.0-beta.6
  • Additional commits viewable in compare view

@dependabot dependabot Bot requested review from a team as code owners May 31, 2026 22:12
@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview Jun 1, 2026 1:19pm

Request Review

Bumps [fuse.js](https://github.com/krisk/Fuse) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/krisk/Fuse/releases)
- [Changelog](https://github.com/krisk/Fuse/blob/main/CHANGELOG.md)
- [Commits](krisk/Fuse@v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: fuse.js
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/fuse.js-7.4.0 branch from 0e2d4e1 to f1351ff Compare June 1, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants