Skip to content

Upgrade to MDX 3 #25182

Closed
Closed

Description

Breaking Changes

The main breaking change is that Node.js 16 is now the minimum supported version.
Across the ecosystem there were several small internal breaking changes. Everything’s released already. You can update all plugins now. If you ran into problems before, it should work now.
We also removed some infrequently used deprecated APIs. You’re likely fine but gloss over the v3 migration guide if you get errors.
Important to note when you use your lesser-known but powerful evaluate, run, or outputFormat: 'function-body' APIs, please pass the baseUrl option. That makes sure import.meta.url, import, and export work. You’ll get a runtime error when those features are used otherwise.

from https://mdxjs.com/blog/v3/

Migration Guide

https://mdxjs.com/migrating/v3/

Tasks

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions