unstale

npm / @docsearch/js

@docsearch/js

What changed in @docsearch/js 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.

2 breaking12 new APIs and options2 performance2 behavior and defaults1 tooling1 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

@docsearch/js 518 changes

Breaking changes 2

  • The Ask AI transport layer has been removed.

    5.0.0release notes

  • Ask AI related props are now nested under the single root askai option.

    5.0.0release notes

New APIs and options 11

  • Agent Studio integration adds core tools and dynamic tool calls.

    5.0.0release notes

  • The integration supports the Algolia MCP search tool, including aggregated MCP search tool calls.

    5.0.0release notes

  • Conversation memory support is available for Ask AI.

    5.0.0release notes

  • Agent Studio can select indexes dynamically.

    5.0.0release notes

  • Search supports facets displayed with filter chips.

    5.0.0release notes

  • Feedback integration supports feedback notes and tags.

    5.0.0release notes

  • The new footerAction prop renders a custom action in the modal footer before the Algolia logo and supports html helper, JSX, or function-based template patterns.

    5.0.0release notes

  • Search results can display hit breadcrumbs.

    5.0.0release notes

  • MCP plugins are supported.

    5.0.0release notes

  • Prompt suggestions are available in keyword search and as follow-up suggestions.

    5.0.0release notes

  • Search results can display badges.

    5.0.0release notes

Performance 2

  • Bundled DocSearch packages are now development dependencies, reducing the install footprint for consumers.

    5.0.2release notes

  • JS bundles are split to support search-only usage and JS-based hybrid mode.

    5.0.0release notes

Behavior and default changes 1

  • The search UI is refreshed with an improved dark theme, sources panel, and accessibility.

    5.0.0release notes

Tooling 1

  • A new CLI package provides MCP setup and search.

    5.0.0release notes

Fixes and other changes 1

  • Fixed a crash when importing DocSearch bundles on Safari 14 caused by an incorrectly optimized lookbehind feature detection.

    5.1.1release notes

@docsearch/js 42 changes

New APIs and options 1

  • Adds support for searching across multiple indexes.

    4.0.0release notes

Behavior and default changes 1