Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2024

This PR contains the following updates:

Package Change Age Confidence
@ianvs/prettier-plugin-sort-imports 4.1.1 -> 4.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 requested a review from mdirshaddev as a code owner March 13, 2024 15:06
Copy link

changeset-bot bot commented Mar 13, 2024

⚠️ No Changeset found

Latest commit: ab6d24c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.2.0 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.2.1 Mar 17, 2024
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.2.1 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.0 Jun 27, 2024
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.0 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 Jul 14, 2024
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.0 Nov 7, 2024
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.0 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 215b92c to 40f3574 Compare January 15, 2025 03:39
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch 2 times, most recently from f1904e2 to 8e5082f Compare January 31, 2025 19:05
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 8e5082f to 4f83ca8 Compare February 12, 2025 08:14
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 4f83ca8 to 802f567 Compare March 4, 2025 23:46
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch 3 times, most recently from f0c9017 to 5add35b Compare March 19, 2025 00:07
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 5add35b to b603b61 Compare April 1, 2025 23:53
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from b603b61 to bed1e4f Compare April 10, 2025 04:00
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from bed1e4f to 57e0516 Compare April 27, 2025 03:48
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 57e0516 to 52d07f4 Compare May 24, 2025 11:49
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 52d07f4 to b804277 Compare June 1, 2025 07:01
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.1 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.2 Jun 1, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from b804277 to a35f23f Compare June 6, 2025 17:18
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from a35f23f to 875bd73 Compare June 29, 2025 07:48
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 875bd73 to e2dbcd8 Compare July 12, 2025 07:58
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.4.2 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.5.1 Jul 12, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from e2dbcd8 to 6aeea90 Compare July 20, 2025 16:14
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.5.1 fix(deps): 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-lockfile branch from 6aeea90 to 7c954d9 Compare August 7, 2025 06:38
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.6.0 fix(deps): 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-lockfile branch from 7c954d9 to c798f4b Compare August 9, 2025 03:21
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.6.1 fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.6.2 Aug 14, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from c798f4b to 42a524c Compare August 14, 2025 00:12
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 42a524c to 38a62a4 Compare August 23, 2025 06:54
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 38a62a4 to 3a34e05 Compare September 1, 2025 13:36
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.6.2 fix(deps): 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-lockfile branch from 3a34e05 to 2e5e6ca Compare September 26, 2025 19:53
@renovate renovate bot changed the title fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 Sep 26, 2025
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch 2 times, most recently from 6a713b2 to 9da128c Compare September 29, 2025 16:02
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x-lockfile branch from 9da128c to ab6d24c Compare October 1, 2025 19:14
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.

0 participants