You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix recognising mandatory prefix built-in imports#389 by @TomFryersMidsummer - Fixed detection of Node.js built-in modules that are only accessible with the node: prefix (like node:test, node:sqlite) to be correctly recognized when using <BUILTIN_MODULES> placeholder
Switch to ESM#366 by @RobbieTheWagner - The plugin now uses ES modules instead of CommonJS
Require Node >= 20.x#367 by @RobbieTheWagner - Drop support for Node.js versions below 20
Switch to vitest#370 by @RobbieTheWagner - Replaced Jest with Vitest for better ESM support
New features
Ember.js gjs/gts support#377 by @NullVoxPopuli and @RobbieTheWagner - Add support for Ember.js gjs/gts file formats with namespace and named type imports
<BUILTIN_MODULES> placeholder#381 by @sdotson - Add support for sorting Node.js builtin modules to a specific position using <BUILTIN_MODULES> placeholder in importOrder
<SEPARATOR> placeholder#339 - Add <SEPARATOR> keyword for fine-grained control over import group separation when importOrderSeparation is enabled
Sort by length option#224 by @KLewin23 - Add option to sort imports by import statement length
importOrderExclude option#384 by @RyderKishan - Add support for excluding specific files from import sorting using glob patterns
Expand sort-imports-ignore detection#358 by @ckwalsh - Improved detection of sort-imports-ignore comments throughout the file, not just at line 1
Performance improvements
Improve removeNodesFromOriginalCode() performance#356 by @ckwalsh - Replace RegExp logic with string slices for better performance
Refactoring
Stop rerendering directives#357 by @ckwalsh - Inject imports instead of re-rendering directives to better preserve whitespace and reduce formatting conflicts
Stop ignoring exceptions in snapshot tests#355 by @ckwalsh - Improve test reliability by properly handling exceptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.2.2→^6.0.0Release Notes
trivago/prettier-plugin-sort-imports (@trivago/prettier-plugin-sort-imports)
v6.0.2Compare Source
Bug fixes
node:prefix (likenode:test,node:sqlite) to be correctly recognized when using<BUILTIN_MODULES>placeholderv6.0.1Compare Source
Bug fixes
v6.0.0Compare Source
Breaking Changes
New features
<BUILTIN_MODULES>placeholder #381 by @sdotson - Add support for sorting Node.js builtin modules to a specific position using<BUILTIN_MODULES>placeholder inimportOrder<SEPARATOR>placeholder #339 - Add<SEPARATOR>keyword for fine-grained control over import group separation whenimportOrderSeparationis enabledimportOrderExcludeoption #384 by @RyderKishan - Add support for excluding specific files from import sorting using glob patternssort-imports-ignoredetection #358 by @ckwalsh - Improved detection ofsort-imports-ignorecomments throughout the file, not just at line 1Performance improvements
removeNodesFromOriginalCode()performance #356 by @ckwalsh - Replace RegExp logic with string slices for better performanceRefactoring
Chores
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.