From adfa4b08264091445374e49b5c8971a06b91372a Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 18 Sep 2023 23:45:06 +0200 Subject: [PATCH 1/4] chore: set minimum TS version to v4.5 --- .github/workflows/nodejs.yml | 2 +- scripts/verifyOldTs.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4b3c97752772..4d469193dda5 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@4.5 compatibility run: yarn verify-old-ts - name: run ESLint with type info run: yarn lint-ts-files diff --git a/scripts/verifyOldTs.mjs b/scripts/verifyOldTs.mjs index 6587ac004060..aea564cd3e48 100644 --- a/scripts/verifyOldTs.mjs +++ b/scripts/verifyOldTs.mjs @@ -33,7 +33,7 @@ const tsConfig = { }; /* eslint-enable */ -const tsVersion = '4.3'; +const tsVersion = '4.5'; function smoketest() { const jestDirectory = path.resolve( From 7aa98266b024afeb982e51cdf390f433a706f6e9 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 19 Sep 2023 08:12:43 +0200 Subject: [PATCH 2/4] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 116c4eab7169..935b94996af4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ ### Chore & Maintenance +- `[*]` [**BREAKING**] Drop support for `typescript@4.3`, minimum version is now `4.5` ([#14542](https://github.com/facebook/jest/pull/14542), [#12648](https://github.com/facebook/jest/pull/12648)) + ## 29.7.0 ### Features From d85b92d3ab34aec2e586496fbfecb88b14c02779 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 19 Sep 2023 12:04:24 +0200 Subject: [PATCH 3/4] 5.0 --- .github/workflows/nodejs.yml | 2 +- scripts/verifyOldTs.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4d469193dda5..f20d792c6069 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.5 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/scripts/verifyOldTs.mjs b/scripts/verifyOldTs.mjs index aea564cd3e48..65511f301e95 100644 --- a/scripts/verifyOldTs.mjs +++ b/scripts/verifyOldTs.mjs @@ -33,7 +33,7 @@ const tsConfig = { }; /* eslint-enable */ -const tsVersion = '4.5'; +const tsVersion = '5.0'; function smoketest() { const jestDirectory = path.resolve( From 123bbe7811f351fc87ae0352f584bb0e69e9836d Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 19 Sep 2023 12:04:50 +0200 Subject: [PATCH 4/4] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e65750a39ce..5e073c8d0ea4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,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 `4.5` ([#14542](https://github.com/facebook/jest/pull/14542), [#12648](https://github.com/facebook/jest/pull/12648)) +- `[*]` [**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)) ## 29.7.0