Skip to content

Conversation

rishi-raj-jain
Copy link
Member

@rishi-raj-jain rishi-raj-jain commented Jul 23, 2025

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.

Copy link

changeset-bot bot commented Jul 23, 2025

🦋 Changeset detected

Latest commit: 85a18a9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@polar-sh/express Minor

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

@pieterbeulque
Copy link
Contributor

We should probably support Express 4 & 5 for a while.

@rishi-raj-jain
Copy link
Member Author

@pieterbeulque

Can you share what do you mean by that?

@pieterbeulque
Copy link
Contributor

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.

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.

Upgrade Polar's Express adapter to Express v5
3 participants