O'Reilly logo

Pro Express.js by Azat Mardan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX B

image

Migrating Express.js 3.x to 4.x: Middleware, Route, and Other Changes

Express.js 4 (http://expressjs.com) is the latest (as of May 2014), major version of the most popular, mature, and robust Node.js framework for web apps, services, and APIs. There are some breaking changes in the transition from 3.x to 4.x, so this appendix serves as a brief migration guide, with coverage of the following:

  • Introducing unbundled middleware in Express.js 4
  • Removing deprecated methods from Express.js 4 apps
  • Other Express.js 4 changes
  • Exploring the new Express.js 4 route instance and how to chain it
  • Further Express.js 4 migration reading links

Even ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required