@docsearch/js breaking changes
@docsearch/js 5.0.4 (August 24, 2026) is its newest release with breaking changes. The first: Signature changed DocSearchProps.translations. Every breaking API change we have recorded in @docsearch/js on npm: 37 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.2.0, released October 29, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.7.0 to 5.0.4: 30 breaking changes in 3 versions.
- From 4.0.0 to 5.0.4: 36 breaking changes in 7 versions.
@docsearch/js 5.0.4 breaking changes
- Signature changed
DocSearchProps.translations
Was translations?: DocSearchTranslations; now translations?: DocSearchAITranslations. npmjs.com
@docsearch/js 5.0.2 breaking changes
- Signature changed
docsearch:DocSearchProps
Was type DocSearchProps = DocSearchProps$2<DocSearchProps$1>; now type DocSearchProps = DocSearchProps$1<DocSearchProps$2>. npmjs.com
@docsearch/js 5.0.0 breaking changes
- Removed
The Ask AI transport layer has been removed. Code that relies on it must be updated. github.com - Removed
DocSearchProps.apiKey
DocSearchProps.apiKey was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.appId
DocSearchProps.appId was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.askAi
DocSearchProps.askAi was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.disableUserPersonalization
DocSearchProps.disableUserPersonalization was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.getMissingResultsUrl
DocSearchProps.getMissingResultsUrl was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.indexName
DocSearchProps.indexName was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.indices
DocSearchProps.indices was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.initialQuery
DocSearchProps.initialQuery was removed in @docsearch/js 5.0.0 npmjs.com - Removed
DocSearchProps.insights
DocSearchProps.insights was removed in @docsearch/js 5.0.0 npmjs.com
And 18 more in this version. Sign up to see every change
@docsearch/js 4.7.0 breaking changes
- Behavior changed
Markdown HTML in Ask AI answers is sanitized to prevent XSS, so raw HTML in answers may render differently than before. github.com
@docsearch/js 4.5.0 breaking changes
- Behavior changed
The commit is marked as a breaking change to the JS package, but the commit text does not say which existing behavior changes. Check the commit diff before upgrading. github.com - Signature changed
default
Was function docsearch(allProps: DocSearchProps): () => void; now function docsearch(allProps: DocSearchProps): DocSearchInstance. npmjs.com - Signature changed
DocSearchProps
Was type DocSearchProps = DocSearchProps$1 & {container: HTMLElement | string; environment?: typeof window;}; now type DocSearchProps = DocSearchCallbacks & Omit<DocSearchProps$1, 'onSidepanelClose' | 'onSidepanelOpen'> & {container... npmjs.com
@docsearch/js 4.4.0 breaking changes
- Signature changed
DocSearchProps.keyboardShortcuts
Was keyboardShortcuts?: KeyboardShortcuts; now keyboardShortcuts?: DocSearchModalShortcuts. npmjs.com
Older versions
2 older versions.
Show 2 older versions
@docsearch/js 4.3.0 breaking changes
- Signature changed
default
Was function docsearch(props: DocSearchProps): () => void; now function docsearch(allProps: DocSearchProps): () => void. npmjs.com
@docsearch/js 4.0.0 breaking changes
- Signature changed
default
Was function docsearch(props: DocSearchProps): void; now function docsearch(props: DocSearchProps): () => void. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.