diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 34102503e48f..a7c16bfbc573 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -49,7 +49,7 @@ jobs: run: yarn test-ts --selectProjects ts-integration - name: type tests run: yarn test-ts --selectProjects type-tests - - name: verify TypeScript@4.3 compatibility + - name: verify TypeScript@5.0 compatibility run: yarn verify-old-ts - name: run ESLint with type info run: yarn lint-ts-files diff --git a/CHANGELOG.md b/CHANGELOG.md index b83b0cc10e6c..6e4c6f878f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### Chore & Maintenance - `[*]` [**BREAKING**] Drop support for Node.js versions 14 and 19 ([#14460](https://github.com/jestjs/jest/pull/14460)) +- `[*]` [**BREAKING**] Drop support for `typescript@4.3`, minimum version is now `5.0` ([#14542](https://github.com/facebook/jest/pull/14542), [#12648](https://github.com/facebook/jest/pull/12648)) - `[jest-cli, jest-config, @jest/types]` [**BREAKING**] Remove deprecated `--init` argument ([#14490](https://github.com/jestjs/jest/pull/14490)) ## 29.7.0 diff --git a/scripts/verifyOldTs.mjs b/scripts/verifyOldTs.mjs index 6587ac004060..65511f301e95 100644 --- a/scripts/verifyOldTs.mjs +++ b/scripts/verifyOldTs.mjs @@ -33,7 +33,7 @@ const tsConfig = { }; /* eslint-enable */ -const tsVersion = '4.3'; +const tsVersion = '5.0'; function smoketest() { const jestDirectory = path.resolve(