(see https://mdxjs.com/migrating/v3/ on how to migrate)
Change
- e08b759 5afa48e Change to require Node 16
- 5a13d73 Change to use export maps
- cbc2822 Update
unified
, types, plugins, etc - 96b51f9 Remove inferral of development from
NODE_ENV
Change (unlikely to affect you)
- c961af8 Remove
useDynamicImport
option - 9cb26fd
@mdx-js/register
: remove package - 0d1558a
@mdx-js/esbuild
: remove experimentalallowDangerousRemoteMdx
- 0f62bce
@mdx-js/node-loader
: removefixRuntimeWithoutExportMap
- 4f92422
@mdx-js/preact
: remove deprecatedMDXContext
,withMDXComponents
- a362bb4
@mdx-js/react
: remove deprecatedMDXContext
,withMDXComponents
Add
- e12f307 Add support for passing
baseUrl
when running - 2c511a4 Add support for
baseUrl
as aURL
- 1863914 Add deprecation warning for classic runtime
- a34177c Add support for ES2024 in MDX, adjacent JSX and expression blocks
- 44fd9ca Add support for
await
in MDX - 3a7f194 Add
tableCellAlignToStyle
option, to usealign
- fdfe17b
@mdx-js/rollup
: add support for Vite development mode
by @remcohaszing in #2376
Misc
- f48d038 Remove unneeded pragma comment after transform
- 8f3b292 Add a
use strict
directive to function bodies - 172e519
@mdx-js/react
: fix to classify@types/react
as a peer dependency
by @remcohaszing in #2281 - a7bd79b Refactor output to immediately export default
- e525db9 dae82ae Refactor some errors
- ce173f2 Refactor to add types for JSX runtimes
- 8a56312 Refactor output to use spread, not
Object.assign
by @remcohaszing in #2328 - 825717f Refactor to sort default components
by @remcohaszing in #2318 - d8a62d2 Add missing type dependencies
by @arcanis in #2256
Docs
- a9f0c04 Add guide on injecting components
- 24e3d8d Add compat sections to readmes
- 30e4a5d Add sponsor
- 07503a5 Update link to KaTeX CSS in docs
by @victor23k in #2360 - 74aee56 bc1d9e5 765310c 6d1e64d Refactor docs
- 7fd1d9a Fix docs on how to use solid
by @BeiyanYunyi in #2300 - 4129f90 Fix a couple typos
by @deining in #2266 - bb902f8 Fix typo
by @ChristianMurphy in #2380
Site
- 78a1eb5 Add v3 blog post
- 2b1948c Add v3 migration guide
- d6bb70c Add improved error display in playground
- 89097e4 Remove unmaintained dev-dependency
- 3e23ba9 Add more options to playground
- d92128b Fix links in docs
- ab3aa96 Add GitHub pages
by @remcohaszing in #2377 - a2c8693 Fix site
by @wooorm in #2358 - dbe9f44 Fix playground AST views w/ clone
by @Jokcy in #2315 - 7504cfb Add more options to playground, directives, format, etc
by @slorber in #2295 - 57301df Add resizable editor/layout to playground
by @slorber in #2296 - 9eb747d Add info on how to build site locally
by @slorber in #2297
Full Changelog: 2.3.0...3.0.0