# What changed in remark-mdx-frontmatter

> 14 changes in remark-mdx-frontmatter 2 to 6 from its official release notes, upgrade guides and advisories: 9 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/npm/remark-mdx-frontmatter/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## remark-mdx-frontmatter 6

### Breaking changes

- Support for Node.js versions below 22 was removed. (6.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v6.0.0)
- Replaces RemarkMdxFrontmatterOptions as the options type name. (6.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v6.0.0)

## remark-mdx-frontmatter 5

### Breaking changes

- Support for Node.js 16 is removed. (5.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v5.0.0)

### Fixes and other changes

- References in frontmatter data are preserved. (5.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v5.0.0)
- The error message for an invalid name is fixed. (5.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v5.0.0)

## remark-mdx-frontmatter 3

### Breaking changes

- The default export name is now frontmatter. (3.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v3.0.0)
- Node.js 16 or greater is now required to use remark-mdx-frontmatter. (3.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v3.0.0)
- Using object keys as export names is no longer supported. (3.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v3.0.0)

## remark-mdx-frontmatter 2

### Breaking changes

- The package is now ESM only. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)
- Support for Node.js 14 is dropped. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)
- The default YAML parser changes from js-yaml to yaml. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)

### New APIs and options

- Custom parsers are now supported. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)

### Behavior and default changes

- Use a default export. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)

### Fixes and other changes

- An export is always created when a name is given. (2.0.0) — [release notes](https://github.com/remcohaszing/remark-mdx-frontmatter/releases/tag/v2.0.0)
