Migrating to Express 5
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.
Awesome. Meteor is moving fast, I’m started to feel pressure, but it’s good pressure.
All aboard the express express!
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.
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.