Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Jun 14, 2024

This PR contains the following updates:

Package Change Age Confidence
@ianvs/prettier-plugin-sort-imports 4.1.14.7.0 age confidence

Release Notes

ianvs/prettier-plugin-sort-imports (@​ianvs/prettier-plugin-sort-imports)

v4.7.0

Compare Source

What's Changed

This project began as a fork because I wanted a plugin that would not move side-effect imports around and mess with my CSS cascade. So its first and most distinguishing feature is that side-effect imports do not move, and other imports are not sorted across them.

This works fine in most cases, but some people have side-effect imports that they know can be sorted safely. For those, there is now an "escape hatch" option named importOrderSafeSideEffects. It is an array of glob pattern strings (similar to importOrder) which, when they match against a side-effect import, allow that import to be sorted as if it were a standard import.

Suggestions for safe use:

  • Use ^ at the start of your pattern and $ at the end, to avoid accidentally matching part of an import name. For example, "^server-only$", to avoid matching against import "not-server-only".
  • Use extreme caution if matching against relative files or CSS files. If you decide to sort CSS imports and a file ever imports more than one CSS file, your cascade may change.
  • You can still use // prettier-ignore to stop sorting a particular import that would otherwise be sorted.

Feedback on this feature is welcome.

Features
Internal

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.3...v4.7.0

v4.6.3

Compare Source

What's Changed

  • Revert "fix: conditionally register ember and oxc parsers when depend… by @​IanVS in IanVS#237

Full Changelog: IanVS/prettier-plugin-sort-imports@4.6.2...v4.6.3

v4.6.2

Compare Source

What's Changed

  • fix: conditionally register ember and oxc parsers when dependencies available by @​jahands in IanVS#234

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.1...4.6.2

v4.6.1

Compare Source

What's Changed

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.0...v4.6.1

v4.6.0

Compare Source

What's Changed

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.1...v4.6.0

v4.5.1

Compare Source

What's Changed

Fixes
Internal

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.0...v4.5.1

v4.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.2...v4.5.0

v4.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.1...v4.4.2

v4.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.0...v4.4.1

v4.4.0

Compare Source

What's Changed

Enhancements
Maintenance

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.1...v4.4.0

v4.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.0...v4.3.1

v4.3.0

Compare Source

What's Changed

Features

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
TypeScript

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 in IanVS#165

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0

v4.2.1

Compare Source

What's Changed

Bugfixes

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.0...v4.2.1

v4.2.0

Compare Source

What's Changed

Features
Bug fixes
Dependencies
Docs

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.1.1...v4.2.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 5ede39b to e8080bd Compare June 27, 2024 05:16
@renovate renovate bot changed the title chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.2.1 chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.0 Jun 27, 2024
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from e8080bd to bda5527 Compare July 12, 2024 17:02
@renovate renovate bot changed the title chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.0 chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Jul 12, 2024
@renovate renovate bot changed the title chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Jul 17, 2024
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Aug 19, 2024
@renovate renovate bot changed the title chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from bda5527 to ee47655 Compare October 11, 2024 17:04
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.0 Nov 7, 2024
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from ee47655 to adbbee0 Compare November 7, 2024 20:39
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.0 Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 Jan 13, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from adbbee0 to eebb26b Compare January 13, 2025 16:01
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from eebb26b to 9dc3d44 Compare May 31, 2025 08:10
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.2 May 31, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 9dc3d44 to 0174d93 Compare July 13, 2025 00:06
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.4.2 Update dependency @ianvs/prettier-plugin-sort-imports to v4.5.1 Jul 13, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 0174d93 to 39ff5ee Compare August 7, 2025 07:13
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.5.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.0 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 39ff5ee to f2c5c58 Compare August 9, 2025 07:15
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.0 Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.1 Aug 9, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from f2c5c58 to ea7ac42 Compare August 12, 2025 23:31
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.1 Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.2 Aug 15, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from ea7ac42 to 0522dfb Compare August 15, 2025 20:14
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 0522dfb to 9525afa Compare August 24, 2025 03:12
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 9525afa to b35730d Compare September 1, 2025 09:49
@renovate renovate bot changed the title Update dependency @ianvs/prettier-plugin-sort-imports to v4.6.2 Update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 Sep 1, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from b35730d to aef504e Compare September 26, 2025 15:58
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from aef504e to 01a81d3 Compare October 23, 2025 07:44
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 01a81d3 to 9d0490f Compare November 16, 2025 07:54
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from 9d0490f to d884423 Compare January 20, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant