# What changed in hast-util-to-text

> 5 changes in hast-util-to-text 4 from its official release notes, upgrade guides and advisories: 2 breaking. Each one cited. Sources checked 2026-11-20. HTML: https://unstale.sh/npm/hast-util-to-text/

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

## hast-util-to-text 4

### Breaking changes

- The package now uses `exports`; consumers should not use private APIs. (4.0.0) — [release notes](https://github.com/syntax-tree/hast-util-to-text/releases/tag/4.0.0)
- Node.js 16 is now required. (4.0.0) — [release notes](https://github.com/syntax-tree/hast-util-to-text/releases/tag/4.0.0)

### Fixes and other changes

- Fixes a typo that caused form elements not to match. (4.0.3) — [release notes](https://github.com/syntax-tree/hast-util-to-text/releases/tag/4.0.3)
- Fixes handling of line feeds between rows. (4.0.3) — [release notes](https://github.com/syntax-tree/hast-util-to-text/releases/tag/4.0.3)
- Ignores whitespace between table parts. (4.0.3) — [release notes](https://github.com/syntax-tree/hast-util-to-text/releases/tag/4.0.3)
