Skip to content

Releases: typescript-eslint/typescript-eslint

v8.9.0

14 Oct 17:16
Compare
Choose a tag to compare

8.9.0 (2024-10-14)

🚀 Features

  • rule-tester: hooks for test cases (#10109)

🩹 Fixes

  • eslint-plugin: [no-unnecessary-type-parameters] cannot assume variables are either type or value (#10093)
  • eslint-plugin: [return-await] sync the behavior with await-thenable (#10069)
  • eslint-plugin: [prefer-literal-enum-member] report a different error message when allowBitwiseExpressions is enabled (#10096)
  • eslint-plugin: [no-loop-func] sync from upstream base rule (#10103)
  • eslint-plugin: [no-unused-vars] never report the naming of an enum member (#10117)
  • eslint-plugin: correct use-at-your-own-risk type definitions (#10049)
  • eslint-plugin: handle unions in await...for (#10110)
  • rule-tester: merge provided linterOptions (#10131)
  • scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references (#10095)
  • typescript-estree: improve project service error message when file extension missing from extraFileExtensions (#10076)
  • visitor-keys: reorder TSSatisfiesExpression and TSTypeAssertion (#10139)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.8.1

07 Oct 17:17
Compare
Choose a tag to compare

8.8.1 (2024-10-07)

🩹 Fixes

  • eslint-plugin: stop warning on @ts-nocheck comments which aren't at the beginning of the file (#10046)
  • typescript-estree: fix crash when running from a node --eval script (#10098)
  • typescript-estree: ensure mjs/mts files are always be parsed as ESM (#10011)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.8.0

30 Sep 17:17
Compare
Choose a tag to compare

8.8.0 (2024-09-30)

🚀 Features

  • eslint-plugin: [no-unnecessary-condition] add checkTypePredicates (#10009)
  • eslint-plugin: [await-thenable] check for-await loop iteree (#10008)

🩹 Fixes

  • remove export type * in d.ts to support TS<5.0 (#10070)
  • eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines (#10044)
  • eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself (#10040)
  • eslint-plugin: [no-misused-promises] check contextual type (#10042)
  • eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations (#10037)
  • type-utils: check for type parameters on isBuiltinSymbolLikeRecurser() (#10026)
  • utils: update missing type information message (#10043)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.7.0

23 Sep 17:17
Compare
Choose a tag to compare

8.7.0 (2024-09-23)

🚀 Features

  • eslint-plugin: [no-unsafe-call] check calls of Function (#10010)
  • eslint-plugin: [consistent-type-exports] check export * exports to see if all exported members are types (#10006)

🩹 Fixes

  • eslint-plugin: properly coerce all types to string in getStaticMemberAccessValue (#10004)
  • eslint-plugin: [no-deprecated] report on imported deprecated variables (#9987)
  • eslint-plugin: [no-confusing-non-null-assertion] check !in and !instanceof (#9994)
  • types: add NewExpression as a parent of SpreadElement (#10024)
  • utils: add missing entries to the RuleListener selectors list (#9992)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.6.0

16 Sep 17:16
Compare
Choose a tag to compare

8.6.0 (2024-09-16)

🚀 Features

  • add allow option for restrict-template-expressions (#8556)
  • eslint-plugin: [no-unnecessary-condition] check switch cases (#9912)
  • eslint-plugin: [no-misused-promises] check array predicate return (#9955)
  • type-utils: isNullableType add Void logic (#9937)
  • typescript-estree: disable plugin loading by default in project service (#9964)

🩹 Fixes

  • eslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice (#9969)
  • eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment (#9978)
  • eslint-plugin: [no-deprecated] report on deprecated properties with function-like types (#9977)
  • eslint-plugin: [no-unnecessary-condition] properly reflect multiple negations in message (#9940)
  • typescript-estree: don't throw on missing tsconfig.json by default in project service (#9989)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.5.0

09 Sep 17:16
Compare
Choose a tag to compare

8.5.0 (2024-09-09)

🚀 Features

  • eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary | undefined for optional parameters (#9479)
  • eslint-plugin: [no-unsafe-argument] differentiate error types (#9920)
  • typescript-estree: default projectService.defaultProject to 'tsconfig.json' (#9893)

🩹 Fixes

  • deps: update dependency prism-react-renderer to v2.4.0 (#9943)
  • eslint-plugin: [no-unnecessary-type-assertion] fix TSNonNullExpression fixer (#9898)
  • eslint-plugin: [no-misused-promises] handle static method (#9951)
  • eslint-plugin: [no-unnecessary-type-parameters] fix AST quick path scope analysis (#9900)
  • eslint-plugin: [consistent-type-assertions] access parser services lazily (#9921)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.4.0

02 Sep 17:15
Compare
Choose a tag to compare

8.4.0 (2024-09-02)

🚀 Features

  • typescript-estree: make withoutProjectParserOptions generic (#9877)

❤️ Thank You

  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

v8.3.0

26 Aug 17:16
Compare
Choose a tag to compare

8.3.0 (2024-08-26)

🚀 Features

  • eslint-plugin: [no-deprecated] add rule (#9783)
  • typescript-estree: replace globby w/ fast-glob (#9518)
  • typescript-estree: reload project service once when file config isn't found (#9853)

🩹 Fixes

  • ast-spec: use Expression in argument of ThrowStatement (#9632)
  • eslint-plugin: [no-unnecessary-template-expression] add missing parentheses in autofix (#8673)
  • eslint-plugin: [no-unnecessary-type-parameters] check mapped alias type arguments (#9741)
  • utils: add missing TSSatisfiesExpression in RuleListenerBaseSelectors (#9832)
  • utils: add TSDeclareFunction to functionTypeTypes (#9788)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.2.0

19 Aug 17:17
Compare
Choose a tag to compare

8.2.0 (2024-08-19)

🚀 Features

  • eslint-plugin: add suggestion to require-await to remove async keyword (#9718)
  • typescript-estree: special-case error for parserOptions.project and project references (#9686)

🩹 Fixes

  • eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of .then (#9059)
  • eslint-plugin: [no-unnecessary-type-assertion] conflict with TS for variables used before assignment (#9209)
  • eslint-plugin: delete [] in message if ReadOnly<string[]> is detected (#9513)
  • eslint-plugin: [no-redundant-type-constituents] differentiate a types-error any from a true any (#9555)
  • eslint-plugin: [no-unnecessary-type-parameters] check mapped constraint types if necessary (#9740)
  • eslint-plugin: [no-unsafe-enum-comparison] add logic to see through intersections (#9777)
  • typescript-estree: pass in tsconfigRootDir as cwd to getParsedConfigFile (#9804)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.1.0

12 Aug 17:16
Compare
Choose a tag to compare

8.1.0 (2024-08-12)

🚀 Features

  • eslint-plugin: [no-floating-promises] enable "add await" suggestion if ignoreVoid is true (#9703)
  • eslint-plugin: [no-unsafe-return] check promise any (#8693)
  • eslint-plugin: [no-misused-promises] check subtype methods against heritage type methods (#8765)
  • typescript-eslint: add JSDoc comments on generated configs (#9672)
  • typescript-estree: restrict variable declarator definite/init combinations (#9228)

🩹 Fixes

  • eslint-plugin: [no-unsafe-enum-comparison] typo in test (#9779)
  • eslint-plugin: [no-unnecessary-type-parameters] skip checking function bodies for AST references (#9738)
  • eslint-plugin: [member-ordering] get accessor member name & take into account abstract and decorator (#9775)
  • eslint-plugin: [prefer-optional-chain] wrong parenthesis fix output (#9597)
  • eslint-plugin: [no-unnecessary-type-parameters] clarify message (#9737)
  • utils: correct types to align with @types/eslint v9 (#9657)
  • website: tsconfig is blank (#9745)

❤️ Thank You

You can read about our versioning strategy and releases on our website.