Skip to content

Latest commit

 

History

History
1130 lines (390 loc) · 50.9 KB

File metadata and controls

1130 lines (390 loc) · 50.9 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.15.0 (2021-02-08)

Features

  • typescript-estree: improve logic used to escape string literals in jsx (#2995) (3cb3aad)

4.14.2 (2021-02-01)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.14.1 (2021-01-25)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.14.0 (2021-01-18)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.13.0 (2021-01-11)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.12.0 (2021-01-04)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.11.1 (2020-12-28)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.11.0 (2020-12-21)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.10.0 (2020-12-14)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.9.1 (2020-12-07)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.9.0 (2020-11-30)

Bug Fixes

  • typescript-estree: add default value for parserOptions.projectFolderIgnoreList and deduplicate resolved projects (#2819) (bf904ec), closes #2418 #2814

4.8.2 (2020-11-23)

Bug Fixes

  • typescript-estree: fix type-only regression for consumers not yet on TS 4.1 (#2789) (50a46c6)

4.8.1 (2020-11-17)

Bug Fixes

  • typescript-estree: parseWithNodeMaps returning empty maps (#2773) (3e4a0ed)

4.8.0 (2020-11-16)

Features

4.7.0 (2020-11-09)

Features

4.6.1 (2020-11-02)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.6.0 (2020-10-26)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.5.0 (2020-10-19)

Features

  • typescript-estree: add flag EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#2669) (90a5878)

4.4.1 (2020-10-12)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.4.0 (2020-10-05)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.3.0 (2020-09-28)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.2.0 (2020-09-21)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.1.1 (2020-09-14)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.1.0 (2020-09-07)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.0.1 (2020-08-31)

Note: Version bump only for package @typescript-eslint/typescript-estree

4.0.0 (2020-08-31)

Bug Fixes

  • correct decorator traversal for AssignmentPattern (#2375) (d738fa4)
  • typescript-estree: correct ChainExpression interaction with parentheses and non-nulls (#2380) (762bc99)

Features

BREAKING CHANGES

  • typescript-estree: - removes the ability to supply a RegExp to projectFolderIgnoreList, and changes the meaning of the string value from a regex to a glob.
    • Removed decorators property from several Nodes that could never semantically have them (FunctionDeclaration, TSEnumDeclaration, and TSInterfaceDeclaration)
  • Removed AST_NODE_TYPES.Import. This is a minor breaking change as the node type that used this was removed ages ago.

3.10.1 (2020-08-25)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.10.0 (2020-08-24)

Bug Fixes

  • typescript-estree: ts.NamedTupleMember workaround for <TS4.0 (#2405) (b62331a)

Features

  • typescript-estree: update allowed TS version range (#2419) (e6be621)

3.9.1 (2020-08-17)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.9.0 (2020-08-10)

Features

  • typescript-estree: support TSv4 labelled tuple members (#2378) (00d84ff)

3.8.0 (2020-08-03)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.7.1 (2020-07-27)

Bug Fixes

  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#2316) (d7fefba)

3.7.0 (2020-07-20)

Features

  • typescript-estree: support short-circuiting assignment operators (#2307) (2c90d9f)
  • typescript-estree: support type annotations on catch clauses (#2306) (b5afe9c)

3.6.1 (2020-07-13)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.6.0 (2020-07-06)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.5.0 (2020-06-29)

Bug Fixes

  • typescript-estree: forward compatibility for new compound assignment operators (#2253) (ba41680)

Features

3.4.0 (2020-06-22)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.3.0 (2020-06-15)

Bug Fixes

  • typescript-estree: handle TS4.0 breaking change in TupleType (#2197) (5d68129)

3.2.0 (2020-06-08)

Bug Fixes

  • eslint-plugin: [prefer-optional-chain] handling first member expression (#2156) (de18660)

3.1.0 (2020-06-01)

Bug Fixes

  • eslint-plugin: [no-unused-expressions] ignore import expressions (#2130) (e383691)
  • experimental-utils: downlevel type declarations for versions older than 3.8 (#2133) (7925823)

3.0.2 (2020-05-27)

Note: Version bump only for package @typescript-eslint/typescript-estree

3.0.1 (2020-05-25)

Bug Fixes

3.0.0 (2020-05-21)

Bug Fixes

  • typescript-estree: remove now defunct Import node type (f199cbd)
  • typescript-estree: use TSEmptyBodyFunctionExpression for body-less nodes (#1289) (82e7163)

Features

  • add index files to parser and typescript-estree (3dfc46d)
  • bump minimum required TS version (#2004) (7ad4d7c)
  • eslint-plugin: [ban-types] rework default options (#848) (8e31d5d)
  • typescript-estree: align nodes with estree 2020 (#1389) (aff5b62)
  • typescript-estree: align optional fields (#1429) (0e0010f)
  • drop support for node v8 (#1997) (b6c3b7b)
  • typescript-estree: always return parserServices (#716) (5b23443)
  • typescript-estree: handle 3.9's non-null assertion changes (#2036) (06bec63)

2.34.0 (2020-05-18)

Bug Fixes

  • typescript-estree: fix handling of range/loc removal (#2028) (ce344d9)

2.33.0 (2020-05-12)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.32.0 (2020-05-11)

Features

2.31.0 (2020-05-04)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.30.0 (2020-04-27)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.29.0 (2020-04-20)

Features

  • eslint-plugin: [no-floating-promise] add option to ignore IIFEs (#1799) (cea51bf)

2.28.0 (2020-04-13)

Features

  • eslint-plugin: add rule prefer-ts-expect-error (#1705) (7021f21)
  • eslint-plugin: add rule no-unsafe-assignment (#1694) (a49b860)

2.27.0 (2020-04-06)

Bug Fixes

  • typescript-estree: add support for TS3.9 extra file extensions (#1833) (1f0ff41)

Features

  • eslint-plugin: sort members alphabetically (#263) (485e902)

2.26.0 (2020-03-30)

Features

  • typescript-estree: add option to ignore certain folders from glob resolution (#1802) (1e29e69)

2.25.0 (2020-03-23)

Bug Fixes

  • typescript-estree: export * regression from 133f622f (#1751) (09d8afc)

2.24.0 (2020-03-16)

Bug Fixes

  • typescript-estree: unnecessary program updates by removing timeout methods (#1693) (2ccd66b)

Features

  • typescript-estree: support 3.8 export * as ns (#1698) (133f622)

2.23.0 (2020-03-09)

Features

  • typescript-estree: support 3.8 import/export type (#1697) (625d603)

2.22.0 (2020-03-02)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.21.0 (2020-02-24)

Bug Fixes

  • typescript-estree: process.stdout can be undefined (#1619) (0d8e87e)

2.20.0 (2020-02-17)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.19.2 (2020-02-10)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.19.1 (2020-02-10)

Bug Fixes

  • typescript-estree: ts returning wrong file with project references (#1575) (4c12dac)

2.19.0 (2020-02-03)

Bug Fixes

2.18.0 (2020-01-27)

Bug Fixes

  • improve token types and add missing type guards (#1497) (ce41d7d)
  • typescript-estree: error on unexpected jsdoc nodes (#1525) (c8dfac3)
  • typescript-estree: fix identifier tokens typed as Keyword (#1487) (77a1caa)

Features

  • eslint-plugin: add new rule prefer-as-const (#1431) (420db96)

2.17.0 (2020-01-20)

Bug Fixes

  • typescript-estree: correct type of ArrayPattern.elements (#1451) (62e4ca0)

2.16.0 (2020-01-13)

Bug Fixes

  • typescript-estree: fix persisted parse for relative paths (#1424) (9720d2c)
  • typescript-estree: parsing of deeply nested new files in new folder (#1412) (206c94b)
  • typescript-estree: resolve path relative to tsconfigRootDir (#1439) (c709056)

Features

  • typescript-estree: add parserOption to turn on debug logs (#1413) (25092fd)
  • typescript-estree: add strict type mapping to esTreeNodeToTSNodeMap (#1382) (d3d70a3)

2.15.0 (2020-01-06)

Bug Fixes

  • typescript-estree: correct persisted parse for windows (#1406) (1a42f3d)

2.14.0 (2019-12-30)

Bug Fixes

  • typescript-estree: visit typeParameters in OptionalCallExpr (#1377) (cba6a2a)

Features

  • add internal eslint plugin for repo-specific lint rules (#1373) (3a15413)

2.13.0 (2019-12-23)

Bug Fixes

  • typescript-estree: correct type of key for base nodes (#1367) (099225a)

Features

  • typescript-estree: computed members discriminated unions (#1349) (013df9a)
  • typescript-estree: tighten prop name and destructure types (#1346) (f335c50)

2.12.0 (2019-12-16)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.11.0 (2019-12-09)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.10.0 (2019-12-02)

Bug Fixes

  • eslint-plugin: [no-unused-expressions] ignore directives (#1285) (ce4c803)
  • typescript-estree: make FunctionDeclaration.body non-null (#1288) (dc73510)

2.9.0 (2019-11-25)

Bug Fixes

  • typescript-estree: fix synthetic default import (#1245) (d97f809)

Features

  • eslint-plugin: add no-unused-vars-experimental (#688) (05ebea5)

2.8.0 (2019-11-18)

Bug Fixes

  • eslint-plugin: [unified-signatures] crash: cannot read pro… (#1096) (d1de3a7)
  • typescript-estree: correctly account for trailing slash in… (#1205) (ba89168)
  • typescript-estree: options range loc being always true (#704) (db1aa18)

2.7.0 (2019-11-11)

Bug Fixes

  • typescript-estree: hash code to reduce update frequency (#1179) (96d1cc3)
  • typescript-estree: reduce bundle footprint of tsutils (#1177) (c8fe515)

2.6.1 (2019-11-04)

Bug Fixes

  • typescript-estree: don't use typescript's synthetic default (#1156) (17c956e), closes #1153
  • typescript-estree: fix filename handling for vue JSX + markdown (#1127) (366518f)
  • typescript-estree: improve comment parsing code (#1120) (e54998d)

2.6.0 (2019-10-28)

Bug Fixes

  • parser: adds TTY check before logging the version mismatch warning (#1121) (768ef63)
  • typescript-estree: better handle canonical paths (#1111) (8dcbf4c)
  • typescript-estree: correct parenthesized optional chain AST (#1141) (5ae286e)
  • typescript-estree: ensure parent pointers are set (#1129) (d4703e1)
  • typescript-estree: normalize paths to fix cache miss on windows (#1128) (6d0f2ce)

Features

  • typescript-estree: add support for declare class properties (#1136) (1508670)

2.5.0 (2019-10-21)

Bug Fixes

  • typescript-estree: correct semver check range (#1109) (2fc9bd2)
  • typescript-estree: handle running out of fs watchers (#1088) (ec62747)
  • typescript-estree: parsing error for vue sfc (#1083) (7a8cce6)
  • typescript-estree: remove now unneeded dep on chokidar (088a691)

Features

  • typescript-estree: support long running lint without watch (#1106) (ed5564d)

2.4.0 (2019-10-14)

Bug Fixes

  • support long running "watch" lint sessions (#973) (854620e)

Features

  • typescript-estree: support for parsing 3.7 features (#1045) (623febf)

2.3.3 (2019-10-07)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.3.2 (2019-09-30)

Bug Fixes

  • typescript-estree: correct ClassDeclarationBase type (#1008) (8ce3a81)
  • typescript-estree: handle optional computed prop w/o type (#1026) (95c13fe)

2.3.1 (2019-09-23)

Bug Fixes

  • typescript-estree: parsing error for await in non-async func (#988) (19abbe0)

2.3.0 (2019-09-16)

Bug Fixes

  • typescript-estree: ImportDeclaration.specifier to Literal (#974) (2bf8231)

2.2.0 (2019-09-09)

Note: Version bump only for package @typescript-eslint/typescript-estree

2.1.0 (2019-09-02)

Bug Fixes

  • eslint-plugin: [unified-signatures] type comparison and exported nodes (#839) (580eceb)
  • typescript-estree: improve missing project file error msg (#866) (8f3b0a8), closes #853

Features

  • eslint-plugin: [no-type-alias] support tuples (#775) (c68e033)
  • typescript-estree: Accept a glob pattern for options.project (#806) (9e5f21e)

2.0.0 (2019-08-13)

  • feat(eslint-plugin)!: change recommended config (#729) (428567d), closes #729
  • feat(typescript-estree)!: throw error on file not in project when project set (#760) (3777b77), closes #760
  • feat(eslint-plugin)!: add rule consistent-type-assertions (#731) (92e98de), closes #731

Bug Fixes

  • typescript-estree: fix is token typed as `Keyword (#750) (35dec52)
  • typescript-estree: jsx comment parsing (#703) (0cfc48e)

Features

BREAKING CHANGES

  • recommended config changes are considered breaking
  • by default we will now throw when a file is not in the project provided
  • Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule
  • Node 6 is no longer supported

1.13.0 (2019-07-21)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.12.0 (2019-07-12)

Bug Fixes

  • eslint-plugin: handle const; (#633) (430d628), closes #441
  • typescript-estree: fix async identifier token typed as Keyword (#681) (6de19d3)

Features

  • eslint-plugin: added new rule prefer-readonly (#555) (76b89a5)

1.11.0 (2019-06-23)

Bug Fixes

  • typescript-estree: fix more cases with double slash in JSX text (#607) (34cfa53)

1.10.2 (2019-06-10)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.10.1 (2019-06-09)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.10.0 (2019-06-09)

Bug Fixes

  • eslint-plugin: [explicit-function-return-type] Fix obj setter prop (8c8497c), closes #525
  • eslint-plugin: [no-extra-parens] Fix crash default switch case crash (5ec2b32), closes #509
  • typescript-estree: allow expressions in ExportDefaultDeclaration (#593) (861844d)
  • typescript-estree: stop ignoring comments in JSX with generic (#596) (31d5bd4)

Features

  • make utils/TSESLint export typed classes instead of just types (#526) (370ac72)
  • support TypeScript versions >=3.2.1 <3.6.0 (#597) (5d2b962)

1.9.0 (2019-05-12)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.8.0 (2019-05-10)

Bug Fixes

  • eslint-plugin: [array-type] support readonly operator (#429) (8e2d2f5)
  • eslint-plugin: Support more nodes no-extra-parens (2d15644)
  • typescript-estree: ensure parents are defined during subsequent parses (#500) (665278f)

Features

  • eslint-plugin: (EXPERIMENTAL) begin indent rewrite (#439) (6eb97d4)
  • eslint-plugin: no-inferrable-types: Support more primitives (#442) (4e193ca)
  • ts-estree: add preserveNodeMaps option (#494) (c3061f9)
  • Move shared types into their own package (#425) (a7a03ce)

1.7.0 (2019-04-20)

Features

  • eslint-plugin: support type assertions in no-extra-parens rule (#311) (116ca75)

1.6.0 (2019-04-03)

Bug Fixes

  • typescript-estree: add ExportDefaultDeclaration to union DeclarationStatement (#378) (bf04398)

Features

  • change TypeScript version range to >=3.2.1 <3.5.0 (#399) (a4f95d3)

1.5.0 (2019-03-20)

Bug Fixes

  • eslint-plugin: fix false positives for adjacent-overload-signatures regarding computed property names (#340) (f6e5118)
  • typescript-estree: only call watch callback on new files (#367) (0ef07c4)

1.4.2 (2019-02-25)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.4.1 (2019-02-23)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.4.0 (2019-02-19)

Bug Fixes

  • ts-estree: make sure that every node can be converted to tsNode (#287) (9f1d314)
  • typescript-estree, eslint-plugin: stop adding ParenthesizedExpressions to node maps (#226) (317405a)

Features

  • eslint-plugin: add 'no-unnecessary-qualifier' rule (#231) (cc8f906)
  • eslint-plugin: Migrate plugin to ts (#120) (61c60dc)
  • ts-estree: fix parsing nested sequence expressions (#286) (ecc9631)

1.3.0 (2019-02-07)

Bug Fixes

  • ts-estree: align typeArguments and typeParameters across nodes (#223) (3306198)
  • ts-estree: convert decorators on var and fn decs (#211) (0a1777f)
  • ts-estree: fix issues with typeParams in FunctionExpression (#208) (d4dfa3b)

Features

  • change TypeScript version range to >=3.2.1 <3.4.0 (#184) (f513a14)
  • ts-estree: enable errors 1098 and 1099 (#219) (fc50167)

1.2.0 (2019-02-01)

Note: Version bump only for package @typescript-eslint/typescript-estree

1.1.1 (2019-01-29)

Bug Fixes

  • parser: add visiting of type parameters in JSXOpeningElement (#150) (5e16003)
  • ts-estree: expand optional property to include question token (#138) (9068b62)

Performance Improvements

  • ts-estree: don't create Program in parse() (#148) (aacf5b0)

1.1.0 (2019-01-23)

Bug Fixes

  • typescript-estree: correct range of parameters with comments (#128) (91eedf2)
  • typescript-estree: fix range of assignment in parameter (#115) (4e781f1)

1.0.0 (2019-01-20)

Features

  • parser: support ecmaFeatures.jsx flag and tests (#85) (b321736)

0.2.1 (2019-01-20)

Note: Version bump only for package @typescript-eslint/typescript-estree