Skip to content

[Docs Site] Bump @astrojs/mdx from 5.0.6 to 6.0.2#31356

Merged
mvvmm merged 1 commit into
productionfrom
dependabot/npm_and_yarn/astrojs/mdx-6.0.2
Jun 10, 2026
Merged

[Docs Site] Bump @astrojs/mdx from 5.0.6 to 6.0.2#31356
mvvmm merged 1 commit into
productionfrom
dependabot/npm_and_yarn/astrojs/mdx-6.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Bumps @astrojs/mdx from 5.0.6 to 6.0.2.

Release notes

Sourced from @​astrojs/mdx's releases.

@​astrojs/mdx@​6.0.2

Patch Changes

@​astrojs/mdx@​6.0.0

6.0.0

Major Changes

  • #16848 f732f3c Thanks @​Princesseuh! - Adds a new markdown.processor configuration option, allowing you to choose an alternative Markdown processor.

    Websites with many Markdown/MDX files tend to be slow to build because the unified ecosystem (e.g., remark, rehype) is slow to process. This feature introduces the ability to replace this part of the build pipeline with another processor.

    The default processor is unified(). This means that existing configurations remain unchanged and your remark/rehype plugins continue to work.

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { unified } from '@astrojs/markdown-remark';
    import remarkToc from 'remark-toc';
    export default defineConfig({
    markdown: {
    processor: unified({
    remarkPlugins: [remarkToc],
    }),
    },
    });

    In addition to this new configuration option, Astro provides a new alternative processor based on Rust: Sätteri. You can choose to use it now by installing @astrojs/markdown-satteri, importing the satteri() processor, and adapting your existing configuration:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { satteri } from '@astrojs/markdown-satteri';
    export default defineConfig({
    markdown: {
    processor: satteri({
    features: { directive: true },
    }),
    },
    });

... (truncated)

Changelog

Sourced from @​astrojs/mdx's changelog.

6.0.2

Patch Changes

6.0.1

Patch Changes

  • Updated dependencies [eeb064c]:
    • @​astrojs/markdown-satteri@​0.2.1

6.0.0

Major Changes

  • #16848 f732f3c Thanks @​Princesseuh! - Adds a new markdown.processor configuration option, allowing you to choose an alternative Markdown processor.

    Websites with many Markdown/MDX files tend to be slow to build because the unified ecosystem (e.g., remark, rehype) is slow to process. This feature introduces the ability to replace this part of the build pipeline with another processor.

    The default processor is unified(). This means that existing configurations remain unchanged and your remark/rehype plugins continue to work.

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { unified } from '@astrojs/markdown-remark';
    import remarkToc from 'remark-toc';
    export default defineConfig({
    markdown: {
    processor: unified({
    remarkPlugins: [remarkToc],
    }),
    },
    });

    In addition to this new configuration option, Astro provides a new alternative processor based on Rust: Sätteri. You can choose to use it now by installing @astrojs/markdown-satteri, importing the satteri() processor, and adapting your existing configuration:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { satteri } from '@astrojs/markdown-satteri';
    export default defineConfig({
    markdown: {

... (truncated)

Commits

@dependabot dependabot Bot requested a review from a team as a code owner June 9, 2026 20:09
@dependabot dependabot Bot requested a review from a team as a code owner June 9, 2026 20:09
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 9, 2026
@github-actions github-actions Bot added the size/s label Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
package.json @cloudflare/content-engineering
* @cloudflare/product-owners

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@mvvmm

mvvmm commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/mdx-6.0.2 branch from c20fe19 to a928a13 Compare June 9, 2026 22:03
@mvvmm

mvvmm commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

/review

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Dependabot review

Package Impact Recommendation
@astrojs/mdx 5.0.6 → 6.0.2 🟠 Medium ⚠️ Verify

Overall: ✅ Merge + spot-check

This PR bumps @astrojs/mdx from 5.0.6 to 6.0.2. The major release introduces an alternative Markdown processor option, but defaults remain unified() so existing remark/rehype pipelines are unaffected. The package is used directly in src/util/container.ts to render all MDX content to HTML. Because it is a major bump in the core rendering path, merge is safe but a quick spot-check of a few MDX pages after deploy is warranted.

Package details

@astrojs/mdx: 5.0.6 → 6.0.2

Type: breaking change
Dependency type: direct

What changed

  • Major version 6.0.0 adds a new markdown.processor config option for choosing an alternative Markdown processor (e.g., Sätteri).
  • Default processor remains unified() — existing remark/rehype configurations are preserved unchanged.
  • 6.0.2 patches Sätteri processor to v0.8.0 and bumps @astrojs/markdown-satteri to 0.2.2.
  • Peer dependency requirements updated to astro: ^6.4.0 (repo is on 6.4.4, so compatible).

Usage in this repo
Direct dependency. Imported in src/util/container.ts as mdxRenderer from @astrojs/mdx/server.js to render all MDX/MD content entries to HTML via experimental_AstroContainer. Used for every docs and changelog page on the site.

Impact: 🟠 Medium — The change is additive and defaults are preserved, so current remark/rehype configs and renderer usage should continue working. However, this is a major bump in the MDX processing pipeline that renders every docs page. Any regression would affect visitor-facing HTML output.


Bumps [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) from 5.0.6 to 6.0.2.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/mdx@6.0.2/packages/integrations/mdx)

---
updated-dependencies:
- dependency-name: "@astrojs/mdx"
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/mdx-6.0.2 branch from a928a13 to 69db865 Compare June 10, 2026 00:36
@mvvmm mvvmm merged commit c4cd5f0 into production Jun 10, 2026
9 checks passed
@mvvmm mvvmm deleted the dependabot/npm_and_yarn/astrojs/mdx-6.0.2 branch June 10, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants