%40typescript-eslint/types breaking changes

npm

54 curated breaking changes across major versions of %40typescript-eslint/types. Use this as a migration checklist before bumping dependencies.

54
changes
Breaking changes by transition
  • 7.18.0 \u2192 8.0.0api

    **typescript-estree:** split TSMappedType typeParameter into constraint and key ([#7065](https://github.com/typescript-eslint/typescript-eslint/pull/7065))

  • 7.18.0 \u2192 8.0.0behavior

    **eslint-plugin:** [no-floating-promises] disable checkThenables by default for v8 ([#9559](https://github.com/typescript-eslint/typescript-eslint/pull/9559))

  • 7.18.0 \u2192 8.0.0behavior

    **eslint-plugin:** [no-unused-vars] align catch behavior to ESLint 9 ([#8971](https://github.com/typescript-eslint/typescript-eslint/pull/8971))

  • 7.18.0 \u2192 8.0.0behavior

    **eslint-plugin:** [prefer-nullish-coalescing] change ignoreConditionalTests default to true ([#8872](https://github.com/typescript-eslint/typescript-eslint/pull/8872))

  • 7.18.0 \u2192 8.0.0behavior

    **typescript-estree:** enable dot globs for project by default ([#8818](https://github.com/typescript-eslint/typescript-eslint/pull/8818))

  • 7.18.0 \u2192 8.0.0breaking

    **eslint-plugin:** apply initial config changes for v8 ([#9079](https://github.com/typescript-eslint/typescript-eslint/pull/9079))

  • 7.18.0 \u2192 8.0.0breaking

    **parser:** always enable comment, loc, range, tokens ([#8617](https://github.com/typescript-eslint/typescript-eslint/pull/8617))

  • 7.18.0 \u2192 8.0.0breaking

    **typescript-estree:** add TSEnumBody node for TSEnumDeclaration body ([#8920](https://github.com/typescript-eslint/typescript-eslint/pull/8920))

  • 7.18.0 \u2192 8.0.0breaking

    **utils:** swap LegacyESLint out for FlatESLint as ESLint export ([#8972](https://github.com/typescript-eslint/typescript-eslint/pull/8972))

  • 7.18.0 \u2192 8.0.0breaking

    **eslint-plugin:** split no-empty-object-type out from ban-types and no-empty-interfaces ([#8977](https://github.com/typescript-eslint/typescript-eslint/pull/8977))

  • 7.18.0 \u2192 8.0.0breaking

    **utils:** allow specifying additional rule meta.docs in RuleCreator ([#9025](https://github.com/typescript-eslint/typescript-eslint/pull/9025))

  • 7.18.0 \u2192 8.0.0breaking

    **eslint-plugin:** replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types ([#9102](https://github.com/typescript-eslint/typescript-eslint/pull/9102))

  • 7.18.0 \u2192 8.0.0breaking

    **rule-tester:** switched to flat config ([#9603](https://github.com/typescript-eslint/typescript-eslint/pull/9603))

  • 7.18.0 \u2192 8.0.0deprecated

    **eslint-plugin:** deprecate no-loss-of-precision extension rule ([#8832](https://github.com/typescript-eslint/typescript-eslint/pull/8832))

  • 7.18.0 \u2192 8.0.0removed

    **eslint-plugin:** remove formatting/layout rules ([#8833](https://github.com/typescript-eslint/typescript-eslint/pull/8833))

  • 7.18.0 \u2192 8.0.0removed

    **typescript-estree:** remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect ([#9104](https://github.com/typescript-eslint/typescript-eslint/pull/9104))

  • 7.18.0 \u2192 8.0.0removed

    **eslint-plugin:** remove no-useless-template-literals ([#9207](https://github.com/typescript-eslint/typescript-eslint/pull/9207))

  • 7.18.0 \u2192 8.0.0removed

    **type-utils:** remove getTokenAtPosition ([#9444](https://github.com/typescript-eslint/typescript-eslint/pull/9444))

  • 7.18.0 \u2192 8.0.0removed

    **typescript-estree:** remove slow deprecated and isolated programs ([#8834](https://github.com/typescript-eslint/typescript-eslint/pull/8834))

  • 7.18.0 \u2192 8.0.0removed

    **ast-spec:** remove deprecated type params ([#8933](https://github.com/typescript-eslint/typescript-eslint/pull/8933))

  • 7.18.0 \u2192 8.0.0removed

    **type-utils:** remove IsNullableTypeOptions interface ([#8934](https://github.com/typescript-eslint/typescript-eslint/pull/8934))

  • 7.18.0 \u2192 8.0.0renamed

    **typescript-estree:** rename automaticSingleRunInference to disallowAutomaticSingleRunInference ([#8922](https://github.com/typescript-eslint/typescript-eslint/pull/8922))

  • 6.21.0 \u2192 7.0.0breaking

    ⚠️ bump ESLint, NodeJS, and TS minimum version requirements ([#8377](https://github.com/typescript-eslint/typescript-eslint/pull/8377))

  • 5.62.0 \u2192 6.0.0breaking

    **eslint-plugin:** Adds an additional class of checks to the rule

  • 5.62.0 \u2192 6.0.0breaking

    drop support for ESLint v6

  • 5.62.0 \u2192 6.0.0breaking

    drops support for node v17

  • 5.62.0 \u2192 6.0.0breaking

    drops support for node v12

  • 5.62.0 \u2192 6.0.0removed

    **utils:** Removes `meta.docs.suggestion` property

  • 5.62.0 \u2192 6.0.0removed

    Removes `experimental-utils` - we will no longer update this package and it will be forever frozen at v5.x

  • 5.62.0 \u2192 6.0.0removed

    Bumps the minimum supported range and removes handling for old versions

  • 4.33.0 \u2192 5.0.0behavior

    **eslint-plugin:** `ban-types` no longer reports `object` by default

  • 3.10.1 \u2192 4.0.0behavior

    **eslint-plugin:** Default rule options is a breaking change.

  • 3.10.1 \u2192 4.0.0removed

    **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.

  • 3.10.1 \u2192 4.0.0removed

    - Removed decorators property from several Nodes that could never semantically have them (FunctionDeclaration, TSEnumDeclaration, and TSInterfaceDeclaration)

  • 3.10.1 \u2192 4.0.0removed

    Removed AST_NODE_TYPES.Import. This is a minor breaking change as the node type that used this was removed ages ago.

  • 3.2.0 \u2192 3.3.0breaking

    **eslint-plugin:** [no-unused-expressions] handle ternary and short-circuit options ([#2194](https://github.com/typescript-eslint/typescript-eslint/issues/2194)) ([ee9f100](https://github.com/typescript-eslint/typescript-eslint/commit/ee9f100a2f9a874c2b361482742686eeaa9bdac7))

  • 3.2.0 \u2192 3.3.0breaking

    **typescript-estree:** handle TS4.0 breaking change in TupleType ([#2197](https://github.com/typescript-eslint/typescript-eslint/issues/2197)) ([5d68129](https://github.com/typescript-eslint/typescript-eslint/commit/5d6812914831a386997b453b4db1e3283e26005d))

  • 3.2.0 \u2192 3.3.0breaking

    **eslint-plugin:** [naming-convention] better error message and docs for prefix/suffix ([#2195](https://github.com/typescript-eslint/typescript-eslint/issues/2195)) ([a2ffe55](https://github.com/typescript-eslint/typescript-eslint/commit/a2ffe5568df0f7224bfe9141d298e538383d5f09))

  • 1.13.0 \u2192 2.0.0behavior

    **eslint-plugin:** changing default rule config

  • 1.13.0 \u2192 2.0.0behavior

    by default we will now throw when a file is not in the `project` provided

  • 1.13.0 \u2192 2.0.0breaking

    **eslint-plugin:** both 'eslint-recommended' and 'recommended' have changed.

  • 1.13.0 \u2192 2.0.0breaking

    recommended config changes are considered breaking

  • 1.13.0 \u2192 2.0.0breaking

    Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule

  • 1.13.0 \u2192 2.0.0breaking

    changes config structure

  • 1.13.0 \u2192 2.0.0breaking

    Node 6 is no longer supported

  • 1.13.0 \u2192 2.0.0removed

    removed some rules from recommended config

  • 1.13.0 \u2192 2.0.0removed

    **eslint-plugin:** removing rules

  • 1.12.0 \u2192 1.13.0breaking

    Correct `@types/json-schema` dependency ([#675](https://github.com/typescript-eslint/typescript-eslint/issues/675)) ([a5398ce](https://github.com/typescript-eslint/typescript-eslint/commit/a5398ce))

  • 1.12.0 \u2192 1.13.0breaking

    **eslint-plugin:** undo breaking changes to recommended config ([93f72e3](https://github.com/typescript-eslint/typescript-eslint/commit/93f72e3))

  • 1.12.0 \u2192 1.13.0breaking

    **utils:** move `typescript` from peer dep to dev dep ([#712](https://github.com/typescript-eslint/typescript-eslint/issues/712)) ([f949355](https://github.com/typescript-eslint/typescript-eslint/commit/f949355))

  • 1.12.0 \u2192 1.13.0breaking

    **utils:** RuleTester should not require a parser ([#713](https://github.com/typescript-eslint/typescript-eslint/issues/713)) ([158a417](https://github.com/typescript-eslint/typescript-eslint/commit/158a417))

  • 1.12.0 \u2192 1.13.0breaking

    **eslint-plugin:** add new rule no-misused-promises ([#612](https://github.com/typescript-eslint/typescript-eslint/issues/612)) ([28a131d](https://github.com/typescript-eslint/typescript-eslint/commit/28a131d))

  • 1.12.0 \u2192 1.13.0breaking

    **eslint-plugin:** add new rule require-await ([#674](https://github.com/typescript-eslint/typescript-eslint/issues/674)) ([807bc2d](https://github.com/typescript-eslint/typescript-eslint/commit/807bc2d))

  • 1.12.0 \u2192 1.13.0removed

    **eslint-plugin:** remove imports from typescript-estree ([#706](https://github.com/typescript-eslint/typescript-eslint/issues/706)) ([ceb2d32](https://github.com/typescript-eslint/typescript-eslint/commit/ceb2d32)), closes [#705](https://github.com/typescript-eslint/typescript-eslint/issues/705)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/%40typescript-eslint/types
@typescript-eslint/types breaking changes — npm migration guide | DepScope