You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3656 lines
112 KiB

3 months ago
  1. 4.21.2 / 2024-11-06
  2. ==========
  3. * deps: path-to-regexp@0.1.12
  4. - Fix backtracking protection
  5. * deps: path-to-regexp@0.1.11
  6. - Throws an error on invalid path values
  7. 4.21.1 / 2024-10-08
  8. ==========
  9. * Backported a fix for [CVE-2024-47764](https://nvd.nist.gov/vuln/detail/CVE-2024-47764)
  10. 4.21.0 / 2024-09-11
  11. ==========
  12. * Deprecate `res.location("back")` and `res.redirect("back")` magic string
  13. * deps: serve-static@1.16.2
  14. * includes send@0.19.0
  15. * deps: finalhandler@1.3.1
  16. * deps: qs@6.13.0
  17. 4.20.0 / 2024-09-10
  18. ==========
  19. * deps: serve-static@0.16.0
  20. * Remove link renderization in html while redirecting
  21. * deps: send@0.19.0
  22. * Remove link renderization in html while redirecting
  23. * deps: body-parser@0.6.0
  24. * add `depth` option to customize the depth level in the parser
  25. * IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)
  26. * Remove link renderization in html while using `res.redirect`
  27. * deps: path-to-regexp@0.1.10
  28. - Adds support for named matching groups in the routes using a regex
  29. - Adds backtracking protection to parameters without regexes defined
  30. * deps: encodeurl@~2.0.0
  31. - Removes encoding of `\`, `|`, and `^` to align better with URL spec
  32. * Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie`
  33. - Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
  34. 4.19.2 / 2024-03-25
  35. ==========
  36. * Improved fix for open redirect allow list bypass
  37. 4.19.1 / 2024-03-20
  38. ==========
  39. * Allow passing non-strings to res.location with new encoding handling checks
  40. 4.19.0 / 2024-03-20
  41. ==========
  42. * Prevent open redirect allow list bypass due to encodeurl
  43. * deps: cookie@0.6.0
  44. 4.18.3 / 2024-02-29
  45. ==========
  46. * Fix routing requests without method
  47. * deps: body-parser@1.20.2
  48. - Fix strict json error message on Node.js 19+
  49. - deps: content-type@~1.0.5
  50. - deps: raw-body@2.5.2
  51. * deps: cookie@0.6.0
  52. - Add `partitioned` option
  53. 4.18.2 / 2022-10-08
  54. ===================
  55. * Fix regression routing a large stack in a single route
  56. * deps: body-parser@1.20.1
  57. - deps: qs@6.11.0
  58. - perf: remove unnecessary object clone
  59. * deps: qs@6.11.0
  60. 4.18.1 / 2022-04-29
  61. ===================
  62. * Fix hanging on large stack of sync routes
  63. 4.18.0 / 2022-04-25
  64. ===================
  65. * Add "root" option to `res.download`
  66. * Allow `options` without `filename` in `res.download`
  67. * Deprecate string and non-integer arguments to `res.status`
  68. * Fix behavior of `null`/`undefined` as `maxAge` in `res.cookie`
  69. * Fix handling very large stacks of sync middleware
  70. * Ignore `Object.prototype` values in settings through `app.set`/`app.get`
  71. * Invoke `default` with same arguments as types in `res.format`
  72. * Support proper 205 responses using `res.send`
  73. * Use `http-errors` for `res.format` error
  74. * deps: body-parser@1.20.0
  75. - Fix error message for json parse whitespace in `strict`
  76. - Fix internal error when inflated body exceeds limit
  77. - Prevent loss of async hooks context
  78. - Prevent hanging when request already read
  79. - deps: depd@2.0.0
  80. - deps: http-errors@2.0.0
  81. - deps: on-finished@2.4.1
  82. - deps: qs@6.10.3
  83. - deps: raw-body@2.5.1
  84. * deps: cookie@0.5.0
  85. - Add `priority` option
  86. - Fix `expires` option to reject invalid dates
  87. * deps: depd@2.0.0
  88. - Replace internal `eval` usage with `Function` constructor
  89. - Use instance methods on `process` to check for listeners
  90. * deps: finalhandler@1.2.0
  91. - Remove set content headers that break response
  92. - deps: on-finished@2.4.1
  93. - deps: statuses@2.0.1
  94. * deps: on-finished@2.4.1
  95. - Prevent loss of async hooks context
  96. * deps: qs@6.10.3
  97. * deps: send@0.18.0
  98. - Fix emitted 416 error missing headers property
  99. - Limit the headers removed for 304 response
  100. - deps: depd@2.0.0
  101. - deps: destroy@1.2.0
  102. - deps: http-errors@2.0.0
  103. - deps: on-finished@2.4.1
  104. - deps: statuses@2.0.1
  105. * deps: serve-static@1.15.0
  106. - deps: send@0.18.0
  107. * deps: statuses@2.0.1
  108. - Remove code 306
  109. - Rename `425 Unordered Collection` to standard `425 Too Early`
  110. 4.17.3 / 2022-02-16
  111. ===================
  112. * deps: accepts@~1.3.8
  113. - deps: mime-types@~2.1.34
  114. - deps: negotiator@0.6.3
  115. * deps: body-parser@1.19.2
  116. - deps: bytes@3.1.2
  117. - deps: qs@6.9.7
  118. - deps: raw-body@2.4.3
  119. * deps: cookie@0.4.2
  120. * deps: qs@6.9.7
  121. * Fix handling of `__proto__` keys
  122. * pref: remove unnecessary regexp for trust proxy
  123. 4.17.2 / 2021-12-16
  124. ===================
  125. * Fix handling of `undefined` in `res.jsonp`
  126. * Fix handling of `undefined` when `"json escape"` is enabled
  127. * Fix incorrect middleware execution with unanchored `RegExp`s
  128. * Fix `res.jsonp(obj, status)` deprecation message
  129. * Fix typo in `res.is` JSDoc
  130. * deps: body-parser@1.19.1
  131. - deps: bytes@3.1.1
  132. - deps: http-errors@1.8.1
  133. - deps: qs@6.9.6
  134. - deps: raw-body@2.4.2
  135. - deps: safe-buffer@5.2.1
  136. - deps: type-is@~1.6.18
  137. * deps: content-disposition@0.5.4
  138. - deps: safe-buffer@5.2.1
  139. * deps: cookie@0.4.1
  140. - Fix `maxAge` option to reject invalid values
  141. * deps: proxy-addr@~2.0.7
  142. - Use `req.socket` over deprecated `req.connection`
  143. - deps: forwarded@0.2.0
  144. - deps: ipaddr.js@1.9.1
  145. * deps: qs@6.9.6
  146. * deps: safe-buffer@5.2.1
  147. * deps: send@0.17.2
  148. - deps: http-errors@1.8.1
  149. - deps: ms@2.1.3
  150. - pref: ignore empty http tokens
  151. * deps: serve-static@1.14.2
  152. - deps: send@0.17.2
  153. * deps: setprototypeof@1.2.0
  154. 4.17.1 / 2019-05-25
  155. ===================
  156. * Revert "Improve error message for `null`/`undefined` to `res.status`"
  157. 4.17.0 / 2019-05-16
  158. ===================
  159. * Add `express.raw` to parse bodies into `Buffer`
  160. * Add `express.text` to parse bodies into string
  161. * Improve error message for non-strings to `res.sendFile`
  162. * Improve error message for `null`/`undefined` to `res.status`
  163. * Support multiple hosts in `X-Forwarded-Host`
  164. * deps: accepts@~1.3.7
  165. * deps: body-parser@1.19.0
  166. - Add encoding MIK
  167. - Add petabyte (`pb`) support
  168. - Fix parsing array brackets after index
  169. - deps: bytes@3.1.0
  170. - deps: http-errors@1.7.2
  171. - deps: iconv-lite@0.4.24
  172. - deps: qs@6.7.0
  173. - deps: raw-body@2.4.0
  174. - deps: type-is@~1.6.17
  175. * deps: content-disposition@0.5.3
  176. * deps: cookie@0.4.0
  177. - Add `SameSite=None` support
  178. * deps: finalhandler@~1.1.2
  179. - Set stricter `Content-Security-Policy` header
  180. - deps: parseurl@~1.3.3
  181. - deps: statuses@~1.5.0
  182. * deps: parseurl@~1.3.3
  183. * deps: proxy-addr@~2.0.5
  184. - deps: ipaddr.js@1.9.0
  185. * deps: qs@6.7.0
  186. - Fix parsing array brackets after index
  187. * deps: range-parser@~1.2.1
  188. * deps: send@0.17.1
  189. - Set stricter CSP header in redirect & error responses
  190. - deps: http-errors@~1.7.2
  191. - deps: mime@1.6.0
  192. - deps: ms@2.1.1
  193. - deps: range-parser@~1.2.1
  194. - deps: statuses@~1.5.0
  195. - perf: remove redundant `path.normalize` call
  196. * deps: serve-static@1.14.1
  197. - Set stricter CSP header in redirect response
  198. - deps: parseurl@~1.3.3
  199. - deps: send@0.17.1
  200. * deps: setprototypeof@1.1.1
  201. * deps: statuses@~1.5.0
  202. - Add `103 Early Hints`
  203. * deps: type-is@~1.6.18
  204. - deps: mime-types@~2.1.24
  205. - perf: prevent internal `throw` on invalid type
  206. 4.16.4 / 2018-10-10
  207. ===================
  208. * Fix issue where `"Request aborted"` may be logged in `res.sendfile`
  209. * Fix JSDoc for `Router` constructor
  210. * deps: body-parser@1.18.3
  211. - Fix deprecation warnings on Node.js 10+
  212. - Fix stack trace for strict json parse error
  213. - deps: depd@~1.1.2
  214. - deps: http-errors@~1.6.3
  215. - deps: iconv-lite@0.4.23
  216. - deps: qs@6.5.2
  217. - deps: raw-body@2.3.3
  218. - deps: type-is@~1.6.16
  219. * deps: proxy-addr@~2.0.4
  220. - deps: ipaddr.js@1.8.0
  221. * deps: qs@6.5.2
  222. * deps: safe-buffer@5.1.2
  223. 4.16.3 / 2018-03-12
  224. ===================
  225. * deps: accepts@~1.3.5
  226. - deps: mime-types@~2.1.18
  227. * deps: depd@~1.1.2
  228. - perf: remove argument reassignment
  229. * deps: encodeurl@~1.0.2
  230. - Fix encoding `%` as last character
  231. * deps: finalhandler@1.1.1
  232. - Fix 404 output for bad / missing pathnames
  233. - deps: encodeurl@~1.0.2
  234. - deps: statuses@~1.4.0
  235. * deps: proxy-addr@~2.0.3
  236. - deps: ipaddr.js@1.6.0
  237. * deps: send@0.16.2
  238. - Fix incorrect end tag in default error & redirects
  239. - deps: depd@~1.1.2
  240. - deps: encodeurl@~1.0.2
  241. - deps: statuses@~1.4.0
  242. * deps: serve-static@1.13.2
  243. - Fix incorrect end tag in redirects
  244. - deps: encodeurl@~1.0.2
  245. - deps: send@0.16.2
  246. * deps: statuses@~1.4.0
  247. * deps: type-is@~1.6.16
  248. - deps: mime-types@~2.1.18
  249. 4.16.2 / 2017-10-09
  250. ===================
  251. * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
  252. * perf: skip parsing of entire `X-Forwarded-Proto` header
  253. 4.16.1 / 2017-09-29
  254. ===================
  255. * deps: send@0.16.1
  256. * deps: serve-static@1.13.1
  257. - Fix regression when `root` is incorrectly set to a file
  258. - deps: send@0.16.1
  259. 4.16.0 / 2017-09-28
  260. ===================
  261. * Add `"json escape"` setting for `res.json` and `res.jsonp`
  262. * Add `express.json` and `express.urlencoded` to parse bodies
  263. * Add `options` argument to `res.download`
  264. * Improve error message when autoloading invalid view engine
  265. * Improve error messages when non-function provided as middleware
  266. * Skip `Buffer` encoding when not generating ETag for small response
  267. * Use `safe-buffer` for improved Buffer API
  268. * deps: accepts@~1.3.4
  269. - deps: mime-types@~2.1.16
  270. * deps: content-type@~1.0.4
  271. - perf: remove argument reassignment
  272. - perf: skip parameter parsing when no parameters
  273. * deps: etag@~1.8.1
  274. - perf: replace regular expression with substring
  275. * deps: finalhandler@1.1.0
  276. - Use `res.headersSent` when available
  277. * deps: parseurl@~1.3.2
  278. - perf: reduce overhead for full URLs
  279. - perf: unroll the "fast-path" `RegExp`
  280. * deps: proxy-addr@~2.0.2
  281. - Fix trimming leading / trailing OWS in `X-Forwarded-For`
  282. - deps: forwarded@~0.1.2
  283. - deps: ipaddr.js@1.5.2
  284. - perf: reduce overhead when no `X-Forwarded-For` header
  285. * deps: qs@6.5.1
  286. - Fix parsing & compacting very deep objects
  287. * deps: send@0.16.0
  288. - Add 70 new types for file extensions
  289. - Add `immutable` option
  290. - Fix missing `</html>` in default error & redirects
  291. - Set charset as "UTF-8" for .js and .json
  292. - Use instance methods on steam to check for listeners
  293. - deps: mime@1.4.1
  294. - perf: improve path validation speed
  295. * deps: serve-static@1.13.0
  296. - Add 70 new types for file extensions
  297. - Add `immutable` option
  298. - Set charset as "UTF-8" for .js and .json
  299. - deps: send@0.16.0
  300. * deps: setprototypeof@1.1.0
  301. * deps: utils-merge@1.0.1
  302. * deps: vary@~1.1.2
  303. - perf: improve header token parsing speed
  304. * perf: re-use options object when generating ETags
  305. * perf: remove dead `.charset` set in `res.jsonp`
  306. 4.15.5 / 2017-09-24
  307. ===================
  308. * deps: debug@2.6.9
  309. * deps: finalhandler@~1.0.6
  310. - deps: debug@2.6.9
  311. - deps: parseurl@~1.3.2
  312. * deps: fresh@0.5.2
  313. - Fix handling of modified headers with invalid dates
  314. - perf: improve ETag match loop
  315. - perf: improve `If-None-Match` token parsing
  316. * deps: send@0.15.6
  317. - Fix handling of modified headers with invalid dates
  318. - deps: debug@2.6.9
  319. - deps: etag@~1.8.1
  320. - deps: fresh@0.5.2
  321. - perf: improve `If-Match` token parsing
  322. * deps: serve-static@1.12.6
  323. - deps: parseurl@~1.3.2
  324. - deps: send@0.15.6
  325. - perf: improve slash collapsing
  326. 4.15.4 / 2017-08-06
  327. ===================
  328. * deps: debug@2.6.8
  329. * deps: depd@~1.1.1
  330. - Remove unnecessary `Buffer` loading
  331. * deps: finalhandler@~1.0.4
  332. - deps: debug@2.6.8
  333. * deps: proxy-addr@~1.1.5
  334. - Fix array argument being altered
  335. - deps: ipaddr.js@1.4.0
  336. * deps: qs@6.5.0
  337. * deps: send@0.15.4
  338. - deps: debug@2.6.8
  339. - deps: depd@~1.1.1
  340. - deps: http-errors@~1.6.2
  341. * deps: serve-static@1.12.4
  342. - deps: send@0.15.4
  343. 4.15.3 / 2017-05-16
  344. ===================
  345. * Fix error when `res.set` cannot add charset to `Content-Type`
  346. * deps: debug@2.6.7
  347. - Fix `DEBUG_MAX_ARRAY_LENGTH`
  348. - deps: ms@2.0.0
  349. * deps: finalhandler@~1.0.3
  350. - Fix missing `</html>` in HTML document
  351. - deps: debug@2.6.7
  352. * deps: proxy-addr@~1.1.4
  353. - deps: ipaddr.js@1.3.0
  354. * deps: send@0.15.3
  355. - deps: debug@2.6.7
  356. - deps: ms@2.0.0
  357. * deps: serve-static@1.12.3
  358. - deps: send@0.15.3
  359. * deps: type-is@~1.6.15
  360. - deps: mime-types@~2.1.15
  361. * deps: vary@~1.1.1
  362. - perf: hoist regular expression
  363. 4.15.2 / 2017-03-06
  364. ===================
  365. * deps: qs@6.4.0
  366. - Fix regression parsing keys starting with `[`
  367. 4.15.1 / 2017-03-05
  368. ===================
  369. * deps: send@0.15.1
  370. - Fix issue when `Date.parse` does not return `NaN` on invalid date
  371. - Fix strict violation in broken environments
  372. * deps: serve-static@1.12.1
  373. - Fix issue when `Date.parse` does not return `NaN` on invalid date
  374. - deps: send@0.15.1
  375. 4.15.0 / 2017-03-01
  376. ===================
  377. * Add debug message when loading view engine
  378. * Add `next("router")` to exit from router
  379. * Fix case where `router.use` skipped requests routes did not
  380. * Remove usage of `res._headers` private field
  381. - Improves compatibility with Node.js 8 nightly
  382. * Skip routing when `req.url` is not set
  383. * Use `%o` in path debug to tell types apart
  384. * Use `Object.create` to setup request & response prototypes
  385. * Use `setprototypeof` module to replace `__proto__` setting
  386. * Use `statuses` instead of `http` module for status messages
  387. * deps: debug@2.6.1
  388. - Allow colors in workers
  389. - Deprecated `DEBUG_FD` environment variable set to `3` or higher
  390. - Fix error when running under React Native
  391. - Use same color for same namespace
  392. - deps: ms@0.7.2
  393. * deps: etag@~1.8.0
  394. - Use SHA1 instead of MD5 for ETag hashing
  395. - Works with FIPS 140-2 OpenSSL configuration
  396. * deps: finalhandler@~1.0.0
  397. - Fix exception when `err` cannot be converted to a string
  398. - Fully URL-encode the pathname in the 404
  399. - Only include the pathname in the 404 message
  400. - Send complete HTML document
  401. - Set `Content-Security-Policy: default-src 'self'` header
  402. - deps: debug@2.6.1
  403. * deps: fresh@0.5.0
  404. - Fix false detection of `no-cache` request directive
  405. - Fix incorrect result when `If-None-Match` has both `*` and ETags
  406. - Fix weak `ETag` matching to match spec
  407. - perf: delay reading header values until needed
  408. - perf: enable strict mode
  409. - perf: hoist regular expressions
  410. - perf: remove duplicate conditional
  411. - perf: remove unnecessary boolean coercions
  412. - perf: skip checking modified time if ETag check failed
  413. - perf: skip parsing `If-None-Match` when no `ETag` header
  414. - perf: use `Date.parse` instead of `new Date`
  415. * deps: qs@6.3.1
  416. - Fix array parsing from skipping empty values
  417. - Fix compacting nested arrays
  418. * deps: send@0.15.0
  419. - Fix false detection of `no-cache` request directive
  420. - Fix incorrect result when `If-None-Match` has both `*` and ETags
  421. - Fix weak `ETag` matching to match spec
  422. - Remove usage of `res._headers` private field
  423. - Support `If-Match` and `If-Unmodified-Since` headers
  424. - Use `res.getHeaderNames()` when available
  425. - Use `res.headersSent` when available
  426. - deps: debug@2.6.1
  427. - deps: etag@~1.8.0
  428. - deps: fresh@0.5.0
  429. - deps: http-errors@~1.6.1
  430. * deps: serve-static@1.12.0
  431. - Fix false detection of `no-cache` request directive
  432. - Fix incorrect result when `If-None-Match` has both `*` and ETags
  433. - Fix weak `ETag` matching to match spec
  434. - Remove usage of `res._headers` private field
  435. - Send complete HTML document in redirect response
  436. - Set default CSP header in redirect response
  437. - Support `If-Match` and `If-Unmodified-Since` headers
  438. - Use `res.getHeaderNames()` when available
  439. - Use `res.headersSent` when available
  440. - deps: send@0.15.0
  441. * perf: add fast match path for `*` route
  442. * perf: improve `req.ips` performance
  443. 4.14.1 / 2017-01-28
  444. ===================
  445. * deps: content-disposition@0.5.2
  446. * deps: finalhandler@0.5.1
  447. - Fix exception when `err.headers` is not an object
  448. - deps: statuses@~1.3.1
  449. - perf: hoist regular expressions
  450. - perf: remove duplicate validation path
  451. * deps: proxy-addr@~1.1.3
  452. - deps: ipaddr.js@1.2.0
  453. * deps: send@0.14.2
  454. - deps: http-errors@~1.5.1
  455. - deps: ms@0.7.2
  456. - deps: statuses@~1.3.1
  457. * deps: serve-static@~1.11.2
  458. - deps: send@0.14.2
  459. * deps: type-is@~1.6.14
  460. - deps: mime-types@~2.1.13
  461. 4.14.0 / 2016-06-16
  462. ===================
  463. * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
  464. * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
  465. * Add `options` argument to `req.range`
  466. - Includes the `combine` option
  467. * Encode URL in `res.location`/`res.redirect` if not already encoded
  468. * Fix some redirect handling in `res.sendFile`/`res.sendfile`
  469. * Fix Windows absolute path check using forward slashes
  470. * Improve error with invalid arguments to `req.get()`
  471. * Improve performance for `res.json`/`res.jsonp` in most cases
  472. * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
  473. * deps: accepts@~1.3.3
  474. - Fix including type extensions in parameters in `Accept` parsing
  475. - Fix parsing `Accept` parameters with quoted equals
  476. - Fix parsing `Accept` parameters with quoted semicolons
  477. - Many performance improvements
  478. - deps: mime-types@~2.1.11
  479. - deps: negotiator@0.6.1
  480. * deps: content-type@~1.0.2
  481. - perf: enable strict mode
  482. * deps: cookie@0.3.1
  483. - Add `sameSite` option
  484. - Fix cookie `Max-Age` to never be a floating point number
  485. - Improve error message when `encode` is not a function
  486. - Improve error message when `expires` is not a `Date`
  487. - Throw better error for invalid argument to parse
  488. - Throw on invalid values provided to `serialize`
  489. - perf: enable strict mode
  490. - perf: hoist regular expression
  491. - perf: use for loop in parse
  492. - perf: use string concatenation for serialization
  493. * deps: finalhandler@0.5.0
  494. - Change invalid or non-numeric status code to 500
  495. - Overwrite status message to match set status code
  496. - Prefer `err.statusCode` if `err.status` is invalid
  497. - Set response headers from `err.headers` object
  498. - Use `statuses` instead of `http` module for status messages
  499. * deps: proxy-addr@~1.1.2
  500. - Fix accepting various invalid netmasks
  501. - Fix IPv6-mapped IPv4 validation edge cases
  502. - IPv4 netmasks must be contiguous
  503. - IPv6 addresses cannot be used as a netmask
  504. - deps: ipaddr.js@1.1.1
  505. * deps: qs@6.2.0
  506. - Add `decoder` option in `parse` function
  507. * deps: range-parser@~1.2.0
  508. - Add `combine` option to combine overlapping ranges
  509. - Fix incorrectly returning -1 when there is at least one valid range
  510. - perf: remove internal function
  511. * deps: send@0.14.1
  512. - Add `acceptRanges` option
  513. - Add `cacheControl` option
  514. - Attempt to combine multiple ranges into single range
  515. - Correctly inherit from `Stream` class
  516. - Fix `Content-Range` header in 416 responses when using `start`/`end` options
  517. - Fix `Content-Range` header missing from default 416 responses
  518. - Fix redirect error when `path` contains raw non-URL characters
  519. - Fix redirect when `path` starts with multiple forward slashes
  520. - Ignore non-byte `Range` headers
  521. - deps: http-errors@~1.5.0
  522. - deps: range-parser@~1.2.0
  523. - deps: statuses@~1.3.0
  524. - perf: remove argument reassignment
  525. * deps: serve-static@~1.11.1
  526. - Add `acceptRanges` option
  527. - Add `cacheControl` option
  528. - Attempt to combine multiple ranges into single range
  529. - Fix redirect error when `req.url` contains raw non-URL characters
  530. - Ignore non-byte `Range` headers
  531. - Use status code 301 for redirects
  532. - deps: send@0.14.1
  533. * deps: type-is@~1.6.13
  534. - Fix type error when given invalid type to match against
  535. - deps: mime-types@~2.1.11
  536. * deps: vary@~1.1.0
  537. - Only accept valid field names in the `field` argument
  538. * perf: use strict equality when possible
  539. 4.13.4 / 2016-01-21
  540. ===================
  541. * deps: content-disposition@0.5.1
  542. - perf: enable strict mode
  543. * deps: cookie@0.1.5
  544. - Throw on invalid values provided to `serialize`
  545. * deps: depd@~1.1.0
  546. - Support web browser loading
  547. - perf: enable strict mode
  548. * deps: escape-html@~1.0.3
  549. - perf: enable strict mode
  550. - perf: optimize string replacement
  551. - perf: use faster string coercion
  552. * deps: finalhandler@0.4.1
  553. - deps: escape-html@~1.0.3
  554. * deps: merge-descriptors@1.0.1
  555. - perf: enable strict mode
  556. * deps: methods@~1.1.2
  557. - perf: enable strict mode
  558. * deps: parseurl@~1.3.1
  559. - perf: enable strict mode
  560. * deps: proxy-addr@~1.0.10
  561. - deps: ipaddr.js@1.0.5
  562. - perf: enable strict mode
  563. * deps: range-parser@~1.0.3
  564. - perf: enable strict mode
  565. * deps: send@0.13.1
  566. - deps: depd@~1.1.0
  567. - deps: destroy@~1.0.4
  568. - deps: escape-html@~1.0.3
  569. - deps: range-parser@~1.0.3
  570. * deps: serve-static@~1.10.2
  571. - deps: escape-html@~1.0.3
  572. - deps: parseurl@~1.3.0
  573. - deps: send@0.13.1
  574. 4.13.3 / 2015-08-02
  575. ===================
  576. * Fix infinite loop condition using `mergeParams: true`
  577. * Fix inner numeric indices incorrectly altering parent `req.params`
  578. 4.13.2 / 2015-07-31
  579. ===================
  580. * deps: accepts@~1.2.12
  581. - deps: mime-types@~2.1.4
  582. * deps: array-flatten@1.1.1
  583. - perf: enable strict mode
  584. * deps: path-to-regexp@0.1.7
  585. - Fix regression with escaped round brackets and matching groups
  586. * deps: type-is@~1.6.6
  587. - deps: mime-types@~2.1.4
  588. 4.13.1 / 2015-07-05
  589. ===================
  590. * deps: accepts@~1.2.10
  591. - deps: mime-types@~2.1.2
  592. * deps: qs@4.0.0
  593. - Fix dropping parameters like `hasOwnProperty`
  594. - Fix various parsing edge cases
  595. * deps: type-is@~1.6.4
  596. - deps: mime-types@~2.1.2
  597. - perf: enable strict mode
  598. - perf: remove argument reassignment
  599. 4.13.0 / 2015-06-20
  600. ===================
  601. * Add settings to debug output
  602. * Fix `res.format` error when only `default` provided
  603. * Fix issue where `next('route')` in `app.param` would incorrectly skip values
  604. * Fix hiding platform issues with `decodeURIComponent`
  605. - Only `URIError`s are a 400
  606. * Fix using `*` before params in routes
  607. * Fix using capture groups before params in routes
  608. * Simplify `res.cookie` to call `res.append`
  609. * Use `array-flatten` module for flattening arrays
  610. * deps: accepts@~1.2.9
  611. - deps: mime-types@~2.1.1
  612. - perf: avoid argument reassignment & argument slice
  613. - perf: avoid negotiator recursive construction
  614. - perf: enable strict mode
  615. - perf: remove unnecessary bitwise operator
  616. * deps: cookie@0.1.3
  617. - perf: deduce the scope of try-catch deopt
  618. - perf: remove argument reassignments
  619. * deps: escape-html@1.0.2
  620. * deps: etag@~1.7.0
  621. - Always include entity length in ETags for hash length extensions
  622. - Generate non-Stats ETags using MD5 only (no longer CRC32)
  623. - Improve stat performance by removing hashing
  624. - Improve support for JXcore
  625. - Remove base64 padding in ETags to shorten
  626. - Support "fake" stats objects in environments without fs
  627. - Use MD5 instead of MD4 in weak ETags over 1KB
  628. * deps: finalhandler@0.4.0
  629. - Fix a false-positive when unpiping in Node.js 0.8
  630. - Support `statusCode` property on `Error` objects
  631. - Use `unpipe` module for unpiping requests
  632. - deps: escape-html@1.0.2
  633. - deps: on-finished@~2.3.0
  634. - perf: enable strict mode
  635. - perf: remove argument reassignment
  636. * deps: fresh@0.3.0
  637. - Add weak `ETag` matching support
  638. * deps: on-finished@~2.3.0
  639. - Add defined behavior for HTTP `CONNECT` requests
  640. - Add defined behavior for HTTP `Upgrade` requests
  641. - deps: ee-first@1.1.1
  642. * deps: path-to-regexp@0.1.6
  643. * deps: send@0.13.0
  644. - Allow Node.js HTTP server to set `Date` response header
  645. - Fix incorrectly removing `Content-Location` on 304 response
  646. - Improve the default redirect response headers
  647. - Send appropriate headers on default error response
  648. - Use `http-errors` for standard emitted errors
  649. - Use `statuses` instead of `http` module for status messages
  650. - deps: escape-html@1.0.2
  651. - deps: etag@~1.7.0
  652. - deps: fresh@0.3.0
  653. - deps: on-finished@~2.3.0
  654. - perf: enable strict mode
  655. - perf: remove unnecessary array allocations
  656. * deps: serve-static@~1.10.0
  657. - Add `fallthrough` option
  658. - Fix reading options from options prototype
  659. - Improve the default redirect response headers
  660. - Malformed URLs now `next()` instead of 400
  661. - deps: escape-html@1.0.2
  662. - deps: send@0.13.0
  663. - perf: enable strict mode
  664. - perf: remove argument reassignment
  665. * deps: type-is@~1.6.3
  666. - deps: mime-types@~2.1.1
  667. - perf: reduce try block size
  668. - perf: remove bitwise operations
  669. * perf: enable strict mode
  670. * perf: isolate `app.render` try block
  671. * perf: remove argument reassignments in application
  672. * perf: remove argument reassignments in request prototype
  673. * perf: remove argument reassignments in response prototype
  674. * perf: remove argument reassignments in routing
  675. * perf: remove argument reassignments in `View`
  676. * perf: skip attempting to decode zero length string
  677. * perf: use saved reference to `http.STATUS_CODES`
  678. 4.12.4 / 2015-05-17
  679. ===================
  680. * deps: accepts@~1.2.7
  681. - deps: mime-types@~2.0.11
  682. - deps: negotiator@0.5.3
  683. * deps: debug@~2.2.0
  684. - deps: ms@0.7.1
  685. * deps: depd@~1.0.1
  686. * deps: etag@~1.6.0
  687. - Improve support for JXcore
  688. - Support "fake" stats objects in environments without `fs`
  689. * deps: finalhandler@0.3.6
  690. - deps: debug@~2.2.0
  691. - deps: on-finished@~2.2.1
  692. * deps: on-finished@~2.2.1
  693. - Fix `isFinished(req)` when data buffered
  694. * deps: proxy-addr@~1.0.8
  695. - deps: ipaddr.js@1.0.1
  696. * deps: qs@2.4.2
  697. - Fix allowing parameters like `constructor`
  698. * deps: send@0.12.3
  699. - deps: debug@~2.2.0
  700. - deps: depd@~1.0.1
  701. - deps: etag@~1.6.0
  702. - deps: ms@0.7.1
  703. - deps: on-finished@~2.2.1
  704. * deps: serve-static@~1.9.3
  705. - deps: send@0.12.3
  706. * deps: type-is@~1.6.2
  707. - deps: mime-types@~2.0.11
  708. 4.12.3 / 2015-03-17
  709. ===================
  710. * deps: accepts@~1.2.5
  711. - deps: mime-types@~2.0.10
  712. * deps: debug@~2.1.3
  713. - Fix high intensity foreground color for bold
  714. - deps: ms@0.7.0
  715. * deps: finalhandler@0.3.4
  716. - deps: debug@~2.1.3
  717. * deps: proxy-addr@~1.0.7
  718. - deps: ipaddr.js@0.1.9
  719. * deps: qs@2.4.1
  720. - Fix error when parameter `hasOwnProperty` is present
  721. * deps: send@0.12.2
  722. - Throw errors early for invalid `extensions` or `index` options
  723. - deps: debug@~2.1.3
  724. * deps: serve-static@~1.9.2
  725. - deps: send@0.12.2
  726. * deps: type-is@~1.6.1
  727. - deps: mime-types@~2.0.10
  728. 4.12.2 / 2015-03-02
  729. ===================
  730. * Fix regression where `"Request aborted"` is logged using `res.sendFile`
  731. 4.12.1 / 2015-03-01
  732. ===================
  733. * Fix constructing application with non-configurable prototype properties
  734. * Fix `ECONNRESET` errors from `res.sendFile` usage
  735. * Fix `req.host` when using "trust proxy" hops count
  736. * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
  737. * Fix wrong `code` on aborted connections from `res.sendFile`
  738. * deps: merge-descriptors@1.0.0
  739. 4.12.0 / 2015-02-23
  740. ===================
  741. * Fix `"trust proxy"` setting to inherit when app is mounted
  742. * Generate `ETag`s for all request responses
  743. - No longer restricted to only responses for `GET` and `HEAD` requests
  744. * Use `content-type` to parse `Content-Type` headers
  745. * deps: accepts@~1.2.4
  746. - Fix preference sorting to be stable for long acceptable lists
  747. - deps: mime-types@~2.0.9
  748. - deps: negotiator@0.5.1
  749. * deps: cookie-signature@1.0.6
  750. * deps: send@0.12.1
  751. - Always read the stat size from the file
  752. - Fix mutating passed-in `options`
  753. - deps: mime@1.3.4
  754. * deps: serve-static@~1.9.1
  755. - deps: send@0.12.1
  756. * deps: type-is@~1.6.0
  757. - fix argument reassignment
  758. - fix false-positives in `hasBody` `Transfer-Encoding` check
  759. - support wildcard for both type and subtype (`*/*`)
  760. - deps: mime-types@~2.0.9
  761. 4.11.2 / 2015-02-01
  762. ===================
  763. * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
  764. * deps: accepts@~1.2.3
  765. - deps: mime-types@~2.0.8
  766. * deps: proxy-addr@~1.0.6
  767. - deps: ipaddr.js@0.1.8
  768. * deps: type-is@~1.5.6
  769. - deps: mime-types@~2.0.8
  770. 4.11.1 / 2015-01-20
  771. ===================
  772. * deps: send@0.11.1
  773. - Fix root path disclosure
  774. * deps: serve-static@~1.8.1
  775. - Fix redirect loop in Node.js 0.11.14
  776. - Fix root path disclosure
  777. - deps: send@0.11.1
  778. 4.11.0 / 2015-01-13
  779. ===================
  780. * Add `res.append(field, val)` to append headers
  781. * Deprecate leading `:` in `name` for `app.param(name, fn)`
  782. * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
  783. * Deprecate `app.param(fn)`
  784. * Fix `OPTIONS` responses to include the `HEAD` method properly
  785. * Fix `res.sendFile` not always detecting aborted connection
  786. * Match routes iteratively to prevent stack overflows
  787. * deps: accepts@~1.2.2
  788. - deps: mime-types@~2.0.7
  789. - deps: negotiator@0.5.0
  790. * deps: send@0.11.0
  791. - deps: debug@~2.1.1
  792. - deps: etag@~1.5.1
  793. - deps: ms@0.7.0
  794. - deps: on-finished@~2.2.0
  795. * deps: serve-static@~1.8.0
  796. - deps: send@0.11.0
  797. 4.10.8 / 2015-01-13
  798. ===================
  799. * Fix crash from error within `OPTIONS` response handler
  800. * deps: proxy-addr@~1.0.5
  801. - deps: ipaddr.js@0.1.6
  802. 4.10.7 / 2015-01-04
  803. ===================
  804. * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
  805. * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
  806. * deps: debug@~2.1.1
  807. * deps: finalhandler@0.3.3
  808. - deps: debug@~2.1.1
  809. - deps: on-finished@~2.2.0
  810. * deps: methods@~1.1.1
  811. * deps: on-finished@~2.2.0
  812. * deps: serve-static@~1.7.2
  813. - Fix potential open redirect when mounted at root
  814. * deps: type-is@~1.5.5
  815. - deps: mime-types@~2.0.7
  816. 4.10.6 / 2014-12-12
  817. ===================
  818. * Fix exception in `req.fresh`/`req.stale` without response headers
  819. 4.10.5 / 2014-12-10
  820. ===================
  821. * Fix `res.send` double-calling `res.end` for `HEAD` requests
  822. * deps: accepts@~1.1.4
  823. - deps: mime-types@~2.0.4
  824. * deps: type-is@~1.5.4
  825. - deps: mime-types@~2.0.4
  826. 4.10.4 / 2014-11-24
  827. ===================
  828. * Fix `res.sendfile` logging standard write errors
  829. 4.10.3 / 2014-11-23
  830. ===================
  831. * Fix `res.sendFile` logging standard write errors
  832. * deps: etag@~1.5.1
  833. * deps: proxy-addr@~1.0.4
  834. - deps: ipaddr.js@0.1.5
  835. * deps: qs@2.3.3
  836. - Fix `arrayLimit` behavior
  837. 4.10.2 / 2014-11-09
  838. ===================
  839. * Correctly invoke async router callback asynchronously
  840. * deps: accepts@~1.1.3
  841. - deps: mime-types@~2.0.3
  842. * deps: type-is@~1.5.3
  843. - deps: mime-types@~2.0.3
  844. 4.10.1 / 2014-10-28
  845. ===================
  846. * Fix handling of URLs containing `://` in the path
  847. * deps: qs@2.3.2
  848. - Fix parsing of mixed objects and values
  849. 4.10.0 / 2014-10-23
  850. ===================
  851. * Add support for `app.set('views', array)`
  852. - Views are looked up in sequence in array of directories
  853. * Fix `res.send(status)` to mention `res.sendStatus(status)`
  854. * Fix handling of invalid empty URLs
  855. * Use `content-disposition` module for `res.attachment`/`res.download`
  856. - Sends standards-compliant `Content-Disposition` header
  857. - Full Unicode support
  858. * Use `path.resolve` in view lookup
  859. * deps: debug@~2.1.0
  860. - Implement `DEBUG_FD` env variable support
  861. * deps: depd@~1.0.0
  862. * deps: etag@~1.5.0
  863. - Improve string performance
  864. - Slightly improve speed for weak ETags over 1KB
  865. * deps: finalhandler@0.3.2
  866. - Terminate in progress response only on error
  867. - Use `on-finished` to determine request status
  868. - deps: debug@~2.1.0
  869. - deps: on-finished@~2.1.1
  870. * deps: on-finished@~2.1.1
  871. - Fix handling of pipelined requests
  872. * deps: qs@2.3.0
  873. - Fix parsing of mixed implicit and explicit arrays
  874. * deps: send@0.10.1
  875. - deps: debug@~2.1.0
  876. - deps: depd@~1.0.0
  877. - deps: etag@~1.5.0
  878. - deps: on-finished@~2.1.1
  879. * deps: serve-static@~1.7.1
  880. - deps: send@0.10.1
  881. 4.9.8 / 2014-10-17
  882. ==================
  883. * Fix `res.redirect` body when redirect status specified
  884. * deps: accepts@~1.1.2
  885. - Fix error when media type has invalid parameter
  886. - deps: negotiator@0.4.9
  887. 4.9.7 / 2014-10-10
  888. ==================
  889. * Fix using same param name in array of paths
  890. 4.9.6 / 2014-10-08
  891. ==================
  892. * deps: accepts@~1.1.1
  893. - deps: mime-types@~2.0.2
  894. - deps: negotiator@0.4.8
  895. * deps: serve-static@~1.6.4
  896. - Fix redirect loop when index file serving disabled
  897. * deps: type-is@~1.5.2
  898. - deps: mime-types@~2.0.2
  899. 4.9.5 / 2014-09-24
  900. ==================
  901. * deps: etag@~1.4.0
  902. * deps: proxy-addr@~1.0.3
  903. - Use `forwarded` npm module
  904. * deps: send@0.9.3
  905. - deps: etag@~1.4.0
  906. * deps: serve-static@~1.6.3
  907. - deps: send@0.9.3
  908. 4.9.4 / 2014-09-19
  909. ==================
  910. * deps: qs@2.2.4
  911. - Fix issue with object keys starting with numbers truncated
  912. 4.9.3 / 2014-09-18
  913. ==================
  914. * deps: proxy-addr@~1.0.2
  915. - Fix a global leak when multiple subnets are trusted
  916. - deps: ipaddr.js@0.1.3
  917. 4.9.2 / 2014-09-17
  918. ==================
  919. * Fix regression for empty string `path` in `app.use`
  920. * Fix `router.use` to accept array of middleware without path
  921. * Improve error message for bad `app.use` arguments
  922. 4.9.1 / 2014-09-16
  923. ==================
  924. * Fix `app.use` to accept array of middleware without path
  925. * deps: depd@0.4.5
  926. * deps: etag@~1.3.1
  927. * deps: send@0.9.2
  928. - deps: depd@0.4.5
  929. - deps: etag@~1.3.1
  930. - deps: range-parser@~1.0.2
  931. * deps: serve-static@~1.6.2
  932. - deps: send@0.9.2
  933. 4.9.0 / 2014-09-08
  934. ==================
  935. * Add `res.sendStatus`
  936. * Invoke callback for sendfile when client aborts
  937. - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
  938. - `err` will be populated with request aborted error
  939. * Support IP address host in `req.subdomains`
  940. * Use `etag` to generate `ETag` headers
  941. * deps: accepts@~1.1.0
  942. - update `mime-types`
  943. * deps: cookie-signature@1.0.5
  944. * deps: debug@~2.0.0
  945. * deps: finalhandler@0.2.0
  946. - Set `X-Content-Type-Options: nosniff` header
  947. - deps: debug@~2.0.0
  948. * deps: fresh@0.2.4
  949. * deps: media-typer@0.3.0
  950. - Throw error when parameter format invalid on parse
  951. * deps: qs@2.2.3
  952. - Fix issue where first empty value in array is discarded
  953. * deps: range-parser@~1.0.2
  954. * deps: send@0.9.1
  955. - Add `lastModified` option
  956. - Use `etag` to generate `ETag` header
  957. - deps: debug@~2.0.0
  958. - deps: fresh@0.2.4
  959. * deps: serve-static@~1.6.1
  960. - Add `lastModified` option
  961. - deps: send@0.9.1
  962. * deps: type-is@~1.5.1
  963. - fix `hasbody` to be true for `content-length: 0`
  964. - deps: media-typer@0.3.0
  965. - deps: mime-types@~2.0.1
  966. * deps: vary@~1.0.0
  967. - Accept valid `Vary` header string as `field`
  968. 4.8.8 / 2014-09-04
  969. ==================
  970. * deps: send@0.8.5
  971. - Fix a path traversal issue when using `root`
  972. - Fix malicious path detection for empty string path
  973. * deps: serve-static@~1.5.4
  974. - deps: send@0.8.5
  975. 4.8.7 / 2014-08-29
  976. ==================
  977. * deps: qs@2.2.2
  978. - Remove unnecessary cloning
  979. 4.8.6 / 2014-08-27
  980. ==================
  981. * deps: qs@2.2.0
  982. - Array parsing fix
  983. - Performance improvements
  984. 4.8.5 / 2014-08-18
  985. ==================
  986. * deps: send@0.8.3
  987. - deps: destroy@1.0.3
  988. - deps: on-finished@2.1.0
  989. * deps: serve-static@~1.5.3
  990. - deps: send@0.8.3
  991. 4.8.4 / 2014-08-14
  992. ==================
  993. * deps: qs@1.2.2
  994. * deps: send@0.8.2
  995. - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
  996. * deps: serve-static@~1.5.2
  997. - deps: send@0.8.2
  998. 4.8.3 / 2014-08-10
  999. ==================
  1000. * deps: parseurl@~1.3.0
  1001. * deps: qs@1.2.1
  1002. * deps: serve-static@~1.5.1
  1003. - Fix parsing of weird `req.originalUrl` values
  1004. - deps: parseurl@~1.3.0
  1005. - deps: utils-merge@1.0.0
  1006. 4.8.2 / 2014-08-07
  1007. ==================
  1008. * deps: qs@1.2.0
  1009. - Fix parsing array of objects
  1010. 4.8.1 / 2014-08-06
  1011. ==================
  1012. * fix incorrect deprecation warnings on `res.download`
  1013. * deps: qs@1.1.0
  1014. - Accept urlencoded square brackets
  1015. - Accept empty values in implicit array notation
  1016. 4.8.0 / 2014-08-05
  1017. ==================
  1018. * add `res.sendFile`
  1019. - accepts a file system path instead of a URL
  1020. - requires an absolute path or `root` option specified
  1021. * deprecate `res.sendfile` -- use `res.sendFile` instead
  1022. * support mounted app as any argument to `app.use()`
  1023. * deps: qs@1.0.2
  1024. - Complete rewrite
  1025. - Limits array length to 20
  1026. - Limits object depth to 5
  1027. - Limits parameters to 1,000
  1028. * deps: send@0.8.1
  1029. - Add `extensions` option
  1030. * deps: serve-static@~1.5.0
  1031. - Add `extensions` option
  1032. - deps: send@0.8.1
  1033. 4.7.4 / 2014-08-04
  1034. ==================
  1035. * fix `res.sendfile` regression for serving directory index files
  1036. * deps: send@0.7.4
  1037. - Fix incorrect 403 on Windows and Node.js 0.11
  1038. - Fix serving index files without root dir
  1039. * deps: serve-static@~1.4.4
  1040. - deps: send@0.7.4
  1041. 4.7.3 / 2014-08-04
  1042. ==================
  1043. * deps: send@0.7.3
  1044. - Fix incorrect 403 on Windows and Node.js 0.11
  1045. * deps: serve-static@~1.4.3
  1046. - Fix incorrect 403 on Windows and Node.js 0.11
  1047. - deps: send@0.7.3
  1048. 4.7.2 / 2014-07-27
  1049. ==================
  1050. * deps: depd@0.4.4
  1051. - Work-around v8 generating empty stack traces
  1052. * deps: send@0.7.2
  1053. - deps: depd@0.4.4
  1054. * deps: serve-static@~1.4.2
  1055. 4.7.1 / 2014-07-26
  1056. ==================
  1057. * deps: depd@0.4.3
  1058. - Fix exception when global `Error.stackTraceLimit` is too low
  1059. * deps: send@0.7.1
  1060. - deps: depd@0.4.3
  1061. * deps: serve-static@~1.4.1
  1062. 4.7.0 / 2014-07-25
  1063. ==================
  1064. * fix `req.protocol` for proxy-direct connections
  1065. * configurable query parser with `app.set('query parser', parser)`
  1066. - `app.set('query parser', 'extended')` parse with "qs" module
  1067. - `app.set('query parser', 'simple')` parse with "querystring" core module
  1068. - `app.set('query parser', false)` disable query string parsing
  1069. - `app.set('query parser', true)` enable simple parsing
  1070. * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
  1071. * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
  1072. * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
  1073. * deps: debug@1.0.4
  1074. * deps: depd@0.4.2
  1075. - Add `TRACE_DEPRECATION` environment variable
  1076. - Remove non-standard grey color from color output
  1077. - Support `--no-deprecation` argument
  1078. - Support `--trace-deprecation` argument
  1079. * deps: finalhandler@0.1.0
  1080. - Respond after request fully read
  1081. - deps: debug@1.0.4
  1082. * deps: parseurl@~1.2.0
  1083. - Cache URLs based on original value
  1084. - Remove no-longer-needed URL mis-parse work-around
  1085. - Simplify the "fast-path" `RegExp`
  1086. * deps: send@0.7.0
  1087. - Add `dotfiles` option
  1088. - Cap `maxAge` value to 1 year
  1089. - deps: debug@1.0.4
  1090. - deps: depd@0.4.2
  1091. * deps: serve-static@~1.4.0
  1092. - deps: parseurl@~1.2.0
  1093. - deps: send@0.7.0
  1094. * perf: prevent multiple `Buffer` creation in `res.send`
  1095. 4.6.1 / 2014-07-12
  1096. ==================
  1097. * fix `subapp.mountpath` regression for `app.use(subapp)`
  1098. 4.6.0 / 2014-07-11
  1099. ==================
  1100. * accept multiple callbacks to `app.use()`
  1101. * add explicit "Rosetta Flash JSONP abuse" protection
  1102. - previous versions are not vulnerable; this is just explicit protection
  1103. * catch errors in multiple `req.param(name, fn)` handlers
  1104. * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
  1105. * fix `res.send(status, num)` to send `num` as json (not error)
  1106. * remove unnecessary escaping when `res.jsonp` returns JSON response
  1107. * support non-string `path` in `app.use(path, fn)`
  1108. - supports array of paths
  1109. - supports `RegExp`
  1110. * router: fix optimization on router exit
  1111. * router: refactor location of `try` blocks
  1112. * router: speed up standard `app.use(fn)`
  1113. * deps: debug@1.0.3
  1114. - Add support for multiple wildcards in namespaces
  1115. * deps: finalhandler@0.0.3
  1116. - deps: debug@1.0.3
  1117. * deps: methods@1.1.0
  1118. - add `CONNECT`
  1119. * deps: parseurl@~1.1.3
  1120. - faster parsing of href-only URLs
  1121. * deps: path-to-regexp@0.1.3
  1122. * deps: send@0.6.0
  1123. - deps: debug@1.0.3
  1124. * deps: serve-static@~1.3.2
  1125. - deps: parseurl@~1.1.3
  1126. - deps: send@0.6.0
  1127. * perf: fix arguments reassign deopt in some `res` methods
  1128. 4.5.1 / 2014-07-06
  1129. ==================
  1130. * fix routing regression when altering `req.method`
  1131. 4.5.0 / 2014-07-04
  1132. ==================
  1133. * add deprecation message to non-plural `req.accepts*`
  1134. * add deprecation message to `res.send(body, status)`
  1135. * add deprecation message to `res.vary()`
  1136. * add `headers` option to `res.sendfile`
  1137. - use to set headers on successful file transfer
  1138. * add `mergeParams` option to `Router`
  1139. - merges `req.params` from parent routes
  1140. * add `req.hostname` -- correct name for what `req.host` returns
  1141. * deprecate things with `depd` module
  1142. * deprecate `req.host` -- use `req.hostname` instead
  1143. * fix behavior when handling request without routes
  1144. * fix handling when `route.all` is only route
  1145. * invoke `router.param()` only when route matches
  1146. * restore `req.params` after invoking router
  1147. * use `finalhandler` for final response handling
  1148. * use `media-typer` to alter content-type charset
  1149. * deps: accepts@~1.0.7
  1150. * deps: send@0.5.0
  1151. - Accept string for `maxage` (converted by `ms`)
  1152. - Include link in default redirect response
  1153. * deps: serve-static@~1.3.0
  1154. - Accept string for `maxAge` (converted by `ms`)
  1155. - Add `setHeaders` option
  1156. - Include HTML link in redirect response
  1157. - deps: send@0.5.0
  1158. * deps: type-is@~1.3.2
  1159. 4.4.5 / 2014-06-26
  1160. ==================
  1161. * deps: cookie-signature@1.0.4
  1162. - fix for timing attacks
  1163. 4.4.4 / 2014-06-20
  1164. ==================
  1165. * fix `res.attachment` Unicode filenames in Safari
  1166. * fix "trim prefix" debug message in `express:router`
  1167. * deps: accepts@~1.0.5
  1168. * deps: buffer-crc32@0.2.3
  1169. 4.4.3 / 2014-06-11
  1170. ==================
  1171. * fix persistence of modified `req.params[name]` from `app.param()`
  1172. * deps: accepts@1.0.3
  1173. - deps: negotiator@0.4.6
  1174. * deps: debug@1.0.2
  1175. * deps: send@0.4.3
  1176. - Do not throw uncatchable error on file open race condition
  1177. - Use `escape-html` for HTML escaping
  1178. - deps: debug@1.0.2
  1179. - deps: finished@1.2.2
  1180. - deps: fresh@0.2.2
  1181. * deps: serve-static@1.2.3
  1182. - Do not throw uncatchable error on file open race condition
  1183. - deps: send@0.4.3
  1184. 4.4.2 / 2014-06-09
  1185. ==================
  1186. * fix catching errors from top-level handlers
  1187. * use `vary` module for `res.vary`
  1188. * deps: debug@1.0.1
  1189. * deps: proxy-addr@1.0.1
  1190. * deps: send@0.4.2
  1191. - fix "event emitter leak" warnings
  1192. - deps: debug@1.0.1
  1193. - deps: finished@1.2.1
  1194. * deps: serve-static@1.2.2
  1195. - fix "event emitter leak" warnings
  1196. - deps: send@0.4.2
  1197. * deps: type-is@1.2.1
  1198. 4.4.1 / 2014-06-02
  1199. ==================
  1200. * deps: methods@1.0.1
  1201. * deps: send@0.4.1
  1202. - Send `max-age` in `Cache-Control` in correct format
  1203. * deps: serve-static@1.2.1
  1204. - use `escape-html` for escaping
  1205. - deps: send@0.4.1
  1206. 4.4.0 / 2014-05-30
  1207. ==================
  1208. * custom etag control with `app.set('etag', val)`
  1209. - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
  1210. - `app.set('etag', 'weak')` weak tag
  1211. - `app.set('etag', 'strong')` strong etag
  1212. - `app.set('etag', false)` turn off
  1213. - `app.set('etag', true)` standard etag
  1214. * mark `res.send` ETag as weak and reduce collisions
  1215. * update accepts to 1.0.2
  1216. - Fix interpretation when header not in request
  1217. * update send to 0.4.0
  1218. - Calculate ETag with md5 for reduced collisions
  1219. - Ignore stream errors after request ends
  1220. - deps: debug@0.8.1
  1221. * update serve-static to 1.2.0
  1222. - Calculate ETag with md5 for reduced collisions
  1223. - Ignore stream errors after request ends
  1224. - deps: send@0.4.0
  1225. 4.3.2 / 2014-05-28
  1226. ==================
  1227. * fix handling of errors from `router.param()` callbacks
  1228. 4.3.1 / 2014-05-23
  1229. ==================
  1230. * revert "fix behavior of multiple `app.VERB` for the same path"
  1231. - this caused a regression in the order of route execution
  1232. 4.3.0 / 2014-05-21
  1233. ==================
  1234. * add `req.baseUrl` to access the path stripped from `req.url` in routes
  1235. * fix behavior of multiple `app.VERB` for the same path
  1236. * fix issue routing requests among sub routers
  1237. * invoke `router.param()` only when necessary instead of every match
  1238. * proper proxy trust with `app.set('trust proxy', trust)`
  1239. - `app.set('trust proxy', 1)` trust first hop
  1240. - `app.set('trust proxy', 'loopback')` trust loopback addresses
  1241. - `app.set('trust proxy', '10.0.0.1')` trust single IP
  1242. - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
  1243. - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
  1244. - `app.set('trust proxy', false)` turn off
  1245. - `app.set('trust proxy', true)` trust everything
  1246. * set proper `charset` in `Content-Type` for `res.send`
  1247. * update type-is to 1.2.0
  1248. - support suffix matching
  1249. 4.2.0 / 2014-05-11
  1250. ==================
  1251. * deprecate `app.del()` -- use `app.delete()` instead
  1252. * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
  1253. - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
  1254. * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
  1255. - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
  1256. * fix `req.next` when inside router instance
  1257. * include `ETag` header in `HEAD` requests
  1258. * keep previous `Content-Type` for `res.jsonp`
  1259. * support PURGE method
  1260. - add `app.purge`
  1261. - add `router.purge`
  1262. - include PURGE in `app.all`
  1263. * update debug to 0.8.0
  1264. - add `enable()` method
  1265. - change from stderr to stdout
  1266. * update methods to 1.0.0
  1267. - add PURGE
  1268. 4.1.2 / 2014-05-08
  1269. ==================
  1270. * fix `req.host` for IPv6 literals
  1271. * fix `res.jsonp` error if callback param is object
  1272. 4.1.1 / 2014-04-27
  1273. ==================
  1274. * fix package.json to reflect supported node version
  1275. 4.1.0 / 2014-04-24
  1276. ==================
  1277. * pass options from `res.sendfile` to `send`
  1278. * preserve casing of headers in `res.header` and `res.set`
  1279. * support unicode file names in `res.attachment` and `res.download`
  1280. * update accepts to 1.0.1
  1281. - deps: negotiator@0.4.0
  1282. * update cookie to 0.1.2
  1283. - Fix for maxAge == 0
  1284. - made compat with expires field
  1285. * update send to 0.3.0
  1286. - Accept API options in options object
  1287. - Coerce option types
  1288. - Control whether to generate etags
  1289. - Default directory access to 403 when index disabled
  1290. - Fix sending files with dots without root set
  1291. - Include file path in etag
  1292. - Make "Can't set headers after they are sent." catchable
  1293. - Send full entity-body for multi range requests
  1294. - Set etags to "weak"
  1295. - Support "If-Range" header
  1296. - Support multiple index paths
  1297. - deps: mime@1.2.11
  1298. * update serve-static to 1.1.0
  1299. - Accept options directly to `send` module
  1300. - Resolve relative paths at middleware setup
  1301. - Use parseurl to parse the URL from request
  1302. - deps: send@0.3.0
  1303. * update type-is to 1.1.0
  1304. - add non-array values support
  1305. - add `multipart` as a shorthand
  1306. 4.0.0 / 2014-04-09
  1307. ==================
  1308. * remove:
  1309. - node 0.8 support
  1310. - connect and connect's patches except for charset handling
  1311. - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
  1312. - `express.createServer()` - it has been deprecated for a long time. Use `express()`
  1313. - `app.configure` - use logic in your own app code
  1314. - `app.router` - is removed
  1315. - `req.auth` - use `basic-auth` instead
  1316. - `req.accepted*` - use `req.accepts*()` instead
  1317. - `res.location` - relative URL resolution is removed
  1318. - `res.charset` - include the charset in the content type when using `res.set()`
  1319. - all bundled middleware except `static`
  1320. * change:
  1321. - `app.route` -> `app.mountpath` when mounting an express app in another express app
  1322. - `json spaces` no longer enabled by default in development
  1323. - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
  1324. - `req.params` is now an object instead of an array
  1325. - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
  1326. - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
  1327. * refactor:
  1328. - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
  1329. - `req.is` with [type-is](https://github.com/expressjs/type-is)
  1330. - [path-to-regexp](https://github.com/component/path-to-regexp)
  1331. * add:
  1332. - `app.router()` - returns the app Router instance
  1333. - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
  1334. - Router & Route - public API
  1335. 3.21.2 / 2015-07-31
  1336. ===================
  1337. * deps: connect@2.30.2
  1338. - deps: body-parser@~1.13.3
  1339. - deps: compression@~1.5.2
  1340. - deps: errorhandler@~1.4.2
  1341. - deps: method-override@~2.3.5
  1342. - deps: serve-index@~1.7.2
  1343. - deps: type-is@~1.6.6
  1344. - deps: vhost@~3.0.1
  1345. * deps: vary@~1.0.1
  1346. - Fix setting empty header from empty `field`
  1347. - perf: enable strict mode
  1348. - perf: remove argument reassignments
  1349. 3.21.1 / 2015-07-05
  1350. ===================
  1351. * deps: basic-auth@~1.0.3
  1352. * deps: connect@2.30.1
  1353. - deps: body-parser@~1.13.2
  1354. - deps: compression@~1.5.1
  1355. - deps: errorhandler@~1.4.1
  1356. - deps: morgan@~1.6.1
  1357. - deps: pause@0.1.0
  1358. - deps: qs@4.0.0
  1359. - deps: serve-index@~1.7.1
  1360. - deps: type-is@~1.6.4
  1361. 3.21.0 / 2015-06-18
  1362. ===================
  1363. * deps: basic-auth@1.0.2
  1364. - perf: enable strict mode
  1365. - perf: hoist regular expression
  1366. - perf: parse with regular expressions
  1367. - perf: remove argument reassignment
  1368. * deps: connect@2.30.0
  1369. - deps: body-parser@~1.13.1
  1370. - deps: bytes@2.1.0
  1371. - deps: compression@~1.5.0
  1372. - deps: cookie@0.1.3
  1373. - deps: cookie-parser@~1.3.5
  1374. - deps: csurf@~1.8.3
  1375. - deps: errorhandler@~1.4.0
  1376. - deps: express-session@~1.11.3
  1377. - deps: finalhandler@0.4.0
  1378. - deps: fresh@0.3.0
  1379. - deps: morgan@~1.6.0
  1380. - deps: serve-favicon@~2.3.0
  1381. - deps: serve-index@~1.7.0
  1382. - deps: serve-static@~1.10.0
  1383. - deps: type-is@~1.6.3
  1384. * deps: cookie@0.1.3
  1385. - perf: deduce the scope of try-catch deopt
  1386. - perf: remove argument reassignments
  1387. * deps: escape-html@1.0.2
  1388. * deps: etag@~1.7.0
  1389. - Always include entity length in ETags for hash length extensions
  1390. - Generate non-Stats ETags using MD5 only (no longer CRC32)
  1391. - Improve stat performance by removing hashing
  1392. - Improve support for JXcore
  1393. - Remove base64 padding in ETags to shorten
  1394. - Support "fake" stats objects in environments without fs
  1395. - Use MD5 instead of MD4 in weak ETags over 1KB
  1396. * deps: fresh@0.3.0
  1397. - Add weak `ETag` matching support
  1398. * deps: mkdirp@0.5.1
  1399. - Work in global strict mode
  1400. * deps: send@0.13.0
  1401. - Allow Node.js HTTP server to set `Date` response header
  1402. - Fix incorrectly removing `Content-Location` on 304 response
  1403. - Improve the default redirect response headers
  1404. - Send appropriate headers on default error response
  1405. - Use `http-errors` for standard emitted errors
  1406. - Use `statuses` instead of `http` module for status messages
  1407. - deps: escape-html@1.0.2
  1408. - deps: etag@~1.7.0
  1409. - deps: fresh@0.3.0
  1410. - deps: on-finished@~2.3.0
  1411. - perf: enable strict mode
  1412. - perf: remove unnecessary array allocations
  1413. 3.20.3 / 2015-05-17
  1414. ===================
  1415. * deps: connect@2.29.2
  1416. - deps: body-parser@~1.12.4
  1417. - deps: compression@~1.4.4
  1418. - deps: connect-timeout@~1.6.2
  1419. - deps: debug@~2.2.0
  1420. - deps: depd@~1.0.1
  1421. - deps: errorhandler@~1.3.6
  1422. - deps: finalhandler@0.3.6
  1423. - deps: method-override@~2.3.3
  1424. - deps: morgan@~1.5.3
  1425. - deps: qs@2.4.2
  1426. - deps: response-time@~2.3.1
  1427. - deps: serve-favicon@~2.2.1
  1428. - deps: serve-index@~1.6.4
  1429. - deps: serve-static@~1.9.3
  1430. - deps: type-is@~1.6.2
  1431. * deps: debug@~2.2.0
  1432. - deps: ms@0.7.1
  1433. * deps: depd@~1.0.1
  1434. * deps: proxy-addr@~1.0.8
  1435. - deps: ipaddr.js@1.0.1
  1436. * deps: send@0.12.3
  1437. - deps: debug@~2.2.0
  1438. - deps: depd@~1.0.1
  1439. - deps: etag@~1.6.0
  1440. - deps: ms@0.7.1
  1441. - deps: on-finished@~2.2.1
  1442. 3.20.2 / 2015-03-16
  1443. ===================
  1444. * deps: connect@2.29.1
  1445. - deps: body-parser@~1.12.2
  1446. - deps: compression@~1.4.3
  1447. - deps: connect-timeout@~1.6.1
  1448. - deps: debug@~2.1.3
  1449. - deps: errorhandler@~1.3.5
  1450. - deps: express-session@~1.10.4
  1451. - deps: finalhandler@0.3.4
  1452. - deps: method-override@~2.3.2
  1453. - deps: morgan@~1.5.2
  1454. - deps: qs@2.4.1
  1455. - deps: serve-index@~1.6.3
  1456. - deps: serve-static@~1.9.2
  1457. - deps: type-is@~1.6.1
  1458. * deps: debug@~2.1.3
  1459. - Fix high intensity foreground color for bold
  1460. - deps: ms@0.7.0
  1461. * deps: merge-descriptors@1.0.0
  1462. * deps: proxy-addr@~1.0.7
  1463. - deps: ipaddr.js@0.1.9
  1464. * deps: send@0.12.2
  1465. - Throw errors early for invalid `extensions` or `index` options
  1466. - deps: debug@~2.1.3
  1467. 3.20.1 / 2015-02-28
  1468. ===================
  1469. * Fix `req.host` when using "trust proxy" hops count
  1470. * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
  1471. 3.20.0 / 2015-02-18
  1472. ===================
  1473. * Fix `"trust proxy"` setting to inherit when app is mounted
  1474. * Generate `ETag`s for all request responses
  1475. - No longer restricted to only responses for `GET` and `HEAD` requests
  1476. * Use `content-type` to parse `Content-Type` headers
  1477. * deps: connect@2.29.0
  1478. - Use `content-type` to parse `Content-Type` headers
  1479. - deps: body-parser@~1.12.0
  1480. - deps: compression@~1.4.1
  1481. - deps: connect-timeout@~1.6.0
  1482. - deps: cookie-parser@~1.3.4
  1483. - deps: cookie-signature@1.0.6
  1484. - deps: csurf@~1.7.0
  1485. - deps: errorhandler@~1.3.4
  1486. - deps: express-session@~1.10.3
  1487. - deps: http-errors@~1.3.1
  1488. - deps: response-time@~2.3.0
  1489. - deps: serve-index@~1.6.2
  1490. - deps: serve-static@~1.9.1
  1491. - deps: type-is@~1.6.0
  1492. * deps: cookie-signature@1.0.6
  1493. * deps: send@0.12.1
  1494. - Always read the stat size from the file
  1495. - Fix mutating passed-in `options`
  1496. - deps: mime@1.3.4
  1497. 3.19.2 / 2015-02-01
  1498. ===================
  1499. * deps: connect@2.28.3
  1500. - deps: compression@~1.3.1
  1501. - deps: csurf@~1.6.6
  1502. - deps: errorhandler@~1.3.3
  1503. - deps: express-session@~1.10.2
  1504. - deps: serve-index@~1.6.1
  1505. - deps: type-is@~1.5.6
  1506. * deps: proxy-addr@~1.0.6
  1507. - deps: ipaddr.js@0.1.8
  1508. 3.19.1 / 2015-01-20
  1509. ===================
  1510. * deps: connect@2.28.2
  1511. - deps: body-parser@~1.10.2
  1512. - deps: serve-static@~1.8.1
  1513. * deps: send@0.11.1
  1514. - Fix root path disclosure
  1515. 3.19.0 / 2015-01-09
  1516. ===================
  1517. * Fix `OPTIONS` responses to include the `HEAD` method property
  1518. * Use `readline` for prompt in `express(1)`
  1519. * deps: commander@2.6.0
  1520. * deps: connect@2.28.1
  1521. - deps: body-parser@~1.10.1
  1522. - deps: compression@~1.3.0
  1523. - deps: connect-timeout@~1.5.0
  1524. - deps: csurf@~1.6.4
  1525. - deps: debug@~2.1.1
  1526. - deps: errorhandler@~1.3.2
  1527. - deps: express-session@~1.10.1
  1528. - deps: finalhandler@0.3.3
  1529. - deps: method-override@~2.3.1
  1530. - deps: morgan@~1.5.1
  1531. - deps: serve-favicon@~2.2.0
  1532. - deps: serve-index@~1.6.0
  1533. - deps: serve-static@~1.8.0
  1534. - deps: type-is@~1.5.5
  1535. * deps: debug@~2.1.1
  1536. * deps: methods@~1.1.1
  1537. * deps: proxy-addr@~1.0.5
  1538. - deps: ipaddr.js@0.1.6
  1539. * deps: send@0.11.0
  1540. - deps: debug@~2.1.1
  1541. - deps: etag@~1.5.1
  1542. - deps: ms@0.7.0
  1543. - deps: on-finished@~2.2.0
  1544. 3.18.6 / 2014-12-12
  1545. ===================
  1546. * Fix exception in `req.fresh`/`req.stale` without response headers
  1547. 3.18.5 / 2014-12-11
  1548. ===================
  1549. * deps: connect@2.27.6
  1550. - deps: compression@~1.2.2
  1551. - deps: express-session@~1.9.3
  1552. - deps: http-errors@~1.2.8
  1553. - deps: serve-index@~1.5.3
  1554. - deps: type-is@~1.5.4
  1555. 3.18.4 / 2014-11-23
  1556. ===================
  1557. * deps: connect@2.27.4
  1558. - deps: body-parser@~1.9.3
  1559. - deps: compression@~1.2.1
  1560. - deps: errorhandler@~1.2.3
  1561. - deps: express-session@~1.9.2
  1562. - deps: qs@2.3.3
  1563. - deps: serve-favicon@~2.1.7
  1564. - deps: serve-static@~1.5.1
  1565. - deps: type-is@~1.5.3
  1566. * deps: etag@~1.5.1
  1567. * deps: proxy-addr@~1.0.4
  1568. - deps: ipaddr.js@0.1.5
  1569. 3.18.3 / 2014-11-09
  1570. ===================
  1571. * deps: connect@2.27.3
  1572. - Correctly invoke async callback asynchronously
  1573. - deps: csurf@~1.6.3
  1574. 3.18.2 / 2014-10-28
  1575. ===================
  1576. * deps: connect@2.27.2
  1577. - Fix handling of URLs containing `://` in the path
  1578. - deps: body-parser@~1.9.2
  1579. - deps: qs@2.3.2
  1580. 3.18.1 / 2014-10-22
  1581. ===================
  1582. * Fix internal `utils.merge` deprecation warnings
  1583. * deps: connect@2.27.1
  1584. - deps: body-parser@~1.9.1
  1585. - deps: express-session@~1.9.1
  1586. - deps: finalhandler@0.3.2
  1587. - deps: morgan@~1.4.1
  1588. - deps: qs@2.3.0
  1589. - deps: serve-static@~1.7.1
  1590. * deps: send@0.10.1
  1591. - deps: on-finished@~2.1.1
  1592. 3.18.0 / 2014-10-17
  1593. ===================
  1594. * Use `content-disposition` module for `res.attachment`/`res.download`
  1595. - Sends standards-compliant `Content-Disposition` header
  1596. - Full Unicode support
  1597. * Use `etag` module to generate `ETag` headers
  1598. * deps: connect@2.27.0
  1599. - Use `http-errors` module for creating errors
  1600. - Use `utils-merge` module for merging objects
  1601. - deps: body-parser@~1.9.0
  1602. - deps: compression@~1.2.0
  1603. - deps: connect-timeout@~1.4.0
  1604. - deps: debug@~2.1.0
  1605. - deps: depd@~1.0.0
  1606. - deps: express-session@~1.9.0
  1607. - deps: finalhandler@0.3.1
  1608. - deps: method-override@~2.3.0
  1609. - deps: morgan@~1.4.0
  1610. - deps: response-time@~2.2.0
  1611. - deps: serve-favicon@~2.1.6
  1612. - deps: serve-index@~1.5.0
  1613. - deps: serve-static@~1.7.0
  1614. * deps: debug@~2.1.0
  1615. - Implement `DEBUG_FD` env variable support
  1616. * deps: depd@~1.0.0
  1617. * deps: send@0.10.0
  1618. - deps: debug@~2.1.0
  1619. - deps: depd@~1.0.0
  1620. - deps: etag@~1.5.0
  1621. 3.17.8 / 2014-10-15
  1622. ===================
  1623. * deps: connect@2.26.6
  1624. - deps: compression@~1.1.2
  1625. - deps: csurf@~1.6.2
  1626. - deps: errorhandler@~1.2.2
  1627. 3.17.7 / 2014-10-08
  1628. ===================
  1629. * deps: connect@2.26.5
  1630. - Fix accepting non-object arguments to `logger`
  1631. - deps: serve-static@~1.6.4
  1632. 3.17.6 / 2014-10-02
  1633. ===================
  1634. * deps: connect@2.26.4
  1635. - deps: morgan@~1.3.2
  1636. - deps: type-is@~1.5.2
  1637. 3.17.5 / 2014-09-24
  1638. ===================
  1639. * deps: connect@2.26.3
  1640. - deps: body-parser@~1.8.4
  1641. - deps: serve-favicon@~2.1.5
  1642. - deps: serve-static@~1.6.3
  1643. * deps: proxy-addr@~1.0.3
  1644. - Use `forwarded` npm module
  1645. * deps: send@0.9.3
  1646. - deps: etag@~1.4.0
  1647. 3.17.4 / 2014-09-19
  1648. ===================
  1649. * deps: connect@2.26.2
  1650. - deps: body-parser@~1.8.3
  1651. - deps: qs@2.2.4
  1652. 3.17.3 / 2014-09-18
  1653. ===================
  1654. * deps: proxy-addr@~1.0.2
  1655. - Fix a global leak when multiple subnets are trusted
  1656. - deps: ipaddr.js@0.1.3
  1657. 3.17.2 / 2014-09-15
  1658. ===================
  1659. * Use `crc` instead of `buffer-crc32` for speed
  1660. * deps: connect@2.26.1
  1661. - deps: body-parser@~1.8.2
  1662. - deps: depd@0.4.5
  1663. - deps: express-session@~1.8.2
  1664. - deps: morgan@~1.3.1
  1665. - deps: serve-favicon@~2.1.3
  1666. - deps: serve-static@~1.6.2
  1667. * deps: depd@0.4.5
  1668. * deps: send@0.9.2
  1669. - deps: depd@0.4.5
  1670. - deps: etag@~1.3.1
  1671. - deps: range-parser@~1.0.2
  1672. 3.17.1 / 2014-09-08
  1673. ===================
  1674. * Fix error in `req.subdomains` on empty host
  1675. 3.17.0 / 2014-09-08
  1676. ===================
  1677. * Support `X-Forwarded-Host` in `req.subdomains`
  1678. * Support IP address host in `req.subdomains`
  1679. * deps: connect@2.26.0
  1680. - deps: body-parser@~1.8.1
  1681. - deps: compression@~1.1.0
  1682. - deps: connect-timeout@~1.3.0
  1683. - deps: cookie-parser@~1.3.3
  1684. - deps: cookie-signature@1.0.5
  1685. - deps: csurf@~1.6.1
  1686. - deps: debug@~2.0.0
  1687. - deps: errorhandler@~1.2.0
  1688. - deps: express-session@~1.8.1
  1689. - deps: finalhandler@0.2.0
  1690. - deps: fresh@0.2.4
  1691. - deps: media-typer@0.3.0
  1692. - deps: method-override@~2.2.0
  1693. - deps: morgan@~1.3.0
  1694. - deps: qs@2.2.3
  1695. - deps: serve-favicon@~2.1.3
  1696. - deps: serve-index@~1.2.1
  1697. - deps: serve-static@~1.6.1
  1698. - deps: type-is@~1.5.1
  1699. - deps: vhost@~3.0.0
  1700. * deps: cookie-signature@1.0.5
  1701. * deps: debug@~2.0.0
  1702. * deps: fresh@0.2.4
  1703. * deps: media-typer@0.3.0
  1704. - Throw error when parameter format invalid on parse
  1705. * deps: range-parser@~1.0.2
  1706. * deps: send@0.9.1
  1707. - Add `lastModified` option
  1708. - Use `etag` to generate `ETag` header
  1709. - deps: debug@~2.0.0
  1710. - deps: fresh@0.2.4
  1711. * deps: vary@~1.0.0
  1712. - Accept valid `Vary` header string as `field`
  1713. 3.16.10 / 2014-09-04
  1714. ====================
  1715. * deps: connect@2.25.10
  1716. - deps: serve-static@~1.5.4
  1717. * deps: send@0.8.5
  1718. - Fix a path traversal issue when using `root`
  1719. - Fix malicious path detection for empty string path
  1720. 3.16.9 / 2014-08-29
  1721. ===================
  1722. * deps: connect@2.25.9
  1723. - deps: body-parser@~1.6.7
  1724. - deps: qs@2.2.2
  1725. 3.16.8 / 2014-08-27
  1726. ===================
  1727. * deps: connect@2.25.8
  1728. - deps: body-parser@~1.6.6
  1729. - deps: csurf@~1.4.1
  1730. - deps: qs@2.2.0
  1731. 3.16.7 / 2014-08-18
  1732. ===================
  1733. * deps: connect@2.25.7
  1734. - deps: body-parser@~1.6.5
  1735. - deps: express-session@~1.7.6
  1736. - deps: morgan@~1.2.3
  1737. - deps: serve-static@~1.5.3
  1738. * deps: send@0.8.3
  1739. - deps: destroy@1.0.3
  1740. - deps: on-finished@2.1.0
  1741. 3.16.6 / 2014-08-14
  1742. ===================
  1743. * deps: connect@2.25.6
  1744. - deps: body-parser@~1.6.4
  1745. - deps: qs@1.2.2
  1746. - deps: serve-static@~1.5.2
  1747. * deps: send@0.8.2
  1748. - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
  1749. 3.16.5 / 2014-08-11
  1750. ===================
  1751. * deps: connect@2.25.5
  1752. - Fix backwards compatibility in `logger`
  1753. 3.16.4 / 2014-08-10
  1754. ===================
  1755. * Fix original URL parsing in `res.location`
  1756. * deps: connect@2.25.4
  1757. - Fix `query` middleware breaking with argument
  1758. - deps: body-parser@~1.6.3
  1759. - deps: compression@~1.0.11
  1760. - deps: connect-timeout@~1.2.2
  1761. - deps: express-session@~1.7.5
  1762. - deps: method-override@~2.1.3
  1763. - deps: on-headers@~1.0.0
  1764. - deps: parseurl@~1.3.0
  1765. - deps: qs@1.2.1
  1766. - deps: response-time@~2.0.1
  1767. - deps: serve-index@~1.1.6
  1768. - deps: serve-static@~1.5.1
  1769. * deps: parseurl@~1.3.0
  1770. 3.16.3 / 2014-08-07
  1771. ===================
  1772. * deps: connect@2.25.3
  1773. - deps: multiparty@3.3.2
  1774. 3.16.2 / 2014-08-07
  1775. ===================
  1776. * deps: connect@2.25.2
  1777. - deps: body-parser@~1.6.2
  1778. - deps: qs@1.2.0
  1779. 3.16.1 / 2014-08-06
  1780. ===================
  1781. * deps: connect@2.25.1
  1782. - deps: body-parser@~1.6.1
  1783. - deps: qs@1.1.0
  1784. 3.16.0 / 2014-08-05
  1785. ===================
  1786. * deps: connect@2.25.0
  1787. - deps: body-parser@~1.6.0
  1788. - deps: compression@~1.0.10
  1789. - deps: csurf@~1.4.0
  1790. - deps: express-session@~1.7.4
  1791. - deps: qs@1.0.2
  1792. - deps: serve-static@~1.5.0
  1793. * deps: send@0.8.1
  1794. - Add `extensions` option
  1795. 3.15.3 / 2014-08-04
  1796. ===================
  1797. * fix `res.sendfile` regression for serving directory index files
  1798. * deps: connect@2.24.3
  1799. - deps: serve-index@~1.1.5
  1800. - deps: serve-static@~1.4.4
  1801. * deps: send@0.7.4
  1802. - Fix incorrect 403 on Windows and Node.js 0.11
  1803. - Fix serving index files without root dir
  1804. 3.15.2 / 2014-07-27
  1805. ===================
  1806. * deps: connect@2.24.2
  1807. - deps: body-parser@~1.5.2
  1808. - deps: depd@0.4.4
  1809. - deps: express-session@~1.7.2
  1810. - deps: morgan@~1.2.2
  1811. - deps: serve-static@~1.4.2
  1812. * deps: depd@0.4.4
  1813. - Work-around v8 generating empty stack traces
  1814. * deps: send@0.7.2
  1815. - deps: depd@0.4.4
  1816. 3.15.1 / 2014-07-26
  1817. ===================
  1818. * deps: connect@2.24.1
  1819. - deps: body-parser@~1.5.1
  1820. - deps: depd@0.4.3
  1821. - deps: express-session@~1.7.1
  1822. - deps: morgan@~1.2.1
  1823. - deps: serve-index@~1.1.4
  1824. - deps: serve-static@~1.4.1
  1825. * deps: depd@0.4.3
  1826. - Fix exception when global `Error.stackTraceLimit` is too low
  1827. * deps: send@0.7.1
  1828. - deps: depd@0.4.3
  1829. 3.15.0 / 2014-07-22
  1830. ===================
  1831. * Fix `req.protocol` for proxy-direct connections
  1832. * Pass options from `res.sendfile` to `send`
  1833. * deps: connect@2.24.0
  1834. - deps: body-parser@~1.5.0
  1835. - deps: compression@~1.0.9
  1836. - deps: connect-timeout@~1.2.1
  1837. - deps: debug@1.0.4
  1838. - deps: depd@0.4.2
  1839. - deps: express-session@~1.7.0
  1840. - deps: finalhandler@0.1.0
  1841. - deps: method-override@~2.1.2
  1842. - deps: morgan@~1.2.0
  1843. - deps: multiparty@3.3.1
  1844. - deps: parseurl@~1.2.0
  1845. - deps: serve-static@~1.4.0
  1846. * deps: debug@1.0.4
  1847. * deps: depd@0.4.2
  1848. - Add `TRACE_DEPRECATION` environment variable
  1849. - Remove non-standard grey color from color output
  1850. - Support `--no-deprecation` argument
  1851. - Support `--trace-deprecation` argument
  1852. * deps: parseurl@~1.2.0
  1853. - Cache URLs based on original value
  1854. - Remove no-longer-needed URL mis-parse work-around
  1855. - Simplify the "fast-path" `RegExp`
  1856. * deps: send@0.7.0
  1857. - Add `dotfiles` option
  1858. - Cap `maxAge` value to 1 year
  1859. - deps: debug@1.0.4
  1860. - deps: depd@0.4.2
  1861. 3.14.0 / 2014-07-11
  1862. ===================
  1863. * add explicit "Rosetta Flash JSONP abuse" protection
  1864. - previous versions are not vulnerable; this is just explicit protection
  1865. * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
  1866. * fix `res.send(status, num)` to send `num` as json (not error)
  1867. * remove unnecessary escaping when `res.jsonp` returns JSON response
  1868. * deps: basic-auth@1.0.0
  1869. - support empty password
  1870. - support empty username
  1871. * deps: connect@2.23.0
  1872. - deps: debug@1.0.3
  1873. - deps: express-session@~1.6.4
  1874. - deps: method-override@~2.1.0
  1875. - deps: parseurl@~1.1.3
  1876. - deps: serve-static@~1.3.1
  1877. * deps: debug@1.0.3
  1878. - Add support for multiple wildcards in namespaces
  1879. * deps: methods@1.1.0
  1880. - add `CONNECT`
  1881. * deps: parseurl@~1.1.3
  1882. - faster parsing of href-only URLs
  1883. 3.13.0 / 2014-07-03
  1884. ===================
  1885. * add deprecation message to `app.configure`
  1886. * add deprecation message to `req.auth`
  1887. * use `basic-auth` to parse `Authorization` header
  1888. * deps: connect@2.22.0
  1889. - deps: csurf@~1.3.0
  1890. - deps: express-session@~1.6.1
  1891. - deps: multiparty@3.3.0
  1892. - deps: serve-static@~1.3.0
  1893. * deps: send@0.5.0
  1894. - Accept string for `maxage` (converted by `ms`)
  1895. - Include link in default redirect response
  1896. 3.12.1 / 2014-06-26
  1897. ===================
  1898. * deps: connect@2.21.1
  1899. - deps: cookie-parser@1.3.2
  1900. - deps: cookie-signature@1.0.4
  1901. - deps: express-session@~1.5.2
  1902. - deps: type-is@~1.3.2
  1903. * deps: cookie-signature@1.0.4
  1904. - fix for timing attacks
  1905. 3.12.0 / 2014-06-21
  1906. ===================
  1907. * use `media-typer` to alter content-type charset
  1908. * deps: connect@2.21.0
  1909. - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
  1910. - deprecate `connect.createServer()` -- use `connect()` instead
  1911. - fix `res.setHeader()` patch to work with get -> append -> set pattern
  1912. - deps: compression@~1.0.8
  1913. - deps: errorhandler@~1.1.1
  1914. - deps: express-session@~1.5.0
  1915. - deps: serve-index@~1.1.3
  1916. 3.11.0 / 2014-06-19
  1917. ===================
  1918. * deprecate things with `depd` module
  1919. * deps: buffer-crc32@0.2.3
  1920. * deps: connect@2.20.2
  1921. - deprecate `verify` option to `json` -- use `body-parser` npm module instead
  1922. - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
  1923. - deprecate things with `depd` module
  1924. - use `finalhandler` for final response handling
  1925. - use `media-typer` to parse `content-type` for charset
  1926. - deps: body-parser@1.4.3
  1927. - deps: connect-timeout@1.1.1
  1928. - deps: cookie-parser@1.3.1
  1929. - deps: csurf@1.2.2
  1930. - deps: errorhandler@1.1.0
  1931. - deps: express-session@1.4.0
  1932. - deps: multiparty@3.2.9
  1933. - deps: serve-index@1.1.2
  1934. - deps: type-is@1.3.1
  1935. - deps: vhost@2.0.0
  1936. 3.10.5 / 2014-06-11
  1937. ===================
  1938. * deps: connect@2.19.6
  1939. - deps: body-parser@1.3.1
  1940. - deps: compression@1.0.7
  1941. - deps: debug@1.0.2
  1942. - deps: serve-index@1.1.1
  1943. - deps: serve-static@1.2.3
  1944. * deps: debug@1.0.2
  1945. * deps: send@0.4.3
  1946. - Do not throw uncatchable error on file open race condition
  1947. - Use `escape-html` for HTML escaping
  1948. - deps: debug@1.0.2
  1949. - deps: finished@1.2.2
  1950. - deps: fresh@0.2.2
  1951. 3.10.4 / 2014-06-09
  1952. ===================
  1953. * deps: connect@2.19.5
  1954. - fix "event emitter leak" warnings
  1955. - deps: csurf@1.2.1
  1956. - deps: debug@1.0.1
  1957. - deps: serve-static@1.2.2
  1958. - deps: type-is@1.2.1
  1959. * deps: debug@1.0.1
  1960. * deps: send@0.4.2
  1961. - fix "event emitter leak" warnings
  1962. - deps: finished@1.2.1
  1963. - deps: debug@1.0.1
  1964. 3.10.3 / 2014-06-05
  1965. ===================
  1966. * use `vary` module for `res.vary`
  1967. * deps: connect@2.19.4
  1968. - deps: errorhandler@1.0.2
  1969. - deps: method-override@2.0.2
  1970. - deps: serve-favicon@2.0.1
  1971. * deps: debug@1.0.0
  1972. 3.10.2 / 2014-06-03
  1973. ===================
  1974. * deps: connect@2.19.3
  1975. - deps: compression@1.0.6
  1976. 3.10.1 / 2014-06-03
  1977. ===================
  1978. * deps: connect@2.19.2
  1979. - deps: compression@1.0.4
  1980. * deps: proxy-addr@1.0.1
  1981. 3.10.0 / 2014-06-02
  1982. ===================
  1983. * deps: connect@2.19.1
  1984. - deprecate `methodOverride()` -- use `method-override` npm module instead
  1985. - deps: body-parser@1.3.0
  1986. - deps: method-override@2.0.1
  1987. - deps: multiparty@3.2.8
  1988. - deps: response-time@2.0.0
  1989. - deps: serve-static@1.2.1
  1990. * deps: methods@1.0.1
  1991. * deps: send@0.4.1
  1992. - Send `max-age` in `Cache-Control` in correct format
  1993. 3.9.0 / 2014-05-30
  1994. ==================
  1995. * custom etag control with `app.set('etag', val)`
  1996. - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
  1997. - `app.set('etag', 'weak')` weak tag
  1998. - `app.set('etag', 'strong')` strong etag
  1999. - `app.set('etag', false)` turn off
  2000. - `app.set('etag', true)` standard etag
  2001. * Include ETag in HEAD requests
  2002. * mark `res.send` ETag as weak and reduce collisions
  2003. * update connect to 2.18.0
  2004. - deps: compression@1.0.3
  2005. - deps: serve-index@1.1.0
  2006. - deps: serve-static@1.2.0
  2007. * update send to 0.4.0
  2008. - Calculate ETag with md5 for reduced collisions
  2009. - Ignore stream errors after request ends
  2010. - deps: debug@0.8.1
  2011. 3.8.1 / 2014-05-27
  2012. ==================
  2013. * update connect to 2.17.3
  2014. - deps: body-parser@1.2.2
  2015. - deps: express-session@1.2.1
  2016. - deps: method-override@1.0.2
  2017. 3.8.0 / 2014-05-21
  2018. ==================
  2019. * keep previous `Content-Type` for `res.jsonp`
  2020. * set proper `charset` in `Content-Type` for `res.send`
  2021. * update connect to 2.17.1
  2022. - fix `res.charset` appending charset when `content-type` has one
  2023. - deps: express-session@1.2.0
  2024. - deps: morgan@1.1.1
  2025. - deps: serve-index@1.0.3
  2026. 3.7.0 / 2014-05-18
  2027. ==================
  2028. * proper proxy trust with `app.set('trust proxy', trust)`
  2029. - `app.set('trust proxy', 1)` trust first hop
  2030. - `app.set('trust proxy', 'loopback')` trust loopback addresses
  2031. - `app.set('trust proxy', '10.0.0.1')` trust single IP
  2032. - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
  2033. - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
  2034. - `app.set('trust proxy', false)` turn off
  2035. - `app.set('trust proxy', true)` trust everything
  2036. * update connect to 2.16.2
  2037. - deprecate `res.headerSent` -- use `res.headersSent`
  2038. - deprecate `res.on("header")` -- use on-headers module instead
  2039. - fix edge-case in `res.appendHeader` that would append in wrong order
  2040. - json: use body-parser
  2041. - urlencoded: use body-parser
  2042. - dep: bytes@1.0.0
  2043. - dep: cookie-parser@1.1.0
  2044. - dep: csurf@1.2.0
  2045. - dep: express-session@1.1.0
  2046. - dep: method-override@1.0.1
  2047. 3.6.0 / 2014-05-09
  2048. ==================
  2049. * deprecate `app.del()` -- use `app.delete()` instead
  2050. * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
  2051. - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
  2052. * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
  2053. - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
  2054. * support PURGE method
  2055. - add `app.purge`
  2056. - add `router.purge`
  2057. - include PURGE in `app.all`
  2058. * update connect to 2.15.0
  2059. * Add `res.appendHeader`
  2060. * Call error stack even when response has been sent
  2061. * Patch `res.headerSent` to return Boolean
  2062. * Patch `res.headersSent` for node.js 0.8
  2063. * Prevent default 404 handler after response sent
  2064. * dep: compression@1.0.2
  2065. * dep: connect-timeout@1.1.0
  2066. * dep: debug@^0.8.0
  2067. * dep: errorhandler@1.0.1
  2068. * dep: express-session@1.0.4
  2069. * dep: morgan@1.0.1
  2070. * dep: serve-favicon@2.0.0
  2071. * dep: serve-index@1.0.2
  2072. * update debug to 0.8.0
  2073. * add `enable()` method
  2074. * change from stderr to stdout
  2075. * update methods to 1.0.0
  2076. - add PURGE
  2077. * update mkdirp to 0.5.0
  2078. 3.5.3 / 2014-05-08
  2079. ==================
  2080. * fix `req.host` for IPv6 literals
  2081. * fix `res.jsonp` error if callback param is object
  2082. 3.5.2 / 2014-04-24
  2083. ==================
  2084. * update connect to 2.14.5
  2085. * update cookie to 0.1.2
  2086. * update mkdirp to 0.4.0
  2087. * update send to 0.3.0
  2088. 3.5.1 / 2014-03-25
  2089. ==================
  2090. * pin less-middleware in generated app
  2091. 3.5.0 / 2014-03-06
  2092. ==================
  2093. * bump deps
  2094. 3.4.8 / 2014-01-13
  2095. ==================
  2096. * prevent incorrect automatic OPTIONS responses #1868 @dpatti
  2097. * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
  2098. * throw 400 in case of malformed paths @rlidwka
  2099. 3.4.7 / 2013-12-10
  2100. ==================
  2101. * update connect
  2102. 3.4.6 / 2013-12-01
  2103. ==================
  2104. * update connect (raw-body)
  2105. 3.4.5 / 2013-11-27
  2106. ==================
  2107. * update connect
  2108. * res.location: remove leading ./ #1802 @kapouer
  2109. * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
  2110. * res.send: always send ETag when content-length > 0
  2111. * router: add Router.all() method
  2112. 3.4.4 / 2013-10-29
  2113. ==================
  2114. * update connect
  2115. * update supertest
  2116. * update methods
  2117. * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
  2118. 3.4.3 / 2013-10-23
  2119. ==================
  2120. * update connect
  2121. 3.4.2 / 2013-10-18
  2122. ==================
  2123. * update connect
  2124. * downgrade commander
  2125. 3.4.1 / 2013-10-15
  2126. ==================
  2127. * update connect
  2128. * update commander
  2129. * jsonp: check if callback is a function
  2130. * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
  2131. * res.format: now includes charset @1747 (@sorribas)
  2132. * res.links: allow multiple calls @1746 (@sorribas)
  2133. 3.4.0 / 2013-09-07
  2134. ==================
  2135. * add res.vary(). Closes #1682
  2136. * update connect
  2137. 3.3.8 / 2013-09-02
  2138. ==================
  2139. * update connect
  2140. 3.3.7 / 2013-08-28
  2141. ==================
  2142. * update connect
  2143. 3.3.6 / 2013-08-27
  2144. ==================
  2145. * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
  2146. * add: req.accepts take an argument list
  2147. 3.3.4 / 2013-07-08
  2148. ==================
  2149. * update send and connect
  2150. 3.3.3 / 2013-07-04
  2151. ==================
  2152. * update connect
  2153. 3.3.2 / 2013-07-03
  2154. ==================
  2155. * update connect
  2156. * update send
  2157. * remove .version export
  2158. 3.3.1 / 2013-06-27
  2159. ==================
  2160. * update connect
  2161. 3.3.0 / 2013-06-26
  2162. ==================
  2163. * update connect
  2164. * add support for multiple X-Forwarded-Proto values. Closes #1646
  2165. * change: remove charset from json responses. Closes #1631
  2166. * change: return actual booleans from req.accept* functions
  2167. * fix jsonp callback array throw
  2168. 3.2.6 / 2013-06-02
  2169. ==================
  2170. * update connect
  2171. 3.2.5 / 2013-05-21
  2172. ==================
  2173. * update connect
  2174. * update node-cookie
  2175. * add: throw a meaningful error when there is no default engine
  2176. * change generation of ETags with res.send() to GET requests only. Closes #1619
  2177. 3.2.4 / 2013-05-09
  2178. ==================
  2179. * fix `req.subdomains` when no Host is present
  2180. * fix `req.host` when no Host is present, return undefined
  2181. 3.2.3 / 2013-05-07
  2182. ==================
  2183. * update connect / qs
  2184. 3.2.2 / 2013-05-03
  2185. ==================
  2186. * update qs
  2187. 3.2.1 / 2013-04-29
  2188. ==================
  2189. * add app.VERB() paths array deprecation warning
  2190. * update connect
  2191. * update qs and remove all ~ semver crap
  2192. * fix: accept number as value of Signed Cookie
  2193. 3.2.0 / 2013-04-15
  2194. ==================
  2195. * add "view" constructor setting to override view behaviour
  2196. * add req.acceptsEncoding(name)
  2197. * add req.acceptedEncodings
  2198. * revert cookie signature change causing session race conditions
  2199. * fix sorting of Accept values of the same quality
  2200. 3.1.2 / 2013-04-12
  2201. ==================
  2202. * add support for custom Accept parameters
  2203. * update cookie-signature
  2204. 3.1.1 / 2013-04-01
  2205. ==================
  2206. * add X-Forwarded-Host support to `req.host`
  2207. * fix relative redirects
  2208. * update mkdirp
  2209. * update buffer-crc32
  2210. * remove legacy app.configure() method from app template.
  2211. 3.1.0 / 2013-01-25
  2212. ==================
  2213. * add support for leading "." in "view engine" setting
  2214. * add array support to `res.set()`
  2215. * add node 0.8.x to travis.yml
  2216. * add "subdomain offset" setting for tweaking `req.subdomains`
  2217. * add `res.location(url)` implementing `res.redirect()`-like setting of Location
  2218. * use app.get() for x-powered-by setting for inheritance
  2219. * fix colons in passwords for `req.auth`
  2220. 3.0.6 / 2013-01-04
  2221. ==================
  2222. * add http verb methods to Router
  2223. * update connect
  2224. * fix mangling of the `res.cookie()` options object
  2225. * fix jsonp whitespace escape. Closes #1132
  2226. 3.0.5 / 2012-12-19
  2227. ==================
  2228. * add throwing when a non-function is passed to a route
  2229. * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
  2230. * revert "add 'etag' option"
  2231. 3.0.4 / 2012-12-05
  2232. ==================
  2233. * add 'etag' option to disable `res.send()` Etags
  2234. * add escaping of urls in text/plain in `res.redirect()`
  2235. for old browsers interpreting as html
  2236. * change crc32 module for a more liberal license
  2237. * update connect
  2238. 3.0.3 / 2012-11-13
  2239. ==================
  2240. * update connect
  2241. * update cookie module
  2242. * fix cookie max-age
  2243. 3.0.2 / 2012-11-08
  2244. ==================
  2245. * add OPTIONS to cors example. Closes #1398
  2246. * fix route chaining regression. Closes #1397
  2247. 3.0.1 / 2012-11-01
  2248. ==================
  2249. * update connect
  2250. 3.0.0 / 2012-10-23
  2251. ==================
  2252. * add `make clean`
  2253. * add "Basic" check to req.auth
  2254. * add `req.auth` test coverage
  2255. * add cb && cb(payload) to `res.jsonp()`. Closes #1374
  2256. * add backwards compat for `res.redirect()` status. Closes #1336
  2257. * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
  2258. * update connect
  2259. * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
  2260. * remove non-primitive string support for `res.send()`
  2261. * fix view-locals example. Closes #1370
  2262. * fix route-separation example
  2263. 3.0.0rc5 / 2012-09-18
  2264. ==================
  2265. * update connect
  2266. * add redis search example
  2267. * add static-files example
  2268. * add "x-powered-by" setting (`app.disable('x-powered-by')`)
  2269. * add "application/octet-stream" redirect Accept test case. Closes #1317
  2270. 3.0.0rc4 / 2012-08-30
  2271. ==================
  2272. * add `res.jsonp()`. Closes #1307
  2273. * add "verbose errors" option to error-pages example
  2274. * add another route example to express(1) so people are not so confused
  2275. * add redis online user activity tracking example
  2276. * update connect dep
  2277. * fix etag quoting. Closes #1310
  2278. * fix error-pages 404 status
  2279. * fix jsonp callback char restrictions
  2280. * remove old OPTIONS default response
  2281. 3.0.0rc3 / 2012-08-13
  2282. ==================
  2283. * update connect dep
  2284. * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
  2285. * fix `res.render()` clobbering of "locals"
  2286. 3.0.0rc2 / 2012-08-03
  2287. ==================
  2288. * add CORS example
  2289. * update connect dep
  2290. * deprecate `.createServer()` & remove old stale examples
  2291. * fix: escape `res.redirect()` link
  2292. * fix vhost example
  2293. 3.0.0rc1 / 2012-07-24
  2294. ==================
  2295. * add more examples to view-locals
  2296. * add scheme-relative redirects (`res.redirect("//foo.com")`) support
  2297. * update cookie dep
  2298. * update connect dep
  2299. * update send dep
  2300. * fix `express(1)` -h flag, use -H for hogan. Closes #1245
  2301. * fix `res.sendfile()` socket error handling regression
  2302. 3.0.0beta7 / 2012-07-16
  2303. ==================
  2304. * update connect dep for `send()` root normalization regression
  2305. 3.0.0beta6 / 2012-07-13
  2306. ==================
  2307. * add `err.view` property for view errors. Closes #1226
  2308. * add "jsonp callback name" setting
  2309. * add support for "/foo/:bar*" non-greedy matches
  2310. * change `res.sendfile()` to use `send()` module
  2311. * change `res.send` to use "response-send" module
  2312. * remove `app.locals.use` and `res.locals.use`, use regular middleware
  2313. 3.0.0beta5 / 2012-07-03
  2314. ==================
  2315. * add "make check" support
  2316. * add route-map example
  2317. * add `res.json(obj, status)` support back for BC
  2318. * add "methods" dep, remove internal methods module
  2319. * update connect dep
  2320. * update auth example to utilize cores pbkdf2
  2321. * updated tests to use "supertest"
  2322. 3.0.0beta4 / 2012-06-25
  2323. ==================
  2324. * Added `req.auth`
  2325. * Added `req.range(size)`
  2326. * Added `res.links(obj)`
  2327. * Added `res.send(body, status)` support back for backwards compat
  2328. * Added `.default()` support to `res.format()`
  2329. * Added 2xx / 304 check to `req.fresh`
  2330. * Revert "Added + support to the router"
  2331. * Fixed `res.send()` freshness check, respect res.statusCode
  2332. 3.0.0beta3 / 2012-06-15
  2333. ==================
  2334. * Added hogan `--hjs` to express(1) [nullfirm]
  2335. * Added another example to content-negotiation
  2336. * Added `fresh` dep
  2337. * Changed: `res.send()` always checks freshness
  2338. * Fixed: expose connects mime module. Closes #1165
  2339. 3.0.0beta2 / 2012-06-06
  2340. ==================
  2341. * Added `+` support to the router
  2342. * Added `req.host`
  2343. * Changed `req.param()` to check route first
  2344. * Update connect dep
  2345. 3.0.0beta1 / 2012-06-01
  2346. ==================
  2347. * Added `res.format()` callback to override default 406 behaviour
  2348. * Fixed `res.redirect()` 406. Closes #1154
  2349. 3.0.0alpha5 / 2012-05-30
  2350. ==================
  2351. * Added `req.ip`
  2352. * Added `{ signed: true }` option to `res.cookie()`
  2353. * Removed `res.signedCookie()`
  2354. * Changed: dont reverse `req.ips`
  2355. * Fixed "trust proxy" setting check for `req.ips`
  2356. 3.0.0alpha4 / 2012-05-09
  2357. ==================
  2358. * Added: allow `[]` in jsonp callback. Closes #1128
  2359. * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
  2360. * Updated: connect 2.2.2
  2361. 3.0.0alpha3 / 2012-05-04
  2362. ==================
  2363. * Added public `app.routes`. Closes #887
  2364. * Added _view-locals_ example
  2365. * Added _mvc_ example
  2366. * Added `res.locals.use()`. Closes #1120
  2367. * Added conditional-GET support to `res.send()`
  2368. * Added: coerce `res.set()` values to strings
  2369. * Changed: moved `static()` in generated apps below router
  2370. * Changed: `res.send()` only set ETag when not previously set
  2371. * Changed connect 2.2.1 dep
  2372. * Changed: `make test` now runs unit / acceptance tests
  2373. * Fixed req/res proto inheritance
  2374. 3.0.0alpha2 / 2012-04-26
  2375. ==================
  2376. * Added `make benchmark` back
  2377. * Added `res.send()` support for `String` objects
  2378. * Added client-side data exposing example
  2379. * Added `res.header()` and `req.header()` aliases for BC
  2380. * Added `express.createServer()` for BC
  2381. * Perf: memoize parsed urls
  2382. * Perf: connect 2.2.0 dep
  2383. * Changed: make `expressInit()` middleware self-aware
  2384. * Fixed: use app.get() for all core settings
  2385. * Fixed redis session example
  2386. * Fixed session example. Closes #1105
  2387. * Fixed generated express dep. Closes #1078
  2388. 3.0.0alpha1 / 2012-04-15
  2389. ==================
  2390. * Added `app.locals.use(callback)`
  2391. * Added `app.locals` object
  2392. * Added `app.locals(obj)`
  2393. * Added `res.locals` object
  2394. * Added `res.locals(obj)`
  2395. * Added `res.format()` for content-negotiation
  2396. * Added `app.engine()`
  2397. * Added `res.cookie()` JSON cookie support
  2398. * Added "trust proxy" setting
  2399. * Added `req.subdomains`
  2400. * Added `req.protocol`
  2401. * Added `req.secure`
  2402. * Added `req.path`
  2403. * Added `req.ips`
  2404. * Added `req.fresh`
  2405. * Added `req.stale`
  2406. * Added comma-delimited / array support for `req.accepts()`
  2407. * Added debug instrumentation
  2408. * Added `res.set(obj)`
  2409. * Added `res.set(field, value)`
  2410. * Added `res.get(field)`
  2411. * Added `app.get(setting)`. Closes #842
  2412. * Added `req.acceptsLanguage()`
  2413. * Added `req.acceptsCharset()`
  2414. * Added `req.accepted`
  2415. * Added `req.acceptedLanguages`
  2416. * Added `req.acceptedCharsets`
  2417. * Added "json replacer" setting
  2418. * Added "json spaces" setting
  2419. * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
  2420. * Added `--less` support to express(1)
  2421. * Added `express.response` prototype
  2422. * Added `express.request` prototype
  2423. * Added `express.application` prototype
  2424. * Added `app.path()`
  2425. * Added `app.render()`
  2426. * Added `res.type()` to replace `res.contentType()`
  2427. * Changed: `res.redirect()` to add relative support
  2428. * Changed: enable "jsonp callback" by default
  2429. * Changed: renamed "case sensitive routes" to "case sensitive routing"
  2430. * Rewrite of all tests with mocha
  2431. * Removed "root" setting
  2432. * Removed `res.redirect('home')` support
  2433. * Removed `req.notify()`
  2434. * Removed `app.register()`
  2435. * Removed `app.redirect()`
  2436. * Removed `app.is()`
  2437. * Removed `app.helpers()`
  2438. * Removed `app.dynamicHelpers()`
  2439. * Fixed `res.sendfile()` with non-GET. Closes #723
  2440. * Fixed express(1) public dir for windows. Closes #866
  2441. 2.5.9/ 2012-04-02
  2442. ==================
  2443. * Added support for PURGE request method [pbuyle]
  2444. * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
  2445. 2.5.8 / 2012-02-08
  2446. ==================
  2447. * Update mkdirp dep. Closes #991
  2448. 2.5.7 / 2012-02-06
  2449. ==================
  2450. * Fixed `app.all` duplicate DELETE requests [mscdex]
  2451. 2.5.6 / 2012-01-13
  2452. ==================
  2453. * Updated hamljs dev dep. Closes #953
  2454. 2.5.5 / 2012-01-08
  2455. ==================
  2456. * Fixed: set `filename` on cached templates [matthewleon]
  2457. 2.5.4 / 2012-01-02
  2458. ==================
  2459. * Fixed `express(1)` eol on 0.4.x. Closes #947
  2460. 2.5.3 / 2011-12-30
  2461. ==================
  2462. * Fixed `req.is()` when a charset is present
  2463. 2.5.2 / 2011-12-10
  2464. ==================
  2465. * Fixed: express(1) LF -> CRLF for windows
  2466. 2.5.1 / 2011-11-17
  2467. ==================
  2468. * Changed: updated connect to 1.8.x
  2469. * Removed sass.js support from express(1)
  2470. 2.5.0 / 2011-10-24
  2471. ==================
  2472. * Added ./routes dir for generated app by default
  2473. * Added npm install reminder to express(1) app gen
  2474. * Added 0.5.x support
  2475. * Removed `make test-cov` since it wont work with node 0.5.x
  2476. * Fixed express(1) public dir for windows. Closes #866
  2477. 2.4.7 / 2011-10-05
  2478. ==================
  2479. * Added mkdirp to express(1). Closes #795
  2480. * Added simple _json-config_ example
  2481. * Added shorthand for the parsed request's pathname via `req.path`
  2482. * Changed connect dep to 1.7.x to fix npm issue...
  2483. * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
  2484. * Fixed `req.flash()`, only escape args
  2485. * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
  2486. 2.4.6 / 2011-08-22
  2487. ==================
  2488. * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
  2489. 2.4.5 / 2011-08-19
  2490. ==================
  2491. * Added support for routes to handle errors. Closes #809
  2492. * Added `app.routes.all()`. Closes #803
  2493. * Added "basepath" setting to work in conjunction with reverse proxies etc.
  2494. * Refactored `Route` to use a single array of callbacks
  2495. * Added support for multiple callbacks for `app.param()`. Closes #801
  2496. Closes #805
  2497. * Changed: removed .call(self) for route callbacks
  2498. * Dependency: `qs >= 0.3.1`
  2499. * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
  2500. 2.4.4 / 2011-08-05
  2501. ==================
  2502. * Fixed `res.header()` intention of a set, even when `undefined`
  2503. * Fixed `*`, value no longer required
  2504. * Fixed `res.send(204)` support. Closes #771
  2505. 2.4.3 / 2011-07-14
  2506. ==================
  2507. * Added docs for `status` option special-case. Closes #739
  2508. * Fixed `options.filename`, exposing the view path to template engines
  2509. 2.4.2. / 2011-07-06
  2510. ==================
  2511. * Revert "removed jsonp stripping" for XSS
  2512. 2.4.1 / 2011-07-06
  2513. ==================
  2514. * Added `res.json()` JSONP support. Closes #737
  2515. * Added _extending-templates_ example. Closes #730
  2516. * Added "strict routing" setting for trailing slashes
  2517. * Added support for multiple envs in `app.configure()` calls. Closes #735
  2518. * Changed: `res.send()` using `res.json()`
  2519. * Changed: when cookie `path === null` don't default it
  2520. * Changed; default cookie path to "home" setting. Closes #731
  2521. * Removed _pids/logs_ creation from express(1)
  2522. 2.4.0 / 2011-06-28
  2523. ==================
  2524. * Added chainable `res.status(code)`
  2525. * Added `res.json()`, an explicit version of `res.send(obj)`
  2526. * Added simple web-service example
  2527. 2.3.12 / 2011-06-22
  2528. ==================
  2529. * \#express is now on freenode! come join!
  2530. * Added `req.get(field, param)`
  2531. * Added links to Japanese documentation, thanks @hideyukisaito!
  2532. * Added; the `express(1)` generated app outputs the env
  2533. * Added `content-negotiation` example
  2534. * Dependency: connect >= 1.5.1 < 2.0.0
  2535. * Fixed view layout bug. Closes #720
  2536. * Fixed; ignore body on 304. Closes #701
  2537. 2.3.11 / 2011-06-04
  2538. ==================
  2539. * Added `npm test`
  2540. * Removed generation of dummy test file from `express(1)`
  2541. * Fixed; `express(1)` adds express as a dep
  2542. * Fixed; prune on `prepublish`
  2543. 2.3.10 / 2011-05-27
  2544. ==================
  2545. * Added `req.route`, exposing the current route
  2546. * Added _package.json_ generation support to `express(1)`
  2547. * Fixed call to `app.param()` function for optional params. Closes #682
  2548. 2.3.9 / 2011-05-25
  2549. ==================
  2550. * Fixed bug-ish with `../' in `res.partial()` calls
  2551. 2.3.8 / 2011-05-24
  2552. ==================
  2553. * Fixed `app.options()`
  2554. 2.3.7 / 2011-05-23
  2555. ==================
  2556. * Added route `Collection`, ex: `app.get('/user/:id').remove();`
  2557. * Added support for `app.param(fn)` to define param logic
  2558. * Removed `app.param()` support for callback with return value
  2559. * Removed module.parent check from express(1) generated app. Closes #670
  2560. * Refactored router. Closes #639
  2561. 2.3.6 / 2011-05-20
  2562. ==================
  2563. * Changed; using devDependencies instead of git submodules
  2564. * Fixed redis session example
  2565. * Fixed markdown example
  2566. * Fixed view caching, should not be enabled in development
  2567. 2.3.5 / 2011-05-20
  2568. ==================
  2569. * Added export `.view` as alias for `.View`
  2570. 2.3.4 / 2011-05-08
  2571. ==================
  2572. * Added `./examples/say`
  2573. * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
  2574. 2.3.3 / 2011-05-03
  2575. ==================
  2576. * Added "case sensitive routes" option.
  2577. * Changed; split methods supported per rfc [slaskis]
  2578. * Fixed route-specific middleware when using the same callback function several times
  2579. 2.3.2 / 2011-04-27
  2580. ==================
  2581. * Fixed view hints
  2582. 2.3.1 / 2011-04-26
  2583. ==================
  2584. * Added `app.match()` as `app.match.all()`
  2585. * Added `app.lookup()` as `app.lookup.all()`
  2586. * Added `app.remove()` for `app.remove.all()`
  2587. * Added `app.remove.VERB()`
  2588. * Fixed template caching collision issue. Closes #644
  2589. * Moved router over from connect and started refactor
  2590. 2.3.0 / 2011-04-25
  2591. ==================
  2592. * Added options support to `res.clearCookie()`
  2593. * Added `res.helpers()` as alias of `res.locals()`
  2594. * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
  2595. * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
  2596. * Renamed "cache views" to "view cache". Closes #628
  2597. * Fixed caching of views when using several apps. Closes #637
  2598. * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
  2599. Closes #638
  2600. * Fixed partial lookup precedence. Closes #631
  2601. Shaw]
  2602. 2.2.2 / 2011-04-12
  2603. ==================
  2604. * Added second callback support for `res.download()` connection errors
  2605. * Fixed `filename` option passing to template engine
  2606. 2.2.1 / 2011-04-04
  2607. ==================
  2608. * Added `layout(path)` helper to change the layout within a view. Closes #610
  2609. * Fixed `partial()` collection object support.
  2610. Previously only anything with `.length` would work.
  2611. When `.length` is present one must still be aware of holes,
  2612. however now `{ collection: {foo: 'bar'}}` is valid, exposes
  2613. `keyInCollection` and `keysInCollection`.
  2614. * Performance improved with better view caching
  2615. * Removed `request` and `response` locals
  2616. * Changed; errorHandler page title is now `Express` instead of `Connect`
  2617. 2.2.0 / 2011-03-30
  2618. ==================
  2619. * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
  2620. * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
  2621. * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
  2622. * Dependency `connect >= 1.2.0`
  2623. 2.1.1 / 2011-03-29
  2624. ==================
  2625. * Added; expose `err.view` object when failing to locate a view
  2626. * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
  2627. * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
  2628. 2.1.0 / 2011-03-24
  2629. ==================
  2630. * Added `<root>/_?<name>` partial lookup support. Closes #447
  2631. * Added `request`, `response`, and `app` local variables
  2632. * Added `settings` local variable, containing the app's settings
  2633. * Added `req.flash()` exception if `req.session` is not available
  2634. * Added `res.send(bool)` support (json response)
  2635. * Fixed stylus example for latest version
  2636. * Fixed; wrap try/catch around `res.render()`
  2637. 2.0.0 / 2011-03-17
  2638. ==================
  2639. * Fixed up index view path alternative.
  2640. * Changed; `res.locals()` without object returns the locals
  2641. 2.0.0rc3 / 2011-03-17
  2642. ==================
  2643. * Added `res.locals(obj)` to compliment `res.local(key, val)`
  2644. * Added `res.partial()` callback support
  2645. * Fixed recursive error reporting issue in `res.render()`
  2646. 2.0.0rc2 / 2011-03-17
  2647. ==================
  2648. * Changed; `partial()` "locals" are now optional
  2649. * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
  2650. * Fixed .filename view engine option [reported by drudge]
  2651. * Fixed blog example
  2652. * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
  2653. 2.0.0rc / 2011-03-14
  2654. ==================
  2655. * Fixed; expose `HTTPSServer` constructor
  2656. * Fixed express(1) default test charset. Closes #579 [reported by secoif]
  2657. * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
  2658. 2.0.0beta3 / 2011-03-09
  2659. ==================
  2660. * Added support for `res.contentType()` literal
  2661. The original `res.contentType('.json')`,
  2662. `res.contentType('application/json')`, and `res.contentType('json')`
  2663. will work now.
  2664. * Added `res.render()` status option support back
  2665. * Added charset option for `res.render()`
  2666. * Added `.charset` support (via connect 1.0.4)
  2667. * Added view resolution hints when in development and a lookup fails
  2668. * Added layout lookup support relative to the page view.
  2669. For example while rendering `./views/user/index.jade` if you create
  2670. `./views/user/layout.jade` it will be used in favour of the root layout.
  2671. * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
  2672. * Fixed; default `res.send()` string charset to utf8
  2673. * Removed `Partial` constructor (not currently used)
  2674. 2.0.0beta2 / 2011-03-07
  2675. ==================
  2676. * Added res.render() `.locals` support back to aid in migration process
  2677. * Fixed flash example
  2678. 2.0.0beta / 2011-03-03
  2679. ==================
  2680. * Added HTTPS support
  2681. * Added `res.cookie()` maxAge support
  2682. * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
  2683. * Added mount support for `res.redirect()`, now respects the mount-point
  2684. * Added `union()` util, taking place of `merge(clone())` combo
  2685. * Added stylus support to express(1) generated app
  2686. * Added secret to session middleware used in examples and generated app
  2687. * Added `res.local(name, val)` for progressive view locals
  2688. * Added default param support to `req.param(name, default)`
  2689. * Added `app.disabled()` and `app.enabled()`
  2690. * Added `app.register()` support for omitting leading ".", either works
  2691. * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
  2692. * Added `app.param()` to map route params to async/sync logic
  2693. * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
  2694. * Added extname with no leading "." support to `res.contentType()`
  2695. * Added `cache views` setting, defaulting to enabled in "production" env
  2696. * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
  2697. * Added `req.accepts()` support for extensions
  2698. * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
  2699. static file server `connect.static.send()`.
  2700. * Changed; replaced `connect.utils.mime()` with npm _mime_ module
  2701. * Changed; allow `req.query` to be pre-defined (via middleware or other parent
  2702. * Changed view partial resolution, now relative to parent view
  2703. * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
  2704. * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
  2705. * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
  2706. * Fixed; using _qs_ module instead of _querystring_
  2707. * Fixed; strip unsafe chars from jsonp callbacks
  2708. * Removed "stream threshold" setting
  2709. 1.0.8 / 2011-03-01
  2710. ==================
  2711. * Allow `req.query` to be pre-defined (via middleware or other parent app)
  2712. * "connect": ">= 0.5.0 < 1.0.0". Closes #547
  2713. * Removed the long deprecated __EXPRESS_ENV__ support
  2714. 1.0.7 / 2011-02-07
  2715. ==================
  2716. * Fixed `render()` setting inheritance.
  2717. Mounted apps would not inherit "view engine"
  2718. 1.0.6 / 2011-02-07
  2719. ==================
  2720. * Fixed `view engine` setting bug when period is in dirname
  2721. 1.0.5 / 2011-02-05
  2722. ==================
  2723. * Added secret to generated app `session()` call
  2724. 1.0.4 / 2011-02-05
  2725. ==================
  2726. * Added `qs` dependency to _package.json_
  2727. * Fixed namespaced `require()`s for latest connect support
  2728. 1.0.3 / 2011-01-13
  2729. ==================
  2730. * Remove unsafe characters from JSONP callback names [Ryan Grove]
  2731. 1.0.2 / 2011-01-10
  2732. ==================
  2733. * Removed nested require, using `connect.router`
  2734. 1.0.1 / 2010-12-29
  2735. ==================
  2736. * Fixed for middleware stacked via `createServer()`
  2737. previously the `foo` middleware passed to `createServer(foo)`
  2738. would not have access to Express methods such as `res.send()`
  2739. or props like `req.query` etc.
  2740. 1.0.0 / 2010-11-16
  2741. ==================
  2742. * Added; deduce partial object names from the last segment.
  2743. For example by default `partial('forum/post', postObject)` will
  2744. give you the _post_ object, providing a meaningful default.
  2745. * Added http status code string representation to `res.redirect()` body
  2746. * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
  2747. * Added `req.is()` to aid in content negotiation
  2748. * Added partial local inheritance [suggested by masylum]. Closes #102
  2749. providing access to parent template locals.
  2750. * Added _-s, --session[s]_ flag to express(1) to add session related middleware
  2751. * Added _--template_ flag to express(1) to specify the
  2752. template engine to use.
  2753. * Added _--css_ flag to express(1) to specify the
  2754. stylesheet engine to use (or just plain css by default).
  2755. * Added `app.all()` support [thanks aheckmann]
  2756. * Added partial direct object support.
  2757. You may now `partial('user', user)` providing the "user" local,
  2758. vs previously `partial('user', { object: user })`.
  2759. * Added _route-separation_ example since many people question ways
  2760. to do this with CommonJS modules. Also view the _blog_ example for
  2761. an alternative.
  2762. * Performance; caching view path derived partial object names
  2763. * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
  2764. * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
  2765. 1.0.0rc4 / 2010-10-14
  2766. ==================
  2767. * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
  2768. * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
  2769. * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
  2770. * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
  2771. * Added `partial()` support for array-like collections. Closes #434
  2772. * Added support for swappable querystring parsers
  2773. * Added session usage docs. Closes #443
  2774. * Added dynamic helper caching. Closes #439 [suggested by maritz]
  2775. * Added authentication example
  2776. * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
  2777. * Changed; `express(1)` generated app using 2 spaces instead of 4
  2778. * Default env to "development" again [aheckmann]
  2779. * Removed _context_ option is no more, use "scope"
  2780. * Fixed; exposing _./support_ libs to examples so they can run without installs
  2781. * Fixed mvc example
  2782. 1.0.0rc3 / 2010-09-20
  2783. ==================
  2784. * Added confirmation for `express(1)` app generation. Closes #391
  2785. * Added extending of flash formatters via `app.flashFormatters`
  2786. * Added flash formatter support. Closes #411
  2787. * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
  2788. * Added _stream threshold_ setting for `res.sendfile()`
  2789. * Added `res.send()` __HEAD__ support
  2790. * Added `res.clearCookie()`
  2791. * Added `res.cookie()`
  2792. * Added `res.render()` headers option
  2793. * Added `res.redirect()` response bodies
  2794. * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
  2795. * Fixed `res.sendfile()` responding with 403 on malicious path
  2796. * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
  2797. * Fixed; mounted apps settings now inherit from parent app [aheckmann]
  2798. * Fixed; stripping Content-Length / Content-Type when 204
  2799. * Fixed `res.send()` 204. Closes #419
  2800. * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
  2801. * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
  2802. 1.0.0rc2 / 2010-08-17
  2803. ==================
  2804. * Added `app.register()` for template engine mapping. Closes #390
  2805. * Added `res.render()` callback support as second argument (no options)
  2806. * Added callback support to `res.download()`
  2807. * Added callback support for `res.sendfile()`
  2808. * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
  2809. * Added "partials" setting to docs
  2810. * Added default expresso tests to `express(1)` generated app. Closes #384
  2811. * Fixed `res.sendfile()` error handling, defer via `next()`
  2812. * Fixed `res.render()` callback when a layout is used [thanks guillermo]
  2813. * Fixed; `make install` creating ~/.node_libraries when not present
  2814. * Fixed issue preventing error handlers from being defined anywhere. Closes #387
  2815. 1.0.0rc / 2010-07-28
  2816. ==================
  2817. * Added mounted hook. Closes #369
  2818. * Added connect dependency to _package.json_
  2819. * Removed "reload views" setting and support code
  2820. development env never caches, production always caches.
  2821. * Removed _param_ in route callbacks, signature is now
  2822. simply (req, res, next), previously (req, res, params, next).
  2823. Use _req.params_ for path captures, _req.query_ for GET params.
  2824. * Fixed "home" setting
  2825. * Fixed middleware/router precedence issue. Closes #366
  2826. * Fixed; _configure()_ callbacks called immediately. Closes #368
  2827. 1.0.0beta2 / 2010-07-23
  2828. ==================
  2829. * Added more examples
  2830. * Added; exporting `Server` constructor
  2831. * Added `Server#helpers()` for view locals
  2832. * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
  2833. * Added support for absolute view paths
  2834. * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
  2835. * Added Guillermo Rauch to the contributor list
  2836. * Added support for "as" for non-collection partials. Closes #341
  2837. * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
  2838. * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
  2839. * Fixed instanceof `Array` checks, now `Array.isArray()`
  2840. * Fixed express(1) expansion of public dirs. Closes #348
  2841. * Fixed middleware precedence. Closes #345
  2842. * Fixed view watcher, now async [thanks aheckmann]
  2843. 1.0.0beta / 2010-07-15
  2844. ==================
  2845. * Re-write
  2846. - much faster
  2847. - much lighter
  2848. - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
  2849. 0.14.0 / 2010-06-15
  2850. ==================
  2851. * Utilize relative requires
  2852. * Added Static bufferSize option [aheckmann]
  2853. * Fixed caching of view and partial subdirectories [aheckmann]
  2854. * Fixed mime.type() comments now that ".ext" is not supported
  2855. * Updated haml submodule
  2856. * Updated class submodule
  2857. * Removed bin/express
  2858. 0.13.0 / 2010-06-01
  2859. ==================
  2860. * Added node v0.1.97 compatibility
  2861. * Added support for deleting cookies via Request#cookie('key', null)
  2862. * Updated haml submodule
  2863. * Fixed not-found page, now using charset utf-8
  2864. * Fixed show-exceptions page, now using charset utf-8
  2865. * Fixed view support due to fs.readFile Buffers
  2866. * Changed; mime.type() no longer accepts ".type" due to node extname() changes
  2867. 0.12.0 / 2010-05-22
  2868. ==================
  2869. * Added node v0.1.96 compatibility
  2870. * Added view `helpers` export which act as additional local variables
  2871. * Updated haml submodule
  2872. * Changed ETag; removed inode, modified time only
  2873. * Fixed LF to CRLF for setting multiple cookies
  2874. * Fixed cookie compilation; values are now urlencoded
  2875. * Fixed cookies parsing; accepts quoted values and url escaped cookies
  2876. 0.11.0 / 2010-05-06
  2877. ==================
  2878. * Added support for layouts using different engines
  2879. - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
  2880. - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
  2881. - this.render('page.html.haml', { layout: false }) // no layout
  2882. * Updated ext submodule
  2883. * Updated haml submodule
  2884. * Fixed EJS partial support by passing along the context. Issue #307
  2885. 0.10.1 / 2010-05-03
  2886. ==================
  2887. * Fixed binary uploads.
  2888. 0.10.0 / 2010-04-30
  2889. ==================
  2890. * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
  2891. encoding is set to 'utf8' or 'utf-8').
  2892. * Added "encoding" option to Request#render(). Closes #299
  2893. * Added "dump exceptions" setting, which is enabled by default.
  2894. * Added simple ejs template engine support
  2895. * Added error response support for text/plain, application/json. Closes #297
  2896. * Added callback function param to Request#error()
  2897. * Added Request#sendHead()
  2898. * Added Request#stream()
  2899. * Added support for Request#respond(304, null) for empty response bodies
  2900. * Added ETag support to Request#sendfile()
  2901. * Added options to Request#sendfile(), passed to fs.createReadStream()
  2902. * Added filename arg to Request#download()
  2903. * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
  2904. * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
  2905. * Changed; Request#sendfile() now streams
  2906. * Changed; Renamed Request#halt() to Request#respond(). Closes #289
  2907. * Changed; Using sys.inspect() instead of JSON.encode() for error output
  2908. * Changed; run() returns the http.Server instance. Closes #298
  2909. * Changed; Defaulting Server#host to null (INADDR_ANY)
  2910. * Changed; Logger "common" format scale of 0.4f
  2911. * Removed Logger "request" format
  2912. * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
  2913. * Fixed several issues with http client
  2914. * Fixed Logger Content-Length output
  2915. * Fixed bug preventing Opera from retaining the generated session id. Closes #292
  2916. 0.9.0 / 2010-04-14
  2917. ==================
  2918. * Added DSL level error() route support
  2919. * Added DSL level notFound() route support
  2920. * Added Request#error()
  2921. * Added Request#notFound()
  2922. * Added Request#render() callback function. Closes #258
  2923. * Added "max upload size" setting
  2924. * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
  2925. * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
  2926. * Added callback function support to Request#halt() as 3rd/4th arg
  2927. * Added preprocessing of route param wildcards using param(). Closes #251
  2928. * Added view partial support (with collections etc.)
  2929. * Fixed bug preventing falsey params (such as ?page=0). Closes #286
  2930. * Fixed setting of multiple cookies. Closes #199
  2931. * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
  2932. * Changed; session cookie is now httpOnly
  2933. * Changed; Request is no longer global
  2934. * Changed; Event is no longer global
  2935. * Changed; "sys" module is no longer global
  2936. * Changed; moved Request#download to Static plugin where it belongs
  2937. * Changed; Request instance created before body parsing. Closes #262
  2938. * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
  2939. * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
  2940. * Updated support to node --version 0.1.90
  2941. * Updated dependencies
  2942. * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
  2943. * Removed utils.mixin(); use Object#mergeDeep()
  2944. 0.8.0 / 2010-03-19
  2945. ==================
  2946. * Added coffeescript example app. Closes #242
  2947. * Changed; cache api now async friendly. Closes #240
  2948. * Removed deprecated 'express/static' support. Use 'express/plugins/static'
  2949. 0.7.6 / 2010-03-19
  2950. ==================
  2951. * Added Request#isXHR. Closes #229
  2952. * Added `make install` (for the executable)
  2953. * Added `express` executable for setting up simple app templates
  2954. * Added "GET /public/*" to Static plugin, defaulting to <root>/public
  2955. * Added Static plugin
  2956. * Fixed; Request#render() only calls cache.get() once
  2957. * Fixed; Namespacing View caches with "view:"
  2958. * Fixed; Namespacing Static caches with "static:"
  2959. * Fixed; Both example apps now use the Static plugin
  2960. * Fixed set("views"). Closes #239
  2961. * Fixed missing space for combined log format
  2962. * Deprecated Request#sendfile() and 'express/static'
  2963. * Removed Server#running
  2964. 0.7.5 / 2010-03-16
  2965. ==================
  2966. * Added Request#flash() support without args, now returns all flashes
  2967. * Updated ext submodule
  2968. 0.7.4 / 2010-03-16
  2969. ==================
  2970. * Fixed session reaper
  2971. * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
  2972. 0.7.3 / 2010-03-16
  2973. ==================
  2974. * Added package.json
  2975. * Fixed requiring of haml / sass due to kiwi removal
  2976. 0.7.2 / 2010-03-16
  2977. ==================
  2978. * Fixed GIT submodules (HAH!)
  2979. 0.7.1 / 2010-03-16
  2980. ==================
  2981. * Changed; Express now using submodules again until a PM is adopted
  2982. * Changed; chat example using millisecond conversions from ext
  2983. 0.7.0 / 2010-03-15
  2984. ==================
  2985. * Added Request#pass() support (finds the next matching route, or the given path)
  2986. * Added Logger plugin (default "common" format replaces CommonLogger)
  2987. * Removed Profiler plugin
  2988. * Removed CommonLogger plugin
  2989. 0.6.0 / 2010-03-11
  2990. ==================
  2991. * Added seed.yml for kiwi package management support
  2992. * Added HTTP client query string support when method is GET. Closes #205
  2993. * Added support for arbitrary view engines.
  2994. For example "foo.engine.html" will now require('engine'),
  2995. the exports from this module are cached after the first require().
  2996. * Added async plugin support
  2997. * Removed usage of RESTful route funcs as http client
  2998. get() etc, use http.get() and friends
  2999. * Removed custom exceptions
  3000. 0.5.0 / 2010-03-10
  3001. ==================
  3002. * Added ext dependency (library of js extensions)
  3003. * Removed extname() / basename() utils. Use path module
  3004. * Removed toArray() util. Use arguments.values
  3005. * Removed escapeRegexp() util. Use RegExp.escape()
  3006. * Removed process.mixin() dependency. Use utils.mixin()
  3007. * Removed Collection
  3008. * Removed ElementCollection
  3009. * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
  3010. 0.4.0 / 2010-02-11
  3011. ==================
  3012. * Added flash() example to sample upload app
  3013. * Added high level restful http client module (express/http)
  3014. * Changed; RESTful route functions double as HTTP clients. Closes #69
  3015. * Changed; throwing error when routes are added at runtime
  3016. * Changed; defaulting render() context to the current Request. Closes #197
  3017. * Updated haml submodule
  3018. 0.3.0 / 2010-02-11
  3019. ==================
  3020. * Updated haml / sass submodules. Closes #200
  3021. * Added flash message support. Closes #64
  3022. * Added accepts() now allows multiple args. fixes #117
  3023. * Added support for plugins to halt. Closes #189
  3024. * Added alternate layout support. Closes #119
  3025. * Removed Route#run(). Closes #188
  3026. * Fixed broken specs due to use(Cookie) missing
  3027. 0.2.1 / 2010-02-05
  3028. ==================
  3029. * Added "plot" format option for Profiler (for gnuplot processing)
  3030. * Added request number to Profiler plugin
  3031. * Fixed binary encoding for multipart file uploads, was previously defaulting to UTF8
  3032. * Fixed issue with routes not firing when not files are present. Closes #184
  3033. * Fixed process.Promise -> events.Promise
  3034. 0.2.0 / 2010-02-03
  3035. ==================
  3036. * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
  3037. * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
  3038. * Added expiration support to cache api with reaper. Closes #133
  3039. * Added cache Store.Memory#reap()
  3040. * Added Cache; cache api now uses first class Cache instances
  3041. * Added abstract session Store. Closes #172
  3042. * Changed; cache Memory.Store#get() utilizing Collection
  3043. * Renamed MemoryStore -> Store.Memory
  3044. * Fixed use() of the same plugin several time will always use latest options. Closes #176
  3045. 0.1.0 / 2010-02-03
  3046. ==================
  3047. * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
  3048. * Updated node support to 0.1.27 Closes #169
  3049. * Updated dirname(__filename) -> __dirname
  3050. * Updated libxmljs support to v0.2.0
  3051. * Added session support with memory store / reaping
  3052. * Added quick uid() helper
  3053. * Added multi-part upload support
  3054. * Added Sass.js support / submodule
  3055. * Added production env caching view contents and static files
  3056. * Added static file caching. Closes #136
  3057. * Added cache plugin with memory stores
  3058. * Added support to StaticFile so that it works with non-textual files.
  3059. * Removed dirname() helper
  3060. * Removed several globals (now their modules must be required)
  3061. 0.0.2 / 2010-01-10
  3062. ==================
  3063. * Added view benchmarks; currently haml vs ejs
  3064. * Added Request#attachment() specs. Closes #116
  3065. * Added use of node's parseQuery() util. Closes #123
  3066. * Added `make init` for submodules
  3067. * Updated Haml
  3068. * Updated sample chat app to show messages on load
  3069. * Updated libxmljs parseString -> parseHtmlString
  3070. * Fixed `make init` to work with older versions of git
  3071. * Fixed specs can now run independent specs for those who can't build deps. Closes #127
  3072. * Fixed issues introduced by the node url module changes. Closes 126.
  3073. * Fixed two assertions failing due to Collection#keys() returning strings
  3074. * Fixed faulty Collection#toArray() spec due to keys() returning strings
  3075. * Fixed `make test` now builds libxmljs.node before testing
  3076. 0.0.1 / 2010-01-03
  3077. ==================
  3078. * Initial release