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@docsearch/js 518 changes
Breaking changes 2
The Ask AI transport layer has been removed.
Ask AI related props are now nested under the single root askai option.
New APIs and options 11
Agent Studio integration adds core tools and dynamic tool calls.
The integration supports the Algolia MCP search tool, including aggregated MCP search tool calls.
Conversation memory support is available for Ask AI.
Agent Studio can select indexes dynamically.
Search supports facets displayed with filter chips.
Feedback integration supports feedback notes and tags.
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.
Search results can display hit breadcrumbs.
MCP plugins are supported.
Prompt suggestions are available in keyword search and as follow-up suggestions.
Search results can display badges.
Performance 2
Bundled DocSearch packages are now development dependencies, reducing the install footprint for consumers.
JS bundles are split to support search-only usage and JS-based hybrid mode.
Behavior and default changes 1
The search UI is refreshed with an improved dark theme, sources panel, and accessibility.
Tooling 1
A new CLI package provides MCP setup and search.
Fixes and other changes 1
Fixed a crash when importing DocSearch bundles on Safari 14 caused by an incorrectly optimized lookbehind feature detection.
@docsearch/js 42 changes
New APIs and options 1
Adds support for searching across multiple indexes.
Behavior and default changes 1
Ask AI supports AI SDK v5.