Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support typescript@5.5 (deprecate v4.7) #2190

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

KaiSpencer
Copy link
Contributor

Build and tests pass locally for me 👌

@@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3', '5.4']
ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a rule of thumb, adding a new version to the matrix means dropping the left-most one (4.7). Let me check if 4.7 is EOL...
image

Yeah, 4.7 is EOL now. @KaiSpencer, could you please drop 4.7 from the matrix? Thanks!

@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.4.7.json",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we drop 4.7, we need to adjust the name of this base config. Let's see if it's specific to 4.7 in any way. Maybe it's better off as tsconfig.base.json instead.

@KaiSpencer
Copy link
Contributor Author

Hey @kettanaito,

Thanks for the review.

I have updated the tsconfig files to all inherit from the typings tsconfig.json (which the old 4.7.json was extending itself).

I see we also don't have a file for 4.9, yet it is in the matrix. So I have added this file too.

@kettanaito kettanaito changed the title chore: update to typescript@5.5 fix: update to typescript@5.5 Jul 18, 2024
@kettanaito
Copy link
Member

I treat this as a fix because TS 4.7 is EOL, nobody should be using it. If they are, it doesn't mean MSW will break, just means we won't address any type issues on that version going forward.

@kettanaito kettanaito changed the title fix: update to typescript@5.5 fix: support typescript@5.5 (deprecate v4.7) Jul 18, 2024
@kettanaito kettanaito merged commit 7df2533 into mswjs:main Jul 18, 2024
11 checks passed
@kettanaito
Copy link
Member

Released: v2.3.2 🎉

This has been released in v2.3.2!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants