# What changed in markdown-factory

> 4 changes in markdown-factory 1 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/markdown-factory/

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

## markdown-factory 1

### Breaking changes

- frontMatter() is now async and returns Promise<string>. (1.0.0) — [release notes](https://github.com/AgentEnder/markdown-factory/releases/tag/v1.0.0)

### New APIs and options

- codeBlock now supports attributes. (1.0.0) — [release notes](https://github.com/AgentEnder/markdown-factory/releases/tag/v1.0.0)

### Behavior and default changes

- The package now has dual CJS and ESM builds, enabling ESM compatibility. (1.0.0) — [release notes](https://github.com/AgentEnder/markdown-factory/releases/tag/v1.0.0)

### Fixes and other changes

- Getting environment values no longer breaks web consumers. (1.0.0) — [release notes](https://github.com/AgentEnder/markdown-factory/releases/tag/v1.0.0)
