npm / zbsearch
zbsearch
What changed in zbsearch 3 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 breaking13 new APIs and options2 performance5 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initzbsearch 422 changes
Breaking changes 1
Splitting keeps letters from other scripts and trims punctuation at token edges.
New APIs and options 12
Engine primitives needed by a lazily-loaded static index are exposed.
A sharded, lazily-fetched index is added for static sites.
Adds the chunkedLoad method.
A Docusaurus plugin is now available.
IndexedDB persistence is now supported.
Adds the insertMultipleAsync method for asynchronous multiple inserts.
Adds the loadAsync method.
S3 persistence is now supported.
Instances can now be created without a schema.
Slovak language support is now available.
Suggestions APIs are now available.
A Vitepress integration is now available.
Performance 2
The docs-index payload is trimmed and hydrated off the main thread.
Document insertion reuses the tokenizer normalization cache.
Behavior and default changes 5
The English stopword list now includes “a”.
Repeated tokens are kept by default so BM25 sees term frequencies.
The sharded index is shipped through docs-index and every framework plugin.
The markdown parser for docs integrations has been improved.
Search quality has been improved.
Fixes and other changes 2
Fixes the English stemmer.
Fixes handling of accented searches in PluginPT15.
zbsearch 34 changes
New APIs and options 1
Adds support for zero-config multilingual instances.
Fixes and other changes 3
Fixes hybrid search scoring and weight handling.
Repairs insertMultiple semantics.
Repairs removeMultiple semantics.