Merge tag '4.11.2'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parents f56e2a2, 63ab255 · Browse files · 4 files·+36 added−12 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+36 added−12 removed
- other:+36 added−12 removed
Provenance
- Commit
a9ef9e1- Tree
ac72117- Author
Douglas Christopher Wilson <doug@somethingdoug.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent 1
f56e2a2- Parent 2
63ab255
4 files changed+36 added−12 removed
modified:lib/application.js+1 added-1 removed
547 unmodified lines548 /**549 * Log error using console.error.550 *551 * @param {Error} err552-* @api public552+* @api private553 */554 555 function logerror(err){556 if (this.get('env') !== 'test') console.error(err.stack || err.toString());1 unmodified linemodified:lib/response.js+2 added-2 removed
766 unmodified lines767 this.set('Content-Length', Buffer.byteLength(body));768 769 if (this.req.method === 'HEAD') {770 this.end();771+ } else {772+ this.end(body);773 }772-773- this.end(body);774 };775 776 /**777 * Add `field` to Vary. If already present in the Vary set, then145 unmodified linesmodified:History.md+25 added-1 removed
1 5.x2 ===3 4-This incorporates all changes after 4.10.1 up to 4.11.1.4+This incorporates all changes after 4.10.1 up to 4.11.2.5 6 5.0.0-alpha.1 / 2014-11-067 ==========================8 15 unmodified lines24 - `req.query` is now a getter instead of a plain property25 * add:26 - `app.router` is a reference to the base router27 28+4.11.2 / 2015-02-0129+===================30+31+ * Fix `res.redirect` double-calling `res.end` for `HEAD` requests32+ * deps: accepts@~1.2.333+ - deps: mime-types@~2.0.834+ * deps: proxy-addr@~1.0.635+ - deps: ipaddr.js@0.1.836+ * deps: type-is@~1.5.637+ - deps: mime-types@~2.0.838+39 4.11.1 / 2015-01-2040 ===================41 42 * deps: send@0.11.1661 unmodified lines704 - `app.router()` - returns the app Router instance705 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route706 - Router & Route - public API707 708+3.19.2 / 2015-02-01709+===================710+711+ * deps: connect@2.28.3712+ - deps: compression@~1.3.1713+ - deps: csurf@~1.6.6714+ - deps: errorhandler@~1.3.3715+ - deps: express-session@~1.10.2716+ - deps: serve-index@~1.6.1717+ - deps: type-is@~1.5.6718+ * deps: proxy-addr@~1.0.6719+ - deps: ipaddr.js@0.1.8720+721 3.19.1 / 2015-01-20722 ===================723 724 * deps: connect@2.28.21947 unmodified linesmodified:package.json+8 added-8 removed
25 unmodified lines262728293030313233345 unmodified lines40414243444445464748494950515253545556575859606061626263646564656667676869707119 unmodified lines25 unmodified lines "app", "api" ], "dependencies": { "accepts": "~1.2.2", "accepts": "~1.2.3", "content-disposition": "0.5.0", "cookie-signature": "1.0.5", "debug": "~2.1.1", "depd": "~1.0.0",5 unmodified lines "methods": "~1.1.1", "on-finished": "~2.2.0", "parseurl": "~1.3.0", "path-to-regexp": "0.1.3", "proxy-addr": "~1.0.5", "proxy-addr": "~1.0.6", "qs": "2.3.3", "range-parser": "~1.0.2", "send": "0.11.1", "serve-static": "~1.8.1", "type-is": "~1.5.5", "type-is": "~1.5.6", "vary": "~1.0.0", "cookie": "0.1.2", "merge-descriptors": "0.0.2", "utils-merge": "1.0.0" }, "devDependencies": { "after": "0.8.1", "ejs": "2.1.4", "istanbul": "0.3.5", "marked": "0.3.3", "mocha": "~2.1.0", "should": "~4.6.1", "should": "~4.6.2", "supertest": "~0.15.0", "marked": "0.3.2", "hjs": "~0.0.6", "body-parser": "~1.10.2", "connect-redis": "~2.1.0", "body-parser": "~1.11.0", "connect-redis": "~2.2.0", "cookie-parser": "~1.3.3", "express-session": "~1.10.1", "express-session": "~1.10.2", "jade": "~1.9.1", "method-override": "~2.3.1", "morgan": "~1.5.1", "multiparty": "~4.1.1",19 unmodified lines