Skip to content

Latest commit

 

History

History
877 lines (498 loc) · 37.1 KB

changelog.md

File metadata and controls

877 lines (498 loc) · 37.1 KB

Changelog

v3.4.0

compare changes

🚀 Features

  • Improve ability to expand custom groups (5088619)
  • Downgrade minimatch dependency (4803030)
  • Generate exception if group does not exist (0872bdd)
  • Add sort-sets rule (7d4cf14)

🐞 Bug Fixes

  • Place static-block after static-property in default-options in sort-classes (73b1b54)
  • Fix sorting of members with dependencies (e7c113d)

❤️ Contributors

v3.3.0

compare changes

🚀 Features

  • Improve checking if a member is private in sort-classes rule (4e19b94)
  • Add static-block and accessor-property to default groups in sort-classes (0c724e0)
  • Don't sort unknown elements if unknown is not referenced in groups (0086427)
  • Add optional modifier in sort-classes rule (27fa7e8)

🐞 Bug Fixes

  • Fix sorting class members with same names (f1f875e)
  • Fix use of case named default in sort-switch-case rule (5583eb0)
  • Take into account dependencies in sort-enums (eeb0534)

❤️ Contributors

v3.2.0

compare changes

🚀 Features

  • Use dynamic group generation in sort-classes (baa701d)
  • Support for sorting by enum value (285a451)
  • Improve group order error messages in sort-classes (b02d626)
  • Allow specifying cross-rule settings (8e15730)
  • Add property-function groups in sort-class rule (41b92d3)

❤️ Contributors

v3.1.3

compare changes

🐞 Bug Fixes

  • Fix export of typescript types (1c4e960)

❤️ Contributors

v3.1.2

compare changes

🏎 Performance Improvements

  • Remove node cloning to improve performance (00b2cc3)

🐞 Bug Fixes

  • Fix sorting switch cases with default in middle of group (4ee655e)
  • Fix getting enum members in eslint v8 (3f3d77c)

❤️ Contributors

v3.1.1

compare changes

🐞 Bug Fixes

  • Fix getting enum members in eslint v8 (4789764)

❤️ Contributors

v3.1.0

compare changes

🚀 Features

  • Support for ordering protected properties and methods in classes (7efadfa)
  • Replace sort-objects custom ignore option with destructure only (f3906f9)
  • Move to typescript-eslint v8 (05b6502)

🐞 Bug Fixes

  • Fix switch case sorting with grouped default case (7428523)
  • Switch from to-sorted to sort method (bff6575)
  • Disable sorting dynamic require imports (68632df)
  • Define as builtin modules that require a node prefix (aac4725)
  • Fix sorting of complex switch case expressions (d07f5f7)

❤️ Contributors

v3.0.0

compare changes

🚀 Features

  • ⚠️ Drop nodejs v16 support (79f74f5)
  • Move to typescript-eslint v7 (933cebd)
  • Add new docs website (76b29e8)
  • ⚠️ Rename options from kebab case to camel case (6592f6f)
  • ⚠️ Make case ignoring enabled by default (63efbf7)
  • Update svelte eslint parser (611f088)
  • Add ability to ignore jsx elements (da515ce)
  • Use ignore pattern when sorting object for call expressions (471de40)
  • ⚠️ Make new config export (2a7eec2)
  • Add sort-switch-case rule (5311118)
  • Add typescript types (2b63ab5)
  • Add custom ignore to enable customisable ignore sort-objects rule (4fa2b3e)
  • Respect numeric separators in natural sorting (7b57ba2)
  • Add groups option in sort-intersection-types rule (208a9db)
  • ⚠️ Remove nullable last option in sort-union-types (c4977df)
  • Add groups option in sort-union-types rule (c69f277)
  • Add partition by comment option in sort-classes (da01c85)
  • ⚠️ Make recommended options default (d0d9115)
  • ⚠️ Replace spread last sort-array-includes option with group kind (721e1ee)
  • Add group kind option in sort-object-types (96cfcd8)
  • ⚠️ Rename optionality order option to group kind in sort-interfaces rule (79a4823)
  • Add sort-variable-declarations rule (12bd265)
  • Support require in sort-imports (bc16243)

🐞 Bug Fixes

  • Move typescript-eslint types to dependencies (44edb63)
  • Add ability to select enviorenment and separate bun modules (c8b2fa4)
  • Fix disabling styled components when using css func (d4e8011)
  • Support old getting context eslint api (09900aa)
  • Fix export and import kind default value (a0208ac)
  • Don't sort class members if right value depends on left (8c35a7d)

⚠️ Breaking Changes

  • ⚠️ Drop nodejs v16 support (79f74f5)
  • ⚠️ Rename options from kebab case to camel case (6592f6f)
  • ⚠️ Make case ignoring enabled by default (63efbf7)
  • ⚠️ Make new config export (2a7eec2)
  • ⚠️ Remove nullable last option in sort-union-types (c4977df)
  • ⚠️ Make recommended options default (d0d9115)
  • ⚠️ Replace spread last sort-array-includes option with group kind (721e1ee)
  • ⚠️ Rename optionality order option to group kind in sort-interfaces rule (79a4823)

❤️ Contributors

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