# What changed in @docsearch/modal

> 21 changes in @docsearch/modal 5 from its official release notes, upgrade guides and advisories: 5 breaking, 10 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@docsearch/modal/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @docsearch/modal 5

### Breaking changes

- The Ask AI assistantId option was renamed to agentId. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- The Ask AI transport layer was removed. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Ask AI-related props are now nested under a single root askai option. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- appId and apiKey configuration moved into @docsearch/core so they can be configured once and shared. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- The Sidepanel no longer accepts the indexName prop. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)

### New APIs and options

- Agent Studio integration adds core tools, dynamic tool calls, and dynamic index selection. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- The Ask AI modal is split into its own component. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Conversation memory support is added for Ask AI. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Faceted search with filter chips is added. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Feedback integration adds feedback notes and tags. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Hit breadcrumbs are added to search results. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- MCP plugin support is added. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Prompt suggestions are available in keyword search and as follow-up suggestions. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Result badges are added to search results. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Split JavaScript bundles support search-only usage and JavaScript-based hybrid mode. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)

### Behavior and default changes

- Facet defaults can now be read from the index searchParameters. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- The search UI is refreshed with an improved dark theme, sources panel, and accessibility. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)

### Tooling

- A new package provides CLI tooling for MCP setup and search. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)

### Fixes and other changes

- Fixed a crash when importing DocSearch bundles on Safari 14, which could not parse the regex pattern selected by the build. (5.1.1) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.1.1)
- DocSearch is compatible with the Algolia MCP search tool, including aggregated MCP search tool calls. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
- Nested grouping of search results was restored. (5.0.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/modal%405.0.0)
