unstale

npm / @docsearch/react

@docsearch/react

What changed in @docsearch/react 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 breaking2 new APIs and options1 behavior and defaults6 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@docsearch/react 511 changes

Breaking changes 2

  • Closed Sidepanels are excluded from keyboard navigation and the accessibility tree while preserving conversation state.

    5.1.1release notes

  • 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.0release notes

New APIs and options 2

  • 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.1release notes

  • Adds a dynamically importable Sidepanel panel entry point so its Ask AI/Markdown dependencies can be loaded only when needed.

    5.1.1release notes

Behavior and default changes 1

  • OR groups sharing a single facet key are recognized as that facet's default selection, in addition to single key:value entries.

    5.1.0release notes

Fixes and other changes 6

  • Fixes pressed feedback on Windows and Linux while preserving the hint's width.

    5.1.2release notes

  • Enter is ignored during IME composition, preventing conversion confirmation from selecting a search result or sending an Ask AI prompt.

    5.1.2release notes

  • Automatic sends now happen only after client-executed tools complete, preventing Ask AI from resending conversations after server-executed tool calls.

    5.1.2release notes

  • Fixes a crash when importing DocSearch bundles in Safari 14 caused by lookbehind feature detection selecting an unsupported regex pattern.

    5.1.1release notes

  • DocSearchAI now accepts Ask AI-specific modal translations.

    5.0.4release notes

  • Fixes the event not being called when selecting an Ask AI item with the Enter key.

    5.0.3release notes