# What changed in @docsearch/react

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

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

## @docsearch/react 5

### Breaking changes

- Closed Sidepanels are excluded from keyboard navigation and the accessibility tree while preserving conversation state. (5.1.1) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.1)
- FacetBar renders checkbox items instead of a radio group, allowing users to select multiple values per facet. Values within a facet are combined with OR; different facets are combined with AND. (5.1.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.0)

### New APIs and options

- Adds a statically importable Sidepanel trigger entry point, allowing the panel and its Ask AI/Markdown dependencies to be dynamically imported only when needed. (5.1.1) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.1)
- Adds a dynamically importable Sidepanel panel entry point so its Ask AI/Markdown dependencies can be loaded only when needed. (5.1.1) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.1)

### Behavior and default changes

- OR groups sharing a single facet key are recognized as that facet's default selection, in addition to single key:value entries. (5.1.0) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.0)

### Fixes and other changes

- Fixes pressed feedback on Windows and Linux while preserving the hint's width. (5.1.2) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.2)
- Enter is ignored during IME composition, preventing conversion confirmation from selecting a search result or sending an Ask AI prompt. (5.1.2) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.2)
- Automatic sends now happen only after client-executed tools complete, preventing Ask AI from resending conversations after server-executed tool calls. (5.1.2) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.2)
- Fixes a crash when importing DocSearch bundles in Safari 14 caused by lookbehind feature detection selecting an unsupported regex pattern. (5.1.1) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.1.1)
- DocSearchAI now accepts Ask AI-specific modal translations. (5.0.4) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.0.4)
- Fixes the event not being called when selecting an Ask AI item with the Enter key. (5.0.3) — [release notes](https://github.com/algolia/docsearch/releases/tag/%40docsearch/react%405.0.3)
