Skip to content

Latest commit

 

History

History
697 lines (378 loc) · 26.3 KB

changelog.md

File metadata and controls

697 lines (378 loc) · 26.3 KB

Changelog

v2.11.0

compare changes

🚀 Features

  • Update svelte (861a381)
  • sort-classes: Add custom-group to sort-classes rule (1773ffb)

❤️ Contributors

v2.10.0

compare changes

🚀 Features

  • Allow typescript-eslint v7 (ccdaeb8)

🐞 Bug Fixes

  • sort-imports: Empty named imports being considered side-effect imports (ca69069)

❤️ Contributors

v2.9.0

compare changes

🚀 Features

  • Add sort-intersection-types rule (3ad40ff)
  • Use preserve modules for package build (be13a21)

🐞 Bug Fixes

  • Sort-objects ignore-pattern add property type (3de399f)
  • sort-exports: Work with star exports (ce76606)

❤️ Contributors

v2.8.0

compare changes

🚀 Features

  • sort-interfaces: Add optionalityOrder option (e142c39)

🐞 Bug Fixes

  • Convert optionalityOrder to kebab case (7726294)

❤️ Contributors

v2.7.0

compare changes

🚀 Features

  • sort-enums: Add partition-by-comment option (ec3d11c)
  • Add group-kind option on sort-named-imports and sort-named-exports (eb78461)

❤️ Contributors

v2.6.0

compare changes

🚀 Features

  • sort-classes: Add decorators support (cbe3f4b)

❤️ Contributors

  • Chirokas

v2.5.0

compare changes

🚀 Features

  • Add ignore-pattern option for sort-objects rule (ac5b240)

❤️ Contributors

v2.4.2

compare changes

🐞 Bug Fixes

❤️ Contributors

v2.4.1

compare changes

🐞 Bug Fixes

  • Fix output with a large number of groups (6847eaf)

❤️ Contributors

v2.4.0

compare changes

🚀 Features

  • Add side-effect-style import group (32dbef8)

❤️ Contributors

v2.3.0

compare changes

🚀 Features

  • Add max line length option for multiline imports sorting (4b81340)
  • Add partition by new line option to sort-objects rule (8654e44)
  • Add partition by new line option to sort-interfaces rule (48532ef)
  • Add partition by new line option to sort-object-typea rule (563c815)

❤️ Contributors

v2.2.0

compare changes

🚀 Features

  • Add ignore-alias option to sort-named-imports rule (4ad560b)

🐞 Bug Fixes

  • Side-effect import with an internal pattern are defined as internal module in sort-imports rule (b6f4e91)
  • Improve recognition of external modules (a22eaf6)

❤️ Contributors

v2.1.0

compare changes

🚀 Features

  • Add static-private-method group for sort-classes rule (37512c9)
  • Support bun builtin modules in sort-imports rule (37bca14)

🐞 Bug Fixes

  • Allow internal imports starting with a hash character (f35deef)

❤️ Contributors

v2.0.1

compare changes

🐞 Bug Fixes

  • Prefix-only builtin modules are defined as external modules in sort-imports rule (92b7240)

❤️ Contributors

  • Wondermarin

v2.0.0

compare changes

🚀 Features

  • ⚠️ Rename sort-map-elements rule to sort-maps (d371934)
  • ⚠️ Remove read-tsconfig option in sort-imports rule (cccced1)
  • ⚠️ Move callback, multiline and shorthand opts to groups in sort-jsx-props rule (10d357c)
  • Add sort-svelte-attributes rule (409295e)
  • Add sort-astro-attributes rule (036b41d)
  • ⚠️ Move from always-on-top option to groups in sort-objects rule (0bbcb5a)
  • Allow disabling sort-objects rule for styled-components (70f2afc)
  • Add sort-vue-attributes rule (e031275)
  • Add groups option to sort-interfaces rule (903c029)
  • Add groups options in sort-object-types rule (a219f23)
  • Replace is-core-module dependency with builtin module (e190c45)
  • Move to typescript-eslint v6 (9c61238)
  • Add option in sort-union-types rule to put null and undefined types at end (b313ba7)
  • Add index-signature group to sort-classes rule (f857b80)
  • Add get and set methods groups to sort-classes rule (73132e8)

🐞 Bug Fixes

  • Disable sorting enums with implicit values (f4a0e25)
  • Ignore string quotes in sort-array-includes rule (ec2e2f5)
  • Handle more complex expressions in sort-objects (a7d966c)
  • Set alphabetical sorting as default in sort-svelte-attributes rule (b224428)
  • Fix sorting single line union type with comment at end (95560ab)
  • Fix sorting class overloads (c4939b4)
  • Fix loading default options for configs (ef99f44)
  • Disable sort-jsx-props for vue, astro and svelte files (afb6ecc)
  • Improve determinition of static fields in sort-classes rule (c00ac10)
  • Prevent order changes when adding new elements in line-length sorting (c0e2e60)

⚠️ Breaking Changes

  • ⚠️ Rename sort-map-elements rule to sort-maps (d371934)
  • ⚠️ Remove read-tsconfig option in sort-imports rule (cccced1)
  • ⚠️ Move callback, multiline and shorthand opts to groups in sort-jsx-props rule (10d357c)
  • ⚠️ Move from always-on-top option to groups in sort-objects rule (0bbcb5a)

❤️ Contributors

v1.5.1

compare changes

🐞 Bug Fixes

  • Use alphabetical as the default sort type in schemas (3b9366e)
  • Disable sorting side-effect imports (01da88a)

❤️ Contributors

v1.5.0

compare changes

🚀 Features

  • Add external-type import group (47b07cc)

🏎 Performance Improvements

  • Move from foreach to for loops (b648f74)
  • Move from reduce to for loops in sort-imports (16f6361)

🐞 Bug Fixes

  • Don't sort ts call signature declarations in interfactes (5829a65)

❤️ Contributors

v1.4.0

compare changes

🚀 Features

  • Allow separating object properties into logical parts (933b621)

❤️ Contributors

v1.3.0

compare changes

🚀 Features

  • Support custom import groups (0b837d4)

❤️ Contributors

v1.2.1

compare changes

🐞 Bug Fixes

  • Fix removing extra spaces between imports (21bc7a8)

❤️ Contributors

v1.2.0

compare changes

🚀 Features

  • Support stylus file imports (dbef415)
  • Add sort-exports rule (a71eeb3)

❤️ Contributors

v1.1.2

compare changes

🐞 Bug Fixes

  • Fix sorting interfaces and types with comment on same line (03e5508)

❤️ Contributors

v1.1.1

compare changes

🐞 Bug Fixes

  • Fix adding extra lines if import ends with semi (e435f91)
  • Don't sort keys if right value depends on left (3e987ae)
  • Ignore semi at the end of object type member value (623ac67)

❤️ Contributors

v1.1.0

compare changes

🚀 Features

  • Add style group to sort the imports (05bf0f7)
  • Add side-effect group to sort the imports (02f51fb)
  • Add builtin-type group to sort the imports (ca34b5e)

🐞 Bug Fixes

  • Allow to sort destructured objects (65fe6c7)

❤️ Contributors

v1.0.1

compare changes

🐞 Bug Fixes

  • Do not sort enums with implicit values (166edac)

❤️ Contributors

v1.0.0

compare changes

🎉 Stable release

❤️ Contributors

v0.11.6

compare changes

🐞 Bug Fixes

  • Improve sort-imports fix function (e7a39f2)

❤️ Contributors

v0.11.5

compare changes

🐞 Bug Fixes

  • Fix sorting objects with inline comments (37a537d)
  • Split imports if there are other nodes between (b1a8837)

❤️ Contributors

v0.11.4

compare changes

🐞 Bug Fixes

  • Use service comments when sorting imports (b577ac7)
  • Fix sorting nodes with comments on the same line (16887ea)
  • Do not fix objects if last member contains a comment and doesn't contain comma (a9915f1)

❤️ Contributors

v0.11.3

compare changes

🐞 Bug Fixes

  • Fix working sort-map-elements with empty map (de061ff)
  • Disallow to sort default import specifiers (60044c6)
  • Do not sort imports if there are tokens between them (a4fabe9)

❤️ Contributors

v0.11.2

compare changes

🏎 Performance Improvements

  • Do not compute options if rule is not used (4574caa)

🐞 Bug Fixes

  • Fix single line type objects sorting (aaa446a)

❤️ Contributors

v0.11.1

compare changes

🐞 Bug Fixes

  • Fix option names in sort-classes in configs (bf578ed)

❤️ Contributors

v0.11.0

compare changes

🚀 Features

  • Add sort-object-types rule (e3a06cf)
  • Add sort-classes rule (b3a0cb8)

🐞 Bug Fixes

  • Fix multiline option value in sort-jsx-props rule in configs (556690d)
  • Improve error output (c1ad261)
  • Fix internal patter in configs (4be8a74)

❤️ Contributors

v0.10.0

compare changes

🚀 Features

  • Add read-tsconfig option to sort-imports rule (84cfc3d)
  • Allow to ignore interface by pattern (9aaf08a)
  • Add ignore-case option to each rule (e331b9a)
  • Rename spread-last option in sort-array-includes rule to kebab case (fc342d2)
  • Add shorthand position option to sort-jsx-props rule (416ffee)
  • Add callback position option to sort-jsx-props rule (8c6189f)
  • Add multiline position option to sort-jsx-props rule (58e094a)
  • Add always-on-top option to sort-jsx-props rule (57af3a2)
  • Rename sort-object-keys rule to sort-objects (3340a9f)
  • Add always-on-top option to sort-objects rule (464108f)

🏎 Performance Improvements

  • Make reading tsconfig singleton (c748445)
  • Improve sort-imports rule performance (2989539)

🐞 Bug Fixes

  • Fix groups in sort-imports rule in configs (f83c499)
  • Move parentheses when sorting (d09395f)
  • Update peer deps (800c2a3)

❤️ Contributors

v0.9.0

compare changes

🚀 Features

🐞 Bug Fixes

  • Keep code comments when sorting (547f825)
  • Update url to documentation of rules (423b145)

❤️ Contributors

v0.8.0

compare changes

🚀 Features

🐞 Bug Fixes

  • Fix defenition for rule not found error (050d20d)

❤️ Contributors

v0.7.0

compare changes

🐞 Bug Fixes

  • Fix plugin configs creation (559a2ce)

❤️ Contributors

v0.6.0

compare changes

🚀 Features

  • Support flat eslint config (969ae4e)
  • Add sort-object-keys rule (6dcb425)
  • Add recommended-alphabetical config (66c99f0)

❤️ Contributors

v0.5.0

compare changes

🚀 Features

  • Add sort-map-elements rule (049c004)
  • Add sort-array-includes rule (bb7605b)

🐞 Bug Fixes

  • Fix rules descriptions (1d18a26)
  • Add default rules properties (48d2835)
  • Add array constructor support to sort-array-includes rule (d255c22)
  • Fix interface sorting (86e3b56)

❤️ Contributors

v0.4.0

compare changes

🚀 Features

  • Add sort-named-exports rule (b3f4b57)

🐞 Bug Fixes

  • Fix rule configs creation (8a43758)
  • Fix missed sort-union-types rule export (3b02609)

❤️ Contributors

v0.3.0

compare changes

🚀 Features

🐞 Bug Fixes

❤️ Contributors

v0.2.0

compare changes

🚀 Features

  • Add sort-named-imports rule (827ee5a)
  • Add sort-jsx-props rule (656c86b)

🐞 Bug Fixes

❤️ Contributors

v0.1.0

🔥️️ Initial Release