History.md
This file
Path
History.md
3,851 lines · 119.5 KiB · Markdown
Last changed by
feat(deps): router@^2.1.0 (#6331)Wes Toddbefore adoptionc2f576c
History of this fileTake it
The walk stopped after 200 commits: lines older than d2b1a89 point at it.
refactor: Remove Object.setPrototypeOf polyfill (#6081)Phillip Bartabefore adoption8cb53ea
lines 1–3why, one step back1unreleased2========================3fix: Remove `utils-merge` dependency - use spread syntax instead (#6091)Phillip Bartabefore adoption246f6f5
line 4why, one step back4* Remove `utils-merge` dependency - use spread syntax insteadrefactor: Remove Object.setPrototypeOf polyfill (#6081)Phillip Bartabefore adoption8cb53ea
line 5why, one step back5* Remove `Object.setPrototypeOf` polyfillcleanup: remove AsyncLocalStorage check from tests (#6147)Phillip Bartabefore adoption4e92ac9
line 6why, one step back6* cleanup: remove AsyncLocalStorage check from testscleanup: remove unnecessary require for global BufferPhillip9587before adoption9f8589e
line 7why, one step back7* cleanup: remove unnecessary require for global Bufferupdate history.md for acceptParams change (#6177)Jon Churchbefore adoption52ed646
line 8why, one step back8* perf: use loop for acceptParamschore: replace `methods` dependency with standard library (#6196)Jon Koopsbefore adoptionb11122b
line 9why, one step back9* Replace `methods` dependency with standard libraryfix(refactor): prefix built-in node module importsSzymon Łągiewkabefore adoption4111359
line 10why, one step back10* refactor: prefix built-in node module importsRemove unused `depd` dependencyJon Koopsbefore adoption256a3d1
line 11why, one step back11* Remove unused `depd` dependencyfeat: Added check to support Uint8Array in response sending (#6285)Alexander Ceruttibefore adoption55869f4
line 12why, one step back12* Add support for `Uint8Array` in `res.send`fix(deps): update debug to ^4.4.0 (#6313)Phillip Bartabefore adoption85e48bb
line 13why, one step back13* deps: debug@^4.4.0feat(deps): body-parser@^2.1.0 (#6332)Wes Toddbefore adoption99473c5
line 14why, one step back14* deps: body-parser@^2.1.0feat(deps): router@^2.1.0 (#6331)Wes Toddbefore adoptionc2f576c
line 15why, one step back15* deps: router@^2.1.0refactor: Remove Object.setPrototypeOf polyfill (#6081)Phillip Bartabefore adoption8cb53ea
line 16why, one step back165.0.1Ulises Gascónbefore adoptiond14b2de
line 17why, one step back175.0.1 / 2024-10-08fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87
lines 18–19why, one step back18==========195.0.1Ulises Gascónbefore adoptiond14b2de
line 20why, one step back20* Update `cookie` semver lock to address [CVE-2024-47764](https://nvd.nist.gov/vuln/detail/CVE-2024-47764)fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87
line 21why, one step back215.0.0Wes Toddbefore adoption344b022
line 22why, one step back225.0.0 / 2024-09-10Merge branch '5.0' into 5-mergectcpipbefore adoptiondde1f7d
line 23why, one step back23=========================Merge branch '5.0' into 5-mergeWes Toddbefore adoptionf9256ef
lines 24–25why, one step back24* remove:25 - `path-is-absolute` dependency - use `path.isAbsolute` insteadMerge branch '5.0' into 5-mergectcpipbefore adoptiondde1f7d
lines 26–29why, one step back26* breaking:27 * `res.status()` accepts only integers, and input must be greater than 99 and less than 100028 * will throw a `RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.` for inputs outside this range29 * will throw a `TypeError: Invalid status code: ${code}. Status code must be an integer.` for non integer inputsMerge branch '5.0' into 5-mergeWes Toddbefore adoptionf9256ef
line 30why, one step back30 * deps: send@1.0.0Delete `back` as a magic string (#5933)Blake Embreybefore adoptionbdd81f8
line 31why, one step back31 * `res.redirect('back')` and `res.location('back')` is no longer a supported magic string, explicitly use `req.get('Referrer') || '/'`.Merge branch '5.0' into 5-mergectcpipbefore adoptiondde1f7d
lines 32–33why, one step back32* change:33 - `res.clearCookie` will ignore user provided `maxAge` and `expires` optionsMerge branch '5.0' into 5-mergeWes Toddbefore adoptionf9256ef
lines 34–36why, one step back34* deps: cookie-signature@^1.2.135* deps: debug@4.3.636* deps: merge-descriptors@^2.0.0fix(deps): serve-static@^2.1.0Wes Toddbefore adoptionb3906cb
line 37why, one step back37* deps: serve-static@^2.1.0Merge branch '5.0' into 5-mergeWes Toddbefore adoptionf9256ef
lines 38–45why, one step back38* deps: qs@6.13.039* deps: accepts@^2.0.040* deps: mime-types@^3.0.041 - `application/javascript` => `text/javascript`42* deps: type-is@^2.0.043* deps: content-disposition@^1.0.044* deps: finalhandler@^2.0.045* deps: fresh@^2.0.0fix(deps): body-parser@^2.0.1Wes Toddbefore adoptionfed8c2a
line 46why, one step back46* deps: body-parser@^2.0.1fix(deps): send@^1.1.0Wes Toddbefore adoption0c49926
line 47why, one step back47* deps: send@^1.1.0Merge branch '5.0' into 5-mergectcpipbefore adoptiondde1f7d
line 48why, one step back48v5.0.0-beta.3Wes Toddbefore adoptioncd7d79f
lines 49–53why, one step back495.0.0-beta.3 / 2024-03-2550=========================5152This incorporates all changes after 4.19.1 up to 4.19.2.535.0.0-beta.2Wes Toddbefore adoption7091ec1
lines 54–55why, one step back545.0.0-beta.2 / 2024-03-2055=========================Merge tag '4.17.3'Douglas Christopher Wilsonbefore adoption318fd4b
line 56why, one step back56v5.0.0-beta.3Wes Toddbefore adoptioncd7d79f
line 57why, one step back57This incorporates all changes after 4.17.2 up to 4.19.1.Merge tag '4.17.3'Douglas Christopher Wilsonbefore adoption318fd4b
line 58why, one step back585.0.0-beta.1Douglas Christopher Wilsonbefore adoption6faf26d
lines 59–60why, one step back595.0.0-beta.1 / 2022-02-1460=========================Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
line 61why, one step back615.0.0-beta.1Douglas Christopher Wilsonbefore adoption6faf26d
lines 62–63why, one step back62This is the first Express 5.0 beta release, based off 4.17.2 and includes63changes from 5.0.0-alpha.8.Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
line 64why, one step back64Change query parser setting default to 'simple'Czarekbefore adoption450c468
line 65why, one step back65 * change:docs: fix entry in historyDouglas Christopher Wilsonbefore adoption5213bd9
line 66why, one step back66 - Default "query parser" setting to `'simple'`Drop support for Node.js below 4Douglas Christopher Wilsonbefore adoptionf6db4ee
line 67why, one step back67 - Requires Node.js 4+Use mime-types for file to content type mappingDouglas Christopher Wilsonbefore adoptiona0276c6
line 68why, one step back68 - Use `mime-types` for file to content type mappingdeps: array-flatten@3.0.0Douglas Christopher Wilsonbefore adoption3d05e85
line 69why, one step back69 * deps: array-flatten@3.0.0deps: body-parser@2.0.0-beta.1Douglas Christopher Wilsonbefore adoptionaf341b0
lines 70–73why, one step back70 * deps: body-parser@2.0.0-beta.171 - `req.body` is no longer always initialized to `{}`72 - `urlencoded` parser now defaults `extended` to `false`73 - Use `on-finished` to determine when body readdeps: router@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption1574925
lines 74–85why, one step back74 * deps: router@2.0.0-beta.175 - Add new `?`, `*`, and `+` parameter modifiers76 - Internalize private `router.process_params` method77 - Matching group expressions are only RegExp syntax78 - Named matching groups no longer available by position in `req.params`79 - Regular expressions can only be used in a matching group80 - Remove `debug` dependency81 - Special `*` path segment behavior removed82 - deps: array-flatten@3.0.083 - deps: parseurl@~1.3.384 - deps: path-to-regexp@3.2.085 - deps: setprototypeof@1.2.0deps: send@1.0.0-beta.1Douglas Christopher Wilsonbefore adoption669c805
lines 86–90why, one step back86 * deps: send@1.0.0-beta.187 - Change `dotfiles` option default to `'ignore'`88 - Remove `hidden` option; use `dotfiles` option instead89 - Use `mime-types` for file to content type mapping90 - deps: debug@3.1.0deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 91–94why, one step back91 * deps: serve-static@2.0.0-beta.192 - Change `dotfiles` option default to `'ignore'`93 - Remove `hidden` option; use `dotfiles` option instead94 - Use `mime-types` for file to content type mappingfix(docs): retroactively note 5.0.0-beta.1 api change in history file (#6333)Dustin Poppbefore adoption2d589b6
line 95why, one step back95 - Remove `express.static.mime` export; use `mime-types` package insteaddeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 96why, one step back96 - deps: send@1.0.0-beta.1deps: router@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption1574925
line 97why, one step back975.0.0-alpha.8Douglas Christopher Wilsonbefore adoptionbd04d8a
lines 98–99why, one step back985.0.0-alpha.8 / 2020-03-2599==========================Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 100why, one step back100docs: fix typo in historyAlexander Belovbefore adoption8aabeca
line 101why, one step back101This is the eighth Express 5.0 alpha release, based off 4.17.1 and includes5.0.0-alpha.8Douglas Christopher Wilsonbefore adoptionbd04d8a
line 102why, one step back102changes from 5.0.0-alpha.7.Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 103why, one step back1035.0.0-alpha.7Douglas Christopher Wilsonbefore adoption5f0c829
lines 104–105why, one step back1045.0.0-alpha.7 / 2018-10-26105==========================Remove path-to-regexp dependencyDouglas Christopher Wilsonbefore adoption8fabed8
line 106why, one step back1065.0.0-alpha.7Douglas Christopher Wilsonbefore adoption5f0c829
lines 107–111why, one step back107This is the seventh Express 5.0 alpha release, based off 4.16.4 and includes108changes from 5.0.0-alpha.6.109110The major change with this alpha is the basic support for returned, rejected111Promises in the router.Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 112why, one step back112Remove path-to-regexp dependencyDouglas Christopher Wilsonbefore adoption8fabed8
lines 113–114why, one step back113 * remove:114 - `path-to-regexp` dependencydeps: debug@3.1.0Douglas Christopher Wilsonbefore adoptiona163e2c
lines 115–120why, one step back115 * deps: debug@3.1.0116 - Add `DEBUG_HIDE_DATE` environment variable117 - Change timer to per-namespace instead of global118 - Change non-TTY date format119 - Remove `DEBUG_FD` environment variable support120 - Support 256 namespace colorsdeps: router@2.0.0-alpha.1Douglas Christopher Wilsonbefore adoptionfa22245
lines 121–124why, one step back121 * deps: router@2.0.0-alpha.1122 - Add basic support for returned, rejected Promises123 - Fix JSDoc for `Router` constructor124 - deps: debug@3.1.0deps: router@~1.3.2Douglas Christopher Wilsonbefore adoption659fcc1
lines 125–127why, one step back125 - deps: parseurl@~1.3.2126 - deps: setprototypeof@1.1.0127 - deps: utils-merge@1.0.1Remove path-to-regexp dependencyDouglas Christopher Wilsonbefore adoption8fabed8
line 128why, one step back1285.0.0-alpha.6Douglas Christopher Wilsonbefore adoptionf4120a6
lines 129–130why, one step back1295.0.0-alpha.6 / 2017-09-24130==========================Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 131why, one step back1315.0.0-alpha.6Douglas Christopher Wilsonbefore adoptionf4120a6
lines 132–133why, one step back132This is the sixth Express 5.0 alpha release, based off 4.15.5 and includes133changes from 5.0.0-alpha.5.Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 134why, one step back134Remove res.send(status, body) signatureMike Tunnicliffebefore adoptione3bd14d
line 135why, one step back135 * remove:Remove res.redirect(url, status) signatureMike Tunnicliffebefore adoption71395f5
line 136why, one step back136 - `res.redirect(url, status)` signature - use `res.redirect(status, url)`Remove res.send(status, body) signatureMike Tunnicliffebefore adoptione3bd14d
line 137why, one step back137 - `res.send(status, body)` signature - use `res.status(status).send(body)`Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
lines 138–140why, one step back138 * deps: router@~1.3.1139 - deps: debug@2.6.81405.0.0-alpha.5Douglas Christopher Wilsonbefore adoption21f725e
lines 141–142why, one step back1415.0.0-alpha.5 / 2017-03-06142==========================Merge tag '4.15.2'Douglas Christopher Wilsonbefore adoptione5dbb0c
line 143why, one step back1435.0.0-alpha.5Douglas Christopher Wilsonbefore adoption21f725e
lines 144–145why, one step back144This is the fifth Express 5.0 alpha release, based off 4.15.2 and includes145changes from 5.0.0-alpha.4.Merge tag '4.15.2'Douglas Christopher Wilsonbefore adoptione5dbb0c
line 146why, one step back1465.0.0-alpha.4Douglas Christopher Wilsonbefore adoptiona3a9166
lines 147–148why, one step back1475.0.0-alpha.4 / 2017-03-01148==========================Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
line 149why, one step back1495.0.0-alpha.4Douglas Christopher Wilsonbefore adoptiona3a9166
lines 150–151why, one step back150This is the fourth Express 5.0 alpha release, based off 4.15.0 and includes151changes from 5.0.0-alpha.3.Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
line 152why, one step back152Remove Express 3.x middleware error stubsWesbefore adoption06f423d
lines 153–154why, one step back153 * remove:154 - Remove Express 3.x middleware error stubsMerge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 155–163why, one step back155 * deps: router@~1.3.0156 - Add `next("router")` to exit from router157 - Fix case where `router.use` skipped requests routes did not158 - Skip routing when `req.url` is not set159 - Use `%o` in path debug to tell types apart160 - deps: debug@2.6.1161 - deps: setprototypeof@1.0.3162 - perf: add fast match path for `*` route1635.0.0-alpha.3Douglas Christopher Wilsonbefore adoptionc8d9223
lines 164–165why, one step back1645.0.0-alpha.3 / 2017-01-28165==========================Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 166why, one step back1665.0.0-alpha.3Douglas Christopher Wilsonbefore adoptionc8d9223
lines 167–168why, one step back167This is the third Express 5.0 alpha release, based off 4.14.1 and includes168changes from 5.0.0-alpha.2.Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 169why, one step back169Remove res.vary() (no arguments) signatureMike Tunnicliffebefore adoptiona856456
line 170why, one step back170 * remove:Remove res.json(status, obj) signatureMike Tunnicliffebefore adoption25fdefa
line 171why, one step back171 - `res.json(status, obj)` signature - use `res.status(status).json(obj)`Remove res.jsonp(status, obj) signatureMike Tunnicliffebefore adoptionab1c9e9
line 172why, one step back172 - `res.jsonp(status, obj)` signature - use `res.status(status).jsonp(obj)`Remove res.vary() (no arguments) signatureMike Tunnicliffebefore adoptiona856456
line 173why, one step back173 - `res.vary()` (no arguments) -- provide a field name as an argumentdeps: array-flatten@2.1.1Douglas Christopher Wilsonbefore adoptionad4d52d
line 174why, one step back174 * deps: array-flatten@2.1.1deps: path-is-absolute@1.0.1Douglas Christopher Wilsonbefore adoption4b39a01
line 175why, one step back175 * deps: path-is-absolute@1.0.1deps: router@~1.1.5Douglas Christopher Wilsonbefore adoption07077c4
lines 176–180why, one step back176 * deps: router@~1.1.5177 - deps: array-flatten@2.0.1178 - deps: methods@~1.1.2179 - deps: parseurl@~1.3.1180 - deps: setprototypeof@1.0.2Remove res.vary() (no arguments) signatureMike Tunnicliffebefore adoptiona856456
line 181why, one step back1815.0.0-alpha.2Douglas Christopher Wilsonbefore adoption2c668f8
lines 182–183why, one step back1825.0.0-alpha.2 / 2015-07-06183==========================Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 184why, one step back1845.0.0-alpha.2Douglas Christopher Wilsonbefore adoption2c668f8
lines 185–186why, one step back185This is the second Express 5.0 alpha release, based off 4.13.1 and includes186changes from 5.0.0-alpha.1.Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 187why, one step back187Remove app.param(fn) signatureDouglas Christopher Wilsonbefore adoption1e2951a
lines 188–189why, one step back188 * remove:189 - `app.param(fn)`Remove req.param()Douglas Christopher Wilsonbefore adoption21d52da
line 190why, one step back190 - `req.param()` -- use `req.params`, `req.body`, or `req.query` insteadRemove ":" stripping from app.param()Douglas Christopher Wilsonbefore adoption3a1f27f
line 191why, one step back191 * change:Make res.render callback is always async, even for sync view enginesDouglas Christopher Wilsonbefore adoption6343288
line 192why, one step back192 - `res.render` callback is always async, even for sync view enginesRemove ":" stripping from app.param()Douglas Christopher Wilsonbefore adoption3a1f27f
line 193why, one step back193 - The leading `:` character in `name` for `app.param(name, fn)` is no longer removedUse router module for routingDouglas Christopher Wilsonbefore adoptioncec5780
line 194why, one step back194 - Use `router` module for routingUse path-is-absolute module for absolute path detectionJeremiah Senkpielbefore adoption694869d
line 195why, one step back195 - Use `path-is-absolute` module for absolute path detectionRemove ":" stripping from app.param()Douglas Christopher Wilsonbefore adoption3a1f27f
line 196why, one step back1965.0.0-alpha.1Douglas Christopher Wilsonbefore adoption4052c15
lines 197–198why, one step back1975.0.0-alpha.1 / 2014-11-06198==========================docs: simplify 5.x historyDouglas Christopher Wilsonbefore adoptionf56e2a2
lines 199–200why, one step back199200This is the first Express 5.0 alpha release, based off 4.10.1.Change req.host to return hostDouglas Christopher Wilsonbefore adoption085a296
line 201why, one step back201Remove res.send(body, status) signatureDouglas Christopher Wilsonbefore adoptione66625b
line 202why, one step back202 * remove:Remove app.delDouglas Christopher Wilsonbefore adoptionf31dcff
line 203why, one step back203 - `app.del` - use `app.delete`Remove req.acceptsCharsetDouglas Christopher Wilsonbefore adoption7f25328
line 204why, one step back204 - `req.acceptsCharset` - use `req.acceptsCharsets`Remove acceptsEncodingDouglas Christopher Wilsonbefore adoption59f2b40
line 205why, one step back205 - `req.acceptsEncoding` - use `req.acceptsEncodings`Remove req.acceptsLanguageDouglas Christopher Wilsonbefore adoptionccdbe4e
line 206why, one step back206 - `req.acceptsLanguage` - use `req.acceptsLanguages`Remove res.json(obj, status) signatureDouglas Christopher Wilsonbefore adoption164638b
line 207why, one step back207 - `res.json(obj, status)` signature - use `res.json(status, obj)`Remove res.jsonp(obj, status) signatureDouglas Christopher Wilsonbefore adoption8810306
line 208why, one step back208 - `res.jsonp(obj, status)` signature - use `res.jsonp(status, obj)`Remove res.send(body, status) signatureDouglas Christopher Wilsonbefore adoptione66625b
line 209why, one step back209 - `res.send(body, status)` signature - use `res.send(status, body)`Remove res.send(status) signatureDouglas Christopher Wilsonbefore adoption97ccc52
line 210why, one step back210 - `res.send(status)` signature - use `res.sendStatus(status)`Remove res.sendfileDouglas Christopher Wilsonbefore adoption0fc4f07
line 211why, one step back211 - `res.sendfile` - use `res.sendFile` insteadChange req.query to a getterDouglas Christopher Wilsonbefore adoptiondcc4eaa
line 212why, one step back212 - `express.query` middlewareChange req.host to return hostDouglas Christopher Wilsonbefore adoption085a296
lines 213–214why, one step back213 * change:214 - `req.host` now returns host (`hostname:port`) - use `req.hostname` for only hostnameChange req.query to a getterDouglas Christopher Wilsonbefore adoptiondcc4eaa
line 215why, one step back215 - `req.query` is now a getter instead of a plain propertyAdd app.router reference backDouglas Christopher Wilsonbefore adoption509ebb1
lines 216–217why, one step back216 * add:217 - `app.router` is a reference to the base routerMerge branch '5.0' into 5.xWes Toddbefore adoption5e2345e
line 218why, one step back218Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
line 219why, one step back2194.20.0 / 2024-09-10Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 220why, one step back220==========Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
lines 221–231why, one step back221 * deps: serve-static@0.16.0222 * Remove link renderization in html while redirecting223 * deps: send@0.19.0224 * Remove link renderization in html while redirecting225 * deps: body-parser@0.6.0226 * add `depth` option to customize the depth level in the parser227 * IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)228 * Remove link renderization in html while using `res.redirect`229 * deps: path-to-regexp@0.1.10230 - Adds support for named matching groups in the routes using a regex231 - Adds backtracking protection to parameters without regexes definedMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 232–236why, one step back232 * deps: encodeurl@~2.0.0233 - Removes encoding of `\`, `|`, and `^` to align better with URL spec234 * Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie`235 - Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie236Merge branch '5.0' into 5.xWes Toddbefore adoption5e2345e
lines 237–240why, one step back2374.19.2 / 2024-03-25238==========239240 * Improved fix for open redirect allow list bypassMerge tag '4.17.3'Douglas Christopher Wilsonbefore adoption318fd4b
line 241why, one step back241Merge tag '4.19.1' into 5.xWes Toddbefore adoption60fb1d2
lines 242–247why, one step back2424.19.1 / 2024-03-20243==========244245 * Allow passing non-strings to res.location with new encoding handling checks2462474.19.0 / 2024-03-20Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 248–326why, one step back248==========249250 * Prevent open redirect allow list bypass due to encodeurl251 * deps: cookie@0.6.02522534.18.3 / 2024-02-29254==========255256 * Fix routing requests without method257 * deps: body-parser@1.20.2258 - Fix strict json error message on Node.js 19+259 - deps: content-type@~1.0.5260 - deps: raw-body@2.5.2261 * deps: cookie@0.6.0262 - Add `partitioned` option2632644.18.2 / 2022-10-08265===================266267 * Fix regression routing a large stack in a single route268 * deps: body-parser@1.20.1269 - deps: qs@6.11.0270 - perf: remove unnecessary object clone271 * deps: qs@6.11.02722734.18.1 / 2022-04-29274===================275276 * Fix hanging on large stack of sync routes2772784.18.0 / 2022-04-25279===================280281 * Add "root" option to `res.download`282 * Allow `options` without `filename` in `res.download`283 * Deprecate string and non-integer arguments to `res.status`284 * Fix behavior of `null`/`undefined` as `maxAge` in `res.cookie`285 * Fix handling very large stacks of sync middleware286 * Ignore `Object.prototype` values in settings through `app.set`/`app.get`287 * Invoke `default` with same arguments as types in `res.format`288 * Support proper 205 responses using `res.send`289 * Use `http-errors` for `res.format` error290 * deps: body-parser@1.20.0291 - Fix error message for json parse whitespace in `strict`292 - Fix internal error when inflated body exceeds limit293 - Prevent loss of async hooks context294 - Prevent hanging when request already read295 - deps: depd@2.0.0296 - deps: http-errors@2.0.0297 - deps: on-finished@2.4.1298 - deps: qs@6.10.3299 - deps: raw-body@2.5.1300 * deps: cookie@0.5.0301 - Add `priority` option302 - Fix `expires` option to reject invalid dates303 * deps: depd@2.0.0304 - Replace internal `eval` usage with `Function` constructor305 - Use instance methods on `process` to check for listeners306 * deps: finalhandler@1.2.0307 - Remove set content headers that break response308 - deps: on-finished@2.4.1309 - deps: statuses@2.0.1310 * deps: on-finished@2.4.1311 - Prevent loss of async hooks context312 * deps: qs@6.10.3313 * deps: send@0.18.0314 - Fix emitted 416 error missing headers property315 - Limit the headers removed for 304 response316 - deps: depd@2.0.0317 - deps: destroy@1.2.0318 - deps: http-errors@2.0.0319 - deps: on-finished@2.4.1320 - deps: statuses@2.0.1321 * deps: serve-static@1.15.0322 - deps: send@0.18.0323 * deps: statuses@2.0.1324 - Remove code 306325 - Rename `425 Unordered Collection` to standard `425 Too Early`326Merge tag '4.17.3'Douglas Christopher Wilsonbefore adoption318fd4b
lines 327–340why, one step back3274.17.3 / 2022-02-16328===================329330 * deps: accepts@~1.3.8331 - deps: mime-types@~2.1.34332 - deps: negotiator@0.6.3333 * deps: body-parser@1.19.2334 - deps: bytes@3.1.2335 - deps: qs@6.9.7336 - deps: raw-body@2.4.3337 * deps: cookie@0.4.2338 * deps: qs@6.9.7339 * Fix handling of `__proto__` keys340 * pref: remove unnecessary regexp for trust proxyMerge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
lines 341–373why, one step back3413424.17.2 / 2021-12-16343===================344345 * Fix handling of `undefined` in `res.jsonp`346 * Fix handling of `undefined` when `"json escape"` is enabled347 * Fix incorrect middleware execution with unanchored `RegExp`s348 * Fix `res.jsonp(obj, status)` deprecation message349 * Fix typo in `res.is` JSDoc350 * deps: body-parser@1.19.1351 - deps: bytes@3.1.1352 - deps: http-errors@1.8.1353 - deps: qs@6.9.6354 - deps: raw-body@2.4.2355 - deps: safe-buffer@5.2.1356 - deps: type-is@~1.6.18357 * deps: content-disposition@0.5.4358 - deps: safe-buffer@5.2.1359 * deps: cookie@0.4.1360 - Fix `maxAge` option to reject invalid values361 * deps: proxy-addr@~2.0.7362 - Use `req.socket` over deprecated `req.connection`363 - deps: forwarded@0.2.0364 - deps: ipaddr.js@1.9.1365 * deps: qs@6.9.6366 * deps: safe-buffer@5.2.1367 * deps: send@0.17.2368 - deps: http-errors@1.8.1369 - deps: ms@2.1.3370 - pref: ignore empty http tokens371 * deps: serve-static@1.14.2372 - deps: send@0.17.2373 * deps: setprototypeof@1.2.0Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 374why, one step back374Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 375–430why, one step back3754.17.1 / 2019-05-25376===================377378 * Revert "Improve error message for `null`/`undefined` to `res.status`"3793804.17.0 / 2019-05-16381===================382383 * Add `express.raw` to parse bodies into `Buffer`384 * Add `express.text` to parse bodies into string385 * Improve error message for non-strings to `res.sendFile`386 * Improve error message for `null`/`undefined` to `res.status`387 * Support multiple hosts in `X-Forwarded-Host`388 * deps: accepts@~1.3.7389 * deps: body-parser@1.19.0390 - Add encoding MIK391 - Add petabyte (`pb`) support392 - Fix parsing array brackets after index393 - deps: bytes@3.1.0394 - deps: http-errors@1.7.2395 - deps: iconv-lite@0.4.24396 - deps: qs@6.7.0397 - deps: raw-body@2.4.0398 - deps: type-is@~1.6.17399 * deps: content-disposition@0.5.3400 * deps: cookie@0.4.0401 - Add `SameSite=None` support402 * deps: finalhandler@~1.1.2403 - Set stricter `Content-Security-Policy` header404 - deps: parseurl@~1.3.3405 - deps: statuses@~1.5.0406 * deps: parseurl@~1.3.3407 * deps: proxy-addr@~2.0.5408 - deps: ipaddr.js@1.9.0409 * deps: qs@6.7.0410 - Fix parsing array brackets after index411 * deps: range-parser@~1.2.1412 * deps: send@0.17.1413 - Set stricter CSP header in redirect & error responses414 - deps: http-errors@~1.7.2415 - deps: mime@1.6.0416 - deps: ms@2.1.1417 - deps: range-parser@~1.2.1418 - deps: statuses@~1.5.0419 - perf: remove redundant `path.normalize` call420 * deps: serve-static@1.14.1421 - Set stricter CSP header in redirect response422 - deps: parseurl@~1.3.3423 - deps: send@0.17.1424 * deps: setprototypeof@1.1.1425 * deps: statuses@~1.5.0426 - Add `103 Early Hints`427 * deps: type-is@~1.6.18428 - deps: mime-types@~2.1.24429 - perf: prevent internal `throw` on invalid type430Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
lines 431–476why, one step back4314.16.4 / 2018-10-10432===================433434 * Fix issue where `"Request aborted"` may be logged in `res.sendfile`435 * Fix JSDoc for `Router` constructor436 * deps: body-parser@1.18.3437 - Fix deprecation warnings on Node.js 10+438 - Fix stack trace for strict json parse error439 - deps: depd@~1.1.2440 - deps: http-errors@~1.6.3441 - deps: iconv-lite@0.4.23442 - deps: qs@6.5.2443 - deps: raw-body@2.3.3444 - deps: type-is@~1.6.16445 * deps: proxy-addr@~2.0.4446 - deps: ipaddr.js@1.8.0447 * deps: qs@6.5.2448 * deps: safe-buffer@5.1.24494504.16.3 / 2018-03-12451===================452453 * deps: accepts@~1.3.5454 - deps: mime-types@~2.1.18455 * deps: depd@~1.1.2456 - perf: remove argument reassignment457 * deps: encodeurl@~1.0.2458 - Fix encoding `%` as last character459 * deps: finalhandler@1.1.1460 - Fix 404 output for bad / missing pathnames461 - deps: encodeurl@~1.0.2462 - deps: statuses@~1.4.0463 * deps: proxy-addr@~2.0.3464 - deps: ipaddr.js@1.6.0465 * deps: send@0.16.2466 - Fix incorrect end tag in default error & redirects467 - deps: depd@~1.1.2468 - deps: encodeurl@~1.0.2469 - deps: statuses@~1.4.0470 * deps: serve-static@1.13.2471 - Fix incorrect end tag in redirects472 - deps: encodeurl@~1.0.2473 - deps: send@0.16.2474 * deps: statuses@~1.4.0475 * deps: type-is@~1.6.16476 - deps: mime-types@~2.1.18Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 477–539why, one step back4774784.16.2 / 2017-10-09479===================480481 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set482 * perf: skip parsing of entire `X-Forwarded-Proto` header4834844.16.1 / 2017-09-29485===================486487 * deps: send@0.16.1488 * deps: serve-static@1.13.1489 - Fix regression when `root` is incorrectly set to a file490 - deps: send@0.16.14914924.16.0 / 2017-09-28493===================494495 * Add `"json escape"` setting for `res.json` and `res.jsonp`496 * Add `express.json` and `express.urlencoded` to parse bodies497 * Add `options` argument to `res.download`498 * Improve error message when autoloading invalid view engine499 * Improve error messages when non-function provided as middleware500 * Skip `Buffer` encoding when not generating ETag for small response501 * Use `safe-buffer` for improved Buffer API502 * deps: accepts@~1.3.4503 - deps: mime-types@~2.1.16504 * deps: content-type@~1.0.4505 - perf: remove argument reassignment506 - perf: skip parameter parsing when no parameters507 * deps: etag@~1.8.1508 - perf: replace regular expression with substring509 * deps: finalhandler@1.1.0510 - Use `res.headersSent` when available511 * deps: parseurl@~1.3.2512 - perf: reduce overhead for full URLs513 - perf: unroll the "fast-path" `RegExp`514 * deps: proxy-addr@~2.0.2515 - Fix trimming leading / trailing OWS in `X-Forwarded-For`516 - deps: forwarded@~0.1.2517 - deps: ipaddr.js@1.5.2518 - perf: reduce overhead when no `X-Forwarded-For` header519 * deps: qs@6.5.1520 - Fix parsing & compacting very deep objects521 * deps: send@0.16.0522 - Add 70 new types for file extensions523 - Add `immutable` option524 - Fix missing `</html>` in default error & redirects525 - Set charset as "UTF-8" for .js and .json526 - Use instance methods on steam to check for listeners527 - deps: mime@1.4.1528 - perf: improve path validation speed529 * deps: serve-static@1.13.0530 - Add 70 new types for file extensions531 - Add `immutable` option532 - Set charset as "UTF-8" for .js and .json533 - deps: send@0.16.0534 * deps: setprototypeof@1.1.0535 * deps: utils-merge@1.0.1536 * deps: vary@~1.1.2537 - perf: improve header token parsing speed538 * perf: re-use options object when generating ETags539 * perf: remove dead `.charset` set in `res.jsonp`Merge tag '4.15.5'Douglas Christopher Wilsonbefore adoption19c8d64
lines 540–561why, one step back5405414.15.5 / 2017-09-24542===================543544 * deps: debug@2.6.9545 * deps: finalhandler@~1.0.6546 - deps: debug@2.6.9547 - deps: parseurl@~1.3.2548 * deps: fresh@0.5.2549 - Fix handling of modified headers with invalid dates550 - perf: improve ETag match loop551 - perf: improve `If-None-Match` token parsing552 * deps: send@0.15.6553 - Fix handling of modified headers with invalid dates554 - deps: debug@2.6.9555 - deps: etag@~1.8.1556 - deps: fresh@0.5.2557 - perf: improve `If-Match` token parsing558 * deps: serve-static@1.12.6559 - deps: parseurl@~1.3.2560 - deps: send@0.15.6561 - perf: improve slash collapsingMerge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
lines 562–602why, one step back5625634.15.4 / 2017-08-06564===================565566 * deps: debug@2.6.8567 * deps: depd@~1.1.1568 - Remove unnecessary `Buffer` loading569 * deps: finalhandler@~1.0.4570 - deps: debug@2.6.8571 * deps: proxy-addr@~1.1.5572 - Fix array argument being altered573 - deps: ipaddr.js@1.4.0574 * deps: qs@6.5.0575 * deps: send@0.15.4576 - deps: debug@2.6.8577 - deps: depd@~1.1.1578 - deps: http-errors@~1.6.2579 * deps: serve-static@1.12.4580 - deps: send@0.15.45815824.15.3 / 2017-05-16583===================584585 * Fix error when `res.set` cannot add charset to `Content-Type`586 * deps: debug@2.6.7587 - Fix `DEBUG_MAX_ARRAY_LENGTH`588 - deps: ms@2.0.0589 * deps: finalhandler@~1.0.3590 - Fix missing `</html>` in HTML document591 - deps: debug@2.6.7592 * deps: proxy-addr@~1.1.4593 - deps: ipaddr.js@1.3.0594 * deps: send@0.15.3595 - deps: debug@2.6.7596 - deps: ms@2.0.0597 * deps: serve-static@1.12.3598 - deps: send@0.15.3599 * deps: type-is@~1.6.15600 - deps: mime-types@~2.1.15601 * deps: vary@~1.1.1602 - perf: hoist regular expressionMerge tag '4.15.2'Douglas Christopher Wilsonbefore adoptione5dbb0c
lines 603–618why, one step back6036044.15.2 / 2017-03-06605===================606607 * deps: qs@6.4.0608 - Fix regression parsing keys starting with `[`6096104.15.1 / 2017-03-05611===================612613 * deps: send@0.15.1614 - Fix issue when `Date.parse` does not return `NaN` on invalid date615 - Fix strict violation in broken environments616 * deps: serve-static@1.12.1617 - Fix issue when `Date.parse` does not return `NaN` on invalid date618 - deps: send@0.15.1Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
lines 619–688why, one step back6196204.15.0 / 2017-03-01621===================622623 * Add debug message when loading view engine624 * Add `next("router")` to exit from router625 * Fix case where `router.use` skipped requests routes did not626 * Remove usage of `res._headers` private field627 - Improves compatibility with Node.js 8 nightly628 * Skip routing when `req.url` is not set629 * Use `%o` in path debug to tell types apart630 * Use `Object.create` to setup request & response prototypes631 * Use `setprototypeof` module to replace `__proto__` setting632 * Use `statuses` instead of `http` module for status messages633 * deps: debug@2.6.1634 - Allow colors in workers635 - Deprecated `DEBUG_FD` environment variable set to `3` or higher636 - Fix error when running under React Native637 - Use same color for same namespace638 - deps: ms@0.7.2639 * deps: etag@~1.8.0640 - Use SHA1 instead of MD5 for ETag hashing641 - Works with FIPS 140-2 OpenSSL configuration642 * deps: finalhandler@~1.0.0643 - Fix exception when `err` cannot be converted to a string644 - Fully URL-encode the pathname in the 404645 - Only include the pathname in the 404 message646 - Send complete HTML document647 - Set `Content-Security-Policy: default-src 'self'` header648 - deps: debug@2.6.1649 * deps: fresh@0.5.0650 - Fix false detection of `no-cache` request directive651 - Fix incorrect result when `If-None-Match` has both `*` and ETags652 - Fix weak `ETag` matching to match spec653 - perf: delay reading header values until needed654 - perf: enable strict mode655 - perf: hoist regular expressions656 - perf: remove duplicate conditional657 - perf: remove unnecessary boolean coercions658 - perf: skip checking modified time if ETag check failed659 - perf: skip parsing `If-None-Match` when no `ETag` header660 - perf: use `Date.parse` instead of `new Date`661 * deps: qs@6.3.1662 - Fix array parsing from skipping empty values663 - Fix compacting nested arrays664 * deps: send@0.15.0665 - Fix false detection of `no-cache` request directive666 - Fix incorrect result when `If-None-Match` has both `*` and ETags667 - Fix weak `ETag` matching to match spec668 - Remove usage of `res._headers` private field669 - Support `If-Match` and `If-Unmodified-Since` headers670 - Use `res.getHeaderNames()` when available671 - Use `res.headersSent` when available672 - deps: debug@2.6.1673 - deps: etag@~1.8.0674 - deps: fresh@0.5.0675 - deps: http-errors@~1.6.1676 * deps: serve-static@1.12.0677 - Fix false detection of `no-cache` request directive678 - Fix incorrect result when `If-None-Match` has both `*` and ETags679 - Fix weak `ETag` matching to match spec680 - Remove usage of `res._headers` private field681 - Send complete HTML document in redirect response682 - Set default CSP header in redirect response683 - Support `If-Match` and `If-Unmodified-Since` headers684 - Use `res.getHeaderNames()` when available685 - Use `res.headersSent` when available686 - deps: send@0.15.0687 * perf: add fast match path for `*` route688 * perf: improve `req.ips` performanceMerge tag '4.14.1'Douglas Christopher Wilsonbefore adoptionbcbb9d5
lines 689–708why, one step back6896904.14.1 / 2017-01-28691===================692693 * deps: content-disposition@0.5.2694 * deps: finalhandler@0.5.1695 - Fix exception when `err.headers` is not an object696 - deps: statuses@~1.3.1697 - perf: hoist regular expressions698 - perf: remove duplicate validation path699 * deps: proxy-addr@~1.1.3700 - deps: ipaddr.js@1.2.0701 * deps: send@0.14.2702 - deps: http-errors@~1.5.1703 - deps: ms@0.7.2704 - deps: statuses@~1.3.1705 * deps: serve-static@~1.11.2706 - deps: send@0.14.2707 * deps: type-is@~1.6.14708 - deps: mime-types@~2.1.13Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 709–726why, one step back7097104.14.0 / 2016-06-16711===================712713 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`714 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`715 * Add `options` argument to `req.range`716 - Includes the `combine` option717 * Encode URL in `res.location`/`res.redirect` if not already encoded718 * Fix some redirect handling in `res.sendFile`/`res.sendfile`719 * Fix Windows absolute path check using forward slashes720 * Improve error with invalid arguments to `req.get()`721 * Improve performance for `res.json`/`res.jsonp` in most cases722 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`723 * deps: accepts@~1.3.3724 - Fix including type extensions in parameters in `Accept` parsing725 - Fix parsing `Accept` parameters with quoted equals726 - Fix parsing `Accept` parameters with quoted semicolonsMerge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 727why, one step back727 - Many performance improvementsMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 728–741why, one step back728 - deps: mime-types@~2.1.11729 - deps: negotiator@0.6.1730 * deps: content-type@~1.0.2731 - perf: enable strict mode732 * deps: cookie@0.3.1733 - Add `sameSite` option734 - Fix cookie `Max-Age` to never be a floating point number735 - Improve error message when `encode` is not a function736 - Improve error message when `expires` is not a `Date`737 - Throw better error for invalid argument to parse738 - Throw on invalid values provided to `serialize`739 - perf: enable strict mode740 - perf: hoist regular expression741 - perf: use for loop in parseMerge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 742why, one step back742 - perf: use string concatenation for serializationMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 743–751why, one step back743 * deps: finalhandler@0.5.0744 - Change invalid or non-numeric status code to 500745 - Overwrite status message to match set status code746 - Prefer `err.statusCode` if `err.status` is invalid747 - Set response headers from `err.headers` object748 - Use `statuses` instead of `http` module for status messages749 * deps: proxy-addr@~1.1.2750 - Fix accepting various invalid netmasks751 - Fix IPv6-mapped IPv4 validation edge casesMerge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 752why, one step back752 - IPv4 netmasks must be contiguousMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 753–788why, one step back753 - IPv6 addresses cannot be used as a netmask754 - deps: ipaddr.js@1.1.1755 * deps: qs@6.2.0756 - Add `decoder` option in `parse` function757 * deps: range-parser@~1.2.0758 - Add `combine` option to combine overlapping ranges759 - Fix incorrectly returning -1 when there is at least one valid range760 - perf: remove internal function761 * deps: send@0.14.1762 - Add `acceptRanges` option763 - Add `cacheControl` option764 - Attempt to combine multiple ranges into single range765 - Correctly inherit from `Stream` class766 - Fix `Content-Range` header in 416 responses when using `start`/`end` options767 - Fix `Content-Range` header missing from default 416 responses768 - Fix redirect error when `path` contains raw non-URL characters769 - Fix redirect when `path` starts with multiple forward slashes770 - Ignore non-byte `Range` headers771 - deps: http-errors@~1.5.0772 - deps: range-parser@~1.2.0773 - deps: statuses@~1.3.0774 - perf: remove argument reassignment775 * deps: serve-static@~1.11.1776 - Add `acceptRanges` option777 - Add `cacheControl` option778 - Attempt to combine multiple ranges into single range779 - Fix redirect error when `req.url` contains raw non-URL characters780 - Ignore non-byte `Range` headers781 - Use status code 301 for redirects782 - deps: send@0.14.1783 * deps: type-is@~1.6.13784 - Fix type error when given invalid type to match against785 - deps: mime-types@~2.1.11786 * deps: vary@~1.1.0787 - Only accept valid field names in the `field` argument788 * perf: use strict equality when possibleChange req.host to return hostDouglas Christopher Wilsonbefore adoption085a296
line 789why, one step back789Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
lines 790–844why, one step back7904.13.4 / 2016-01-21791===================792793 * deps: content-disposition@0.5.1794 - perf: enable strict mode795 * deps: cookie@0.1.5796 - Throw on invalid values provided to `serialize`797 * deps: depd@~1.1.0798 - Support web browser loading799 - perf: enable strict mode800 * deps: escape-html@~1.0.3801 - perf: enable strict mode802 - perf: optimize string replacement803 - perf: use faster string coercion804 * deps: finalhandler@0.4.1805 - deps: escape-html@~1.0.3806 * deps: merge-descriptors@1.0.1807 - perf: enable strict mode808 * deps: methods@~1.1.2809 - perf: enable strict mode810 * deps: parseurl@~1.3.1811 - perf: enable strict mode812 * deps: proxy-addr@~1.0.10813 - deps: ipaddr.js@1.0.5814 - perf: enable strict mode815 * deps: range-parser@~1.0.3816 - perf: enable strict mode817 * deps: send@0.13.1818 - deps: depd@~1.1.0819 - deps: destroy@~1.0.4820 - deps: escape-html@~1.0.3821 - deps: range-parser@~1.0.3822 * deps: serve-static@~1.10.2823 - deps: escape-html@~1.0.3824 - deps: parseurl@~1.3.0825 - deps: send@0.13.18268274.13.3 / 2015-08-02828===================829830 * Fix infinite loop condition using `mergeParams: true`831 * Fix inner numeric indices incorrectly altering parent `req.params`8328334.13.2 / 2015-07-31834===================835836 * deps: accepts@~1.2.12837 - deps: mime-types@~2.1.4838 * deps: array-flatten@1.1.1839 - perf: enable strict mode840 * deps: path-to-regexp@0.1.7841 - Fix regression with escaped round brackets and matching groups842 * deps: type-is@~1.6.6843 - deps: mime-types@~2.1.4844Merge tag '4.13.1'Douglas Christopher Wilsonbefore adoptionb309b87
lines 845–938why, one step back8454.13.1 / 2015-07-05846===================847848 * deps: accepts@~1.2.10849 - deps: mime-types@~2.1.2850 * deps: qs@4.0.0851 - Fix dropping parameters like `hasOwnProperty`852 - Fix various parsing edge cases853 * deps: type-is@~1.6.4854 - deps: mime-types@~2.1.2855 - perf: enable strict mode856 - perf: remove argument reassignment8578584.13.0 / 2015-06-20859===================860861 * Add settings to debug output862 * Fix `res.format` error when only `default` provided863 * Fix issue where `next('route')` in `app.param` would incorrectly skip values864 * Fix hiding platform issues with `decodeURIComponent`865 - Only `URIError`s are a 400866 * Fix using `*` before params in routes867 * Fix using capture groups before params in routes868 * Simplify `res.cookie` to call `res.append`869 * Use `array-flatten` module for flattening arrays870 * deps: accepts@~1.2.9871 - deps: mime-types@~2.1.1872 - perf: avoid argument reassignment & argument slice873 - perf: avoid negotiator recursive construction874 - perf: enable strict mode875 - perf: remove unnecessary bitwise operator876 * deps: cookie@0.1.3877 - perf: deduce the scope of try-catch deopt878 - perf: remove argument reassignments879 * deps: escape-html@1.0.2880 * deps: etag@~1.7.0881 - Always include entity length in ETags for hash length extensions882 - Generate non-Stats ETags using MD5 only (no longer CRC32)883 - Improve stat performance by removing hashing884 - Improve support for JXcore885 - Remove base64 padding in ETags to shorten886 - Support "fake" stats objects in environments without fs887 - Use MD5 instead of MD4 in weak ETags over 1KB888 * deps: finalhandler@0.4.0889 - Fix a false-positive when unpiping in Node.js 0.8890 - Support `statusCode` property on `Error` objects891 - Use `unpipe` module for unpiping requests892 - deps: escape-html@1.0.2893 - deps: on-finished@~2.3.0894 - perf: enable strict mode895 - perf: remove argument reassignment896 * deps: fresh@0.3.0897 - Add weak `ETag` matching support898 * deps: on-finished@~2.3.0899 - Add defined behavior for HTTP `CONNECT` requests900 - Add defined behavior for HTTP `Upgrade` requests901 - deps: ee-first@1.1.1902 * deps: path-to-regexp@0.1.6903 * deps: send@0.13.0904 - Allow Node.js HTTP server to set `Date` response header905 - Fix incorrectly removing `Content-Location` on 304 response906 - Improve the default redirect response headers907 - Send appropriate headers on default error response908 - Use `http-errors` for standard emitted errors909 - Use `statuses` instead of `http` module for status messages910 - deps: escape-html@1.0.2911 - deps: etag@~1.7.0912 - deps: fresh@0.3.0913 - deps: on-finished@~2.3.0914 - perf: enable strict mode915 - perf: remove unnecessary array allocations916 * deps: serve-static@~1.10.0917 - Add `fallthrough` option918 - Fix reading options from options prototype919 - Improve the default redirect response headers920 - Malformed URLs now `next()` instead of 400921 - deps: escape-html@1.0.2922 - deps: send@0.13.0923 - perf: enable strict mode924 - perf: remove argument reassignment925 * deps: type-is@~1.6.3926 - deps: mime-types@~2.1.1927 - perf: reduce try block size928 - perf: remove bitwise operations929 * perf: enable strict mode930 * perf: isolate `app.render` try block931 * perf: remove argument reassignments in application932 * perf: remove argument reassignments in request prototype933 * perf: remove argument reassignments in response prototype934 * perf: remove argument reassignments in routing935 * perf: remove argument reassignments in `View`936 * perf: skip attempting to decode zero length string937 * perf: use saved reference to `http.STATUS_CODES`938Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
lines 939–1007why, one step back9394.12.4 / 2015-05-17940===================941942 * deps: accepts@~1.2.7943 - deps: mime-types@~2.0.11944 - deps: negotiator@0.5.3945 * deps: debug@~2.2.0946 - deps: ms@0.7.1947 * deps: depd@~1.0.1948 * deps: etag@~1.6.0949 - Improve support for JXcore950 - Support "fake" stats objects in environments without `fs`951 * deps: finalhandler@0.3.6952 - deps: debug@~2.2.0953 - deps: on-finished@~2.2.1954 * deps: on-finished@~2.2.1955 - Fix `isFinished(req)` when data buffered956 * deps: proxy-addr@~1.0.8957 - deps: ipaddr.js@1.0.1958 * deps: qs@2.4.2959 - Fix allowing parameters like `constructor`960 * deps: send@0.12.3961 - deps: debug@~2.2.0962 - deps: depd@~1.0.1963 - deps: etag@~1.6.0964 - deps: ms@0.7.1965 - deps: on-finished@~2.2.1966 * deps: serve-static@~1.9.3967 - deps: send@0.12.3968 * deps: type-is@~1.6.2969 - deps: mime-types@~2.0.119709714.12.3 / 2015-03-17972===================973974 * deps: accepts@~1.2.5975 - deps: mime-types@~2.0.10976 * deps: debug@~2.1.3977 - Fix high intensity foreground color for bold978 - deps: ms@0.7.0979 * deps: finalhandler@0.3.4980 - deps: debug@~2.1.3981 * deps: proxy-addr@~1.0.7982 - deps: ipaddr.js@0.1.9983 * deps: qs@2.4.1984 - Fix error when parameter `hasOwnProperty` is present985 * deps: send@0.12.2986 - Throw errors early for invalid `extensions` or `index` options987 - deps: debug@~2.1.3988 * deps: serve-static@~1.9.2989 - deps: send@0.12.2990 * deps: type-is@~1.6.1991 - deps: mime-types@~2.0.109929934.12.2 / 2015-03-02994===================995996 * Fix regression where `"Request aborted"` is logged using `res.sendFile`9979984.12.1 / 2015-03-01999===================10001001 * Fix constructing application with non-configurable prototype properties1002 * Fix `ECONNRESET` errors from `res.sendFile` usage1003 * Fix `req.host` when using "trust proxy" hops count1004 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count1005 * Fix wrong `code` on aborted connections from `res.sendFile`1006 * deps: merge-descriptors@1.0.01007Merge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
lines 1008–1031why, one step back10084.12.0 / 2015-02-231009===================10101011 * Fix `"trust proxy"` setting to inherit when app is mounted1012 * Generate `ETag`s for all request responses1013 - No longer restricted to only responses for `GET` and `HEAD` requests1014 * Use `content-type` to parse `Content-Type` headers1015 * deps: accepts@~1.2.41016 - Fix preference sorting to be stable for long acceptable lists1017 - deps: mime-types@~2.0.91018 - deps: negotiator@0.5.11019 * deps: cookie-signature@1.0.61020 * deps: send@0.12.11021 - Always read the stat size from the file1022 - Fix mutating passed-in `options`1023 - deps: mime@1.3.41024 * deps: serve-static@~1.9.11025 - deps: send@0.12.11026 * deps: type-is@~1.6.01027 - fix argument reassignment1028 - fix false-positives in `hasBody` `Transfer-Encoding` check1029 - support wildcard for both type and subtype (`*/*`)1030 - deps: mime-types@~2.0.91031Merge tag '4.11.2'Douglas Christopher Wilsonbefore adoptiona9ef9e1
lines 1032–1042why, one step back10324.11.2 / 2015-02-011033===================10341035 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests1036 * deps: accepts@~1.2.31037 - deps: mime-types@~2.0.81038 * deps: proxy-addr@~1.0.61039 - deps: ipaddr.js@0.1.81040 * deps: type-is@~1.5.61041 - deps: mime-types@~2.0.81042Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
lines 1043–1134why, one step back10434.11.1 / 2015-01-201044===================10451046 * deps: send@0.11.11047 - Fix root path disclosure1048 * deps: serve-static@~1.8.11049 - Fix redirect loop in Node.js 0.11.141050 - Fix root path disclosure1051 - deps: send@0.11.1105210534.11.0 / 2015-01-131054===================10551056 * Add `res.append(field, val)` to append headers1057 * Deprecate leading `:` in `name` for `app.param(name, fn)`1058 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead1059 * Deprecate `app.param(fn)`1060 * Fix `OPTIONS` responses to include the `HEAD` method properly1061 * Fix `res.sendFile` not always detecting aborted connection1062 * Match routes iteratively to prevent stack overflows1063 * deps: accepts@~1.2.21064 - deps: mime-types@~2.0.71065 - deps: negotiator@0.5.01066 * deps: send@0.11.01067 - deps: debug@~2.1.11068 - deps: etag@~1.5.11069 - deps: ms@0.7.01070 - deps: on-finished@~2.2.01071 * deps: serve-static@~1.8.01072 - deps: send@0.11.0107310744.10.8 / 2015-01-131075===================10761077 * Fix crash from error within `OPTIONS` response handler1078 * deps: proxy-addr@~1.0.51079 - deps: ipaddr.js@0.1.6108010814.10.7 / 2015-01-041082===================10831084 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods1085 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 3041086 * deps: debug@~2.1.11087 * deps: finalhandler@0.3.31088 - deps: debug@~2.1.11089 - deps: on-finished@~2.2.01090 * deps: methods@~1.1.11091 * deps: on-finished@~2.2.01092 * deps: serve-static@~1.7.21093 - Fix potential open redirect when mounted at root1094 * deps: type-is@~1.5.51095 - deps: mime-types@~2.0.7109610974.10.6 / 2014-12-121098===================10991100 * Fix exception in `req.fresh`/`req.stale` without response headers110111024.10.5 / 2014-12-101103===================11041105 * Fix `res.send` double-calling `res.end` for `HEAD` requests1106 * deps: accepts@~1.1.41107 - deps: mime-types@~2.0.41108 * deps: type-is@~1.5.41109 - deps: mime-types@~2.0.4111011114.10.4 / 2014-11-241112===================11131114 * Fix `res.sendfile` logging standard write errors111511164.10.3 / 2014-11-231117===================11181119 * Fix `res.sendFile` logging standard write errors1120 * deps: etag@~1.5.11121 * deps: proxy-addr@~1.0.41122 - deps: ipaddr.js@0.1.51123 * deps: qs@2.3.31124 - Fix `arrayLimit` behavior112511264.10.2 / 2014-11-091127===================11281129 * Correctly invoke async router callback asynchronously1130 * deps: accepts@~1.1.31131 - deps: mime-types@~2.0.31132 * deps: type-is@~1.5.31133 - deps: mime-types@~2.0.311344.10.1Douglas Christopher Wilsonbefore adoption8bb013e
lines 1135–1136why, one step back11354.10.1 / 2014-10-281136===================Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456
lines 1137–1138why, one step back11371138 * Fix handling of URLs containing `://` in the pathdeps: qs@2.3.2Douglas Christopher Wilsonbefore adoption6c0031b
lines 1139–1140why, one step back1139 * deps: qs@2.3.21140 - Fix parsing of mixed objects and valuesFix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456
line 1141why, one step back11414.10.0Douglas Christopher Wilsonbefore adoptiond40dc65
lines 1142–1143why, one step back11424.10.0 / 2014-10-231143===================deps: etag@~1.5.0Douglas Christopher Wilsonbefore adoption4f1cd4f
line 1144why, one step back1144Add support for app.set('views', array)Douglas Christopher Wilsonbefore adoption6614352
lines 1145–1146why, one step back1145 * Add support for `app.set('views', array)`1146 - Views are looked up in sequence in array of directoriesFix res.send to mention res.sendStatusDouglas Christopher Wilsonbefore adoption4dd9705
line 1147why, one step back1147 * Fix `res.send(status)` to mention `res.sendStatus(status)`Fix handling of invalid empty URLsDouglas Christopher Wilsonbefore adoption68290ee
line 1148why, one step back1148 * Fix handling of invalid empty URLsUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 1149–1151why, one step back1149 * Use `content-disposition` module for `res.attachment`/`res.download`1150 - Sends standards-compliant `Content-Disposition` header1151 - Full Unicode supportUse path.resolve in view lookupDouglas Christopher Wilsonbefore adoption0e5f2f8
line 1152why, one step back1152 * Use `path.resolve` in view lookupMerge tag '3.18.1'Douglas Christopher Wilsonbefore adoptionccc45a7
lines 1153–1155why, one step back1153 * deps: debug@~2.1.01154 - Implement `DEBUG_FD` env variable support1155 * deps: depd@~1.0.0deps: etag@~1.5.0Douglas Christopher Wilsonbefore adoption4f1cd4f
lines 1156–1158why, one step back1156 * deps: etag@~1.5.01157 - Improve string performance1158 - Slightly improve speed for weak ETags over 1KBdeps: finalhandler@0.3.2Douglas Christopher Wilsonbefore adoption6c2f7fb
line 1159why, one step back1159 * deps: finalhandler@0.3.2deps: finalhandler@0.3.1Douglas Christopher Wilsonbefore adoption6cd4859
lines 1160–1162why, one step back1160 - Terminate in progress response only on error1161 - Use `on-finished` to determine request status1162 - deps: debug@~2.1.0deps: finalhandler@0.3.2Douglas Christopher Wilsonbefore adoption6c2f7fb
line 1163why, one step back1163 - deps: on-finished@~2.1.1deps: on-finished@~2.1.1Douglas Christopher Wilsonbefore adoptioncd9d2ec
lines 1164–1165why, one step back1164 * deps: on-finished@~2.1.11165 - Fix handling of pipelined requestsdeps: qs@2.3.0Douglas Christopher Wilsonbefore adoption6a5dd52
lines 1166–1167why, one step back1166 * deps: qs@2.3.01167 - Fix parsing of mixed implicit and explicit arraysMerge tag '3.18.1'Douglas Christopher Wilsonbefore adoptionccc45a7
lines 1168–1172why, one step back1168 * deps: send@0.10.11169 - deps: debug@~2.1.01170 - deps: depd@~1.0.01171 - deps: etag@~1.5.01172 - deps: on-finished@~2.1.1deps: serve-static@~1.7.1Douglas Christopher Wilsonbefore adoptionce7bbae
lines 1173–1174why, one step back1173 * deps: serve-static@~1.7.11174 - deps: send@0.10.1deps: etag@~1.5.0Douglas Christopher Wilsonbefore adoption4f1cd4f
line 1175why, one step back11754.9.8Douglas Christopher Wilsonbefore adoptionf15bba7
lines 1176–1177why, one step back11764.9.8 / 2014-10-171177==================deps: accepts@~1.1.2Douglas Christopher Wilsonbefore adoption6f91416
line 1178why, one step back1178Fix res.redirect body when redirect status specifiedAlex Upadhyaybefore adoption6f0302f
line 1179why, one step back1179 * Fix `res.redirect` body when redirect status specifieddeps: accepts@~1.1.2Douglas Christopher Wilsonbefore adoption6f91416
lines 1180–1183why, one step back1180 * deps: accepts@~1.1.21181 - Fix error when media type has invalid parameter1182 - deps: negotiator@0.4.911834.9.7Douglas Christopher Wilsonbefore adoptionb0e4e64
lines 1184–1185why, one step back11844.9.7 / 2014-10-101185==================Fix using same param name in array of pathsDouglas Christopher Wilsonbefore adoption94f10c2
lines 1186–1188why, one step back11861187 * Fix using same param name in array of paths11884.9.6Douglas Christopher Wilsonbefore adoptionefd2dfb
lines 1189–1190why, one step back11894.9.6 / 2014-10-081190==================deps: accepts@~1.1.1Douglas Christopher Wilsonbefore adoption2c14096
lines 1191–1194why, one step back11911192 * deps: accepts@~1.1.11193 - deps: mime-types@~2.0.21194 - deps: negotiator@0.4.8deps: serve-static@~1.6.4Douglas Christopher Wilsonbefore adoption61da3c7
lines 1195–1196why, one step back1195 * deps: serve-static@~1.6.41196 - Fix redirect loop when index file serving disableddeps: type-is@~1.5.2Douglas Christopher Wilsonbefore adoption3f2454e
lines 1197–1198why, one step back1197 * deps: type-is@~1.5.21198 - deps: mime-types@~2.0.2deps: accepts@~1.1.1Douglas Christopher Wilsonbefore adoption2c14096
line 1199why, one step back11994.9.5Douglas Christopher Wilsonbefore adoptiondaadf60
lines 1200–1201why, one step back12004.9.5 / 2014-09-241201==================Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 1202why, one step back1202deps: etag@~1.4.0Douglas Christopher Wilsonbefore adoption3bcba79
line 1203why, one step back1203 * deps: etag@~1.4.0Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 1204–1207why, one step back1204 * deps: proxy-addr@~1.0.31205 - Use `forwarded` npm module1206 * deps: send@0.9.31207 - deps: etag@~1.4.0deps: serve-static@~1.6.3Douglas Christopher Wilsonbefore adoption590c919
lines 1208–1209why, one step back1208 * deps: serve-static@~1.6.31209 - deps: send@0.9.3Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 1210why, one step back12104.9.4Douglas Christopher Wilsonbefore adoption8e46af1
lines 1211–1212why, one step back12114.9.4 / 2014-09-191212==================deps: qs@2.2.4Douglas Christopher Wilsonbefore adoptione4fc094
lines 1213–1216why, one step back12131214 * deps: qs@2.2.41215 - Fix issue with object keys starting with numbers truncated12164.9.3Douglas Christopher Wilsonbefore adoptionbc38d89
lines 1217–1218why, one step back12174.9.3 / 2014-09-181218==================Merge tag '3.17.3'Douglas Christopher Wilsonbefore adoptionb2518fe
lines 1219–1223why, one step back12191220 * deps: proxy-addr@~1.0.21221 - Fix a global leak when multiple subnets are trusted1222 - deps: ipaddr.js@0.1.312234.9.2Douglas Christopher Wilsonbefore adoption91891e3
lines 1224–1225why, one step back12244.9.2 / 2014-09-171225==================Fix regression for empty string path in app.useDouglas Christopher Wilsonbefore adoption3c1a964
lines 1226–1227why, one step back12261227 * Fix regression for empty string `path` in `app.use`Fix router.use to accept array of middleware without pathDouglas Christopher Wilsonbefore adoption7289171
line 1228why, one step back1228 * Fix `router.use` to accept array of middleware without pathImprove error message for bad app.use argumentsDouglas Christopher Wilsonbefore adoptionbf1980f
line 1229why, one step back1229 * Improve error message for bad `app.use` argumentsFix regression for empty string path in app.useDouglas Christopher Wilsonbefore adoption3c1a964
line 1230why, one step back12304.9.1Douglas Christopher Wilsonbefore adoption947fb8b
lines 1231–1232why, one step back12314.9.1 / 2014-09-161232==================Fix app.use to accept array of middleware without pathDouglas Christopher Wilsonbefore adoptioncf41a8f
lines 1233–1234why, one step back12331234 * Fix `app.use` to accept array of middleware without pathMerge tag '3.17.2'Douglas Christopher Wilsonbefore adoption916a75c
line 1235why, one step back1235 * deps: depd@0.4.5deps: etag@~1.3.1Douglas Christopher Wilsonbefore adoption2470ae6
line 1236why, one step back1236 * deps: etag@~1.3.1Merge tag '3.17.2'Douglas Christopher Wilsonbefore adoption916a75c
lines 1237–1240why, one step back1237 * deps: send@0.9.21238 - deps: depd@0.4.51239 - deps: etag@~1.3.11240 - deps: range-parser@~1.0.2deps: serve-static@~1.6.2Douglas Christopher Wilsonbefore adoptiond08fd64
lines 1241–1242why, one step back1241 * deps: serve-static@~1.6.21242 - deps: send@0.9.2Fix app.use to accept array of middleware without pathDouglas Christopher Wilsonbefore adoptioncf41a8f
line 1243why, one step back12434.9.0Douglas Christopher Wilsonbefore adoption1716e3b
lines 1244–1245why, one step back12444.9.0 / 2014-09-081245==================deps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
line 1246why, one step back1246Add res.sendStatusSeth Samuelbefore adoption12f92a5
line 1247why, one step back1247 * Add `res.sendStatus`Invoke callback for sendfile when client abortsDouglas Christopher Wilsonbefore adoption2a0c35a
lines 1248–1250why, one step back1248 * Invoke callback for sendfile when client aborts1249 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`1250 - `err` will be populated with request aborted errordeps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
line 1251why, one step back1251 * Support IP address host in `req.subdomains`Use etag to generate ETag headersDouglas Christopher Wilsonbefore adoption51d33ed
line 1252why, one step back1252 * Use `etag` to generate `ETag` headersdeps: accepts@~1.1.0Douglas Christopher Wilsonbefore adoptiond4de82b
lines 1253–1254why, one step back1253 * deps: accepts@~1.1.01254 - update `mime-types`deps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
lines 1255–1270why, one step back1255 * deps: cookie-signature@1.0.51256 * deps: debug@~2.0.01257 * deps: finalhandler@0.2.01258 - Set `X-Content-Type-Options: nosniff` header1259 - deps: debug@~2.0.01260 * deps: fresh@0.2.41261 * deps: media-typer@0.3.01262 - Throw error when parameter format invalid on parse1263 * deps: qs@2.2.31264 - Fix issue where first empty value in array is discarded1265 * deps: range-parser@~1.0.21266 * deps: send@0.9.11267 - Add `lastModified` option1268 - Use `etag` to generate `ETag` header1269 - deps: debug@~2.0.01270 - deps: fresh@0.2.4deps: serve-static@~1.6.1Douglas Christopher Wilsonbefore adoptione210226
lines 1271–1273why, one step back1271 * deps: serve-static@~1.6.11272 - Add `lastModified` option1273 - deps: send@0.9.1deps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
lines 1274–1529why, one step back1274 * deps: type-is@~1.5.11275 - fix `hasbody` to be true for `content-length: 0`1276 - deps: media-typer@0.3.01277 - deps: mime-types@~2.0.11278 * deps: vary@~1.0.01279 - Accept valid `Vary` header string as `field`128012814.8.8 / 2014-09-041282==================12831284 * deps: send@0.8.51285 - Fix a path traversal issue when using `root`1286 - Fix malicious path detection for empty string path1287 * deps: serve-static@~1.5.41288 - deps: send@0.8.5128912904.8.7 / 2014-08-291291==================12921293 * deps: qs@2.2.21294 - Remove unnecessary cloning129512964.8.6 / 2014-08-271297==================12981299 * deps: qs@2.2.01300 - Array parsing fix1301 - Performance improvements130213034.8.5 / 2014-08-181304==================13051306 * deps: send@0.8.31307 - deps: destroy@1.0.31308 - deps: on-finished@2.1.01309 * deps: serve-static@~1.5.31310 - deps: send@0.8.3131113124.8.4 / 2014-08-141313==================13141315 * deps: qs@1.2.21316 * deps: send@0.8.21317 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`1318 * deps: serve-static@~1.5.21319 - deps: send@0.8.2132013214.8.3 / 2014-08-101322==================13231324 * deps: parseurl@~1.3.01325 * deps: qs@1.2.11326 * deps: serve-static@~1.5.11327 - Fix parsing of weird `req.originalUrl` values1328 - deps: parseurl@~1.3.01329 - deps: utils-merge@1.0.0133013314.8.2 / 2014-08-071332==================13331334 * deps: qs@1.2.01335 - Fix parsing array of objects133613374.8.1 / 2014-08-061338==================13391340 * fix incorrect deprecation warnings on `res.download`1341 * deps: qs@1.1.01342 - Accept urlencoded square brackets1343 - Accept empty values in implicit array notation134413454.8.0 / 2014-08-051346==================13471348 * add `res.sendFile`1349 - accepts a file system path instead of a URL1350 - requires an absolute path or `root` option specified1351 * deprecate `res.sendfile` -- use `res.sendFile` instead1352 * support mounted app as any argument to `app.use()`1353 * deps: qs@1.0.21354 - Complete rewrite1355 - Limits array length to 201356 - Limits object depth to 51357 - Limits parameters to 1,0001358 * deps: send@0.8.11359 - Add `extensions` option1360 * deps: serve-static@~1.5.01361 - Add `extensions` option1362 - deps: send@0.8.1136313644.7.4 / 2014-08-041365==================13661367 * fix `res.sendfile` regression for serving directory index files1368 * deps: send@0.7.41369 - Fix incorrect 403 on Windows and Node.js 0.111370 - Fix serving index files without root dir1371 * deps: serve-static@~1.4.41372 - deps: send@0.7.4137313744.7.3 / 2014-08-041375==================13761377 * deps: send@0.7.31378 - Fix incorrect 403 on Windows and Node.js 0.111379 * deps: serve-static@~1.4.31380 - Fix incorrect 403 on Windows and Node.js 0.111381 - deps: send@0.7.3138213834.7.2 / 2014-07-271384==================13851386 * deps: depd@0.4.41387 - Work-around v8 generating empty stack traces1388 * deps: send@0.7.21389 - deps: depd@0.4.41390 * deps: serve-static@~1.4.2139113924.7.1 / 2014-07-261393==================13941395 * deps: depd@0.4.31396 - Fix exception when global `Error.stackTraceLimit` is too low1397 * deps: send@0.7.11398 - deps: depd@0.4.31399 * deps: serve-static@~1.4.1140014014.7.0 / 2014-07-251402==================14031404 * fix `req.protocol` for proxy-direct connections1405 * configurable query parser with `app.set('query parser', parser)`1406 - `app.set('query parser', 'extended')` parse with "qs" module1407 - `app.set('query parser', 'simple')` parse with "querystring" core module1408 - `app.set('query parser', false)` disable query string parsing1409 - `app.set('query parser', true)` enable simple parsing1410 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead1411 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead1412 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead1413 * deps: debug@1.0.41414 * deps: depd@0.4.21415 - Add `TRACE_DEPRECATION` environment variable1416 - Remove non-standard grey color from color output1417 - Support `--no-deprecation` argument1418 - Support `--trace-deprecation` argument1419 * deps: finalhandler@0.1.01420 - Respond after request fully read1421 - deps: debug@1.0.41422 * deps: parseurl@~1.2.01423 - Cache URLs based on original value1424 - Remove no-longer-needed URL mis-parse work-around1425 - Simplify the "fast-path" `RegExp`1426 * deps: send@0.7.01427 - Add `dotfiles` option1428 - Cap `maxAge` value to 1 year1429 - deps: debug@1.0.41430 - deps: depd@0.4.21431 * deps: serve-static@~1.4.01432 - deps: parseurl@~1.2.01433 - deps: send@0.7.01434 * perf: prevent multiple `Buffer` creation in `res.send`143514364.6.1 / 2014-07-121437==================14381439 * fix `subapp.mountpath` regression for `app.use(subapp)`144014414.6.0 / 2014-07-111442==================14431444 * accept multiple callbacks to `app.use()`1445 * add explicit "Rosetta Flash JSONP abuse" protection1446 - previous versions are not vulnerable; this is just explicit protection1447 * catch errors in multiple `req.param(name, fn)` handlers1448 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead1449 * fix `res.send(status, num)` to send `num` as json (not error)1450 * remove unnecessary escaping when `res.jsonp` returns JSON response1451 * support non-string `path` in `app.use(path, fn)`1452 - supports array of paths1453 - supports `RegExp`1454 * router: fix optimization on router exit1455 * router: refactor location of `try` blocks1456 * router: speed up standard `app.use(fn)`1457 * deps: debug@1.0.31458 - Add support for multiple wildcards in namespaces1459 * deps: finalhandler@0.0.31460 - deps: debug@1.0.31461 * deps: methods@1.1.01462 - add `CONNECT`1463 * deps: parseurl@~1.1.31464 - faster parsing of href-only URLs1465 * deps: path-to-regexp@0.1.31466 * deps: send@0.6.01467 - deps: debug@1.0.31468 * deps: serve-static@~1.3.21469 - deps: parseurl@~1.1.31470 - deps: send@0.6.01471 * perf: fix arguments reassign deopt in some `res` methods147214734.5.1 / 2014-07-061474==================14751476 * fix routing regression when altering `req.method`147714784.5.0 / 2014-07-041479==================14801481 * add deprecation message to non-plural `req.accepts*`1482 * add deprecation message to `res.send(body, status)`1483 * add deprecation message to `res.vary()`1484 * add `headers` option to `res.sendfile`1485 - use to set headers on successful file transfer1486 * add `mergeParams` option to `Router`1487 - merges `req.params` from parent routes1488 * add `req.hostname` -- correct name for what `req.host` returns1489 * deprecate things with `depd` module1490 * deprecate `req.host` -- use `req.hostname` instead1491 * fix behavior when handling request without routes1492 * fix handling when `route.all` is only route1493 * invoke `router.param()` only when route matches1494 * restore `req.params` after invoking router1495 * use `finalhandler` for final response handling1496 * use `media-typer` to alter content-type charset1497 * deps: accepts@~1.0.71498 * deps: send@0.5.01499 - Accept string for `maxage` (converted by `ms`)1500 - Include link in default redirect response1501 * deps: serve-static@~1.3.01502 - Accept string for `maxAge` (converted by `ms`)1503 - Add `setHeaders` option1504 - Include HTML link in redirect response1505 - deps: send@0.5.01506 * deps: type-is@~1.3.2150715084.4.5 / 2014-06-261509==================15101511 * deps: cookie-signature@1.0.41512 - fix for timing attacks151315144.4.4 / 2014-06-201515==================15161517 * fix `res.attachment` Unicode filenames in Safari1518 * fix "trim prefix" debug message in `express:router`1519 * deps: accepts@~1.0.51520 * deps: buffer-crc32@0.2.3152115224.4.3 / 2014-06-111523==================15241525 * fix persistence of modified `req.params[name]` from `app.param()`1526 * deps: accepts@1.0.31527 - deps: negotiator@0.4.61528 * deps: debug@1.0.21529 * deps: send@0.4.3Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 1530why, one step back1530 - Do not throw uncatchable error on file open race conditiondeps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
lines 1531–1535why, one step back1531 - Use `escape-html` for HTML escaping1532 - deps: debug@1.0.21533 - deps: finished@1.2.21534 - deps: fresh@0.2.21535 * deps: serve-static@1.2.3Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 1536why, one step back1536 - Do not throw uncatchable error on file open race conditiondeps: type-is@~1.5.1Douglas Christopher Wilsonbefore adoptiond2b1a89
lines 1537–1710why, one step back1537 - deps: send@0.4.3153815394.4.2 / 2014-06-091540==================15411542 * fix catching errors from top-level handlers1543 * use `vary` module for `res.vary`1544 * deps: debug@1.0.11545 * deps: proxy-addr@1.0.11546 * deps: send@0.4.21547 - fix "event emitter leak" warnings1548 - deps: debug@1.0.11549 - deps: finished@1.2.11550 * deps: serve-static@1.2.21551 - fix "event emitter leak" warnings1552 - deps: send@0.4.21553 * deps: type-is@1.2.1155415554.4.1 / 2014-06-021556==================15571558 * deps: methods@1.0.11559 * deps: send@0.4.11560 - Send `max-age` in `Cache-Control` in correct format1561 * deps: serve-static@1.2.11562 - use `escape-html` for escaping1563 - deps: send@0.4.1156415654.4.0 / 2014-05-301566==================15671568 * custom etag control with `app.set('etag', val)`1569 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation1570 - `app.set('etag', 'weak')` weak tag1571 - `app.set('etag', 'strong')` strong etag1572 - `app.set('etag', false)` turn off1573 - `app.set('etag', true)` standard etag1574 * mark `res.send` ETag as weak and reduce collisions1575 * update accepts to 1.0.21576 - Fix interpretation when header not in request1577 * update send to 0.4.01578 - Calculate ETag with md5 for reduced collisions1579 - Ignore stream errors after request ends1580 - deps: debug@0.8.11581 * update serve-static to 1.2.01582 - Calculate ETag with md5 for reduced collisions1583 - Ignore stream errors after request ends1584 - deps: send@0.4.0158515864.3.2 / 2014-05-281587==================15881589 * fix handling of errors from `router.param()` callbacks159015914.3.1 / 2014-05-231592==================15931594 * revert "fix behavior of multiple `app.VERB` for the same path"1595 - this caused a regression in the order of route execution159615974.3.0 / 2014-05-211598==================15991600 * add `req.baseUrl` to access the path stripped from `req.url` in routes1601 * fix behavior of multiple `app.VERB` for the same path1602 * fix issue routing requests among sub routers1603 * invoke `router.param()` only when necessary instead of every match1604 * proper proxy trust with `app.set('trust proxy', trust)`1605 - `app.set('trust proxy', 1)` trust first hop1606 - `app.set('trust proxy', 'loopback')` trust loopback addresses1607 - `app.set('trust proxy', '10.0.0.1')` trust single IP1608 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet1609 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list1610 - `app.set('trust proxy', false)` turn off1611 - `app.set('trust proxy', true)` trust everything1612 * set proper `charset` in `Content-Type` for `res.send`1613 * update type-is to 1.2.01614 - support suffix matching161516164.2.0 / 2014-05-111617==================16181619 * deprecate `app.del()` -- use `app.delete()` instead1620 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead1621 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`1622 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead1623 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`1624 * fix `req.next` when inside router instance1625 * include `ETag` header in `HEAD` requests1626 * keep previous `Content-Type` for `res.jsonp`1627 * support PURGE method1628 - add `app.purge`1629 - add `router.purge`1630 - include PURGE in `app.all`1631 * update debug to 0.8.01632 - add `enable()` method1633 - change from stderr to stdout1634 * update methods to 1.0.01635 - add PURGE163616374.1.2 / 2014-05-081638==================16391640 * fix `req.host` for IPv6 literals1641 * fix `res.jsonp` error if callback param is object164216434.1.1 / 2014-04-271644==================16451646 * fix package.json to reflect supported node version164716484.1.0 / 2014-04-241649==================16501651 * pass options from `res.sendfile` to `send`1652 * preserve casing of headers in `res.header` and `res.set`1653 * support unicode file names in `res.attachment` and `res.download`1654 * update accepts to 1.0.11655 - deps: negotiator@0.4.01656 * update cookie to 0.1.21657 - Fix for maxAge == 01658 - made compat with expires field1659 * update send to 0.3.01660 - Accept API options in options object1661 - Coerce option types1662 - Control whether to generate etags1663 - Default directory access to 403 when index disabled1664 - Fix sending files with dots without root set1665 - Include file path in etag1666 - Make "Can't set headers after they are sent." catchable1667 - Send full entity-body for multi range requests1668 - Set etags to "weak"1669 - Support "If-Range" header1670 - Support multiple index paths1671 - deps: mime@1.2.111672 * update serve-static to 1.1.01673 - Accept options directly to `send` module1674 - Resolve relative paths at middleware setup1675 - Use parseurl to parse the URL from request1676 - deps: send@0.3.01677 * update type-is to 1.1.01678 - add non-array values support1679 - add `multipart` as a shorthand168016814.0.0 / 2014-04-091682==================16831684 * remove:1685 - node 0.8 support1686 - connect and connect's patches except for charset handling1687 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)1688 - `express.createServer()` - it has been deprecated for a long time. Use `express()`1689 - `app.configure` - use logic in your own app code1690 - `app.router` - is removed1691 - `req.auth` - use `basic-auth` instead1692 - `req.accepted*` - use `req.accepts*()` instead1693 - `res.location` - relative URL resolution is removed1694 - `res.charset` - include the charset in the content type when using `res.set()`1695 - all bundled middleware except `static`1696 * change:1697 - `app.route` -> `app.mountpath` when mounting an express app in another express app1698 - `json spaces` no longer enabled by default in development1699 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`1700 - `req.params` is now an object instead of an array1701 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.1702 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object1703 * refactor:1704 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)1705 - `req.is` with [type-is](https://github.com/expressjs/type-is)1706 - [path-to-regexp](https://github.com/component/path-to-regexp)1707 * add:1708 - `app.router()` - returns the app Router instance1709 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route1710 - Router & Route - public APIMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
lines 1711–1726why, one step back171117123.21.2 / 2015-07-311713===================17141715 * deps: connect@2.30.21716 - deps: body-parser@~1.13.31717 - deps: compression@~1.5.21718 - deps: errorhandler@~1.4.21719 - deps: method-override@~2.3.51720 - deps: serve-index@~1.7.21721 - deps: type-is@~1.6.61722 - deps: vhost@~3.0.11723 * deps: vary@~1.0.11724 - Fix setting empty header from empty `field`1725 - perf: enable strict mode1726 - perf: remove argument reassignmentsMerge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
line 1727why, one step back1727Merge tag '4.13.1'Douglas Christopher Wilsonbefore adoptionb309b87
lines 1728–1795why, one step back17283.21.1 / 2015-07-051729===================17301731 * deps: basic-auth@~1.0.31732 * deps: connect@2.30.11733 - deps: body-parser@~1.13.21734 - deps: compression@~1.5.11735 - deps: errorhandler@~1.4.11736 - deps: morgan@~1.6.11737 - deps: pause@0.1.01738 - deps: qs@4.0.01739 - deps: serve-index@~1.7.11740 - deps: type-is@~1.6.4174117423.21.0 / 2015-06-181743===================17441745 * deps: basic-auth@1.0.21746 - perf: enable strict mode1747 - perf: hoist regular expression1748 - perf: parse with regular expressions1749 - perf: remove argument reassignment1750 * deps: connect@2.30.01751 - deps: body-parser@~1.13.11752 - deps: bytes@2.1.01753 - deps: compression@~1.5.01754 - deps: cookie@0.1.31755 - deps: cookie-parser@~1.3.51756 - deps: csurf@~1.8.31757 - deps: errorhandler@~1.4.01758 - deps: express-session@~1.11.31759 - deps: finalhandler@0.4.01760 - deps: fresh@0.3.01761 - deps: morgan@~1.6.01762 - deps: serve-favicon@~2.3.01763 - deps: serve-index@~1.7.01764 - deps: serve-static@~1.10.01765 - deps: type-is@~1.6.31766 * deps: cookie@0.1.31767 - perf: deduce the scope of try-catch deopt1768 - perf: remove argument reassignments1769 * deps: escape-html@1.0.21770 * deps: etag@~1.7.01771 - Always include entity length in ETags for hash length extensions1772 - Generate non-Stats ETags using MD5 only (no longer CRC32)1773 - Improve stat performance by removing hashing1774 - Improve support for JXcore1775 - Remove base64 padding in ETags to shorten1776 - Support "fake" stats objects in environments without fs1777 - Use MD5 instead of MD4 in weak ETags over 1KB1778 * deps: fresh@0.3.01779 - Add weak `ETag` matching support1780 * deps: mkdirp@0.5.11781 - Work in global strict mode1782 * deps: send@0.13.01783 - Allow Node.js HTTP server to set `Date` response header1784 - Fix incorrectly removing `Content-Location` on 304 response1785 - Improve the default redirect response headers1786 - Send appropriate headers on default error response1787 - Use `http-errors` for standard emitted errors1788 - Use `statuses` instead of `http` module for status messages1789 - deps: escape-html@1.0.21790 - deps: etag@~1.7.01791 - deps: fresh@0.3.01792 - deps: on-finished@~2.3.01793 - perf: enable strict mode1794 - perf: remove unnecessary array allocations1795Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
lines 1796–1858why, one step back17963.20.3 / 2015-05-171797===================17981799 * deps: connect@2.29.21800 - deps: body-parser@~1.12.41801 - deps: compression@~1.4.41802 - deps: connect-timeout@~1.6.21803 - deps: debug@~2.2.01804 - deps: depd@~1.0.11805 - deps: errorhandler@~1.3.61806 - deps: finalhandler@0.3.61807 - deps: method-override@~2.3.31808 - deps: morgan@~1.5.31809 - deps: qs@2.4.21810 - deps: response-time@~2.3.11811 - deps: serve-favicon@~2.2.11812 - deps: serve-index@~1.6.41813 - deps: serve-static@~1.9.31814 - deps: type-is@~1.6.21815 * deps: debug@~2.2.01816 - deps: ms@0.7.11817 * deps: depd@~1.0.11818 * deps: proxy-addr@~1.0.81819 - deps: ipaddr.js@1.0.11820 * deps: send@0.12.31821 - deps: debug@~2.2.01822 - deps: depd@~1.0.11823 - deps: etag@~1.6.01824 - deps: ms@0.7.11825 - deps: on-finished@~2.2.1182618273.20.2 / 2015-03-161828===================18291830 * deps: connect@2.29.11831 - deps: body-parser@~1.12.21832 - deps: compression@~1.4.31833 - deps: connect-timeout@~1.6.11834 - deps: debug@~2.1.31835 - deps: errorhandler@~1.3.51836 - deps: express-session@~1.10.41837 - deps: finalhandler@0.3.41838 - deps: method-override@~2.3.21839 - deps: morgan@~1.5.21840 - deps: qs@2.4.11841 - deps: serve-index@~1.6.31842 - deps: serve-static@~1.9.21843 - deps: type-is@~1.6.11844 * deps: debug@~2.1.31845 - Fix high intensity foreground color for bold1846 - deps: ms@0.7.01847 * deps: merge-descriptors@1.0.01848 * deps: proxy-addr@~1.0.71849 - deps: ipaddr.js@0.1.91850 * deps: send@0.12.21851 - Throw errors early for invalid `extensions` or `index` options1852 - deps: debug@~2.1.3185318543.20.1 / 2015-02-281855===================18561857 * Fix `req.host` when using "trust proxy" hops count1858 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops countMerge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
lines 1859–1886why, one step back185918603.20.0 / 2015-02-181861===================18621863 * Fix `"trust proxy"` setting to inherit when app is mounted1864 * Generate `ETag`s for all request responses1865 - No longer restricted to only responses for `GET` and `HEAD` requests1866 * Use `content-type` to parse `Content-Type` headers1867 * deps: connect@2.29.01868 - Use `content-type` to parse `Content-Type` headers1869 - deps: body-parser@~1.12.01870 - deps: compression@~1.4.11871 - deps: connect-timeout@~1.6.01872 - deps: cookie-parser@~1.3.41873 - deps: cookie-signature@1.0.61874 - deps: csurf@~1.7.01875 - deps: errorhandler@~1.3.41876 - deps: express-session@~1.10.31877 - deps: http-errors@~1.3.11878 - deps: response-time@~2.3.01879 - deps: serve-index@~1.6.21880 - deps: serve-static@~1.9.11881 - deps: type-is@~1.6.01882 * deps: cookie-signature@1.0.61883 * deps: send@0.12.11884 - Always read the stat size from the file1885 - Fix mutating passed-in `options`1886 - deps: mime@1.3.4Merge tag '4.11.2'Douglas Christopher Wilsonbefore adoptiona9ef9e1
lines 1887–1899why, one step back188718883.19.2 / 2015-02-011889===================18901891 * deps: connect@2.28.31892 - deps: compression@~1.3.11893 - deps: csurf@~1.6.61894 - deps: errorhandler@~1.3.31895 - deps: express-session@~1.10.21896 - deps: serve-index@~1.6.11897 - deps: type-is@~1.5.61898 * deps: proxy-addr@~1.0.61899 - deps: ipaddr.js@0.1.8Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
lines 1900–1977why, one step back190019013.19.1 / 2015-01-201902===================19031904 * deps: connect@2.28.21905 - deps: body-parser@~1.10.21906 - deps: serve-static@~1.8.11907 * deps: send@0.11.11908 - Fix root path disclosure190919103.19.0 / 2015-01-091911===================19121913 * Fix `OPTIONS` responses to include the `HEAD` method property1914 * Use `readline` for prompt in `express(1)`1915 * deps: commander@2.6.01916 * deps: connect@2.28.11917 - deps: body-parser@~1.10.11918 - deps: compression@~1.3.01919 - deps: connect-timeout@~1.5.01920 - deps: csurf@~1.6.41921 - deps: debug@~2.1.11922 - deps: errorhandler@~1.3.21923 - deps: express-session@~1.10.11924 - deps: finalhandler@0.3.31925 - deps: method-override@~2.3.11926 - deps: morgan@~1.5.11927 - deps: serve-favicon@~2.2.01928 - deps: serve-index@~1.6.01929 - deps: serve-static@~1.8.01930 - deps: type-is@~1.5.51931 * deps: debug@~2.1.11932 * deps: methods@~1.1.11933 * deps: proxy-addr@~1.0.51934 - deps: ipaddr.js@0.1.61935 * deps: send@0.11.01936 - deps: debug@~2.1.11937 - deps: etag@~1.5.11938 - deps: ms@0.7.01939 - deps: on-finished@~2.2.0194019413.18.6 / 2014-12-121942===================19431944 * Fix exception in `req.fresh`/`req.stale` without response headers194519463.18.5 / 2014-12-111947===================19481949 * deps: connect@2.27.61950 - deps: compression@~1.2.21951 - deps: express-session@~1.9.31952 - deps: http-errors@~1.2.81953 - deps: serve-index@~1.5.31954 - deps: type-is@~1.5.4195519563.18.4 / 2014-11-231957===================19581959 * deps: connect@2.27.41960 - deps: body-parser@~1.9.31961 - deps: compression@~1.2.11962 - deps: errorhandler@~1.2.31963 - deps: express-session@~1.9.21964 - deps: qs@2.3.31965 - deps: serve-favicon@~2.1.71966 - deps: serve-static@~1.5.11967 - deps: type-is@~1.5.31968 * deps: etag@~1.5.11969 * deps: proxy-addr@~1.0.41970 - deps: ipaddr.js@0.1.5197119723.18.3 / 2014-11-091973===================19741975 * deps: connect@2.27.31976 - Correctly invoke async callback asynchronously1977 - deps: csurf@~1.6.3Merge tag '3.18.1'Douglas Christopher Wilsonbefore adoptionccc45a7
line 1978why, one step back1978Merge tag '3.18.2'Douglas Christopher Wilsonbefore adoptionab6c189
lines 1979–1986why, one step back19793.18.2 / 2014-10-281980===================19811982 * deps: connect@2.27.21983 - Fix handling of URLs containing `://` in the path1984 - deps: body-parser@~1.9.21985 - deps: qs@2.3.21986Merge tag '3.18.1'Douglas Christopher Wilsonbefore adoptionccc45a7
lines 1987–2030why, one step back19873.18.1 / 2014-10-221988===================19891990 * Fix internal `utils.merge` deprecation warnings1991 * deps: connect@2.27.11992 - deps: body-parser@~1.9.11993 - deps: express-session@~1.9.11994 - deps: finalhandler@0.3.21995 - deps: morgan@~1.4.11996 - deps: qs@2.3.01997 - deps: serve-static@~1.7.11998 * deps: send@0.10.11999 - deps: on-finished@~2.1.12000The first 2,000 of 3,851 lines.