unstale

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 init

@unstale/cli 0.2.8 on npm

prettier-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.

    4.0.0release notes

  • Support for Node.js v16 was dropped, so projects using that runtime can no longer use this release.

    4.0.0release notes

Tooling 1

  • Prettier’s Options interface now includes plugin options, providing autocomplete when editing a local prettier.config.ts.

    4.2.0release notes

Fixes and other changes 1

  • The numeric sort option now recognizes negative numbers as numbers, fixing their sorting.

    4.2.0release notes

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.

    3.0.0release notes

  • This plugin no longer works with Prettier v2; Prettier v2 support remains available on v2 of this plugin.

    3.0.0release notes

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.

    2.0.0release notes

prettier-plugin-sort-json 11 changes

Breaking changes 1

  • The jsonSortOrder option now accepts a JSON string instead of a file path.

    1.0.0release notes