-
Notifications
You must be signed in to change notification settings - Fork 29
feat: upgrade Express to support v5 #246
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 85a18a9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
We should probably support Express 4 & 5 for a while. |
Can you share what do you mean by that? |
The current PR will require users to either fix their Polar Express adapter version and stay on Express 4, or upgrade to Express 5 to keep access to the newer versions of the Polar Express adapter, even though we don't rely on any Express 5 features. It feels unnecessary to force users to a major version upgrade for Express while Express 4 is not EOL yet. |
fixes #247
@emilwidlund
I felt safe raising this PR since I saw no new errors with the update (and per https://expressjs.com/en/guide/migrating-5.html and my [quick] read of the existing code things should not be broken between either versions) and after fixing the tests to match the latest syntax,
pnpm test
passed.