2 =========================
4 - `path-is-absolute` dependency - use `path.isAbsolute` instead
6 * `res.status()` accepts only integers, and input must be greater than 99 and less than 1000
7 * will throw a `RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.` for inputs outside this range
8 * will throw a `TypeError: Invalid status code: ${code}. Status code must be an integer.` for non integer inputs
10 * `res.redirect('back')` and `res.location('back')` is no longer a supported magic string, explicitly use `req.get('Referrer') || '/'`.
12 - `res.clearCookie` will ignore user provided `maxAge` and `expires` options
13 * deps: cookie-signature@^1.2.1
15 * deps: merge-descriptors@^2.0.0
16 * deps: serve-static@^2.1.0
18 * deps: accepts@^2.0.0
19 * deps: mime-types@^3.0.0
20 - `application/javascript` => `text/javascript`
21 * deps: type-is@^2.0.0
22 * deps: content-disposition@^1.0.0
23 * deps: finalhandler@^2.0.0
25 * deps: body-parser@^2.0.1
27 5.0.0-beta.3 / 2024-03-25
28 =========================
30 This incorporates all changes after 4.19.1 up to 4.19.2.
32 5.0.0-beta.2 / 2024-03-20
33 =========================
35 This incorporates all changes after 4.17.2 up to 4.19.1.
37 5.0.0-beta.1 / 2022-02-14
38 =========================
40 This is the first Express 5.0 beta release, based off 4.17.2 and includes
41 changes from 5.0.0-alpha.8.
44 - Default "query parser" setting to `'simple'`
46 - Use `mime-types` for file to content type mapping
47 * deps: array-flatten@3.0.0
48 * deps: body-parser@2.0.0-beta.1
49 - `req.body` is no longer always initialized to `{}`
50 - `urlencoded` parser now defaults `extended` to `false`
51 - Use `on-finished` to determine when body read
52 * deps: router@2.0.0-beta.1
53 - Add new `?`, `*`, and `+` parameter modifiers
54 - Internalize private `router.process_params` method
55 - Matching group expressions are only RegExp syntax
56 - Named matching groups no longer available by position in `req.params`
57 - Regular expressions can only be used in a matching group
58 - Remove `debug` dependency
59 - Special `*` path segment behavior removed
60 - deps: array-flatten@3.0.0
61 - deps: parseurl@~1.3.3
62 - deps: path-to-regexp@3.2.0
63 - deps: setprototypeof@1.2.0
64 * deps: send@1.0.0-beta.1
65 - Change `dotfiles` option default to `'ignore'`
66 - Remove `hidden` option; use `dotfiles` option instead
67 - Use `mime-types` for file to content type mapping
69 * deps: serve-static@2.0.0-beta.1
70 - Change `dotfiles` option default to `'ignore'`
71 - Remove `hidden` option; use `dotfiles` option instead
72 - Use `mime-types` for file to content type mapping
73 - deps: send@1.0.0-beta.1
75 5.0.0-alpha.8 / 2020-03-25
76 ==========================
78 This is the eighth Express 5.0 alpha release, based off 4.17.1 and includes
79 changes from 5.0.0-alpha.7.
81 5.0.0-alpha.7 / 2018-10-26
82 ==========================
84 This is the seventh Express 5.0 alpha release, based off 4.16.4 and includes
85 changes from 5.0.0-alpha.6.
87 The major change with this alpha is the basic support for returned, rejected
88 Promises in the router.
91 - `path-to-regexp` dependency
93 - Add `DEBUG_HIDE_DATE` environment variable
94 - Change timer to per-namespace instead of global
95 - Change non-TTY date format
96 - Remove `DEBUG_FD` environment variable support
97 - Support 256 namespace colors
98 * deps: router@2.0.0-alpha.1
99 - Add basic support for returned, rejected Promises
100 - Fix JSDoc for `Router` constructor
102 - deps: parseurl@~1.3.2
103 - deps: setprototypeof@1.1.0
104 - deps: utils-merge@1.0.1
106 5.0.0-alpha.6 / 2017-09-24
107 ==========================
109 This is the sixth Express 5.0 alpha release, based off 4.15.5 and includes
110 changes from 5.0.0-alpha.5.
113 - `res.redirect(url, status)` signature - use `res.redirect(status, url)`
114 - `res.send(status, body)` signature - use `res.status(status).send(body)`
115 * deps: router@~1.3.1
118 5.0.0-alpha.5 / 2017-03-06
119 ==========================
121 This is the fifth Express 5.0 alpha release, based off 4.15.2 and includes
122 changes from 5.0.0-alpha.4.
124 5.0.0-alpha.4 / 2017-03-01
125 ==========================
127 This is the fourth Express 5.0 alpha release, based off 4.15.0 and includes
128 changes from 5.0.0-alpha.3.
131 - Remove Express 3.x middleware error stubs
132 * deps: router@~1.3.0
133 - Add `next("router")` to exit from router
134 - Fix case where `router.use` skipped requests routes did not
135 - Skip routing when `req.url` is not set
136 - Use `%o` in path debug to tell types apart
138 - deps: setprototypeof@1.0.3
139 - perf: add fast match path for `*` route
141 5.0.0-alpha.3 / 2017-01-28
142 ==========================
144 This is the third Express 5.0 alpha release, based off 4.14.1 and includes
145 changes from 5.0.0-alpha.2.
148 - `res.json(status, obj)` signature - use `res.status(status).json(obj)`
149 - `res.jsonp(status, obj)` signature - use `res.status(status).jsonp(obj)`
150 - `res.vary()` (no arguments) -- provide a field name as an argument
151 * deps: array-flatten@2.1.1
152 * deps: path-is-absolute@1.0.1
153 * deps: router@~1.1.5
154 - deps: array-flatten@2.0.1
155 - deps: methods@~1.1.2
156 - deps: parseurl@~1.3.1
157 - deps: setprototypeof@1.0.2
159 5.0.0-alpha.2 / 2015-07-06
160 ==========================
162 This is the second Express 5.0 alpha release, based off 4.13.1 and includes
163 changes from 5.0.0-alpha.1.
167 - `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
169 - `res.render` callback is always async, even for sync view engines
170 - The leading `:` character in `name` for `app.param(name, fn)` is no longer removed
171 - Use `router` module for routing
172 - Use `path-is-absolute` module for absolute path detection
174 5.0.0-alpha.1 / 2014-11-06
175 ==========================
177 This is the first Express 5.0 alpha release, based off 4.10.1.
180 - `app.del` - use `app.delete`
181 - `req.acceptsCharset` - use `req.acceptsCharsets`
182 - `req.acceptsEncoding` - use `req.acceptsEncodings`
183 - `req.acceptsLanguage` - use `req.acceptsLanguages`
184 - `res.json(obj, status)` signature - use `res.json(status, obj)`
185 - `res.jsonp(obj, status)` signature - use `res.jsonp(status, obj)`
186 - `res.send(body, status)` signature - use `res.send(status, body)`
187 - `res.send(status)` signature - use `res.sendStatus(status)`
188 - `res.sendfile` - use `res.sendFile` instead
189 - `express.query` middleware
191 - `req.host` now returns host (`hostname:port`) - use `req.hostname` for only hostname
192 - `req.query` is now a getter instead of a plain property
194 - `app.router` is a reference to the base router
198 * deps: serve-static@0.16.0
199 * Remove link renderization in html while redirecting
201 * Remove link renderization in html while redirecting
202 * deps: body-parser@0.6.0
203 * add `depth` option to customize the depth level in the parser
204 * IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)
205 * Remove link renderization in html while using `res.redirect`
206 * deps: path-to-regexp@0.1.10
207 - Adds support for named matching groups in the routes using a regex
208 - Adds backtracking protection to parameters without regexes defined
209 * deps: encodeurl@~2.0.0
210 - Removes encoding of `\`, `|`, and `^` to align better with URL spec
211 * Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie`
212 - Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
217 * Improved fix for open redirect allow list bypass
222 * Allow passing non-strings to res.location with new encoding handling checks
227 * Prevent open redirect allow list bypass due to encodeurl
233 * Fix routing requests without method
234 * deps: body-parser@1.20.2
235 - Fix strict json error message on Node.js 19+
236 - deps: content-type@~1.0.5
237 - deps: raw-body@2.5.2
239 - Add `partitioned` option
244 * Fix regression routing a large stack in a single route
245 * deps: body-parser@1.20.1
247 - perf: remove unnecessary object clone
253 * Fix hanging on large stack of sync routes
258 * Add "root" option to `res.download`
259 * Allow `options` without `filename` in `res.download`
260 * Deprecate string and non-integer arguments to `res.status`
261 * Fix behavior of `null`/`undefined` as `maxAge` in `res.cookie`
262 * Fix handling very large stacks of sync middleware
263 * Ignore `Object.prototype` values in settings through `app.set`/`app.get`
264 * Invoke `default` with same arguments as types in `res.format`
265 * Support proper 205 responses using `res.send`
266 * Use `http-errors` for `res.format` error
267 * deps: body-parser@1.20.0
268 - Fix error message for json parse whitespace in `strict`
269 - Fix internal error when inflated body exceeds limit
270 - Prevent loss of async hooks context
271 - Prevent hanging when request already read
273 - deps: http-errors@2.0.0
274 - deps: on-finished@2.4.1
276 - deps: raw-body@2.5.1
278 - Add `priority` option
279 - Fix `expires` option to reject invalid dates
281 - Replace internal `eval` usage with `Function` constructor
282 - Use instance methods on `process` to check for listeners
283 * deps: finalhandler@1.2.0
284 - Remove set content headers that break response
285 - deps: on-finished@2.4.1
286 - deps: statuses@2.0.1
287 * deps: on-finished@2.4.1
288 - Prevent loss of async hooks context
291 - Fix emitted 416 error missing headers property
292 - Limit the headers removed for 304 response
294 - deps: destroy@1.2.0
295 - deps: http-errors@2.0.0
296 - deps: on-finished@2.4.1
297 - deps: statuses@2.0.1
298 * deps: serve-static@1.15.0
300 * deps: statuses@2.0.1
302 - Rename `425 Unordered Collection` to standard `425 Too Early`
307 * deps: accepts@~1.3.8
308 - deps: mime-types@~2.1.34
309 - deps: negotiator@0.6.3
310 * deps: body-parser@1.19.2
313 - deps: raw-body@2.4.3
316 * Fix handling of `__proto__` keys
317 * pref: remove unnecessary regexp for trust proxy
322 * Fix handling of `undefined` in `res.jsonp`
323 * Fix handling of `undefined` when `"json escape"` is enabled
324 * Fix incorrect middleware execution with unanchored `RegExp`s
325 * Fix `res.jsonp(obj, status)` deprecation message
326 * Fix typo in `res.is` JSDoc
327 * deps: body-parser@1.19.1
329 - deps: http-errors@1.8.1
331 - deps: raw-body@2.4.2
332 - deps: safe-buffer@5.2.1
333 - deps: type-is@~1.6.18
334 * deps: content-disposition@0.5.4
335 - deps: safe-buffer@5.2.1
337 - Fix `maxAge` option to reject invalid values
338 * deps: proxy-addr@~2.0.7
339 - Use `req.socket` over deprecated `req.connection`
340 - deps: forwarded@0.2.0
341 - deps: ipaddr.js@1.9.1
343 * deps: safe-buffer@5.2.1
345 - deps: http-errors@1.8.1
347 - pref: ignore empty http tokens
348 * deps: serve-static@1.14.2
350 * deps: setprototypeof@1.2.0
355 * Revert "Improve error message for `null`/`undefined` to `res.status`"
360 * Add `express.raw` to parse bodies into `Buffer`
361 * Add `express.text` to parse bodies into string
362 * Improve error message for non-strings to `res.sendFile`
363 * Improve error message for `null`/`undefined` to `res.status`
364 * Support multiple hosts in `X-Forwarded-Host`
365 * deps: accepts@~1.3.7
366 * deps: body-parser@1.19.0
368 - Add petabyte (`pb`) support
369 - Fix parsing array brackets after index
371 - deps: http-errors@1.7.2
372 - deps: iconv-lite@0.4.24
374 - deps: raw-body@2.4.0
375 - deps: type-is@~1.6.17
376 * deps: content-disposition@0.5.3
378 - Add `SameSite=None` support
379 * deps: finalhandler@~1.1.2
380 - Set stricter `Content-Security-Policy` header
381 - deps: parseurl@~1.3.3
382 - deps: statuses@~1.5.0
383 * deps: parseurl@~1.3.3
384 * deps: proxy-addr@~2.0.5
385 - deps: ipaddr.js@1.9.0
387 - Fix parsing array brackets after index
388 * deps: range-parser@~1.2.1
390 - Set stricter CSP header in redirect & error responses
391 - deps: http-errors@~1.7.2
394 - deps: range-parser@~1.2.1
395 - deps: statuses@~1.5.0
396 - perf: remove redundant `path.normalize` call
397 * deps: serve-static@1.14.1
398 - Set stricter CSP header in redirect response
399 - deps: parseurl@~1.3.3
401 * deps: setprototypeof@1.1.1
402 * deps: statuses@~1.5.0
403 - Add `103 Early Hints`
404 * deps: type-is@~1.6.18
405 - deps: mime-types@~2.1.24
406 - perf: prevent internal `throw` on invalid type
411 * Fix issue where `"Request aborted"` may be logged in `res.sendfile`
412 * Fix JSDoc for `Router` constructor
413 * deps: body-parser@1.18.3
414 - Fix deprecation warnings on Node.js 10+
415 - Fix stack trace for strict json parse error
417 - deps: http-errors@~1.6.3
418 - deps: iconv-lite@0.4.23
420 - deps: raw-body@2.3.3
421 - deps: type-is@~1.6.16
422 * deps: proxy-addr@~2.0.4
423 - deps: ipaddr.js@1.8.0
425 * deps: safe-buffer@5.1.2
430 * deps: accepts@~1.3.5
431 - deps: mime-types@~2.1.18
433 - perf: remove argument reassignment
434 * deps: encodeurl@~1.0.2
435 - Fix encoding `%` as last character
436 * deps: finalhandler@1.1.1
437 - Fix 404 output for bad / missing pathnames
438 - deps: encodeurl@~1.0.2
439 - deps: statuses@~1.4.0
440 * deps: proxy-addr@~2.0.3
441 - deps: ipaddr.js@1.6.0
443 - Fix incorrect end tag in default error & redirects
445 - deps: encodeurl@~1.0.2
446 - deps: statuses@~1.4.0
447 * deps: serve-static@1.13.2
448 - Fix incorrect end tag in redirects
449 - deps: encodeurl@~1.0.2
451 * deps: statuses@~1.4.0
452 * deps: type-is@~1.6.16
453 - deps: mime-types@~2.1.18
458 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
459 * perf: skip parsing of entire `X-Forwarded-Proto` header
465 * deps: serve-static@1.13.1
466 - Fix regression when `root` is incorrectly set to a file
472 * Add `"json escape"` setting for `res.json` and `res.jsonp`
473 * Add `express.json` and `express.urlencoded` to parse bodies
474 * Add `options` argument to `res.download`
475 * Improve error message when autoloading invalid view engine
476 * Improve error messages when non-function provided as middleware
477 * Skip `Buffer` encoding when not generating ETag for small response
478 * Use `safe-buffer` for improved Buffer API
479 * deps: accepts@~1.3.4
480 - deps: mime-types@~2.1.16
481 * deps: content-type@~1.0.4
482 - perf: remove argument reassignment
483 - perf: skip parameter parsing when no parameters
485 - perf: replace regular expression with substring
486 * deps: finalhandler@1.1.0
487 - Use `res.headersSent` when available
488 * deps: parseurl@~1.3.2
489 - perf: reduce overhead for full URLs
490 - perf: unroll the "fast-path" `RegExp`
491 * deps: proxy-addr@~2.0.2
492 - Fix trimming leading / trailing OWS in `X-Forwarded-For`
493 - deps: forwarded@~0.1.2
494 - deps: ipaddr.js@1.5.2
495 - perf: reduce overhead when no `X-Forwarded-For` header
497 - Fix parsing & compacting very deep objects
499 - Add 70 new types for file extensions
500 - Add `immutable` option
501 - Fix missing `</html>` in default error & redirects
502 - Set charset as "UTF-8" for .js and .json
503 - Use instance methods on steam to check for listeners
505 - perf: improve path validation speed
506 * deps: serve-static@1.13.0
507 - Add 70 new types for file extensions
508 - Add `immutable` option
509 - Set charset as "UTF-8" for .js and .json
511 * deps: setprototypeof@1.1.0
512 * deps: utils-merge@1.0.1
514 - perf: improve header token parsing speed
515 * perf: re-use options object when generating ETags
516 * perf: remove dead `.charset` set in `res.jsonp`
522 * deps: finalhandler@~1.0.6
524 - deps: parseurl@~1.3.2
526 - Fix handling of modified headers with invalid dates
527 - perf: improve ETag match loop
528 - perf: improve `If-None-Match` token parsing
530 - Fix handling of modified headers with invalid dates
534 - perf: improve `If-Match` token parsing
535 * deps: serve-static@1.12.6
536 - deps: parseurl@~1.3.2
538 - perf: improve slash collapsing
545 - Remove unnecessary `Buffer` loading
546 * deps: finalhandler@~1.0.4
548 * deps: proxy-addr@~1.1.5
549 - Fix array argument being altered
550 - deps: ipaddr.js@1.4.0
555 - deps: http-errors@~1.6.2
556 * deps: serve-static@1.12.4
562 * Fix error when `res.set` cannot add charset to `Content-Type`
564 - Fix `DEBUG_MAX_ARRAY_LENGTH`
566 * deps: finalhandler@~1.0.3
567 - Fix missing `</html>` in HTML document
569 * deps: proxy-addr@~1.1.4
570 - deps: ipaddr.js@1.3.0
574 * deps: serve-static@1.12.3
576 * deps: type-is@~1.6.15
577 - deps: mime-types@~2.1.15
579 - perf: hoist regular expression
585 - Fix regression parsing keys starting with `[`
591 - Fix issue when `Date.parse` does not return `NaN` on invalid date
592 - Fix strict violation in broken environments
593 * deps: serve-static@1.12.1
594 - Fix issue when `Date.parse` does not return `NaN` on invalid date
600 * Add debug message when loading view engine
601 * Add `next("router")` to exit from router
602 * Fix case where `router.use` skipped requests routes did not
603 * Remove usage of `res._headers` private field
604 - Improves compatibility with Node.js 8 nightly
605 * Skip routing when `req.url` is not set
606 * Use `%o` in path debug to tell types apart
607 * Use `Object.create` to setup request & response prototypes
608 * Use `setprototypeof` module to replace `__proto__` setting
609 * Use `statuses` instead of `http` module for status messages
611 - Allow colors in workers
612 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
613 - Fix error when running under React Native
614 - Use same color for same namespace
617 - Use SHA1 instead of MD5 for ETag hashing
618 - Works with FIPS 140-2 OpenSSL configuration
619 * deps: finalhandler@~1.0.0
620 - Fix exception when `err` cannot be converted to a string
621 - Fully URL-encode the pathname in the 404
622 - Only include the pathname in the 404 message
623 - Send complete HTML document
624 - Set `Content-Security-Policy: default-src 'self'` header
627 - Fix false detection of `no-cache` request directive
628 - Fix incorrect result when `If-None-Match` has both `*` and ETags
629 - Fix weak `ETag` matching to match spec
630 - perf: delay reading header values until needed
631 - perf: enable strict mode
632 - perf: hoist regular expressions
633 - perf: remove duplicate conditional
634 - perf: remove unnecessary boolean coercions
635 - perf: skip checking modified time if ETag check failed
636 - perf: skip parsing `If-None-Match` when no `ETag` header
637 - perf: use `Date.parse` instead of `new Date`
639 - Fix array parsing from skipping empty values
640 - Fix compacting nested arrays
642 - Fix false detection of `no-cache` request directive
643 - Fix incorrect result when `If-None-Match` has both `*` and ETags
644 - Fix weak `ETag` matching to match spec
645 - Remove usage of `res._headers` private field
646 - Support `If-Match` and `If-Unmodified-Since` headers
647 - Use `res.getHeaderNames()` when available
648 - Use `res.headersSent` when available
652 - deps: http-errors@~1.6.1
653 * deps: serve-static@1.12.0
654 - Fix false detection of `no-cache` request directive
655 - Fix incorrect result when `If-None-Match` has both `*` and ETags
656 - Fix weak `ETag` matching to match spec
657 - Remove usage of `res._headers` private field
658 - Send complete HTML document in redirect response
659 - Set default CSP header in redirect response
660 - Support `If-Match` and `If-Unmodified-Since` headers
661 - Use `res.getHeaderNames()` when available
662 - Use `res.headersSent` when available
664 * perf: add fast match path for `*` route
665 * perf: improve `req.ips` performance
670 * deps: content-disposition@0.5.2
671 * deps: finalhandler@0.5.1
672 - Fix exception when `err.headers` is not an object
673 - deps: statuses@~1.3.1
674 - perf: hoist regular expressions
675 - perf: remove duplicate validation path
676 * deps: proxy-addr@~1.1.3
677 - deps: ipaddr.js@1.2.0
679 - deps: http-errors@~1.5.1
681 - deps: statuses@~1.3.1
682 * deps: serve-static@~1.11.2
684 * deps: type-is@~1.6.14
685 - deps: mime-types@~2.1.13
690 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
691 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
692 * Add `options` argument to `req.range`
693 - Includes the `combine` option
694 * Encode URL in `res.location`/`res.redirect` if not already encoded
695 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
696 * Fix Windows absolute path check using forward slashes
697 * Improve error with invalid arguments to `req.get()`
698 * Improve performance for `res.json`/`res.jsonp` in most cases
699 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
700 * deps: accepts@~1.3.3
701 - Fix including type extensions in parameters in `Accept` parsing
702 - Fix parsing `Accept` parameters with quoted equals
703 - Fix parsing `Accept` parameters with quoted semicolons
704 - Many performance improvements
705 - deps: mime-types@~2.1.11
706 - deps: negotiator@0.6.1
707 * deps: content-type@~1.0.2
708 - perf: enable strict mode
710 - Add `sameSite` option
711 - Fix cookie `Max-Age` to never be a floating point number
712 - Improve error message when `encode` is not a function
713 - Improve error message when `expires` is not a `Date`
714 - Throw better error for invalid argument to parse
715 - Throw on invalid values provided to `serialize`
716 - perf: enable strict mode
717 - perf: hoist regular expression
718 - perf: use for loop in parse
719 - perf: use string concatenation for serialization
720 * deps: finalhandler@0.5.0
721 - Change invalid or non-numeric status code to 500
722 - Overwrite status message to match set status code
723 - Prefer `err.statusCode` if `err.status` is invalid
724 - Set response headers from `err.headers` object
725 - Use `statuses` instead of `http` module for status messages
726 * deps: proxy-addr@~1.1.2
727 - Fix accepting various invalid netmasks
728 - Fix IPv6-mapped IPv4 validation edge cases
729 - IPv4 netmasks must be contiguous
730 - IPv6 addresses cannot be used as a netmask
731 - deps: ipaddr.js@1.1.1
733 - Add `decoder` option in `parse` function
734 * deps: range-parser@~1.2.0
735 - Add `combine` option to combine overlapping ranges
736 - Fix incorrectly returning -1 when there is at least one valid range
737 - perf: remove internal function
739 - Add `acceptRanges` option
740 - Add `cacheControl` option
741 - Attempt to combine multiple ranges into single range
742 - Correctly inherit from `Stream` class
743 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
744 - Fix `Content-Range` header missing from default 416 responses
745 - Fix redirect error when `path` contains raw non-URL characters
746 - Fix redirect when `path` starts with multiple forward slashes
747 - Ignore non-byte `Range` headers
748 - deps: http-errors@~1.5.0
749 - deps: range-parser@~1.2.0
750 - deps: statuses@~1.3.0
751 - perf: remove argument reassignment
752 * deps: serve-static@~1.11.1
753 - Add `acceptRanges` option
754 - Add `cacheControl` option
755 - Attempt to combine multiple ranges into single range
756 - Fix redirect error when `req.url` contains raw non-URL characters
757 - Ignore non-byte `Range` headers
758 - Use status code 301 for redirects
760 * deps: type-is@~1.6.13
761 - Fix type error when given invalid type to match against
762 - deps: mime-types@~2.1.11
764 - Only accept valid field names in the `field` argument
765 * perf: use strict equality when possible
770 * deps: content-disposition@0.5.1
771 - perf: enable strict mode
773 - Throw on invalid values provided to `serialize`
775 - Support web browser loading
776 - perf: enable strict mode
777 * deps: escape-html@~1.0.3
778 - perf: enable strict mode
779 - perf: optimize string replacement
780 - perf: use faster string coercion
781 * deps: finalhandler@0.4.1
782 - deps: escape-html@~1.0.3
783 * deps: merge-descriptors@1.0.1
784 - perf: enable strict mode
785 * deps: methods@~1.1.2
786 - perf: enable strict mode
787 * deps: parseurl@~1.3.1
788 - perf: enable strict mode
789 * deps: proxy-addr@~1.0.10
790 - deps: ipaddr.js@1.0.5
791 - perf: enable strict mode
792 * deps: range-parser@~1.0.3
793 - perf: enable strict mode
796 - deps: destroy@~1.0.4
797 - deps: escape-html@~1.0.3
798 - deps: range-parser@~1.0.3
799 * deps: serve-static@~1.10.2
800 - deps: escape-html@~1.0.3
801 - deps: parseurl@~1.3.0
807 * Fix infinite loop condition using `mergeParams: true`
808 * Fix inner numeric indices incorrectly altering parent `req.params`
813 * deps: accepts@~1.2.12
814 - deps: mime-types@~2.1.4
815 * deps: array-flatten@1.1.1
816 - perf: enable strict mode
817 * deps: path-to-regexp@0.1.7
818 - Fix regression with escaped round brackets and matching groups
819 * deps: type-is@~1.6.6
820 - deps: mime-types@~2.1.4
825 * deps: accepts@~1.2.10
826 - deps: mime-types@~2.1.2
828 - Fix dropping parameters like `hasOwnProperty`
829 - Fix various parsing edge cases
830 * deps: type-is@~1.6.4
831 - deps: mime-types@~2.1.2
832 - perf: enable strict mode
833 - perf: remove argument reassignment
838 * Add settings to debug output
839 * Fix `res.format` error when only `default` provided
840 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
841 * Fix hiding platform issues with `decodeURIComponent`
842 - Only `URIError`s are a 400
843 * Fix using `*` before params in routes
844 * Fix using capture groups before params in routes
845 * Simplify `res.cookie` to call `res.append`
846 * Use `array-flatten` module for flattening arrays
847 * deps: accepts@~1.2.9
848 - deps: mime-types@~2.1.1
849 - perf: avoid argument reassignment & argument slice
850 - perf: avoid negotiator recursive construction
851 - perf: enable strict mode
852 - perf: remove unnecessary bitwise operator
854 - perf: deduce the scope of try-catch deopt
855 - perf: remove argument reassignments
856 * deps: escape-html@1.0.2
858 - Always include entity length in ETags for hash length extensions
859 - Generate non-Stats ETags using MD5 only (no longer CRC32)
860 - Improve stat performance by removing hashing
861 - Improve support for JXcore
862 - Remove base64 padding in ETags to shorten
863 - Support "fake" stats objects in environments without fs
864 - Use MD5 instead of MD4 in weak ETags over 1KB
865 * deps: finalhandler@0.4.0
866 - Fix a false-positive when unpiping in Node.js 0.8
867 - Support `statusCode` property on `Error` objects
868 - Use `unpipe` module for unpiping requests
869 - deps: escape-html@1.0.2
870 - deps: on-finished@~2.3.0
871 - perf: enable strict mode
872 - perf: remove argument reassignment
874 - Add weak `ETag` matching support
875 * deps: on-finished@~2.3.0
876 - Add defined behavior for HTTP `CONNECT` requests
877 - Add defined behavior for HTTP `Upgrade` requests
878 - deps: ee-first@1.1.1
879 * deps: path-to-regexp@0.1.6
881 - Allow Node.js HTTP server to set `Date` response header
882 - Fix incorrectly removing `Content-Location` on 304 response
883 - Improve the default redirect response headers
884 - Send appropriate headers on default error response
885 - Use `http-errors` for standard emitted errors
886 - Use `statuses` instead of `http` module for status messages
887 - deps: escape-html@1.0.2
890 - deps: on-finished@~2.3.0
891 - perf: enable strict mode
892 - perf: remove unnecessary array allocations
893 * deps: serve-static@~1.10.0
894 - Add `fallthrough` option
895 - Fix reading options from options prototype
896 - Improve the default redirect response headers
897 - Malformed URLs now `next()` instead of 400
898 - deps: escape-html@1.0.2
900 - perf: enable strict mode
901 - perf: remove argument reassignment
902 * deps: type-is@~1.6.3
903 - deps: mime-types@~2.1.1
904 - perf: reduce try block size
905 - perf: remove bitwise operations
906 * perf: enable strict mode
907 * perf: isolate `app.render` try block
908 * perf: remove argument reassignments in application
909 * perf: remove argument reassignments in request prototype
910 * perf: remove argument reassignments in response prototype
911 * perf: remove argument reassignments in routing
912 * perf: remove argument reassignments in `View`
913 * perf: skip attempting to decode zero length string
914 * perf: use saved reference to `http.STATUS_CODES`
919 * deps: accepts@~1.2.7
920 - deps: mime-types@~2.0.11
921 - deps: negotiator@0.5.3
926 - Improve support for JXcore
927 - Support "fake" stats objects in environments without `fs`
928 * deps: finalhandler@0.3.6
930 - deps: on-finished@~2.2.1
931 * deps: on-finished@~2.2.1
932 - Fix `isFinished(req)` when data buffered
933 * deps: proxy-addr@~1.0.8
934 - deps: ipaddr.js@1.0.1
936 - Fix allowing parameters like `constructor`
942 - deps: on-finished@~2.2.1
943 * deps: serve-static@~1.9.3
945 * deps: type-is@~1.6.2
946 - deps: mime-types@~2.0.11
951 * deps: accepts@~1.2.5
952 - deps: mime-types@~2.0.10
954 - Fix high intensity foreground color for bold
956 * deps: finalhandler@0.3.4
958 * deps: proxy-addr@~1.0.7
959 - deps: ipaddr.js@0.1.9
961 - Fix error when parameter `hasOwnProperty` is present
963 - Throw errors early for invalid `extensions` or `index` options
965 * deps: serve-static@~1.9.2
967 * deps: type-is@~1.6.1
968 - deps: mime-types@~2.0.10
973 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
978 * Fix constructing application with non-configurable prototype properties
979 * Fix `ECONNRESET` errors from `res.sendFile` usage
980 * Fix `req.host` when using "trust proxy" hops count
981 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
982 * Fix wrong `code` on aborted connections from `res.sendFile`
983 * deps: merge-descriptors@1.0.0
988 * Fix `"trust proxy"` setting to inherit when app is mounted
989 * Generate `ETag`s for all request responses
990 - No longer restricted to only responses for `GET` and `HEAD` requests
991 * Use `content-type` to parse `Content-Type` headers
992 * deps: accepts@~1.2.4
993 - Fix preference sorting to be stable for long acceptable lists
994 - deps: mime-types@~2.0.9
995 - deps: negotiator@0.5.1
996 * deps: cookie-signature@1.0.6
998 - Always read the stat size from the file
999 - Fix mutating passed-in `options`
1001 * deps: serve-static@~1.9.1
1003 * deps: type-is@~1.6.0
1004 - fix argument reassignment
1005 - fix false-positives in `hasBody` `Transfer-Encoding` check
1006 - support wildcard for both type and subtype (`*/*`)
1007 - deps: mime-types@~2.0.9
1012 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
1013 * deps: accepts@~1.2.3
1014 - deps: mime-types@~2.0.8
1015 * deps: proxy-addr@~1.0.6
1016 - deps: ipaddr.js@0.1.8
1017 * deps: type-is@~1.5.6
1018 - deps: mime-types@~2.0.8
1024 - Fix root path disclosure
1025 * deps: serve-static@~1.8.1
1026 - Fix redirect loop in Node.js 0.11.14
1027 - Fix root path disclosure
1033 * Add `res.append(field, val)` to append headers
1034 * Deprecate leading `:` in `name` for `app.param(name, fn)`
1035 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
1036 * Deprecate `app.param(fn)`
1037 * Fix `OPTIONS` responses to include the `HEAD` method properly
1038 * Fix `res.sendFile` not always detecting aborted connection
1039 * Match routes iteratively to prevent stack overflows
1040 * deps: accepts@~1.2.2
1041 - deps: mime-types@~2.0.7
1042 - deps: negotiator@0.5.0
1044 - deps: debug@~2.1.1
1047 - deps: on-finished@~2.2.0
1048 * deps: serve-static@~1.8.0
1054 * Fix crash from error within `OPTIONS` response handler
1055 * deps: proxy-addr@~1.0.5
1056 - deps: ipaddr.js@0.1.6
1061 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
1062 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
1063 * deps: debug@~2.1.1
1064 * deps: finalhandler@0.3.3
1065 - deps: debug@~2.1.1
1066 - deps: on-finished@~2.2.0
1067 * deps: methods@~1.1.1
1068 * deps: on-finished@~2.2.0
1069 * deps: serve-static@~1.7.2
1070 - Fix potential open redirect when mounted at root
1071 * deps: type-is@~1.5.5
1072 - deps: mime-types@~2.0.7
1077 * Fix exception in `req.fresh`/`req.stale` without response headers
1082 * Fix `res.send` double-calling `res.end` for `HEAD` requests
1083 * deps: accepts@~1.1.4
1084 - deps: mime-types@~2.0.4
1085 * deps: type-is@~1.5.4
1086 - deps: mime-types@~2.0.4
1091 * Fix `res.sendfile` logging standard write errors
1096 * Fix `res.sendFile` logging standard write errors
1098 * deps: proxy-addr@~1.0.4
1099 - deps: ipaddr.js@0.1.5
1101 - Fix `arrayLimit` behavior
1106 * Correctly invoke async router callback asynchronously
1107 * deps: accepts@~1.1.3
1108 - deps: mime-types@~2.0.3
1109 * deps: type-is@~1.5.3
1110 - deps: mime-types@~2.0.3
1115 * Fix handling of URLs containing `://` in the path
1117 - Fix parsing of mixed objects and values
1122 * Add support for `app.set('views', array)`
1123 - Views are looked up in sequence in array of directories
1124 * Fix `res.send(status)` to mention `res.sendStatus(status)`
1125 * Fix handling of invalid empty URLs
1126 * Use `content-disposition` module for `res.attachment`/`res.download`
1127 - Sends standards-compliant `Content-Disposition` header
1128 - Full Unicode support
1129 * Use `path.resolve` in view lookup
1130 * deps: debug@~2.1.0
1131 - Implement `DEBUG_FD` env variable support
1134 - Improve string performance
1135 - Slightly improve speed for weak ETags over 1KB
1136 * deps: finalhandler@0.3.2
1137 - Terminate in progress response only on error
1138 - Use `on-finished` to determine request status
1139 - deps: debug@~2.1.0
1140 - deps: on-finished@~2.1.1
1141 * deps: on-finished@~2.1.1
1142 - Fix handling of pipelined requests
1144 - Fix parsing of mixed implicit and explicit arrays
1146 - deps: debug@~2.1.0
1149 - deps: on-finished@~2.1.1
1150 * deps: serve-static@~1.7.1
1156 * Fix `res.redirect` body when redirect status specified
1157 * deps: accepts@~1.1.2
1158 - Fix error when media type has invalid parameter
1159 - deps: negotiator@0.4.9
1164 * Fix using same param name in array of paths
1169 * deps: accepts@~1.1.1
1170 - deps: mime-types@~2.0.2
1171 - deps: negotiator@0.4.8
1172 * deps: serve-static@~1.6.4
1173 - Fix redirect loop when index file serving disabled
1174 * deps: type-is@~1.5.2
1175 - deps: mime-types@~2.0.2
1181 * deps: proxy-addr@~1.0.3
1182 - Use `forwarded` npm module
1185 * deps: serve-static@~1.6.3
1192 - Fix issue with object keys starting with numbers truncated
1197 * deps: proxy-addr@~1.0.2
1198 - Fix a global leak when multiple subnets are trusted
1199 - deps: ipaddr.js@0.1.3
1204 * Fix regression for empty string `path` in `app.use`
1205 * Fix `router.use` to accept array of middleware without path
1206 * Improve error message for bad `app.use` arguments
1211 * Fix `app.use` to accept array of middleware without path
1217 - deps: range-parser@~1.0.2
1218 * deps: serve-static@~1.6.2
1224 * Add `res.sendStatus`
1225 * Invoke callback for sendfile when client aborts
1226 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
1227 - `err` will be populated with request aborted error
1228 * Support IP address host in `req.subdomains`
1229 * Use `etag` to generate `ETag` headers
1230 * deps: accepts@~1.1.0
1231 - update `mime-types`
1232 * deps: cookie-signature@1.0.5
1233 * deps: debug@~2.0.0
1234 * deps: finalhandler@0.2.0
1235 - Set `X-Content-Type-Options: nosniff` header
1236 - deps: debug@~2.0.0
1238 * deps: media-typer@0.3.0
1239 - Throw error when parameter format invalid on parse
1241 - Fix issue where first empty value in array is discarded
1242 * deps: range-parser@~1.0.2
1244 - Add `lastModified` option
1245 - Use `etag` to generate `ETag` header
1246 - deps: debug@~2.0.0
1248 * deps: serve-static@~1.6.1
1249 - Add `lastModified` option
1251 * deps: type-is@~1.5.1
1252 - fix `hasbody` to be true for `content-length: 0`
1253 - deps: media-typer@0.3.0
1254 - deps: mime-types@~2.0.1
1256 - Accept valid `Vary` header string as `field`
1262 - Fix a path traversal issue when using `root`
1263 - Fix malicious path detection for empty string path
1264 * deps: serve-static@~1.5.4
1271 - Remove unnecessary cloning
1278 - Performance improvements
1284 - deps: destroy@1.0.3
1285 - deps: on-finished@2.1.0
1286 * deps: serve-static@~1.5.3
1294 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1295 * deps: serve-static@~1.5.2
1301 * deps: parseurl@~1.3.0
1303 * deps: serve-static@~1.5.1
1304 - Fix parsing of weird `req.originalUrl` values
1305 - deps: parseurl@~1.3.0
1306 - deps: utils-merge@1.0.0
1312 - Fix parsing array of objects
1317 * fix incorrect deprecation warnings on `res.download`
1319 - Accept urlencoded square brackets
1320 - Accept empty values in implicit array notation
1325 * add `res.sendFile`
1326 - accepts a file system path instead of a URL
1327 - requires an absolute path or `root` option specified
1328 * deprecate `res.sendfile` -- use `res.sendFile` instead
1329 * support mounted app as any argument to `app.use()`
1332 - Limits array length to 20
1333 - Limits object depth to 5
1334 - Limits parameters to 1,000
1336 - Add `extensions` option
1337 * deps: serve-static@~1.5.0
1338 - Add `extensions` option
1344 * fix `res.sendfile` regression for serving directory index files
1346 - Fix incorrect 403 on Windows and Node.js 0.11
1347 - Fix serving index files without root dir
1348 * deps: serve-static@~1.4.4
1355 - Fix incorrect 403 on Windows and Node.js 0.11
1356 * deps: serve-static@~1.4.3
1357 - Fix incorrect 403 on Windows and Node.js 0.11
1364 - Work-around v8 generating empty stack traces
1367 * deps: serve-static@~1.4.2
1373 - Fix exception when global `Error.stackTraceLimit` is too low
1376 * deps: serve-static@~1.4.1
1381 * fix `req.protocol` for proxy-direct connections
1382 * configurable query parser with `app.set('query parser', parser)`
1383 - `app.set('query parser', 'extended')` parse with "qs" module
1384 - `app.set('query parser', 'simple')` parse with "querystring" core module
1385 - `app.set('query parser', false)` disable query string parsing
1386 - `app.set('query parser', true)` enable simple parsing
1387 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
1388 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
1389 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
1392 - Add `TRACE_DEPRECATION` environment variable
1393 - Remove non-standard grey color from color output
1394 - Support `--no-deprecation` argument
1395 - Support `--trace-deprecation` argument
1396 * deps: finalhandler@0.1.0
1397 - Respond after request fully read
1399 * deps: parseurl@~1.2.0
1400 - Cache URLs based on original value
1401 - Remove no-longer-needed URL mis-parse work-around
1402 - Simplify the "fast-path" `RegExp`
1404 - Add `dotfiles` option
1405 - Cap `maxAge` value to 1 year
1408 * deps: serve-static@~1.4.0
1409 - deps: parseurl@~1.2.0
1411 * perf: prevent multiple `Buffer` creation in `res.send`
1416 * fix `subapp.mountpath` regression for `app.use(subapp)`
1421 * accept multiple callbacks to `app.use()`
1422 * add explicit "Rosetta Flash JSONP abuse" protection
1423 - previous versions are not vulnerable; this is just explicit protection
1424 * catch errors in multiple `req.param(name, fn)` handlers
1425 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1426 * fix `res.send(status, num)` to send `num` as json (not error)
1427 * remove unnecessary escaping when `res.jsonp` returns JSON response
1428 * support non-string `path` in `app.use(path, fn)`
1429 - supports array of paths
1431 * router: fix optimization on router exit
1432 * router: refactor location of `try` blocks
1433 * router: speed up standard `app.use(fn)`
1435 - Add support for multiple wildcards in namespaces
1436 * deps: finalhandler@0.0.3
1438 * deps: methods@1.1.0
1440 * deps: parseurl@~1.1.3
1441 - faster parsing of href-only URLs
1442 * deps: path-to-regexp@0.1.3
1445 * deps: serve-static@~1.3.2
1446 - deps: parseurl@~1.1.3
1448 * perf: fix arguments reassign deopt in some `res` methods
1453 * fix routing regression when altering `req.method`
1458 * add deprecation message to non-plural `req.accepts*`
1459 * add deprecation message to `res.send(body, status)`
1460 * add deprecation message to `res.vary()`
1461 * add `headers` option to `res.sendfile`
1462 - use to set headers on successful file transfer
1463 * add `mergeParams` option to `Router`
1464 - merges `req.params` from parent routes
1465 * add `req.hostname` -- correct name for what `req.host` returns
1466 * deprecate things with `depd` module
1467 * deprecate `req.host` -- use `req.hostname` instead
1468 * fix behavior when handling request without routes
1469 * fix handling when `route.all` is only route
1470 * invoke `router.param()` only when route matches
1471 * restore `req.params` after invoking router
1472 * use `finalhandler` for final response handling
1473 * use `media-typer` to alter content-type charset
1474 * deps: accepts@~1.0.7
1476 - Accept string for `maxage` (converted by `ms`)
1477 - Include link in default redirect response
1478 * deps: serve-static@~1.3.0
1479 - Accept string for `maxAge` (converted by `ms`)
1480 - Add `setHeaders` option
1481 - Include HTML link in redirect response
1483 * deps: type-is@~1.3.2
1488 * deps: cookie-signature@1.0.4
1489 - fix for timing attacks
1494 * fix `res.attachment` Unicode filenames in Safari
1495 * fix "trim prefix" debug message in `express:router`
1496 * deps: accepts@~1.0.5
1497 * deps: buffer-crc32@0.2.3
1502 * fix persistence of modified `req.params[name]` from `app.param()`
1503 * deps: accepts@1.0.3
1504 - deps: negotiator@0.4.6
1507 - Do not throw uncatchable error on file open race condition
1508 - Use `escape-html` for HTML escaping
1510 - deps: finished@1.2.2
1512 * deps: serve-static@1.2.3
1513 - Do not throw uncatchable error on file open race condition
1519 * fix catching errors from top-level handlers
1520 * use `vary` module for `res.vary`
1522 * deps: proxy-addr@1.0.1
1524 - fix "event emitter leak" warnings
1526 - deps: finished@1.2.1
1527 * deps: serve-static@1.2.2
1528 - fix "event emitter leak" warnings
1530 * deps: type-is@1.2.1
1535 * deps: methods@1.0.1
1537 - Send `max-age` in `Cache-Control` in correct format
1538 * deps: serve-static@1.2.1
1539 - use `escape-html` for escaping
1545 * custom etag control with `app.set('etag', val)`
1546 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1547 - `app.set('etag', 'weak')` weak tag
1548 - `app.set('etag', 'strong')` strong etag
1549 - `app.set('etag', false)` turn off
1550 - `app.set('etag', true)` standard etag
1551 * mark `res.send` ETag as weak and reduce collisions
1552 * update accepts to 1.0.2
1553 - Fix interpretation when header not in request
1554 * update send to 0.4.0
1555 - Calculate ETag with md5 for reduced collisions
1556 - Ignore stream errors after request ends
1558 * update serve-static to 1.2.0
1559 - Calculate ETag with md5 for reduced collisions
1560 - Ignore stream errors after request ends
1566 * fix handling of errors from `router.param()` callbacks
1571 * revert "fix behavior of multiple `app.VERB` for the same path"
1572 - this caused a regression in the order of route execution
1577 * add `req.baseUrl` to access the path stripped from `req.url` in routes
1578 * fix behavior of multiple `app.VERB` for the same path
1579 * fix issue routing requests among sub routers
1580 * invoke `router.param()` only when necessary instead of every match
1581 * proper proxy trust with `app.set('trust proxy', trust)`
1582 - `app.set('trust proxy', 1)` trust first hop
1583 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1584 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1585 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1586 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1587 - `app.set('trust proxy', false)` turn off
1588 - `app.set('trust proxy', true)` trust everything
1589 * set proper `charset` in `Content-Type` for `res.send`
1590 * update type-is to 1.2.0
1591 - support suffix matching
1596 * deprecate `app.del()` -- use `app.delete()` instead
1597 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1598 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1599 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1600 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1601 * fix `req.next` when inside router instance
1602 * include `ETag` header in `HEAD` requests
1603 * keep previous `Content-Type` for `res.jsonp`
1604 * support PURGE method
1606 - add `router.purge`
1607 - include PURGE in `app.all`
1608 * update debug to 0.8.0
1609 - add `enable()` method
1610 - change from stderr to stdout
1611 * update methods to 1.0.0
1617 * fix `req.host` for IPv6 literals
1618 * fix `res.jsonp` error if callback param is object
1623 * fix package.json to reflect supported node version
1628 * pass options from `res.sendfile` to `send`
1629 * preserve casing of headers in `res.header` and `res.set`
1630 * support unicode file names in `res.attachment` and `res.download`
1631 * update accepts to 1.0.1
1632 - deps: negotiator@0.4.0
1633 * update cookie to 0.1.2
1634 - Fix for maxAge == 0
1635 - made compat with expires field
1636 * update send to 0.3.0
1637 - Accept API options in options object
1638 - Coerce option types
1639 - Control whether to generate etags
1640 - Default directory access to 403 when index disabled
1641 - Fix sending files with dots without root set
1642 - Include file path in etag
1643 - Make "Can't set headers after they are sent." catchable
1644 - Send full entity-body for multi range requests
1645 - Set etags to "weak"
1646 - Support "If-Range" header
1647 - Support multiple index paths
1649 * update serve-static to 1.1.0
1650 - Accept options directly to `send` module
1651 - Resolve relative paths at middleware setup
1652 - Use parseurl to parse the URL from request
1654 * update type-is to 1.1.0
1655 - add non-array values support
1656 - add `multipart` as a shorthand
1663 - connect and connect's patches except for charset handling
1664 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1665 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1666 - `app.configure` - use logic in your own app code
1667 - `app.router` - is removed
1668 - `req.auth` - use `basic-auth` instead
1669 - `req.accepted*` - use `req.accepts*()` instead
1670 - `res.location` - relative URL resolution is removed
1671 - `res.charset` - include the charset in the content type when using `res.set()`
1672 - all bundled middleware except `static`
1674 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1675 - `json spaces` no longer enabled by default in development
1676 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1677 - `req.params` is now an object instead of an array
1678 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1679 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1681 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1682 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1683 - [path-to-regexp](https://github.com/component/path-to-regexp)
1685 - `app.router()` - returns the app Router instance
1686 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1687 - Router & Route - public API
1692 * deps: connect@2.30.2
1693 - deps: body-parser@~1.13.3
1694 - deps: compression@~1.5.2
1695 - deps: errorhandler@~1.4.2
1696 - deps: method-override@~2.3.5
1697 - deps: serve-index@~1.7.2
1698 - deps: type-is@~1.6.6
1699 - deps: vhost@~3.0.1
1701 - Fix setting empty header from empty `field`
1702 - perf: enable strict mode
1703 - perf: remove argument reassignments
1708 * deps: basic-auth@~1.0.3
1709 * deps: connect@2.30.1
1710 - deps: body-parser@~1.13.2
1711 - deps: compression@~1.5.1
1712 - deps: errorhandler@~1.4.1
1713 - deps: morgan@~1.6.1
1716 - deps: serve-index@~1.7.1
1717 - deps: type-is@~1.6.4
1722 * deps: basic-auth@1.0.2
1723 - perf: enable strict mode
1724 - perf: hoist regular expression
1725 - perf: parse with regular expressions
1726 - perf: remove argument reassignment
1727 * deps: connect@2.30.0
1728 - deps: body-parser@~1.13.1
1730 - deps: compression@~1.5.0
1731 - deps: cookie@0.1.3
1732 - deps: cookie-parser@~1.3.5
1733 - deps: csurf@~1.8.3
1734 - deps: errorhandler@~1.4.0
1735 - deps: express-session@~1.11.3
1736 - deps: finalhandler@0.4.0
1738 - deps: morgan@~1.6.0
1739 - deps: serve-favicon@~2.3.0
1740 - deps: serve-index@~1.7.0
1741 - deps: serve-static@~1.10.0
1742 - deps: type-is@~1.6.3
1743 * deps: cookie@0.1.3
1744 - perf: deduce the scope of try-catch deopt
1745 - perf: remove argument reassignments
1746 * deps: escape-html@1.0.2
1748 - Always include entity length in ETags for hash length extensions
1749 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1750 - Improve stat performance by removing hashing
1751 - Improve support for JXcore
1752 - Remove base64 padding in ETags to shorten
1753 - Support "fake" stats objects in environments without fs
1754 - Use MD5 instead of MD4 in weak ETags over 1KB
1756 - Add weak `ETag` matching support
1757 * deps: mkdirp@0.5.1
1758 - Work in global strict mode
1760 - Allow Node.js HTTP server to set `Date` response header
1761 - Fix incorrectly removing `Content-Location` on 304 response
1762 - Improve the default redirect response headers
1763 - Send appropriate headers on default error response
1764 - Use `http-errors` for standard emitted errors
1765 - Use `statuses` instead of `http` module for status messages
1766 - deps: escape-html@1.0.2
1769 - deps: on-finished@~2.3.0
1770 - perf: enable strict mode
1771 - perf: remove unnecessary array allocations
1776 * deps: connect@2.29.2
1777 - deps: body-parser@~1.12.4
1778 - deps: compression@~1.4.4
1779 - deps: connect-timeout@~1.6.2
1780 - deps: debug@~2.2.0
1782 - deps: errorhandler@~1.3.6
1783 - deps: finalhandler@0.3.6
1784 - deps: method-override@~2.3.3
1785 - deps: morgan@~1.5.3
1787 - deps: response-time@~2.3.1
1788 - deps: serve-favicon@~2.2.1
1789 - deps: serve-index@~1.6.4
1790 - deps: serve-static@~1.9.3
1791 - deps: type-is@~1.6.2
1792 * deps: debug@~2.2.0
1795 * deps: proxy-addr@~1.0.8
1796 - deps: ipaddr.js@1.0.1
1798 - deps: debug@~2.2.0
1802 - deps: on-finished@~2.2.1
1807 * deps: connect@2.29.1
1808 - deps: body-parser@~1.12.2
1809 - deps: compression@~1.4.3
1810 - deps: connect-timeout@~1.6.1
1811 - deps: debug@~2.1.3
1812 - deps: errorhandler@~1.3.5
1813 - deps: express-session@~1.10.4
1814 - deps: finalhandler@0.3.4
1815 - deps: method-override@~2.3.2
1816 - deps: morgan@~1.5.2
1818 - deps: serve-index@~1.6.3
1819 - deps: serve-static@~1.9.2
1820 - deps: type-is@~1.6.1
1821 * deps: debug@~2.1.3
1822 - Fix high intensity foreground color for bold
1824 * deps: merge-descriptors@1.0.0
1825 * deps: proxy-addr@~1.0.7
1826 - deps: ipaddr.js@0.1.9
1828 - Throw errors early for invalid `extensions` or `index` options
1829 - deps: debug@~2.1.3
1834 * Fix `req.host` when using "trust proxy" hops count
1835 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1840 * Fix `"trust proxy"` setting to inherit when app is mounted
1841 * Generate `ETag`s for all request responses
1842 - No longer restricted to only responses for `GET` and `HEAD` requests
1843 * Use `content-type` to parse `Content-Type` headers
1844 * deps: connect@2.29.0
1845 - Use `content-type` to parse `Content-Type` headers
1846 - deps: body-parser@~1.12.0
1847 - deps: compression@~1.4.1
1848 - deps: connect-timeout@~1.6.0
1849 - deps: cookie-parser@~1.3.4
1850 - deps: cookie-signature@1.0.6
1851 - deps: csurf@~1.7.0
1852 - deps: errorhandler@~1.3.4
1853 - deps: express-session@~1.10.3
1854 - deps: http-errors@~1.3.1
1855 - deps: response-time@~2.3.0
1856 - deps: serve-index@~1.6.2
1857 - deps: serve-static@~1.9.1
1858 - deps: type-is@~1.6.0
1859 * deps: cookie-signature@1.0.6
1861 - Always read the stat size from the file
1862 - Fix mutating passed-in `options`
1868 * deps: connect@2.28.3
1869 - deps: compression@~1.3.1
1870 - deps: csurf@~1.6.6
1871 - deps: errorhandler@~1.3.3
1872 - deps: express-session@~1.10.2
1873 - deps: serve-index@~1.6.1
1874 - deps: type-is@~1.5.6
1875 * deps: proxy-addr@~1.0.6
1876 - deps: ipaddr.js@0.1.8
1881 * deps: connect@2.28.2
1882 - deps: body-parser@~1.10.2
1883 - deps: serve-static@~1.8.1
1885 - Fix root path disclosure
1890 * Fix `OPTIONS` responses to include the `HEAD` method property
1891 * Use `readline` for prompt in `express(1)`
1892 * deps: commander@2.6.0
1893 * deps: connect@2.28.1
1894 - deps: body-parser@~1.10.1
1895 - deps: compression@~1.3.0
1896 - deps: connect-timeout@~1.5.0
1897 - deps: csurf@~1.6.4
1898 - deps: debug@~2.1.1
1899 - deps: errorhandler@~1.3.2
1900 - deps: express-session@~1.10.1
1901 - deps: finalhandler@0.3.3
1902 - deps: method-override@~2.3.1
1903 - deps: morgan@~1.5.1
1904 - deps: serve-favicon@~2.2.0
1905 - deps: serve-index@~1.6.0
1906 - deps: serve-static@~1.8.0
1907 - deps: type-is@~1.5.5
1908 * deps: debug@~2.1.1
1909 * deps: methods@~1.1.1
1910 * deps: proxy-addr@~1.0.5
1911 - deps: ipaddr.js@0.1.6
1913 - deps: debug@~2.1.1
1916 - deps: on-finished@~2.2.0
1921 * Fix exception in `req.fresh`/`req.stale` without response headers
1926 * deps: connect@2.27.6
1927 - deps: compression@~1.2.2
1928 - deps: express-session@~1.9.3
1929 - deps: http-errors@~1.2.8
1930 - deps: serve-index@~1.5.3
1931 - deps: type-is@~1.5.4
1936 * deps: connect@2.27.4
1937 - deps: body-parser@~1.9.3
1938 - deps: compression@~1.2.1
1939 - deps: errorhandler@~1.2.3
1940 - deps: express-session@~1.9.2
1942 - deps: serve-favicon@~2.1.7
1943 - deps: serve-static@~1.5.1
1944 - deps: type-is@~1.5.3
1946 * deps: proxy-addr@~1.0.4
1947 - deps: ipaddr.js@0.1.5
1952 * deps: connect@2.27.3
1953 - Correctly invoke async callback asynchronously
1954 - deps: csurf@~1.6.3
1959 * deps: connect@2.27.2
1960 - Fix handling of URLs containing `://` in the path
1961 - deps: body-parser@~1.9.2
1967 * Fix internal `utils.merge` deprecation warnings
1968 * deps: connect@2.27.1
1969 - deps: body-parser@~1.9.1
1970 - deps: express-session@~1.9.1
1971 - deps: finalhandler@0.3.2
1972 - deps: morgan@~1.4.1
1974 - deps: serve-static@~1.7.1
1976 - deps: on-finished@~2.1.1
1981 * Use `content-disposition` module for `res.attachment`/`res.download`
1982 - Sends standards-compliant `Content-Disposition` header
1983 - Full Unicode support
1984 * Use `etag` module to generate `ETag` headers
1985 * deps: connect@2.27.0
1986 - Use `http-errors` module for creating errors
1987 - Use `utils-merge` module for merging objects
1988 - deps: body-parser@~1.9.0
1989 - deps: compression@~1.2.0
1990 - deps: connect-timeout@~1.4.0
1991 - deps: debug@~2.1.0
1993 - deps: express-session@~1.9.0
1994 - deps: finalhandler@0.3.1
1995 - deps: method-override@~2.3.0
1996 - deps: morgan@~1.4.0
1997 - deps: response-time@~2.2.0
1998 - deps: serve-favicon@~2.1.6
1999 - deps: serve-index@~1.5.0
2000 - deps: serve-static@~1.7.0
2001 * deps: debug@~2.1.0
2002 - Implement `DEBUG_FD` env variable support
2005 - deps: debug@~2.1.0
2012 * deps: connect@2.26.6
2013 - deps: compression@~1.1.2
2014 - deps: csurf@~1.6.2
2015 - deps: errorhandler@~1.2.2
2020 * deps: connect@2.26.5
2021 - Fix accepting non-object arguments to `logger`
2022 - deps: serve-static@~1.6.4
2027 * deps: connect@2.26.4
2028 - deps: morgan@~1.3.2
2029 - deps: type-is@~1.5.2
2034 * deps: connect@2.26.3
2035 - deps: body-parser@~1.8.4
2036 - deps: serve-favicon@~2.1.5
2037 - deps: serve-static@~1.6.3
2038 * deps: proxy-addr@~1.0.3
2039 - Use `forwarded` npm module
2046 * deps: connect@2.26.2
2047 - deps: body-parser@~1.8.3
2053 * deps: proxy-addr@~1.0.2
2054 - Fix a global leak when multiple subnets are trusted
2055 - deps: ipaddr.js@0.1.3
2060 * Use `crc` instead of `buffer-crc32` for speed
2061 * deps: connect@2.26.1
2062 - deps: body-parser@~1.8.2
2064 - deps: express-session@~1.8.2
2065 - deps: morgan@~1.3.1
2066 - deps: serve-favicon@~2.1.3
2067 - deps: serve-static@~1.6.2
2072 - deps: range-parser@~1.0.2
2077 * Fix error in `req.subdomains` on empty host
2082 * Support `X-Forwarded-Host` in `req.subdomains`
2083 * Support IP address host in `req.subdomains`
2084 * deps: connect@2.26.0
2085 - deps: body-parser@~1.8.1
2086 - deps: compression@~1.1.0
2087 - deps: connect-timeout@~1.3.0
2088 - deps: cookie-parser@~1.3.3
2089 - deps: cookie-signature@1.0.5
2090 - deps: csurf@~1.6.1
2091 - deps: debug@~2.0.0
2092 - deps: errorhandler@~1.2.0
2093 - deps: express-session@~1.8.1
2094 - deps: finalhandler@0.2.0
2096 - deps: media-typer@0.3.0
2097 - deps: method-override@~2.2.0
2098 - deps: morgan@~1.3.0
2100 - deps: serve-favicon@~2.1.3
2101 - deps: serve-index@~1.2.1
2102 - deps: serve-static@~1.6.1
2103 - deps: type-is@~1.5.1
2104 - deps: vhost@~3.0.0
2105 * deps: cookie-signature@1.0.5
2106 * deps: debug@~2.0.0
2108 * deps: media-typer@0.3.0
2109 - Throw error when parameter format invalid on parse
2110 * deps: range-parser@~1.0.2
2112 - Add `lastModified` option
2113 - Use `etag` to generate `ETag` header
2114 - deps: debug@~2.0.0
2117 - Accept valid `Vary` header string as `field`
2119 3.16.10 / 2014-09-04
2120 ====================
2122 * deps: connect@2.25.10
2123 - deps: serve-static@~1.5.4
2125 - Fix a path traversal issue when using `root`
2126 - Fix malicious path detection for empty string path
2131 * deps: connect@2.25.9
2132 - deps: body-parser@~1.6.7
2138 * deps: connect@2.25.8
2139 - deps: body-parser@~1.6.6
2140 - deps: csurf@~1.4.1
2146 * deps: connect@2.25.7
2147 - deps: body-parser@~1.6.5
2148 - deps: express-session@~1.7.6
2149 - deps: morgan@~1.2.3
2150 - deps: serve-static@~1.5.3
2152 - deps: destroy@1.0.3
2153 - deps: on-finished@2.1.0
2158 * deps: connect@2.25.6
2159 - deps: body-parser@~1.6.4
2161 - deps: serve-static@~1.5.2
2163 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
2168 * deps: connect@2.25.5
2169 - Fix backwards compatibility in `logger`
2174 * Fix original URL parsing in `res.location`
2175 * deps: connect@2.25.4
2176 - Fix `query` middleware breaking with argument
2177 - deps: body-parser@~1.6.3
2178 - deps: compression@~1.0.11
2179 - deps: connect-timeout@~1.2.2
2180 - deps: express-session@~1.7.5
2181 - deps: method-override@~2.1.3
2182 - deps: on-headers@~1.0.0
2183 - deps: parseurl@~1.3.0
2185 - deps: response-time@~2.0.1
2186 - deps: serve-index@~1.1.6
2187 - deps: serve-static@~1.5.1
2188 * deps: parseurl@~1.3.0
2193 * deps: connect@2.25.3
2194 - deps: multiparty@3.3.2
2199 * deps: connect@2.25.2
2200 - deps: body-parser@~1.6.2
2206 * deps: connect@2.25.1
2207 - deps: body-parser@~1.6.1
2213 * deps: connect@2.25.0
2214 - deps: body-parser@~1.6.0
2215 - deps: compression@~1.0.10
2216 - deps: csurf@~1.4.0
2217 - deps: express-session@~1.7.4
2219 - deps: serve-static@~1.5.0
2221 - Add `extensions` option
2226 * fix `res.sendfile` regression for serving directory index files
2227 * deps: connect@2.24.3
2228 - deps: serve-index@~1.1.5
2229 - deps: serve-static@~1.4.4
2231 - Fix incorrect 403 on Windows and Node.js 0.11
2232 - Fix serving index files without root dir
2237 * deps: connect@2.24.2
2238 - deps: body-parser@~1.5.2
2240 - deps: express-session@~1.7.2
2241 - deps: morgan@~1.2.2
2242 - deps: serve-static@~1.4.2
2244 - Work-around v8 generating empty stack traces
2251 * deps: connect@2.24.1
2252 - deps: body-parser@~1.5.1
2254 - deps: express-session@~1.7.1
2255 - deps: morgan@~1.2.1
2256 - deps: serve-index@~1.1.4
2257 - deps: serve-static@~1.4.1
2259 - Fix exception when global `Error.stackTraceLimit` is too low
2266 * Fix `req.protocol` for proxy-direct connections
2267 * Pass options from `res.sendfile` to `send`
2268 * deps: connect@2.24.0
2269 - deps: body-parser@~1.5.0
2270 - deps: compression@~1.0.9
2271 - deps: connect-timeout@~1.2.1
2274 - deps: express-session@~1.7.0
2275 - deps: finalhandler@0.1.0
2276 - deps: method-override@~2.1.2
2277 - deps: morgan@~1.2.0
2278 - deps: multiparty@3.3.1
2279 - deps: parseurl@~1.2.0
2280 - deps: serve-static@~1.4.0
2283 - Add `TRACE_DEPRECATION` environment variable
2284 - Remove non-standard grey color from color output
2285 - Support `--no-deprecation` argument
2286 - Support `--trace-deprecation` argument
2287 * deps: parseurl@~1.2.0
2288 - Cache URLs based on original value
2289 - Remove no-longer-needed URL mis-parse work-around
2290 - Simplify the "fast-path" `RegExp`
2292 - Add `dotfiles` option
2293 - Cap `maxAge` value to 1 year
2300 * add explicit "Rosetta Flash JSONP abuse" protection
2301 - previous versions are not vulnerable; this is just explicit protection
2302 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
2303 * fix `res.send(status, num)` to send `num` as json (not error)
2304 * remove unnecessary escaping when `res.jsonp` returns JSON response
2305 * deps: basic-auth@1.0.0
2306 - support empty password
2307 - support empty username
2308 * deps: connect@2.23.0
2310 - deps: express-session@~1.6.4
2311 - deps: method-override@~2.1.0
2312 - deps: parseurl@~1.1.3
2313 - deps: serve-static@~1.3.1
2315 - Add support for multiple wildcards in namespaces
2316 * deps: methods@1.1.0
2318 * deps: parseurl@~1.1.3
2319 - faster parsing of href-only URLs
2324 * add deprecation message to `app.configure`
2325 * add deprecation message to `req.auth`
2326 * use `basic-auth` to parse `Authorization` header
2327 * deps: connect@2.22.0
2328 - deps: csurf@~1.3.0
2329 - deps: express-session@~1.6.1
2330 - deps: multiparty@3.3.0
2331 - deps: serve-static@~1.3.0
2333 - Accept string for `maxage` (converted by `ms`)
2334 - Include link in default redirect response
2339 * deps: connect@2.21.1
2340 - deps: cookie-parser@1.3.2
2341 - deps: cookie-signature@1.0.4
2342 - deps: express-session@~1.5.2
2343 - deps: type-is@~1.3.2
2344 * deps: cookie-signature@1.0.4
2345 - fix for timing attacks
2350 * use `media-typer` to alter content-type charset
2351 * deps: connect@2.21.0
2352 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
2353 - deprecate `connect.createServer()` -- use `connect()` instead
2354 - fix `res.setHeader()` patch to work with get -> append -> set pattern
2355 - deps: compression@~1.0.8
2356 - deps: errorhandler@~1.1.1
2357 - deps: express-session@~1.5.0
2358 - deps: serve-index@~1.1.3
2363 * deprecate things with `depd` module
2364 * deps: buffer-crc32@0.2.3
2365 * deps: connect@2.20.2
2366 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
2367 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
2368 - deprecate things with `depd` module
2369 - use `finalhandler` for final response handling
2370 - use `media-typer` to parse `content-type` for charset
2371 - deps: body-parser@1.4.3
2372 - deps: connect-timeout@1.1.1
2373 - deps: cookie-parser@1.3.1
2375 - deps: errorhandler@1.1.0
2376 - deps: express-session@1.4.0
2377 - deps: multiparty@3.2.9
2378 - deps: serve-index@1.1.2
2379 - deps: type-is@1.3.1
2385 * deps: connect@2.19.6
2386 - deps: body-parser@1.3.1
2387 - deps: compression@1.0.7
2389 - deps: serve-index@1.1.1
2390 - deps: serve-static@1.2.3
2393 - Do not throw uncatchable error on file open race condition
2394 - Use `escape-html` for HTML escaping
2396 - deps: finished@1.2.2
2402 * deps: connect@2.19.5
2403 - fix "event emitter leak" warnings
2406 - deps: serve-static@1.2.2
2407 - deps: type-is@1.2.1
2410 - fix "event emitter leak" warnings
2411 - deps: finished@1.2.1
2417 * use `vary` module for `res.vary`
2418 * deps: connect@2.19.4
2419 - deps: errorhandler@1.0.2
2420 - deps: method-override@2.0.2
2421 - deps: serve-favicon@2.0.1
2427 * deps: connect@2.19.3
2428 - deps: compression@1.0.6
2433 * deps: connect@2.19.2
2434 - deps: compression@1.0.4
2435 * deps: proxy-addr@1.0.1
2440 * deps: connect@2.19.1
2441 - deprecate `methodOverride()` -- use `method-override` npm module instead
2442 - deps: body-parser@1.3.0
2443 - deps: method-override@2.0.1
2444 - deps: multiparty@3.2.8
2445 - deps: response-time@2.0.0
2446 - deps: serve-static@1.2.1
2447 * deps: methods@1.0.1
2449 - Send `max-age` in `Cache-Control` in correct format
2454 * custom etag control with `app.set('etag', val)`
2455 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
2456 - `app.set('etag', 'weak')` weak tag
2457 - `app.set('etag', 'strong')` strong etag
2458 - `app.set('etag', false)` turn off
2459 - `app.set('etag', true)` standard etag
2460 * Include ETag in HEAD requests
2461 * mark `res.send` ETag as weak and reduce collisions
2462 * update connect to 2.18.0
2463 - deps: compression@1.0.3
2464 - deps: serve-index@1.1.0
2465 - deps: serve-static@1.2.0
2466 * update send to 0.4.0
2467 - Calculate ETag with md5 for reduced collisions
2468 - Ignore stream errors after request ends
2474 * update connect to 2.17.3
2475 - deps: body-parser@1.2.2
2476 - deps: express-session@1.2.1
2477 - deps: method-override@1.0.2
2482 * keep previous `Content-Type` for `res.jsonp`
2483 * set proper `charset` in `Content-Type` for `res.send`
2484 * update connect to 2.17.1
2485 - fix `res.charset` appending charset when `content-type` has one
2486 - deps: express-session@1.2.0
2487 - deps: morgan@1.1.1
2488 - deps: serve-index@1.0.3
2493 * proper proxy trust with `app.set('trust proxy', trust)`
2494 - `app.set('trust proxy', 1)` trust first hop
2495 - `app.set('trust proxy', 'loopback')` trust loopback addresses
2496 - `app.set('trust proxy', '10.0.0.1')` trust single IP
2497 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
2498 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
2499 - `app.set('trust proxy', false)` turn off
2500 - `app.set('trust proxy', true)` trust everything
2501 * update connect to 2.16.2
2502 - deprecate `res.headerSent` -- use `res.headersSent`
2503 - deprecate `res.on("header")` -- use on-headers module instead
2504 - fix edge-case in `res.appendHeader` that would append in wrong order
2505 - json: use body-parser
2506 - urlencoded: use body-parser
2508 - dep: cookie-parser@1.1.0
2510 - dep: express-session@1.1.0
2511 - dep: method-override@1.0.1
2516 * deprecate `app.del()` -- use `app.delete()` instead
2517 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
2518 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
2519 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
2520 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
2521 * support PURGE method
2523 - add `router.purge`
2524 - include PURGE in `app.all`
2525 * update connect to 2.15.0
2526 * Add `res.appendHeader`
2527 * Call error stack even when response has been sent
2528 * Patch `res.headerSent` to return Boolean
2529 * Patch `res.headersSent` for node.js 0.8
2530 * Prevent default 404 handler after response sent
2531 * dep: compression@1.0.2
2532 * dep: connect-timeout@1.1.0
2534 * dep: errorhandler@1.0.1
2535 * dep: express-session@1.0.4
2537 * dep: serve-favicon@2.0.0
2538 * dep: serve-index@1.0.2
2539 * update debug to 0.8.0
2540 * add `enable()` method
2541 * change from stderr to stdout
2542 * update methods to 1.0.0
2544 * update mkdirp to 0.5.0
2549 * fix `req.host` for IPv6 literals
2550 * fix `res.jsonp` error if callback param is object
2555 * update connect to 2.14.5
2556 * update cookie to 0.1.2
2557 * update mkdirp to 0.4.0
2558 * update send to 0.3.0
2563 * pin less-middleware in generated app
2573 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
2574 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
2575 * throw 400 in case of malformed paths @rlidwka
2585 * update connect (raw-body)
2591 * res.location: remove leading ./ #1802 @kapouer
2592 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2593 * res.send: always send ETag when content-length > 0
2594 * router: add Router.all() method
2602 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2613 * downgrade commander
2620 * jsonp: check if callback is a function
2621 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2622 * res.format: now includes charset @1747 (@sorribas)
2623 * res.links: allow multiple calls @1746 (@sorribas)
2628 * add res.vary(). Closes #1682
2644 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2645 * add: req.accepts take an argument list
2650 * update send and connect
2662 * remove .version export
2673 * add support for multiple X-Forwarded-Proto values. Closes #1646
2674 * change: remove charset from json responses. Closes #1631
2675 * change: return actual booleans from req.accept* functions
2676 * fix jsonp callback array throw
2687 * update node-cookie
2688 * add: throw a meaningful error when there is no default engine
2689 * change generation of ETags with res.send() to GET requests only. Closes #1619
2694 * fix `req.subdomains` when no Host is present
2695 * fix `req.host` when no Host is present, return undefined
2700 * update connect / qs
2710 * add app.VERB() paths array deprecation warning
2712 * update qs and remove all ~ semver crap
2713 * fix: accept number as value of Signed Cookie
2718 * add "view" constructor setting to override view behaviour
2719 * add req.acceptsEncoding(name)
2720 * add req.acceptedEncodings
2721 * revert cookie signature change causing session race conditions
2722 * fix sorting of Accept values of the same quality
2727 * add support for custom Accept parameters
2728 * update cookie-signature
2733 * add X-Forwarded-Host support to `req.host`
2734 * fix relative redirects
2736 * update buffer-crc32
2737 * remove legacy app.configure() method from app template.
2742 * add support for leading "." in "view engine" setting
2743 * add array support to `res.set()`
2744 * add node 0.8.x to travis.yml
2745 * add "subdomain offset" setting for tweaking `req.subdomains`
2746 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2747 * use app.get() for x-powered-by setting for inheritance
2748 * fix colons in passwords for `req.auth`
2753 * add http verb methods to Router
2755 * fix mangling of the `res.cookie()` options object
2756 * fix jsonp whitespace escape. Closes #1132
2761 * add throwing when a non-function is passed to a route
2762 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2763 * revert "add 'etag' option"
2768 * add 'etag' option to disable `res.send()` Etags
2769 * add escaping of urls in text/plain in `res.redirect()`
2770 for old browsers interpreting as html
2771 * change crc32 module for a more liberal license
2778 * update cookie module
2779 * fix cookie max-age
2784 * add OPTIONS to cors example. Closes #1398
2785 * fix route chaining regression. Closes #1397
2796 * add "Basic" check to req.auth
2797 * add `req.auth` test coverage
2798 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2799 * add backwards compat for `res.redirect()` status. Closes #1336
2800 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2802 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2803 * remove non-primitive string support for `res.send()`
2804 * fix view-locals example. Closes #1370
2805 * fix route-separation example
2807 3.0.0rc5 / 2012-09-18
2811 * add redis search example
2812 * add static-files example
2813 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2814 * add "application/octet-stream" redirect Accept test case. Closes #1317
2816 3.0.0rc4 / 2012-08-30
2819 * add `res.jsonp()`. Closes #1307
2820 * add "verbose errors" option to error-pages example
2821 * add another route example to express(1) so people are not so confused
2822 * add redis online user activity tracking example
2823 * update connect dep
2824 * fix etag quoting. Closes #1310
2825 * fix error-pages 404 status
2826 * fix jsonp callback char restrictions
2827 * remove old OPTIONS default response
2829 3.0.0rc3 / 2012-08-13
2832 * update connect dep
2833 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2834 * fix `res.render()` clobbering of "locals"
2836 3.0.0rc2 / 2012-08-03
2840 * update connect dep
2841 * deprecate `.createServer()` & remove old stale examples
2842 * fix: escape `res.redirect()` link
2845 3.0.0rc1 / 2012-07-24
2848 * add more examples to view-locals
2849 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2851 * update connect dep
2853 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2854 * fix `res.sendfile()` socket error handling regression
2856 3.0.0beta7 / 2012-07-16
2859 * update connect dep for `send()` root normalization regression
2861 3.0.0beta6 / 2012-07-13
2864 * add `err.view` property for view errors. Closes #1226
2865 * add "jsonp callback name" setting
2866 * add support for "/foo/:bar*" non-greedy matches
2867 * change `res.sendfile()` to use `send()` module
2868 * change `res.send` to use "response-send" module
2869 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2871 3.0.0beta5 / 2012-07-03
2874 * add "make check" support
2875 * add route-map example
2876 * add `res.json(obj, status)` support back for BC
2877 * add "methods" dep, remove internal methods module
2878 * update connect dep
2879 * update auth example to utilize cores pbkdf2
2880 * updated tests to use "supertest"
2882 3.0.0beta4 / 2012-06-25
2886 * Added `req.range(size)`
2887 * Added `res.links(obj)`
2888 * Added `res.send(body, status)` support back for backwards compat
2889 * Added `.default()` support to `res.format()`
2890 * Added 2xx / 304 check to `req.fresh`
2891 * Revert "Added + support to the router"
2892 * Fixed `res.send()` freshness check, respect res.statusCode
2894 3.0.0beta3 / 2012-06-15
2897 * Added hogan `--hjs` to express(1) [nullfirm]
2898 * Added another example to content-negotiation
2900 * Changed: `res.send()` always checks freshness
2901 * Fixed: expose connects mime module. Closes #1165
2903 3.0.0beta2 / 2012-06-06
2906 * Added `+` support to the router
2908 * Changed `req.param()` to check route first
2909 * Update connect dep
2911 3.0.0beta1 / 2012-06-01
2914 * Added `res.format()` callback to override default 406 behaviour
2915 * Fixed `res.redirect()` 406. Closes #1154
2917 3.0.0alpha5 / 2012-05-30
2921 * Added `{ signed: true }` option to `res.cookie()`
2922 * Removed `res.signedCookie()`
2923 * Changed: dont reverse `req.ips`
2924 * Fixed "trust proxy" setting check for `req.ips`
2926 3.0.0alpha4 / 2012-05-09
2929 * Added: allow `[]` in jsonp callback. Closes #1128
2930 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2931 * Updated: connect 2.2.2
2933 3.0.0alpha3 / 2012-05-04
2936 * Added public `app.routes`. Closes #887
2937 * Added _view-locals_ example
2938 * Added _mvc_ example
2939 * Added `res.locals.use()`. Closes #1120
2940 * Added conditional-GET support to `res.send()`
2941 * Added: coerce `res.set()` values to strings
2942 * Changed: moved `static()` in generated apps below router
2943 * Changed: `res.send()` only set ETag when not previously set
2944 * Changed connect 2.2.1 dep
2945 * Changed: `make test` now runs unit / acceptance tests
2946 * Fixed req/res proto inheritance
2948 3.0.0alpha2 / 2012-04-26
2951 * Added `make benchmark` back
2952 * Added `res.send()` support for `String` objects
2953 * Added client-side data exposing example
2954 * Added `res.header()` and `req.header()` aliases for BC
2955 * Added `express.createServer()` for BC
2956 * Perf: memoize parsed urls
2957 * Perf: connect 2.2.0 dep
2958 * Changed: make `expressInit()` middleware self-aware
2959 * Fixed: use app.get() for all core settings
2960 * Fixed redis session example
2961 * Fixed session example. Closes #1105
2962 * Fixed generated express dep. Closes #1078
2964 3.0.0alpha1 / 2012-04-15
2967 * Added `app.locals.use(callback)`
2968 * Added `app.locals` object
2969 * Added `app.locals(obj)`
2970 * Added `res.locals` object
2971 * Added `res.locals(obj)`
2972 * Added `res.format()` for content-negotiation
2973 * Added `app.engine()`
2974 * Added `res.cookie()` JSON cookie support
2975 * Added "trust proxy" setting
2976 * Added `req.subdomains`
2977 * Added `req.protocol`
2978 * Added `req.secure`
2983 * Added comma-delimited / array support for `req.accepts()`
2984 * Added debug instrumentation
2985 * Added `res.set(obj)`
2986 * Added `res.set(field, value)`
2987 * Added `res.get(field)`
2988 * Added `app.get(setting)`. Closes #842
2989 * Added `req.acceptsLanguage()`
2990 * Added `req.acceptsCharset()`
2991 * Added `req.accepted`
2992 * Added `req.acceptedLanguages`
2993 * Added `req.acceptedCharsets`
2994 * Added "json replacer" setting
2995 * Added "json spaces" setting
2996 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2997 * Added `--less` support to express(1)
2998 * Added `express.response` prototype
2999 * Added `express.request` prototype
3000 * Added `express.application` prototype
3001 * Added `app.path()`
3002 * Added `app.render()`
3003 * Added `res.type()` to replace `res.contentType()`
3004 * Changed: `res.redirect()` to add relative support
3005 * Changed: enable "jsonp callback" by default
3006 * Changed: renamed "case sensitive routes" to "case sensitive routing"
3007 * Rewrite of all tests with mocha
3008 * Removed "root" setting
3009 * Removed `res.redirect('home')` support
3010 * Removed `req.notify()`
3011 * Removed `app.register()`
3012 * Removed `app.redirect()`
3013 * Removed `app.is()`
3014 * Removed `app.helpers()`
3015 * Removed `app.dynamicHelpers()`
3016 * Fixed `res.sendfile()` with non-GET. Closes #723
3017 * Fixed express(1) public dir for windows. Closes #866
3022 * Added support for PURGE request method [pbuyle]
3023 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
3028 * Update mkdirp dep. Closes #991
3033 * Fixed `app.all` duplicate DELETE requests [mscdex]
3038 * Updated hamljs dev dep. Closes #953
3043 * Fixed: set `filename` on cached templates [matthewleon]
3048 * Fixed `express(1)` eol on 0.4.x. Closes #947
3053 * Fixed `req.is()` when a charset is present
3058 * Fixed: express(1) LF -> CRLF for windows
3063 * Changed: updated connect to 1.8.x
3064 * Removed sass.js support from express(1)
3069 * Added ./routes dir for generated app by default
3070 * Added npm install reminder to express(1) app gen
3071 * Added 0.5.x support
3072 * Removed `make test-cov` since it wont work with node 0.5.x
3073 * Fixed express(1) public dir for windows. Closes #866
3078 * Added mkdirp to express(1). Closes #795
3079 * Added simple _json-config_ example
3080 * Added shorthand for the parsed request's pathname via `req.path`
3081 * Changed connect dep to 1.7.x to fix npm issue...
3082 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
3083 * Fixed `req.flash()`, only escape args
3084 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
3089 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
3094 * Added support for routes to handle errors. Closes #809
3095 * Added `app.routes.all()`. Closes #803
3096 * Added "basepath" setting to work in conjunction with reverse proxies etc.
3097 * Refactored `Route` to use a single array of callbacks
3098 * Added support for multiple callbacks for `app.param()`. Closes #801
3100 * Changed: removed .call(self) for route callbacks
3101 * Dependency: `qs >= 0.3.1`
3102 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
3107 * Fixed `res.header()` intention of a set, even when `undefined`
3108 * Fixed `*`, value no longer required
3109 * Fixed `res.send(204)` support. Closes #771
3114 * Added docs for `status` option special-case. Closes #739
3115 * Fixed `options.filename`, exposing the view path to template engines
3120 * Revert "removed jsonp stripping" for XSS
3125 * Added `res.json()` JSONP support. Closes #737
3126 * Added _extending-templates_ example. Closes #730
3127 * Added "strict routing" setting for trailing slashes
3128 * Added support for multiple envs in `app.configure()` calls. Closes #735
3129 * Changed: `res.send()` using `res.json()`
3130 * Changed: when cookie `path === null` don't default it
3131 * Changed; default cookie path to "home" setting. Closes #731
3132 * Removed _pids/logs_ creation from express(1)
3137 * Added chainable `res.status(code)`
3138 * Added `res.json()`, an explicit version of `res.send(obj)`
3139 * Added simple web-service example
3144 * \#express is now on freenode! come join!
3145 * Added `req.get(field, param)`
3146 * Added links to Japanese documentation, thanks @hideyukisaito!
3147 * Added; the `express(1)` generated app outputs the env
3148 * Added `content-negotiation` example
3149 * Dependency: connect >= 1.5.1 < 2.0.0
3150 * Fixed view layout bug. Closes #720
3151 * Fixed; ignore body on 304. Closes #701
3157 * Removed generation of dummy test file from `express(1)`
3158 * Fixed; `express(1)` adds express as a dep
3159 * Fixed; prune on `prepublish`
3164 * Added `req.route`, exposing the current route
3165 * Added _package.json_ generation support to `express(1)`
3166 * Fixed call to `app.param()` function for optional params. Closes #682
3171 * Fixed bug-ish with `../' in `res.partial()` calls
3176 * Fixed `app.options()`
3181 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
3182 * Added support for `app.param(fn)` to define param logic
3183 * Removed `app.param()` support for callback with return value
3184 * Removed module.parent check from express(1) generated app. Closes #670
3185 * Refactored router. Closes #639
3190 * Changed; using devDependencies instead of git submodules
3191 * Fixed redis session example
3192 * Fixed markdown example
3193 * Fixed view caching, should not be enabled in development
3198 * Added export `.view` as alias for `.View`
3203 * Added `./examples/say`
3204 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
3209 * Added "case sensitive routes" option.
3210 * Changed; split methods supported per rfc [slaskis]
3211 * Fixed route-specific middleware when using the same callback function several times
3221 * Added `app.match()` as `app.match.all()`
3222 * Added `app.lookup()` as `app.lookup.all()`
3223 * Added `app.remove()` for `app.remove.all()`
3224 * Added `app.remove.VERB()`
3225 * Fixed template caching collision issue. Closes #644
3226 * Moved router over from connect and started refactor
3231 * Added options support to `res.clearCookie()`
3232 * Added `res.helpers()` as alias of `res.locals()`
3233 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
3234 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
3235 * Renamed "cache views" to "view cache". Closes #628
3236 * Fixed caching of views when using several apps. Closes #637
3237 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
3239 * Fixed partial lookup precedence. Closes #631
3245 * Added second callback support for `res.download()` connection errors
3246 * Fixed `filename` option passing to template engine
3251 * Added `layout(path)` helper to change the layout within a view. Closes #610
3252 * Fixed `partial()` collection object support.
3253 Previously only anything with `.length` would work.
3254 When `.length` is present one must still be aware of holes,
3255 however now `{ collection: {foo: 'bar'}}` is valid, exposes
3256 `keyInCollection` and `keysInCollection`.
3258 * Performance improved with better view caching
3259 * Removed `request` and `response` locals
3260 * Changed; errorHandler page title is now `Express` instead of `Connect`
3265 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
3266 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
3267 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
3268 * Dependency `connect >= 1.2.0`
3273 * Added; expose `err.view` object when failing to locate a view
3274 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
3275 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
3280 * Added `<root>/_?<name>` partial lookup support. Closes #447
3281 * Added `request`, `response`, and `app` local variables
3282 * Added `settings` local variable, containing the app's settings
3283 * Added `req.flash()` exception if `req.session` is not available
3284 * Added `res.send(bool)` support (json response)
3285 * Fixed stylus example for latest version
3286 * Fixed; wrap try/catch around `res.render()`
3291 * Fixed up index view path alternative.
3292 * Changed; `res.locals()` without object returns the locals
3294 2.0.0rc3 / 2011-03-17
3297 * Added `res.locals(obj)` to compliment `res.local(key, val)`
3298 * Added `res.partial()` callback support
3299 * Fixed recursive error reporting issue in `res.render()`
3301 2.0.0rc2 / 2011-03-17
3304 * Changed; `partial()` "locals" are now optional
3305 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
3306 * Fixed .filename view engine option [reported by drudge]
3307 * Fixed blog example
3308 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
3310 2.0.0rc / 2011-03-14
3313 * Fixed; expose `HTTPSServer` constructor
3314 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
3315 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
3317 2.0.0beta3 / 2011-03-09
3320 * Added support for `res.contentType()` literal
3321 The original `res.contentType('.json')`,
3322 `res.contentType('application/json')`, and `res.contentType('json')`
3324 * Added `res.render()` status option support back
3325 * Added charset option for `res.render()`
3326 * Added `.charset` support (via connect 1.0.4)
3327 * Added view resolution hints when in development and a lookup fails
3328 * Added layout lookup support relative to the page view.
3329 For example while rendering `./views/user/index.jade` if you create
3330 `./views/user/layout.jade` it will be used in favour of the root layout.
3331 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
3332 * Fixed; default `res.send()` string charset to utf8
3333 * Removed `Partial` constructor (not currently used)
3335 2.0.0beta2 / 2011-03-07
3338 * Added res.render() `.locals` support back to aid in migration process
3339 * Fixed flash example
3341 2.0.0beta / 2011-03-03
3344 * Added HTTPS support
3345 * Added `res.cookie()` maxAge support
3346 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
3347 * Added mount support for `res.redirect()`, now respects the mount-point
3348 * Added `union()` util, taking place of `merge(clone())` combo
3349 * Added stylus support to express(1) generated app
3350 * Added secret to session middleware used in examples and generated app
3351 * Added `res.local(name, val)` for progressive view locals
3352 * Added default param support to `req.param(name, default)`
3353 * Added `app.disabled()` and `app.enabled()`
3354 * Added `app.register()` support for omitting leading ".", either works
3355 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
3356 * Added `app.param()` to map route params to async/sync logic
3357 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
3358 * Added extname with no leading "." support to `res.contentType()`
3359 * Added `cache views` setting, defaulting to enabled in "production" env
3360 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
3361 * Added `req.accepts()` support for extensions
3362 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
3363 static file server `connect.static.send()`.
3364 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
3365 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
3366 * Changed view partial resolution, now relative to parent view
3367 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
3368 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
3369 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
3370 * Fixed; using _qs_ module instead of _querystring_
3371 * Fixed; strip unsafe chars from jsonp callbacks
3372 * Removed "stream threshold" setting
3377 * Allow `req.query` to be pre-defined (via middleware or other parent app)
3378 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
3379 * Removed the long deprecated __EXPRESS_ENV__ support
3384 * Fixed `render()` setting inheritance.
3385 Mounted apps would not inherit "view engine"
3390 * Fixed `view engine` setting bug when period is in dirname
3395 * Added secret to generated app `session()` call
3400 * Added `qs` dependency to _package.json_
3401 * Fixed namespaced `require()`s for latest connect support
3406 * Remove unsafe characters from JSONP callback names [Ryan Grove]
3411 * Removed nested require, using `connect.router`
3416 * Fixed for middleware stacked via `createServer()`
3417 previously the `foo` middleware passed to `createServer(foo)`
3418 would not have access to Express methods such as `res.send()`
3419 or props like `req.query` etc.
3424 * Added; deduce partial object names from the last segment.
3425 For example by default `partial('forum/post', postObject)` will
3426 give you the _post_ object, providing a meaningful default.
3427 * Added http status code string representation to `res.redirect()` body
3428 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
3429 * Added `req.is()` to aid in content negotiation
3430 * Added partial local inheritance [suggested by masylum]. Closes #102
3431 providing access to parent template locals.
3432 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
3433 * Added _--template_ flag to express(1) to specify the
3434 template engine to use.
3435 * Added _--css_ flag to express(1) to specify the
3436 stylesheet engine to use (or just plain css by default).
3437 * Added `app.all()` support [thanks aheckmann]
3438 * Added partial direct object support.
3439 You may now `partial('user', user)` providing the "user" local,
3440 vs previously `partial('user', { object: user })`.
3441 * Added _route-separation_ example since many people question ways
3442 to do this with CommonJS modules. Also view the _blog_ example for
3444 * Performance; caching view path derived partial object names
3445 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
3446 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
3448 1.0.0rc4 / 2010-10-14
3451 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
3452 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
3453 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
3454 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
3455 * Added `partial()` support for array-like collections. Closes #434
3456 * Added support for swappable querystring parsers
3457 * Added session usage docs. Closes #443
3458 * Added dynamic helper caching. Closes #439 [suggested by maritz]
3459 * Added authentication example
3460 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
3461 * Changed; `express(1)` generated app using 2 spaces instead of 4
3462 * Default env to "development" again [aheckmann]
3463 * Removed _context_ option is no more, use "scope"
3464 * Fixed; exposing _./support_ libs to examples so they can run without installs
3467 1.0.0rc3 / 2010-09-20
3470 * Added confirmation for `express(1)` app generation. Closes #391
3471 * Added extending of flash formatters via `app.flashFormatters`
3472 * Added flash formatter support. Closes #411
3473 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
3474 * Added _stream threshold_ setting for `res.sendfile()`
3475 * Added `res.send()` __HEAD__ support
3476 * Added `res.clearCookie()`
3477 * Added `res.cookie()`
3478 * Added `res.render()` headers option
3479 * Added `res.redirect()` response bodies
3480 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
3481 * Fixed `res.sendfile()` responding with 403 on malicious path
3482 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
3483 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
3484 * Fixed; stripping Content-Length / Content-Type when 204
3485 * Fixed `res.send()` 204. Closes #419
3486 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
3487 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
3490 1.0.0rc2 / 2010-08-17
3493 * Added `app.register()` for template engine mapping. Closes #390
3494 * Added `res.render()` callback support as second argument (no options)
3495 * Added callback support to `res.download()`
3496 * Added callback support for `res.sendfile()`
3497 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
3498 * Added "partials" setting to docs
3499 * Added default expresso tests to `express(1)` generated app. Closes #384
3500 * Fixed `res.sendfile()` error handling, defer via `next()`
3501 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
3502 * Fixed; `make install` creating ~/.node_libraries when not present
3503 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
3505 1.0.0rc / 2010-07-28
3508 * Added mounted hook. Closes #369
3509 * Added connect dependency to _package.json_
3511 * Removed "reload views" setting and support code
3512 development env never caches, production always caches.
3514 * Removed _param_ in route callbacks, signature is now
3515 simply (req, res, next), previously (req, res, params, next).
3516 Use _req.params_ for path captures, _req.query_ for GET params.
3518 * Fixed "home" setting
3519 * Fixed middleware/router precedence issue. Closes #366
3520 * Fixed; _configure()_ callbacks called immediately. Closes #368
3522 1.0.0beta2 / 2010-07-23
3525 * Added more examples
3526 * Added; exporting `Server` constructor
3527 * Added `Server#helpers()` for view locals
3528 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
3529 * Added support for absolute view paths
3530 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
3531 * Added Guillermo Rauch to the contributor list
3532 * Added support for "as" for non-collection partials. Closes #341
3533 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
3534 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
3535 * Fixed instanceof `Array` checks, now `Array.isArray()`
3536 * Fixed express(1) expansion of public dirs. Closes #348
3537 * Fixed middleware precedence. Closes #345
3538 * Fixed view watcher, now async [thanks aheckmann]
3540 1.0.0beta / 2010-07-15
3546 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
3551 * Utilize relative requires
3552 * Added Static bufferSize option [aheckmann]
3553 * Fixed caching of view and partial subdirectories [aheckmann]
3554 * Fixed mime.type() comments now that ".ext" is not supported
3555 * Updated haml submodule
3556 * Updated class submodule
3557 * Removed bin/express
3562 * Added node v0.1.97 compatibility
3563 * Added support for deleting cookies via Request#cookie('key', null)
3564 * Updated haml submodule
3565 * Fixed not-found page, now using charset utf-8
3566 * Fixed show-exceptions page, now using charset utf-8
3567 * Fixed view support due to fs.readFile Buffers
3568 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
3573 * Added node v0.1.96 compatibility
3574 * Added view `helpers` export which act as additional local variables
3575 * Updated haml submodule
3576 * Changed ETag; removed inode, modified time only
3577 * Fixed LF to CRLF for setting multiple cookies
3578 * Fixed cookie compilation; values are now urlencoded
3579 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3584 * Added support for layouts using different engines
3585 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3586 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3587 - this.render('page.html.haml', { layout: false }) // no layout
3588 * Updated ext submodule
3589 * Updated haml submodule
3590 * Fixed EJS partial support by passing along the context. Issue #307
3595 * Fixed binary uploads.
3600 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3601 encoding is set to 'utf8' or 'utf-8').
3602 * Added "encoding" option to Request#render(). Closes #299
3603 * Added "dump exceptions" setting, which is enabled by default.
3604 * Added simple ejs template engine support
3605 * Added error response support for text/plain, application/json. Closes #297
3606 * Added callback function param to Request#error()
3607 * Added Request#sendHead()
3608 * Added Request#stream()
3609 * Added support for Request#respond(304, null) for empty response bodies
3610 * Added ETag support to Request#sendfile()
3611 * Added options to Request#sendfile(), passed to fs.createReadStream()
3612 * Added filename arg to Request#download()
3613 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3614 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3615 * Changed; Request#sendfile() now streams
3616 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3617 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3618 * Changed; run() returns the http.Server instance. Closes #298
3619 * Changed; Defaulting Server#host to null (INADDR_ANY)
3620 * Changed; Logger "common" format scale of 0.4f
3621 * Removed Logger "request" format
3622 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3623 * Fixed several issues with http client
3624 * Fixed Logger Content-Length output
3625 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3630 * Added DSL level error() route support
3631 * Added DSL level notFound() route support
3632 * Added Request#error()
3633 * Added Request#notFound()
3634 * Added Request#render() callback function. Closes #258
3635 * Added "max upload size" setting
3636 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3637 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3638 * Added callback function support to Request#halt() as 3rd/4th arg
3639 * Added preprocessing of route param wildcards using param(). Closes #251
3640 * Added view partial support (with collections etc.)
3641 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3642 * Fixed setting of multiple cookies. Closes #199
3643 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3644 * Changed; session cookie is now httpOnly
3645 * Changed; Request is no longer global
3646 * Changed; Event is no longer global
3647 * Changed; "sys" module is no longer global
3648 * Changed; moved Request#download to Static plugin where it belongs
3649 * Changed; Request instance created before body parsing. Closes #262
3650 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3651 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3652 * Updated support to node --version 0.1.90
3653 * Updated dependencies
3654 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3655 * Removed utils.mixin(); use Object#mergeDeep()
3660 * Added coffeescript example app. Closes #242
3661 * Changed; cache api now async friendly. Closes #240
3662 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3667 * Added Request#isXHR. Closes #229
3668 * Added `make install` (for the executable)
3669 * Added `express` executable for setting up simple app templates
3670 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3671 * Added Static plugin
3672 * Fixed; Request#render() only calls cache.get() once
3673 * Fixed; Namespacing View caches with "view:"
3674 * Fixed; Namespacing Static caches with "static:"
3675 * Fixed; Both example apps now use the Static plugin
3676 * Fixed set("views"). Closes #239
3677 * Fixed missing space for combined log format
3678 * Deprecated Request#sendfile() and 'express/static'
3679 * Removed Server#running
3684 * Added Request#flash() support without args, now returns all flashes
3685 * Updated ext submodule
3690 * Fixed session reaper
3691 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3696 * Added package.json
3697 * Fixed requiring of haml / sass due to kiwi removal
3702 * Fixed GIT submodules (HAH!)
3707 * Changed; Express now using submodules again until a PM is adopted
3708 * Changed; chat example using millisecond conversions from ext
3713 * Added Request#pass() support (finds the next matching route, or the given path)
3714 * Added Logger plugin (default "common" format replaces CommonLogger)
3715 * Removed Profiler plugin
3716 * Removed CommonLogger plugin
3721 * Added seed.yml for kiwi package management support
3722 * Added HTTP client query string support when method is GET. Closes #205
3724 * Added support for arbitrary view engines.
3725 For example "foo.engine.html" will now require('engine'),
3726 the exports from this module are cached after the first require().
3728 * Added async plugin support
3730 * Removed usage of RESTful route funcs as http client
3731 get() etc, use http.get() and friends
3733 * Removed custom exceptions
3738 * Added ext dependency (library of js extensions)
3739 * Removed extname() / basename() utils. Use path module
3740 * Removed toArray() util. Use arguments.values
3741 * Removed escapeRegexp() util. Use RegExp.escape()
3742 * Removed process.mixin() dependency. Use utils.mixin()
3743 * Removed Collection
3744 * Removed ElementCollection
3745 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3750 * Added flash() example to sample upload app
3751 * Added high level restful http client module (express/http)
3752 * Changed; RESTful route functions double as HTTP clients. Closes #69
3753 * Changed; throwing error when routes are added at runtime
3754 * Changed; defaulting render() context to the current Request. Closes #197
3755 * Updated haml submodule
3760 * Updated haml / sass submodules. Closes #200
3761 * Added flash message support. Closes #64
3762 * Added accepts() now allows multiple args. fixes #117
3763 * Added support for plugins to halt. Closes #189
3764 * Added alternate layout support. Closes #119
3765 * Removed Route#run(). Closes #188
3766 * Fixed broken specs due to use(Cookie) missing
3771 * Added "plot" format option for Profiler (for gnuplot processing)
3772 * Added request number to Profiler plugin
3773 * Fixed binary encoding for multipart file uploads, was previously defaulting to UTF8
3774 * Fixed issue with routes not firing when not files are present. Closes #184
3775 * Fixed process.Promise -> events.Promise
3780 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3781 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3782 * Added expiration support to cache api with reaper. Closes #133
3783 * Added cache Store.Memory#reap()
3784 * Added Cache; cache api now uses first class Cache instances
3785 * Added abstract session Store. Closes #172
3786 * Changed; cache Memory.Store#get() utilizing Collection
3787 * Renamed MemoryStore -> Store.Memory
3788 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3793 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3794 * Updated node support to 0.1.27 Closes #169
3795 * Updated dirname(__filename) -> __dirname
3796 * Updated libxmljs support to v0.2.0
3797 * Added session support with memory store / reaping
3798 * Added quick uid() helper
3799 * Added multi-part upload support
3800 * Added Sass.js support / submodule
3801 * Added production env caching view contents and static files
3802 * Added static file caching. Closes #136
3803 * Added cache plugin with memory stores
3804 * Added support to StaticFile so that it works with non-textual files.
3805 * Removed dirname() helper
3806 * Removed several globals (now their modules must be required)
3811 * Added view benchmarks; currently haml vs ejs
3812 * Added Request#attachment() specs. Closes #116
3813 * Added use of node's parseQuery() util. Closes #123
3814 * Added `make init` for submodules
3816 * Updated sample chat app to show messages on load
3817 * Updated libxmljs parseString -> parseHtmlString
3818 * Fixed `make init` to work with older versions of git
3819 * Fixed specs can now run independent specs for those who can't build deps. Closes #127
3820 * Fixed issues introduced by the node url module changes. Closes 126.
3821 * Fixed two assertions failing due to Collection#keys() returning strings
3822 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3823 * Fixed `make test` now builds libxmljs.node before testing