unstale

npm / zbsearch

zbsearch

What changed in zbsearch 3 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking20 new APIs and options14 performance5 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

zbsearch 433 changes

Breaking changes 2

  • string[] values are scored as one field per document.

    4.0.3release notes

  • Splitting keeps letters from other scripts and trims punctuation at token edges.

    4.0.1release notes

New APIs and options 18

  • Adds the ability to freeze the full-text index into compact immutable segments.

    4.0.4release notes

  • Adds selection of only the top-k page of score-ranked full-text search results.

    4.0.4release notes

  • Binary snapshots are introduced as part of large-index scaling.

    4.0.3release notes

  • A sharded runtime is introduced as part of large-index scaling.

    4.0.3release notes

  • Unstored fields are introduced as part of large-index scaling.

    4.0.3release notes

  • Vector quantization is introduced as part of large-index scaling.

    4.0.3release notes

  • Engine primitives needed by a lazily-loaded static index are exposed.

    4.0.1release notes

  • A sharded, lazily-fetched index is added for static sites.

    4.0.1release notes

  • Adds the chunkedLoad method.

    4.0.0release notes

  • A Docusaurus plugin is now available.

    4.0.0release notes

  • IndexedDB persistence is now supported.

    4.0.0release notes

  • Adds the insertMultipleAsync method for asynchronous multiple inserts.

    4.0.0release notes

  • Adds the loadAsync method.

    4.0.0release notes

  • S3 persistence is now supported.

    4.0.0release notes

  • Instances can now be created without a schema.

    4.0.0release notes

  • Slovak language support is now available.

    4.0.0release notes

  • Suggestions APIs are now available.

    4.0.0release notes

  • A Vitepress integration is now available.

    4.0.0release notes

Performance 4

  • An updated document's sort entry is dropped lazily.

    4.0.4release notes

  • Indexing and search were sped up, by up to 2x and 3.6x respectively.

    4.0.2release notes

  • The docs-index payload is trimmed and hydrated off the main thread.

    4.0.1release notes

  • Document insertion reuses the tokenizer normalization cache.

    4.0.1release notes

Behavior and default changes 5

  • The English stopword list now includes “a”.

    4.0.1release notes

  • Repeated tokens are kept by default so BM25 sees term frequencies.

    4.0.1release notes

  • The sharded index is shipped through docs-index and every framework plugin.

    4.0.1release notes

  • The markdown parser for docs integrations has been improved.

    4.0.0release notes

  • Search quality has been improved.

    4.0.0release notes

Fixes and other changes 4

  • Stripping vectors from hits no longer nulls vectors in the documents store.

    4.0.3release notes

  • Node removal no longer re-attaches deleted nodes during rebalancing.

    4.0.2release notes

  • Fixes the English stemmer.

    4.0.0release notes

  • Fixes handling of accented searches in PluginPT15.

    4.0.0release notes

zbsearch 317 changes

New APIs and options 2

  • Adds support for zero-config multilingual instances.

    3.3.4release notes

  • Vector search adds support for an IVF index.

    3.3.0release notes

Performance 10

Fixes and other changes 5