# What changed in @ianvs/prettier-plugin-sort-imports

> 19 changes in @ianvs/prettier-plugin-sort-imports 4 from its official release notes, upgrade guides and advisories: 9 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/@ianvs/prettier-plugin-sort-imports/

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

## @ianvs/prettier-plugin-sort-imports 4

### Breaking changes

- The default import sort order is improved. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This option is removed because the behavior is always enabled. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This configuration option is removed. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This option is replaced by `importOrderTypeScriptVersion`. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This configuration option is removed. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This configuration option is removed. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This configuration option is removed. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This option replaces `importOrderCombineTypeAndValueImports`. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- The plugin is built for Node 16+; older versions may continue to work but are untested. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)

### New APIs and options

- The babel-ts parser is supported. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- This special word is available for use in import ordering. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- An explicit separator can be placed after top-of-file comments. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)

### Behavior and default changes

- Both the Vue script and setup script are sorted. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)

### Fixes and other changes

- Rearranging the first import no longer leaves a comment gap. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- Behavior around comments embedded in imports is fixed. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- Top-of-file comments are no longer duplicated when runtime code is moved. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- Comments and blank lines at the top of a file are preserved. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- Trailing comments on import specifiers are preserved. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
- Vue and TypeScript use the correct parser plugins. (4.0.0) — [release notes](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
