Skip to content

Latest commit

 

History

History
141 lines (104 loc) · 10.4 KB

File metadata and controls

141 lines (104 loc) · 10.4 KB

Changelog


6.0.2

Bug fixes

  • 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

6.0.1

Bug fixes

  • Fix Svelte export snippet parsing #390 - Fixed by adding support for new Svelte snippet syntax

6.0.0

Breaking Changes

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

Chores

  • Add pnpm install command to README #361 - Document pnpm installation option

5.2.2

  • Update packages and pin babel/types #343 by @byara

5.2.1

5.2.0

v5.1.0

  • Fix svelte packages being required all the time #327 by @byara

v5.0.1

  • Clean up unwanted packages and unpin dependencies #322 by @byara

v5.0.0

New features

v4.3.0

New features

v4.2.1

Chore

v4.2.0

Chore

v4.1.1

Revert

v4.1.0

New features

v4.0.0

New features

v3.4.0

New features

v3.3.1

Chores

  • Update @babel/parser (to support TypeScript 4.7) #161 by odiak

v3.3.0

Chores

v3.2.0

New features

Chores

  • Clean up unit test and snapshot test
  • Add contribution guidelines for bug fixes and new features

v3.1.1

  • Fixes package management #100

v3.1.0

Chores

v3.0.0

New features

  • <THIRD_PARTY_MODULES> special word in import order to place third party imports at desired place. #65 by @risenforces
  • importOrderSortSpecifiers option to sort the imports in an import declaration. #72 by @ratierd
  • importOrderCaseInsensitive option to control the case sensitivity #69 by @timiles
  • importOrderParserPlugins option to pass plugins to babel parser #88 by @saaryab

Breaking Changes

  • Renaming of the experimentalBabelParserPluginsList to importOrderParserPlugins. by @byara