Skip to content
Myr

update history

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jonathan Ong · committed by Jonathan Ong · parent 0796c1d · Browse files · 1 file+5 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−4 removed

  • other:+5 added−4 removed

1 file+5 added−4 removed

modified:History.md+5 added-4 removed
1 unmodified line
2==================34 * remove:5 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)6 - `req.accepted*` - use `req.accepts*()` instead7 - `app.configure` - use logic in your own app code6 - `express.createServer()` - it has been deprecated for a long time. Use `express()`7 - `app.configure` - use logic in your own app code8 - `app.router` - is removed9 - `req.accepted*` - use `req.accepts*()` instead10 - `res.location` - relative URL resolution is removed11 * change:12 - `app.route` -> `app.mountpath` when mounting an express app in another express app13 - `json spaces` no longer enabled by default in development14 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`15 - `req.params` is now an object instead of an array13 - `json spaces` no longer enabled by default in development16 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.15 - `app.route` -> `app.mountpath` when mounting an express app in another express app17 * refactor:18 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)19 - `req.is` with [type-is](https://github.com/expressjs/type-is)20 * add:
1256 unmodified lines