nextra breaking changes
nextra 4.0.0 (January 13, 2025) is its newest release with breaking changes, 79 of them. The first: Pages Router support is removed in nextra 4.0.0. Every breaking API change we have recorded in nextra on npm: 234 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.6.1, released December 4, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
nextra 4.0.0 breaking changes
- Removed
Nextra 4 only renders through the Next.js App Router. Pages Router sites must move to the App Router, for example by using the content directory convention. - Removed
components
Custom MDX components must be provided through the useMDXComponents function instead. - Removed
components:CopyToClipboard
CopyToClipboard was removed in nextra 4.0.0 npmjs.com - Removed
components:evaluate
evaluate was removed in nextra 4.0.0 npmjs.com - Removed
components:RemoteContent
RemoteContent was removed in nextra 4.0.0 npmjs.com - Removed
components:Td
Td was removed in nextra 4.0.0 npmjs.com - Removed
components:Th
Th was removed in nextra 4.0.0 npmjs.com - Removed
components:Tr
Tr was removed in nextra 4.0.0 npmjs.com - Removed
DynamicFolder.type
DynamicFolder.type was removed in nextra 4.0.0 npmjs.com - Removed
DynamicMetaDescriptor
DynamicMetaDescriptor was removed in nextra 4.0.0 npmjs.com - Removed
DynamicMetaJsonFile
DynamicMetaJsonFile was removed in nextra 4.0.0 npmjs.com - Removed
head
Dynamic head tags must now be set with the <Head> component or the Next.js Metadata API. - Removed
hooks:useData
useData was removed in nextra 4.0.0 npmjs.com - Removed
hooks:useRouter
useRouter was removed in nextra 4.0.0 npmjs.com - Removed
main
The main theme.config option is no longer available in Nextra 4. - Removed
newWindow
External links in _meta files now always open in a new tab, and the newWindow field is gone. - Removed
NextraInternalGlobal
NextraInternalGlobal was removed in nextra 4.0.0 npmjs.com - Removed
NextraMDXContent
NextraMDXContent was removed in nextra 4.0.0 npmjs.com - Removed
NextraThemeLayoutProps
NextraThemeLayoutProps was removed in nextra 4.0.0 npmjs.com - Removed
page-map-dynamic:collectCatchAllRoutes
collectCatchAllRoutes was removed in nextra 4.0.0 npmjs.com - Removed
page-map-dynamic:resolvePageMap
resolvePageMap was removed in nextra 4.0.0 npmjs.com - Removed
PageOpts
PageOpts was removed in nextra 4.0.0 npmjs.com - Removed
react-cusdis
The optional react-cusdis peer dependency was removed; comments now use the Cusdis SDK directly. - Removed
remark-plugins:remarkCustomHeadingId
remarkCustomHeadingId was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkHeadings
remarkHeadings was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkLinkRewrite
remarkLinkRewrite was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:RemarkLinkRewriteOptions
RemarkLinkRewriteOptions was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkMdxDisableExplicitJsx
remarkMdxDisableExplicitJsx was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkMdxFrontMatter
remarkMdxFrontMatter was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkMdxTitle
remarkMdxTitle was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkRemoveImports
remarkRemoveImports was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkStaticImage
remarkStaticImage was removed in nextra 4.0.0 npmjs.com - Removed
remark-plugins:remarkStructurize
remarkStructurize was removed in nextra 4.0.0 npmjs.com - Removed
remote:buildDynamicMDX
buildDynamicMDX was removed in nextra 4.0.0 npmjs.com - Removed
remote:buildDynamicMeta
buildDynamicMeta was removed in nextra 4.0.0 npmjs.com - Removed
schemas:displaySchema
displaySchema was removed in nextra 4.0.0 npmjs.com - Removed
schemas:fc
fc was removed in nextra 4.0.0 npmjs.com - Removed
schemas:menuItemSchema
menuItemSchema was removed in nextra 4.0.0 npmjs.com - Removed
schemas:pageThemeSchema
pageThemeSchema was removed in nextra 4.0.0 npmjs.com - Removed
schemas:reactNode
reactNode was removed in nextra 4.0.0 npmjs.com - Removed
schemas:searchSchema
searchSchema was removed in nextra 4.0.0 npmjs.com - Removed
Search
Search was removed in nextra 4.0.0 npmjs.com - Removed
SearchData
SearchData was removed in nextra 4.0.0 npmjs.com - Removed
StructurizedData
StructurizedData was removed in nextra 4.0.0 npmjs.com - Removed
theme
The theme option was removed from the nextra() config and must be replaced by component props. - Removed
theme.bottomContent
The theme.bottomContent field was removed from _meta configuration. - Removed
theme.config
Theme options must now be passed as props to the layout components in app/layout.jsx instead of a theme.config file. - Removed
theme.layout
Pages without a layout must now use page.{jsx,tsx} files instead of theme.layout: 'raw'. - Removed
theme.topContent
The theme.topContent field was removed from _meta configuration. - Removed
themeConfig
The themeConfig option was removed from the nextra() config and must be replaced by component props.
And 29 more in this version. Sign up to see every change
nextra 4.0.0-app-router.27 breaking changes
- Removed
collectCatchAllRoutes
collectCatchAllRoutes was removed. github.com - Removed
createCatchAllMeta
createCatchAllMeta was removed from nextra/catch-all. github.com - Removed
normalizePageRoute
normalizePageRoute was removed. github.com - Removed
recmaRewriteFunctionBody
recmaRewriteFunctionBody was removed. github.com - Removed
recmaRewriteJsx
recmaRewriteJsx was removed. github.com - Signature changed
getPageMap
getPageMap now receives only root instead of lang and route. github.com
nextra 4.0.0-app-router.25 breaking changes
- Removed
export const title
Generated mdx pages no longer include export const title. github.com - Renamed
useTOC
Replace export const useTOC with export const toc holding the headings. github.com - Signature changed
compileMdx
compileMdx from nextra/compile returns a string instead of an object. github.com
nextra 4.0.0-app-router.21 breaking changes
- Removed
RemoteContent
RemoteContent was removed and renamed to MDXRemote in nextra/mdx-remote. github.com
nextra 4.0.0-app-router.20 breaking changes
- Removed
NextraConfig.transformPageMap
The transformPageMap config option was removed. github.com - Removed
Td
Use Table.Td with the Table component instead. github.com - Removed
Th
Use Table.Th, Table.Tr and Table.Td with the Table component instead. github.com - Removed
Tr
Use Table.Tr with the Table component instead. github.com - Renamed
nextra.mdx
Import from nextra/mdx-components instead of nextra/mdx. github.com
nextra 4.0.0-app-router.3 breaking changes
- Removed
nextra.remark-plugins
The nextra/remark-plugins module was removed. github.com - Removed
nextra.remote
The nextra/remote module was removed; use the replacement mechanism described in the migration guide. github.com - Removed
nextra.schemas
The nextra/schemas module was removed. github.com - Removed
renderComponent
renderComponent was removed. github.com - Removed
renderString
renderString was removed. github.com - Renamed
Collapse
Collapse moved from nextra-theme-docs to nextra/components. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
nextra 4.0.0-app-router.2 breaking changes
- Renamed
Head
The Head component now lives in nextra/components instead of its previous location. github.com
nextra 3.0.0 breaking changes
- Removed
__nextraPageOptions.hot
__nextraPageOptions.hot and pageOptsChecksum were removed. github.com - Removed
__nextraPageOptions.pageNextRoute
__nextraPageOptions.pageNextRoute was removed. github.com
And 129 more in this version.
nextra 3.0.0-alpha.39 breaking changes
- Removed
Card.image
The image prop was removed from the Card component; the image now shows based on whether children are provided. Icon is optional. github.com - Behavior changed
Tab
Tab className now uses render props for selected, disabled and hover states. github.com
Related packages
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.