ianvs/prettier-plugin-sort-imports
### [`v4.0.2`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.2)
[Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.0.1...v4.0.2)
#### What's Changed
- Account for missing filepath by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/104](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/104)
**Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.0.1...v4.0.2
### [`v4.0.1`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.1)
[Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.0.0...v4.0.1)
#### What's Changed
- Fix cli in Install section by [@torn4dom4n](https://togithub.com/torn4dom4n) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/99](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/99)
- Fix dollar sign ($) issue in Vue SFC by [@istiak-tridip](https://togithub.com/istiak-tridip) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/101](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/101)
#### New Contributors
- [@torn4dom4n](https://togithub.com/torn4dom4n) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/99](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/99)
- [@istiak-tridip](https://togithub.com/istiak-tridip) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/101](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/101)
**Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.0.0...v4.0.1
### [`v4.0.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0)
[Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v3.7.2...v4.0.0)
#### What's Changed
This new release focuses on simplifying the plugin options, shipping more useful defaults, handling comments around import statements more reliably, and improving Vue and TypeScript compatibility. We also are targeting Node 16 syntax with our build, though older versions may continue to work (untested). See the full [migration guide](https://togithub.com/IanVS/prettier-plugin-sort-imports/blob/next/docs/MIGRATION.md#migrating-from-v3xx-to-v4xx) for details of the breaking changes.
##### ⬆️ Breaking Changes
- Build for Node 16+ ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/59](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/59))
- Remove `importOrderBuiltinModulesToTop` (always true) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/60](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/60))
- Remove `importOrderSeparation` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/62](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/62))
- Remove `importOrderCaseInsensitive` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/63](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/63))
- Remove `importOrderGroupNamespaceSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/64](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/64))
- Remove `importOrderSortSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/65](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/65))
- Remove `importOrderMergeDuplicateImports` option (always on) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/66](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/66))
- Replace `importOrderCombineTypeAndValueImports` with `importOrderTypeScriptVersion` ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/67](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/67))
- Improve default sort order ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/83](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/83))
##### 🐛 Bug Fixes
- Fix behavior around comments embedded in imports ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/71](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/71))
- Preserve trailing comments on specifiers ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/80](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/80))
- Preserve comments and blank lines at top-of-file (in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/82](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/82))
- Prevent comment gap when re-arranging first import ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/85](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/85))
- Fix: Top-of-file Comments get duplicated when moving runtime code ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/88](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/88))
- Vue: Sort both script and setup script ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/90](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/90))
- Vue and TypeScript: Use correct parser plugins ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/91](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/91))
##### ⚡️ Features
- Add `` Special Word ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/86](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/86))
- Allow Explicit Separator after Top-of-file-comments ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/92](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/92))
- Support babel-ts parser ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/97](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/97))
##### 🛠️ Repo Maintenance
- Update dependencies, jest -> vitest ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/59](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/59))
- Check formatting in CI ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/61](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/61))
- Update to latest versions of Github Actions ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/73](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/73))
- Add some more tests for comments ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/77](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/77))
##### 🧳 Dependencies
- Drop javascript-natural-sort dependency ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/28](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/28))
- Drop lodash.clone dependency ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/74](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/74))
- Upgrade Babel to 7.21 ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/72](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/72))
**Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v3.7.2...v4.0.0
Configuration
📅 Schedule: Branch creation - "after 12am and before 5am on saturday" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.7.2
->4.0.2
Release Notes
ianvs/prettier-plugin-sort-imports
### [`v4.0.2`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.2) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.0.1...v4.0.2) #### What's Changed - Account for missing filepath by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/104](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/104) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.0.1...v4.0.2 ### [`v4.0.1`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.1) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.0.0...v4.0.1) #### What's Changed - Fix cli in Install section by [@torn4dom4n](https://togithub.com/torn4dom4n) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/99](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/99) - Fix dollar sign ($) issue in Vue SFC by [@istiak-tridip](https://togithub.com/istiak-tridip) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/101](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/101) #### New Contributors - [@torn4dom4n](https://togithub.com/torn4dom4n) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/99](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/99) - [@istiak-tridip](https://togithub.com/istiak-tridip) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/101](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/101) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.0.0...v4.0.1 ### [`v4.0.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.0.0) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v3.7.2...v4.0.0) #### What's Changed This new release focuses on simplifying the plugin options, shipping more useful defaults, handling comments around import statements more reliably, and improving Vue and TypeScript compatibility. We also are targeting Node 16 syntax with our build, though older versions may continue to work (untested). See the full [migration guide](https://togithub.com/IanVS/prettier-plugin-sort-imports/blob/next/docs/MIGRATION.md#migrating-from-v3xx-to-v4xx) for details of the breaking changes. ##### ⬆️ Breaking Changes - Build for Node 16+ ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/59](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/59)) - Remove `importOrderBuiltinModulesToTop` (always true) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/60](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/60)) - Remove `importOrderSeparation` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/62](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/62)) - Remove `importOrderCaseInsensitive` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/63](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/63)) - Remove `importOrderGroupNamespaceSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/64](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/64)) - Remove `importOrderSortSpecifiers` option ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/65](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/65)) - Remove `importOrderMergeDuplicateImports` option (always on) ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/66](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/66)) - Replace `importOrderCombineTypeAndValueImports` with `importOrderTypeScriptVersion` ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/67](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/67)) - Improve default sort order ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/83](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/83)) ##### 🐛 Bug Fixes - Fix behavior around comments embedded in imports ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/71](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/71)) - Preserve trailing comments on specifiers ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/80](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/80)) - Preserve comments and blank lines at top-of-file (in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/82](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/82)) - Prevent comment gap when re-arranging first import ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/85](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/85)) - Fix: Top-of-file Comments get duplicated when moving runtime code ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/88](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/88)) - Vue: Sort both script and setup script ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/90](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/90)) - Vue and TypeScript: Use correct parser plugins ([https://github.com/IanVS/prettier-plugin-sort-imports/pull/91](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/91)) ##### ⚡️ Features - Add `Configuration
📅 Schedule: Branch creation - "after 12am and before 5am on saturday" in timezone Asia/Kolkata, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.