ianvs/prettier-plugin-sort-imports (@ianvs/prettier-plugin-sort-imports)
### [`v4.3.1`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.3.1)
[Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.3.0...v4.3.1)
#### What's Changed
- fixes readme with correct BUILTIN_MODULES setting name by [@tusharf5](https://togithub.com/tusharf5) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/177](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/177)
- Add support for return in Astro component script by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/176](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/176)
#### New Contributors
- [@tusharf5](https://togithub.com/tusharf5) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/177](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/177)
**Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.3.0...v4.3.1
### [`v4.3.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.3.0)
[Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.2.1...v4.3.0)
#### What's Changed
##### Features
- Add support for import attributes by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/174](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/174)
This release adds support for experimental import attributes / assertions. There have been a number of styles proposed by TC-39 over the years, but the latest is to use `import x from 'x' with { type: 'json' };`, which is called an "import attribute". There is also an older "import assertion" form, which uses `assert` instead of `with`.
**Note:** You may need to add `"importAttributes"` to your `"importOrderParserPlugins"` option in order to support this. And if you are using the older assertion style, you'll need to add it as `'[\"importAttributes\", {\"deprecatedAssertSyntax\": true}]'`.
This plugin will also convert the older assertion style to import attributes.
##### Bugfixes
- Fix vue 2.7 support by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/173](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/173)
##### TypeScript
- Augment Prettier `Options` types with internal `PluginConfig` by [@jeremy-code](https://togithub.com/jeremy-code) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/172)
You can now type your prettier config as simply `/** @type {import("prettier").Config} */`, and you'll also get the types for the options this plugin adds, automatically.
##### Docs
- Update README to show more options for disabling and overrides by [@ADTC](https://togithub.com/ADTC) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/165)
#### New Contributors
- [@ADTC](https://togithub.com/ADTC) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/165)
- [@jeremy-code](https://togithub.com/jeremy-code) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/172)
**Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.2.1...v4.3.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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:
4.2.1
->4.3.1
Release Notes
ianvs/prettier-plugin-sort-imports (@ianvs/prettier-plugin-sort-imports)
### [`v4.3.1`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.3.1) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.3.0...v4.3.1) #### What's Changed - fixes readme with correct BUILTIN_MODULES setting name by [@tusharf5](https://togithub.com/tusharf5) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/177](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/177) - Add support for return in Astro component script by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/176](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/176) #### New Contributors - [@tusharf5](https://togithub.com/tusharf5) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/177](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/177) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.3.0...v4.3.1 ### [`v4.3.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.3.0) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.2.1...v4.3.0) #### What's Changed ##### Features - Add support for import attributes by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/174](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/174) This release adds support for experimental import attributes / assertions. There have been a number of styles proposed by TC-39 over the years, but the latest is to use `import x from 'x' with { type: 'json' };`, which is called an "import attribute". There is also an older "import assertion" form, which uses `assert` instead of `with`. **Note:** You may need to add `"importAttributes"` to your `"importOrderParserPlugins"` option in order to support this. And if you are using the older assertion style, you'll need to add it as `'[\"importAttributes\", {\"deprecatedAssertSyntax\": true}]'`. This plugin will also convert the older assertion style to import attributes. ##### Bugfixes - Fix vue 2.7 support by [@IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/173](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/173) ##### TypeScript - Augment Prettier `Options` types with internal `PluginConfig` by [@jeremy-code](https://togithub.com/jeremy-code) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/172) You can now type your prettier config as simply `/** @type {import("prettier").Config} */`, and you'll also get the types for the options this plugin adds, automatically. ##### Docs - Update README to show more options for disabling and overrides by [@ADTC](https://togithub.com/ADTC) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/165) #### New Contributors - [@ADTC](https://togithub.com/ADTC) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/165) - [@jeremy-code](https://togithub.com/jeremy-code) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/172) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.2.1...v4.3.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.