npm / prettier-plugin-sort-json
prettier-plugin-sort-json
What changed in prettier-plugin-sort-json 1 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
6 breaking1 tooling1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initprettier-plugin-sort-json 44 changes
Breaking changes 2
Case-insensitive sorting now orders keys that differ only in case deterministically instead of preserving their original order.
Support for Node.js v16 was dropped, so projects using that runtime can no longer use this release.
Tooling 1
Prettier’s Options interface now includes plugin options, providing autocomplete when editing a local prettier.config.ts.
Fixes and other changes 1
The numeric sort option now recognizes negative numbers as numbers, fixing their sorting.
prettier-plugin-sort-json 32 changes
Breaking changes 2
Prettier v3 no longer automatically loads plugins, so developers must follow the instructions to load this plugin after updating.
This plugin no longer works with Prettier v2; Prettier v2 support remains available on v2 of this plugin.
prettier-plugin-sort-json 21 changes
Breaking changes 1
The minimum supported Node.js version is now v16, so developers must use Node.js v16 or later.
prettier-plugin-sort-json 11 changes
Breaking changes 1
The jsonSortOrder option now accepts a JSON string instead of a file path.