npm / redocusaurus
redocusaurus
What changed in redocusaurus 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.
6 breaking2 new APIs and options2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initredocusaurus 22 changes
Fixes and other changes 2
Fixes a ReferenceError when using @docusaurus/faster with additionalLanguages.
Fixes scroll-spy URL updates when loading a page directly.
redocusaurus 110 changes
Breaking changes 6
Removed because
routeis optional; omit it when no route is needed.Removed;
useSpecDatacan load plugin data for use with@theme/Redoc.Replaces
redocOptions; some defaults were removed, leaving customization to the user.downloadUrlis no longer hidden by default.Removed; the package handles spec URLs based on the passed spec and bundles definitions into a downloadable YAML static asset at build time.
The experimental component was removed; build-time and server-side rendering now work without it.
New APIs and options 2
Replaces
routePathand is now optional, so a route does not need to be passed when one is not needed.A new hook loads YAML files so the result can be passed directly to
@theme/Redoc.
Behavior and default changes 2
Build-time and server-side rendering now work for everyone by default without requiring extra setup.
Can now be a local file path, an absolute URL, or a multi-file OpenAPI entrypoint that the package bundles.