Introducing Express v5: A New Era for Node.js Framework

Migrating to Express 5

6 Likes

For the Meteor 3.1 release, we are upgrading Express to major version 5. The impact on core functionality is minimal, but apps with heavy Express use might need extra migration steps due to breaking changes on newer version. We’ll share that link with more details when the new version is published.

8 Likes

Awesome. Meteor is moving fast, I’m started to feel pressure, but it’s good pressure.

5 Likes

All aboard the express express!

1 Like

If we use webapp like this : import { WebApp } from 'meteor/webapp'

to provide server side end point like this :
WebApp.connectHandlers.use('/some/route', async (req, res, next) => {})

Do we need to change something or webapp has nothing to do with express ?

Thanks

WebApp.connectHandlers = express api

Meteor 2.x to Meteor 3.0 was express 3 (using connect) to express 4

Meteor 3.0 to Meteor 3.1 will be express 4 to express 5

Migrating document here: Migrating to Express 5
I guess, 99% you don’t need change anything.

3 Likes

Express 5 has been delivered to Meteor, check out the 3.1 version.

Focus on the migration guide provided above. If your app relies heavily on the Express API, some adjustments will be required.

3 Likes