Skip to content

build!: Upgrade to TypeScript 5.0#178

Merged
SimonAlling merged 1 commit into
masterfrom
typescript-5.0
May 22, 2025
Merged

build!: Upgrade to TypeScript 5.0#178
SimonAlling merged 1 commit into
masterfrom
typescript-5.0

Conversation

@SimonAlling
Copy link
Copy Markdown
Owner

While this probably doesn't break any existing userscripts, I consider this a BREAKING change because upgrading to a new TypeScript version means that future changes might accidentally introduce syntax not supported by earlier versions. Also, I'm looking into Semantic Versioning for TypeScript Types, which lists two "recommended support policies for TypeScript compiler versions":

  • In simple majors, dropping support for a previously supported compiler version requires a breaking change.

  • In rolling window, a package may declare a range of supported versions which moves over time, similar to supporting evergreen browsers.

In the absence of a documented support policy, I think it makes sense to default to simple majors.

@SimonAlling SimonAlling merged commit c97cd14 into master May 22, 2025
6 checks passed
SimonAlling added a commit that referenced this pull request Oct 13, 2025
TypeScript is also upgraded to version 5.0 because that's the version we implicitly support in v7.0.0 (see #178 and #179).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant