# What changed in prettier-plugin-sort-json

> 8 changes in prettier-plugin-sort-json 1 to 4 from its official release notes, upgrade guides and advisories: 6 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/prettier-plugin-sort-json/

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

## prettier-plugin-sort-json 4

### Breaking changes

- Case-insensitive sorting now orders keys that differ only in case deterministically instead of preserving their original order. (4.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v4.0.0)
- Support for Node.js v16 was dropped, so projects using that runtime can no longer use this release. (4.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v4.0.0)

### Tooling

- Prettier’s Options interface now includes plugin options, providing autocomplete when editing a local prettier.config.ts. (4.2.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v4.2.0)

### Fixes and other changes

- The numeric sort option now recognizes negative numbers as numbers, fixing their sorting. (4.2.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v4.2.0)

## prettier-plugin-sort-json 3

### Breaking changes

- Prettier v3 no longer automatically loads plugins, so developers must follow the instructions to load this plugin after updating. (3.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v3.0.0)
- This plugin no longer works with Prettier v2; Prettier v2 support remains available on v2 of this plugin. (3.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v3.0.0)

## prettier-plugin-sort-json 2

### Breaking changes

- The minimum supported Node.js version is now v16, so developers must use Node.js v16 or later. (2.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v2.0.0)

## prettier-plugin-sort-json 1

### Breaking changes

- The jsonSortOrder option now accepts a JSON string instead of a file path. (1.0.0) — [release notes](https://github.com/Gudahtt/prettier-plugin-sort-json/releases/tag/v1.0.0)
