# What changed in mdast-util-from-markdown

> 3 changes in mdast-util-from-markdown 2 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/mdast-util-from-markdown/

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

## mdast-util-from-markdown 2

### New APIs and options

- Adds support for afterExit listeners. (2.1.0) — [release notes](https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/2.1.0)
- Adds support for beforeEnter listeners. (2.1.0) — [release notes](https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/2.1.0)

### Fixes and other changes

- Fixes passing encoding: undefined together with options. (2.0.3) — [release notes](https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/2.0.3)
