fumadocs-mdx breaking changes
Updated December 4, 2026
On this page
Latest version 15.6.6, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 14.3.2 to 15.6.4: 149 breaking changes in 30 versions.
- From 13.0.0 to 15.6.4: 222 breaking changes in 35 versions.
fumadocs-mdx 15.6.4 breaking changes
- Signature changed
bun:macroFilter
Was function macroFilter(root: string, {include, exclude}: ResolvedMacroOptions): RegExp; now const macroFilter: RegExp. npmjs.com - Signature changed
config:DefaultMDXOptions
Was type DefaultMDXOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugins' | 'remarkPlugins' | '_ctx'> & {rehypePlugins?: ResolvePlugins; remarkPlugins?: ResolvePlugins; valueToExport?: string[]; remarkStructureOptions?... npmjs.com - Signature changed
config:DefaultMDXOptions.rehypeCodeOptions
Was rehypeCodeOptions?: Plugins.RehypeCodeOptions | false; now rehypeCodeOptions?: Partial<Plugins.RehypeCodeOptions> | false. npmjs.com - Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-ikvOVBe5.js"; now export {type SatteriPresetOptions} from "../core-OVmyAj82.js". npmjs.com
fumadocs-mdx 15.6.2 breaking changes
- Behavior changed
Without a terminal, the CLI fails on a missing choice, takes default confirmations, and keeps existing files unless --yes is passed. Scripts that relied on prompts or overwrites must pass flags explicitly. github.com - Behavior changed
createMDX
With Turbopack, createMDX() skips the fumadocs-mdx/macro transform for modules in node_modules, matching webpack and the macro.include option. Code that relied on macros running there must move those modules into the included set. github.com - Signature changed
config:DocCollectionBase.schema
Was schema?: CollectionSchema<Schema, {path: string; source: string;}>; now schema?: CollectionSchema<Schema, SchemaContext>. npmjs.com - Signature changed
config:DocCollectionMdx.schema
Was schema?: CollectionSchema<Schema, {path: string; source: string;}>; now schema?: CollectionSchema<Schema, SchemaContext>. npmjs.com - Signature changed
config:DocCollectionSatteri.schema
Was schema?: CollectionSchema<Schema, {path: string; source: string;}>; now schema?: CollectionSchema<Schema, SchemaContext>. npmjs.com - Signature changed
config:MetaCollection.schema
Was schema?: CollectionSchema<Schema, {path: string; source: string;}>; now schema?: CollectionSchema<Schema, SchemaContext>. npmjs.com - Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-BItLItxM.js"; now export {type SatteriPresetOptions} from "../core-ikvOVBe5.js". npmjs.com
fumadocs-mdx 15.6.1 breaking changes
- Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-CrKTFOR5.js"; now export {type SatteriPresetOptions} from "../core-BItLItxM.js". npmjs.com
fumadocs-mdx 15.6.0 breaking changes
- Removed
CompiledMDXProperties._pages
CompiledMDXProperties._pages was removed in fumadocs-mdx 15.6.0 npmjs.com - Removed
config:DefaultMDXOptions.remarkShowOptions
DefaultMDXOptions.remarkShowOptions was removed in fumadocs-mdx 15.6.0 npmjs.com - Removed
remarkShow
Conditions in remarkShow are now checked when rendering, so code that passes the define option must stop using it. github.com - Removed
showElement
The showElement export is gone, so code that imports it must be changed. github.com - Behavior changed
Heading IDs come from rendered text, and duplicate ID detection only counts headings that are shown. github.com - Behavior changed
Search records no longer contain the imports of included files, so code relying on them must change. github.com - Behavior changed
The table of contents, structured data and processed Markdown of a page now include only the show branches that show for its props. github.com - Behavior changed
remarkStructure
Search records keep the elements of every component by default; set filterElement of remarkStructure to choose which ones are kept. github.com - Behavior changed
structuredData
Loading a page of an async collection or of @fumadocs/astro reads structuredData without rendering; call structuredData() to render it. github.com - Signature changed
CompiledMDXProperties.structuredData
Was structuredData: StructuredData; now structuredData: StructuredData | StructuredRecords. npmjs.com
And 8 more in this version. Sign up to see every change
fumadocs-mdx 15.5.2 breaking changes
- Signature changed
config:DefaultMDXOptions
Was type DefaultMDXOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugins' | 'remarkPlugins' | '_ctx'> & {rehypePlugins?: ResolvePlugins; remarkPlugins?: ResolvePlugins; valueToExport?: string[]; remarkStructureOptions?... npmjs.com - Signature changed
config:frontmatterSchema
Was const frontmatterSchema: import("zod").ZodObject<{title: import("zod").ZodString; description: import("zod").ZodOptional<import("zod").ZodString>; icon: import("zod").ZodOptional<import("zod").ZodString>; full... npmjs.com - Signature changed
config:metaSchema
Was const metaSchema: import("zod").ZodObject<{title: import("zod").ZodOptional<import("zod").ZodString>; pages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>; pagesIndex... npmjs.com - Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-CdciznjV.js"; now export {type SatteriPresetOptions} from "../core-DA_zPpY3.js". npmjs.com - Signature changed
runtime/macro:MacroAsyncDocsCollection.getPage
Was getPage: (path: string) => MacroAsyncDocEntry<Frontmatter, Extra> | undefined; now getPage: (path: string, params?: Params) => MacroAsyncDocEntry<Frontmatter, Extra> | undefined. npmjs.com - Signature changed
runtime/macro:MacroDocsCollection.getPage
Was getPage: (path: string) => MacroDocEntry<Frontmatter, Extra> | undefined; now getPage: (path: string, params?: Params) => MacroDocEntry<Frontmatter, Extra> | undefined. npmjs.com
fumadocs-mdx 15.5.1 breaking changes
- Signature changed
press:default
Was function mdxPlugin({components}?: MdxPluginOptions): Plugin; now function mdxPlugin<Config extends LoaderConfig = LoaderConfig>({components: componentsOption}?: MdxPluginOptions<Config['page']>): Plugin<Config>. npmjs.com - Signature changed
press:MdxPluginOptions
Was interface MdxPluginOptions; now interface MdxPluginOptions<P extends Page = Page>. npmjs.com - Signature changed
press:MdxPluginOptions.components
Was components?: MDXComponents; now components?: MDXComponents | ((page: P) => MDXComponents). npmjs.com
Older versions
30 older versions, each with its first changes. Sign up to see every change
Show 30 older versions
fumadocs-mdx 15.5.0 breaking changes
- Signature changed
config:frontmatterSchema
Was const frontmatterSchema: import("zod").ZodObject<{title: import("zod").ZodString; description: import("zod").ZodOptional<import("zod").ZodString>; icon: import("zod").ZodOptional<import("zod").ZodString>; full... npmjs.com - Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-w3CkO8cV.js"; now export {type SatteriPresetOptions} from "../core-CdciznjV.js". npmjs.com
fumadocs-mdx 15.4.10 breaking changes
- Behavior changed
remarkInclude
The include plugin now lives in fumadocs-core, and fumadocs-mdx/config still re-exports it. Included files are parsed by their format, such as a .md file included in an .mdx page. github.com - Configuration changed
fumadocs-mdx now needs fumadocs-core version 16.17.8, so dependency ranges must allow that version. github.com
And 1 more in this version.
fumadocs-mdx 15.4.9 breaking changes
- Removed
runtime/browser:CompiledMDXFile
CompiledMDXFile was removed in fumadocs-mdx 15.4.9 npmjs.com - Removed
runtime/macro:BaseArgs
BaseArgs was removed in fumadocs-mdx 15.4.9 npmjs.com
And 4 more in this version.
fumadocs-mdx 15.4.7 breaking changes
- Removed
allowedMdxAttributes
allowedMdxAttributes was removed with no replacement named in the notes. github.com - Removed
defaultStringifier
defaultStringifier() was removed. Use createStringifier() instead. github.com
And 8 more in this version.
fumadocs-mdx 15.4.5 breaking changes
- Behavior changed
fumadocs-mdx.vite
The config hook of fumadocs-mdx/vite visits each package once and caches the dependency crawl for the process until the package manager's install state changes. No code change is needed unless you rely on the previous crawl timing. github.com
fumadocs-mdx 15.4.1 breaking changes
- Configuration changed
All packages now declare sideEffects in package.json so bundlers can drop unused modules. Packages shipping stylesheets list them as side effects to keep CSS imports working. github.com - Signature changed
CompilationContext.core.getWorkspaces
Was getWorkspaces(): Map<string, any>; now getWorkspaces(): Map<string, {cache: Map<string, unknown>; macro: MacroCollector | undefined; readonly outDir: string; readonly root: string; readonly configPath: string; readonly workspace... npmjs.com
And 7 more in this version.
fumadocs-mdx 15.4.0 breaking changes
- Signature changed
CompiledMDXProperties._markdown
Was _markdown?: string; now _markdown?: string | FC<MDXProps>. npmjs.com - Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-BmvJhZxm.js"; now export {type SatteriPresetOptions} from "../core-ZgBVAQdE.js". npmjs.com
And 1 more in this version.
fumadocs-mdx 15.3.0 breaking changes
- Removed
ExtraPluginHooks.beforeToJs
Seed ctx.data from a Satteri before hook on the plugin definition instead, which also receives the document root. github.com
fumadocs-mdx 15.2.2 breaking changes
- Signature changed
next:createMDX
Was function createMDX(options?: CreateMDXOptions): (nextConfig?: NextConfig) => NextConfig; now function createMDX(options?: CreateMDXOptions): (nextConfig?: NextConfig) => NextConfig & PromiseLike<NextConfig>. npmjs.com
fumadocs-mdx 15.2.1 breaking changes
- Signature changed
runtime/macro:MacroAsyncDocEntry
Was type MacroAsyncDocEntry<Frontmatter = unknown, Extra = unknown> = {load: () => Promise<DocData & Extra>; structuredData: () => Promise<StructuredData>;} & DocMethods & Frontmatter; now type MacroAsyncDocEntry<Frontmatter = unknown... npmjs.com - Signature changed
runtime/macro:MacroDocEntry
Was type MacroDocEntry<Frontmatter = unknown, Extra = unknown> = DocData & DocMethods & Frontmatter & Extra; now type MacroDocEntry<Frontmatter = unknown, Extra = unknown> = DocData & DocMethods & BrowserDocMethods & Frontmatter & Extra. npmjs.com
fumadocs-mdx 15.2.0 breaking changes
- Removed
bun:MdxPluginOptions.environment
MdxPluginOptions.environment was removed in fumadocs-mdx 15.2.0 npmjs.com - Removed
bun:MdxPluginOptions.workspace
MdxPluginOptions.workspace was removed in fumadocs-mdx 15.2.0 npmjs.com
And 32 more in this version.
fumadocs-mdx 15.1.1 breaking changes
- Signature changed
config:SatteriPresetOptions
Was export {type SatteriPresetOptions} from "../core-Bx6PBf26.js"; now export {type SatteriPresetOptions} from "../core-Br7DNGl3.js". npmjs.com
fumadocs-mdx 15.1.0 breaking changes
- Removed
config:DocCollection.async
DocCollection.async was removed in fumadocs-mdx 15.1.0 npmjs.com - Removed
config:DocCollection.dir
DocCollection.dir was removed in fumadocs-mdx 15.1.0 npmjs.com
And 8 more in this version.
fumadocs-mdx 15.0.13 breaking changes
- Behavior changed
The meta loader no longer processes all JSON/YAML files; it only runs when the collection query parameter is present. Users relying on the old matching must add the collection query param. github.com
fumadocs-mdx 15.0.12 breaking changes
- Signature changed
vite:default
Was function mdx(forcedConfig?: Record<string, unknown> | Promise<Record<string, unknown>> | undefined, pluginOptions?: PluginOptions): Promise<Plugin[]>; now function mdx(forcedConfig?: Record<string, unknown> | Promise<Record<string... npmjs.com
fumadocs-mdx 15.0.11 breaking changes
- Signature changed
config:frontmatterSchema
Was const frontmatterSchema: _$zod.ZodObject<{title: _$zod.ZodString; description: _$zod.ZodOptional<_$zod.ZodString>; icon: _$zod.ZodOptional<_$zod.ZodString>; full: _$zod.ZodOptional<_$zod.ZodBoolean>; _openapi... npmjs.com - Signature changed
config:metaSchema
Was const metaSchema$1: _$zod.ZodObject<{title: _$zod.ZodOptional<_$zod.ZodString>; pages: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>; pagesIndex: _$zod.ZodOptional<_$zod.ZodString>; description: _$zod.ZodOptional<_$zod.ZodString>... npmjs.com
And 2 more in this version.
fumadocs-mdx 15.0.10 breaking changes
- Behavior changed
The Vite integration now uses the configured root directory. Check your setup if you relied on the previous root resolution. github.com - Signature changed
runtime/server:server
Was function server<Config, TC extends InternalTypeConfig>(options?: ServerOptions): {doc<Name extends keyof Config & string>(_name: Name, base: string, glob: AwaitableGlobEntries<unknown>): Promise<Config[Name] extends DocCollection<infer... npmjs.com
And 5 more in this version.
fumadocs-mdx 15.0.8 breaking changes
- Signature changed
config:metaSchema
Was const metaSchema$1: _$zod.ZodObject<{title: _$zod.ZodOptional<_$zod.ZodString>; pages: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>; description: _$zod.ZodOptional<_$zod.ZodString>; root: _$zod.ZodOptional<_$zod.ZodBoolean>... npmjs.com
fumadocs-mdx 15.0.7 breaking changes
- Behavior changed
structuredData
The release changes the structuredData field in page data to a standard format. Code that reads this field may need to be checked against the new shape. github.com - Signature changed
runtime/server:AsyncDocCollectionEntry
Was type AsyncDocCollectionEntry<Name extends string = string, Frontmatter = unknown, TC extends InternalTypeConfig = InternalTypeConfig> = {load: () => Promise<DocData & TC['DocData'][Name]>;} & DocMethods & Frontmatter; now type... npmjs.com
fumadocs-mdx 15.0.5 breaking changes
- Signature changed
runtime/server:DocsCollectionEntry.toFumadocsSource
Was toFumadocsSource: () => Source<{pageData: DocCollectionEntry<Name, Frontmatter, TC>; metaData: MetaCollectionEntry<Meta>;}>; now toFumadocsSource: (options?: ToFumadocsSourceOptions) => Source<{pageData: DocCollectionEntry<Name... npmjs.com - Signature changed
runtime/server:toFumadocsSource
Was function toFumadocsSource<Page extends DocMethods & PageData, Meta extends MetaMethods & MetaData>(pages: Page[], metas: Meta[]): Source<{pageData: Page; metaData: Meta;}>; now function toFumadocsSource<Page extends DocMethods &... npmjs.com
fumadocs-mdx 15.0.4 breaking changes
- Signature changed
next:postInstall
Was function postInstall(options: CreateMDXOptions): Promise<void>; now function postInstall(options?: CreateMDXOptions): Promise<void>. npmjs.com - Signature changed
vite:default
Was function mdx(_config?: Record<string, unknown> | Promise<Record<string, unknown>>, pluginOptions?: PluginOptions): Promise<Plugin>; now function mdx(_config?: Record<string, unknown> | Promise<Record<string, unknown>>, pluginOptions?... npmjs.com
fumadocs-mdx 15.0.2 breaking changes
- Configuration changed
The vitefu package is no longer bundled inline with fumadocs-mdx. Projects that relied on it being bundled must now install it themselves. github.com
fumadocs-mdx 15.0.1 breaking changes
- Signature changed
vite:default
Was function mdx(config: Record<string, unknown> | Promise<Record<string, unknown>>, pluginOptions?: PluginOptions): Promise<Plugin>; now function mdx(_config?: Record<string, unknown> | Promise<Record<string, unknown>>, pluginOptions?... npmjs.com
fumadocs-mdx 15.0.0 breaking changes
- Signature changed
config:defineDocs
Was function defineDocs<DocSchema extends StandardSchemaV1 = typeof pageSchema, MetaSchema extends StandardSchemaV1 = typeof metaSchema$1>(options: {dir?: string; docs?: Omit<DocCollection<DocSchema>, 'dir' | 'type'>; meta?... npmjs.com - Signature changed
config:frontmatterSchema
Was const frontmatterSchema: _$zod.ZodObject<{title: _$zod.ZodString; description: _$zod.ZodOptional<_$zod.ZodString>; icon: _$zod.ZodOptional<_$zod.ZodString>; full: _$zod.ZodOptional<_$zod.ZodBoolean>; _openapi... npmjs.com
And 3 more in this version.
fumadocs-mdx 14.3.2 breaking changes
- Signature changed
config:defineDocs
Was function defineDocs<DocSchema extends StandardSchemaV1 = typeof pageSchema, MetaSchema extends StandardSchemaV1 = typeof metaSchema>(options: {dir?: string; docs?: Omit<DocCollection<DocSchema>, 'dir' | 'type'>; meta?... npmjs.com - Signature changed
config:frontmatterSchema
Was const pageSchema: z.ZodObject<{title: z.ZodString; description: z.ZodOptional<z.ZodString>; icon: z.ZodOptional<z.ZodString>; full: z.ZodOptional<z.ZodBoolean>; _openapi: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;}, z.core.$strip>... npmjs.com
And 1 more in this version.
fumadocs-mdx 14.3.0 breaking changes
- Configuration changed
The Next.js config integration now supports only ESM config files, so projects relying on CommonJS config must switch to ESM (for example a .mts config file). github.com
fumadocs-mdx 14.2.10 breaking changes
- Removed
_Defaults
_Defaults was removed in fumadocs-mdx 14.2.10 npmjs.com - Removed
createCore
createCore was removed in fumadocs-mdx 14.2.10 npmjs.com
And 1 more in this version.
fumadocs-mdx 14.2.8 breaking changes
- Default changed
The release makes the MDX stringifier the default behavior. Users who relied on the previous default should check their configuration and output. github.com
fumadocs-mdx 14.0.0 breaking changes
- Removed
AsyncDocCollectionEntry
AsyncDocCollectionEntry was removed in fumadocs-mdx 14.0.0 npmjs.com - Removed
config:DefaultMDXOptions._withoutBundler
DefaultMDXOptions._withoutBundler was removed in fumadocs-mdx 14.0.0 npmjs.com
And 63 more in this version.
fumadocs-mdx 13.0.0 breaking changes
- Removed
_runtime
_runtime was removed in fumadocs-mdx 13.0.0 npmjs.com - Removed
AnyCollectionEntry
AnyCollectionEntry was removed in fumadocs-mdx 13.0.0 npmjs.com
And 22 more in this version.
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.