unstale

npm / @easyops-cn/docusaurus-search-local

@easyops-cn/docusaurus-search-local

What changed in @easyops-cn/docusaurus-search-local 0.52 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.

12 breaking6 new APIs and options2 behavior and defaults3 tooling6 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.2 on npm

@easyops-cn/docusaurus-search-local 312 changes

Breaking changes 9

  • The MDX parser now strictly follows CommonMark emphasis rules, changing how emphasis markers work around spaces and punctuation.

    3.0.0upgrade guide

  • Custom plugins may need refactoring or a rewrite because the new AST is structured differently.

    3.0.0upgrade guide

  • Official Unified, Remark, and Rehype packages are ESM-only and no longer support CommonJS require; use ESM configuration or dynamic imports.

    3.0.0upgrade guide

  • MDX no longer transforms indented text into code blocks; use regular fenced code block syntax instead.

    3.0.0upgrade guide

  • Docusaurus v3 parses directives through remark-directive; unhandled directives are ignored and are not rendered in their original form.

    3.0.0upgrade guide

  • MDX compiles Markdown more strictly, so content that compiled in Docusaurus v2 can fail or render differently and may need refactoring.

    3.0.0upgrade guide

  • Custom mappings are sandboxed: lowercase mappings apply to Markdown elements but not JSX elements, and lowercase custom element names are no longer substituted; use uppercase names for other elements.

    3.0.0upgrade guide

  • Docusaurus v3 requires Node.js >= 18.0; update local, CI, CDN, or host environments and the package engines field.

    3.0.0upgrade guide

  • Docusaurus v3 requires React >= 18.0; custom React code may be affected by React 18 breaking changes.

    3.0.0upgrade guide

New APIs and options 1

  • Docusaurus v3 supports ES Modules configuration files, allowing Remark plugins to be imported directly in the config.

    3.0.0upgrade guide

Tooling 2

  • Run the checker to list files that will fail to compile under MDX v3; it reports compilation errors, not subtle rendering changes.

    3.0.0upgrade guide

  • TypeScript users should replace the external @tsconfig/docusaurus package with the official @docusaurus/tsconfig package.

    3.0.0upgrade guide

@easyops-cn/docusaurus-search-local 29 changes

Breaking changes 3

  • HTML elements in Markdown must be replaced by JSX elements.

    2.0.0upgrade guide

  • MDX parses Markdown more strictly and makes builds fail on errors instead of rendering bad content.

    2.0.0upgrade guide

  • Use the <Translate> component with id and description to translate pages instead of the v1 <translate> component.

    2.0.0upgrade guide

New APIs and options 4

  • The build command can be run for one locale at a time with the --locale option.

    2.0.0upgrade guide

  • Add this flag to convert Markdown to MDX automatically; the migration is still a work in progress.

    2.0.0upgrade guide

  • Add this flag to migrate pages automatically; the migration is still a work in progress.

    2.0.0upgrade guide

  • Code translations are added to this file using Chrome i18n JSON format.

    2.0.0upgrade guide

Tooling 1

  • The migration CLI automatically migrates a v1 website to a v2 website, including site configuration, package.json, sidebars, and site content.

    2.0.0upgrade guide

Fixes and other changes 1

  • Localized content is generally found at this path in Docusaurus v2.

    2.0.0upgrade guide

@easyops-cn/docusaurus-search-local 0.554 changes

Behavior and default changes 1

  • open-ask-ai is now opt-in via an optional peer dependency.

    0.55.0release notes

Fixes and other changes 3

  • Refines the search icon.

    0.55.3release notes

  • Fixes search for some languages that need lunr wordcut.

    0.55.2release notes

  • On small screens (max-width: 576px), the search caret moves to the end of the input when focused or when the search bar is reopened.

    0.55.1release notes

@easyops-cn/docusaurus-search-local 0.542 changes

Behavior and default changes 1

Fixes and other changes 1

  • Fixes an error caused by reading toLowerCase from undefined.

    0.54.1release notes

@easyops-cn/docusaurus-search-local 0.531 changes

New APIs and options 1

@easyops-cn/docusaurus-search-local 0.521 changes

Fixes and other changes 1

  • SearchBar is wrapped with DocsPreferredVersionContextProvider for compatibility with Docusaurus 3.9+.

    0.52.2release notes