---
title: "@astrojs/mdx 8.1.1 Breaking Changes on npm | Since.dev"
description: "What each @astrojs/mdx release removed, renamed or changed: 12 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@astrojs/mdx
last_updated: 2026-12-04
---

# @astrojs/mdx breaking changes

@astrojs/mdx 8.1.1 (October 21, 2026) is its newest release with breaking changes. The first: @astrojs/mdx 8.1.1 requires Node.js 22.23.4 or later. Every breaking API change we have recorded in @astrojs/mdx on npm: 12 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

Latest version `8.1.6`, released November 13, 2026. [Source repository](https://github.com/withastro/astro)

Its 8.1.1 release requires Node.js 22.23.4 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.0.0](#v-7-0-0) to [8.1.1](#v-8-1-1): 4 breaking changes in 3 versions.
- From [5.0.0](#v-5-0-0) to [8.1.1](#v-8-1-1): 9 breaking changes in 7 versions.

## @astrojs/mdx 8.1.1 breaking changes

@astrojs/mdx 8.1.1, released October 21, 2026: 1 breaking change.

- **Removed**  

The minimum supported Node.js version is raised to 22.23.4 in a patch release. Users on older Node.js 22 releases must upgrade Node.js before updating. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%408.1.1)

## @astrojs/mdx 8.1.0 breaking changes

@astrojs/mdx 8.1.0, released October 15, 2026: 1 breaking change.

- **Removed**  

The package now requires Node.js 22.22.0 or later. Upgrade Node.js before updating @astrojs/mdx. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%408.1.0)

## @astrojs/mdx 8.0.0 breaking changes

@astrojs/mdx 8.0.0, released August 31, 2026: 2 breaking changes.

- **Behavior changed**  

MDX files are now processed by the configured Markdown processor, so users with an explicitly installed processor must update it to a compatible version. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%408.0.0)
- **Behavior changed** `markdown.processor`  

With extendMarkdownConfig set to false, .mdx files now use a clean default processor instead of markdown.processor; pass mdx({ processor }) to choose one explicitly. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%408.0.0)

## @astrojs/mdx 7.0.0 breaking changes

@astrojs/mdx 7.0.0, released June 22, 2026: 2 breaking changes.

- **Behavior changed**  

The package now uses Vite v8, which may change how projects build and run. Check your Vite configuration after upgrading. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%407.0.0)
- **Signature changed** `server.js:renderToStaticMarkup`  

Was function renderToStaticMarkup(this: any, Component: any, props?: {}, {default: children, ...slotted}?: {default?: null | undefined;}): Promise<{html: any;}>; now function renderToStaticMarkup(this: any, Component: any, props?: {}... [npmjs.com](https://www.npmjs.com/package/@astrojs/mdx/v/7.0.0)

## @astrojs/mdx 6.0.0 breaking changes

@astrojs/mdx 6.0.0, released May 28, 2026: 1 breaking change.

- **Signature changed** `MdxOptions`  

Was type MdxOptions = Omit\<typeof markdownConfigDefaults, 'remarkPlugins' | 'rehypePlugins'> & {extendMarkdownConfig: boolean; recmaPlugins: PluggableList; remarkPlugins: PluggableList; rehypePlugins: PluggableList; remarkRehype... [npmjs.com](https://www.npmjs.com/package/@astrojs/mdx/v/6.0.0)

## @astrojs/mdx 5.0.2 breaking changes

@astrojs/mdx 5.0.2, released March 18, 2026: 1 breaking change.

- **Configuration changed**  

The package no longer keeps temporary support for Node >=20.19.1 because StackBlitz now uses Node 22 by default. Users on that Node range should move to a supported Node version. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%405.0.2)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @astrojs/mdx 5.0.1 breaking changes

@astrojs/mdx 5.0.1, released March 16, 2026: 1 breaking change.

- **Configuration changed**  

The package's Astro peer dependency is now 6.0.0, so projects must use Astro 6.0.0 with this version. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%405.0.1)

### @astrojs/mdx 5.0.0 breaking changes

@astrojs/mdx 5.0.0, released March 10, 2026: 3 breaking changes.

- **Behavior changed**  

Markdown heading IDs are generated differently in this release. Check any links or anchors that point to heading IDs. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%405.0.0)
- **Behavior changed**  

The package now requires Node.js 22.12.0 or later. Upgrade Node.js before installing this version. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/mdx%405.0.0)

And 1 more in this version.

## Related packages

- [astro](https://since.dev/packages/npm/astro.md)
- [@astrojs/solid-js](https://since.dev/packages/npm/@astrojs/solid-js.md)
- [@astrojs/sitemap](https://since.dev/packages/npm/@astrojs/sitemap.md)
- [@astrojs/markdown-satteri](https://since.dev/packages/npm/@astrojs/markdown-satteri.md)
- [@astrojs/react](https://since.dev/packages/npm/@astrojs/react.md)
- [@astrojs/vue](https://since.dev/packages/npm/@astrojs/vue.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
