Skip to content

Commit

Permalink
renovate: keep Express at v4 (#7974)
Browse files Browse the repository at this point in the history
v5 isn't "latest" yet for express itself but it will be soon and it is
already for the DefinitelyTyped packages.

See #7928.
  • Loading branch information
glasser authored Oct 29, 2024
1 parent e95b9a2 commit 373e1aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,22 @@
{
matchPackageNames: ["uuid"],
allowedVersions: "9.x",
},
// We specifically provide a first-party integration (`expressMiddleware`
// imported from `@apollo/server/express4`) for Express v4 because it is the
// most common web framework. (Additionally, as an internal implementation
// detail, it is what powers `startStandaloneServer`, though users of that
// function should not rely on anything other than that it uses standard
// Node `http` request and response objects.) It is easy to build
// integrations for other web servers, including Express v5, which is not
// yet as popular as Express v4. So we don't plan to provide a built-in
// Express v5 implementation any time soon (most likely as part of a new
// major version); we appreciate the simplicity of a build system that only
// installs one version of any given practice. See
// https://github.com/apollographql/apollo-server/issues/7928.
{
matchPackageNames: ["express", "@types/express", "@types/express-serve-static-core"],
allowedVersions: "4.x",
}
]
}

0 comments on commit 373e1aa

Please sign in to comment.