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

Update Express types files, allow further upgrades #5352

Merged
merged 1 commit into from Jun 22, 2021

Conversation

glasser
Copy link
Member

@glasser glasser commented Jun 22, 2021

Our versions for @types/express and @types/express-serve-static-core
have gotten a bit out of date. They are already upgraded on
release-3.0 but that's not quite latest yet. Somehow despite the
fact that neither express nor serve-static have had a new version in
two years, the DefinitelyTyped packages for them keep getting
backwards-incompatible changes. This is apparently helpful for some
users who have upgraded some other packages.

Because of how finicky these types are (eg specific @types/express
versions depends on specific @types/express-serve-static-core versions
without appropriate version dependencies between them) I do generally
think it's best to depend on exact versions here. However I also don't
want to have to make any more AS2 releases. So I'm making these into
caret dependencies but don't intend to make a similar change on
release-3.0.

Fixes #5350.

Our versions for `@types/express` and `@types/express-serve-static-core`
have gotten a bit out of date. They are already upgraded on
`release-3.0` but that's not quite `latest` yet. Somehow despite the
fact that neither `express` nor `serve-static` have had a new version in
two years, the DefinitelyTyped packages for them keep getting
backwards-incompatible changes. This is apparently helpful for some
users who have upgraded some other packages.

Because of how finicky these types are (eg specific `@types/express`
versions depends on specific `@types/express-serve-static-core` versions
without appropriate version dependencies between them) I do generally
think it's best to depend on exact versions here. However I also don't
want to have to make any more AS2 releases. So I'm making these into
caret dependencies but don't intend to make a similar change on
`release-3.0`.

Fixes #5350.
@glasser glasser enabled auto-merge (squash) June 22, 2021 19:24
@glasser glasser merged commit dc8693f into main Jun 22, 2021
@glasser glasser deleted the glasser/express-types-upgrade branch June 22, 2021 19:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strict type versions in apollo-server-express require update
1 participant