17.0.0 (2026-01-05)
Features
- Control line break in empty {} and [] (a0ef54b)
Refactoring
BREAKING CHANGES
Pretty-printing will not insert a line break between
empty {} and [] by default. Although this will probably be the
desired output of all users, it might break some use cases, which
dependend on the extra line break. It can be achieved again by setting
the new option --no-compact-empty-objects (compactEmptyObjects: false).
The minimum supported version of Node.js is 22 from now on.
Also, any file path supplied on the command line is considered a glob
pattern. It shouldn't break anything though.
The minimum supported version of Node.js is 18 from now on.