# What changed in xastscript

> 2 changes in xastscript 4 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/xastscript/

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

## xastscript 4

### Breaking changes

- Node.js 16 is now required. (4.0.0) — [release notes](https://github.com/syntax-tree/xastscript/releases/tag/4.0.0)

### Fixes and other changes

- Types now accept attributes or a child at once. (4.0.1) — [release notes](https://github.com/syntax-tree/xastscript/releases/tag/4.0.1)
