npm / remark-mdx-frontmatter
remark-mdx-frontmatter
What changed in remark-mdx-frontmatter 2 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
9 breaking1 new APIs and options1 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initremark-mdx-frontmatter 62 changes
Breaking changes 2
Support for Node.js versions below 22 was removed.
Replaces RemarkMdxFrontmatterOptions as the options type name.
remark-mdx-frontmatter 53 changes
Breaking changes 1
Support for Node.js 16 is removed.
Fixes and other changes 2
References in frontmatter data are preserved.
The error message for an invalid name is fixed.
remark-mdx-frontmatter 33 changes
Breaking changes 3
The default export name is now frontmatter.
Node.js 16 or greater is now required to use remark-mdx-frontmatter.
Using object keys as export names is no longer supported.
remark-mdx-frontmatter 26 changes
Breaking changes 3
The package is now ESM only.
Support for Node.js 14 is dropped.
The default YAML parser changes from js-yaml to yaml.
New APIs and options 1
Custom parsers are now supported.
Behavior and default changes 1
Use a default export.
Fixes and other changes 1
An export is always created when a name is given.