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.

3142 lines
96 KiB

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