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
28 5.0.0-beta.3 / 2024-03-25
29 =========================
31 This incorporates all changes after 4.19.1 up to 4.19.2.
33 5.0.0-beta.2 / 2024-03-20
34 =========================
36 This incorporates all changes after 4.17.2 up to 4.19.1.
38 5.0.0-beta.1 / 2022-02-14
39 =========================
41 This is the first Express 5.0 beta release, based off 4.17.2 and includes
42 changes from 5.0.0-alpha.8.
45 - Default "query parser" setting to `'simple'`
47 - Use `mime-types` for file to content type mapping
48 * deps: array-flatten@3.0.0
49 * deps: body-parser@2.0.0-beta.1
50 - `req.body` is no longer always initialized to `{}`
51 - `urlencoded` parser now defaults `extended` to `false`
52 - Use `on-finished` to determine when body read
53 * deps: router@2.0.0-beta.1
54 - Add new `?`, `*`, and `+` parameter modifiers
55 - Internalize private `router.process_params` method
56 - Matching group expressions are only RegExp syntax
57 - Named matching groups no longer available by position in `req.params`
58 - Regular expressions can only be used in a matching group
59 - Remove `debug` dependency
60 - Special `*` path segment behavior removed
61 - deps: array-flatten@3.0.0
62 - deps: parseurl@~1.3.3
63 - deps: path-to-regexp@3.2.0
64 - deps: setprototypeof@1.2.0
65 * deps: send@1.0.0-beta.1
66 - Change `dotfiles` option default to `'ignore'`
67 - Remove `hidden` option; use `dotfiles` option instead
68 - Use `mime-types` for file to content type mapping
70 * deps: serve-static@2.0.0-beta.1
71 - Change `dotfiles` option default to `'ignore'`
72 - Remove `hidden` option; use `dotfiles` option instead
73 - Use `mime-types` for file to content type mapping
74 - deps: send@1.0.0-beta.1
76 5.0.0-alpha.8 / 2020-03-25
77 ==========================
79 This is the eighth Express 5.0 alpha release, based off 4.17.1 and includes
80 changes from 5.0.0-alpha.7.
82 5.0.0-alpha.7 / 2018-10-26
83 ==========================
85 This is the seventh Express 5.0 alpha release, based off 4.16.4 and includes
86 changes from 5.0.0-alpha.6.
88 The major change with this alpha is the basic support for returned, rejected
89 Promises in the router.
92 - `path-to-regexp` dependency
94 - Add `DEBUG_HIDE_DATE` environment variable
95 - Change timer to per-namespace instead of global
96 - Change non-TTY date format
97 - Remove `DEBUG_FD` environment variable support
98 - Support 256 namespace colors
99 * deps: router@2.0.0-alpha.1
100 - Add basic support for returned, rejected Promises
101 - Fix JSDoc for `Router` constructor
103 - deps: parseurl@~1.3.2
104 - deps: setprototypeof@1.1.0
105 - deps: utils-merge@1.0.1
107 5.0.0-alpha.6 / 2017-09-24
108 ==========================
110 This is the sixth Express 5.0 alpha release, based off 4.15.5 and includes
111 changes from 5.0.0-alpha.5.
114 - `res.redirect(url, status)` signature - use `res.redirect(status, url)`
115 - `res.send(status, body)` signature - use `res.status(status).send(body)`
116 * deps: router@~1.3.1
119 5.0.0-alpha.5 / 2017-03-06
120 ==========================
122 This is the fifth Express 5.0 alpha release, based off 4.15.2 and includes
123 changes from 5.0.0-alpha.4.
125 5.0.0-alpha.4 / 2017-03-01
126 ==========================
128 This is the fourth Express 5.0 alpha release, based off 4.15.0 and includes
129 changes from 5.0.0-alpha.3.
132 - Remove Express 3.x middleware error stubs
133 * deps: router@~1.3.0
134 - Add `next("router")` to exit from router
135 - Fix case where `router.use` skipped requests routes did not
136 - Skip routing when `req.url` is not set
137 - Use `%o` in path debug to tell types apart
139 - deps: setprototypeof@1.0.3
140 - perf: add fast match path for `*` route
142 5.0.0-alpha.3 / 2017-01-28
143 ==========================
145 This is the third Express 5.0 alpha release, based off 4.14.1 and includes
146 changes from 5.0.0-alpha.2.
149 - `res.json(status, obj)` signature - use `res.status(status).json(obj)`
150 - `res.jsonp(status, obj)` signature - use `res.status(status).jsonp(obj)`
151 - `res.vary()` (no arguments) -- provide a field name as an argument
152 * deps: array-flatten@2.1.1
153 * deps: path-is-absolute@1.0.1
154 * deps: router@~1.1.5
155 - deps: array-flatten@2.0.1
156 - deps: methods@~1.1.2
157 - deps: parseurl@~1.3.1
158 - deps: setprototypeof@1.0.2
160 5.0.0-alpha.2 / 2015-07-06
161 ==========================
163 This is the second Express 5.0 alpha release, based off 4.13.1 and includes
164 changes from 5.0.0-alpha.1.
168 - `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
170 - `res.render` callback is always async, even for sync view engines
171 - The leading `:` character in `name` for `app.param(name, fn)` is no longer removed
172 - Use `router` module for routing
173 - Use `path-is-absolute` module for absolute path detection
175 5.0.0-alpha.1 / 2014-11-06
176 ==========================
178 This is the first Express 5.0 alpha release, based off 4.10.1.
181 - `app.del` - use `app.delete`
182 - `req.acceptsCharset` - use `req.acceptsCharsets`
183 - `req.acceptsEncoding` - use `req.acceptsEncodings`
184 - `req.acceptsLanguage` - use `req.acceptsLanguages`
185 - `res.json(obj, status)` signature - use `res.json(status, obj)`
186 - `res.jsonp(obj, status)` signature - use `res.jsonp(status, obj)`
187 - `res.send(body, status)` signature - use `res.send(status, body)`
188 - `res.send(status)` signature - use `res.sendStatus(status)`
189 - `res.sendfile` - use `res.sendFile` instead
190 - `express.query` middleware
192 - `req.host` now returns host (`hostname:port`) - use `req.hostname` for only hostname
193 - `req.query` is now a getter instead of a plain property
195 - `app.router` is a reference to the base router
199 * deps: serve-static@0.16.0
200 * Remove link renderization in html while redirecting
202 * Remove link renderization in html while redirecting
203 * deps: body-parser@0.6.0
204 * add `depth` option to customize the depth level in the parser
205 * IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)
206 * Remove link renderization in html while using `res.redirect`
207 * deps: path-to-regexp@0.1.10
208 - Adds support for named matching groups in the routes using a regex
209 - Adds backtracking protection to parameters without regexes defined
210 * deps: encodeurl@~2.0.0
211 - Removes encoding of `\`, `|`, and `^` to align better with URL spec
212 * Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie`
213 - Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
218 * Improved fix for open redirect allow list bypass
223 * Allow passing non-strings to res.location with new encoding handling checks
228 * Prevent open redirect allow list bypass due to encodeurl
234 * Fix routing requests without method
235 * deps: body-parser@1.20.2
236 - Fix strict json error message on Node.js 19+
237 - deps: content-type@~1.0.5
238 - deps: raw-body@2.5.2
240 - Add `partitioned` option
245 * Fix regression routing a large stack in a single route
246 * deps: body-parser@1.20.1
248 - perf: remove unnecessary object clone
254 * Fix hanging on large stack of sync routes
259 * Add "root" option to `res.download`
260 * Allow `options` without `filename` in `res.download`
261 * Deprecate string and non-integer arguments to `res.status`
262 * Fix behavior of `null`/`undefined` as `maxAge` in `res.cookie`
263 * Fix handling very large stacks of sync middleware
264 * Ignore `Object.prototype` values in settings through `app.set`/`app.get`
265 * Invoke `default` with same arguments as types in `res.format`
266 * Support proper 205 responses using `res.send`
267 * Use `http-errors` for `res.format` error
268 * deps: body-parser@1.20.0
269 - Fix error message for json parse whitespace in `strict`
270 - Fix internal error when inflated body exceeds limit
271 - Prevent loss of async hooks context
272 - Prevent hanging when request already read
274 - deps: http-errors@2.0.0
275 - deps: on-finished@2.4.1
277 - deps: raw-body@2.5.1
279 - Add `priority` option
280 - Fix `expires` option to reject invalid dates
282 - Replace internal `eval` usage with `Function` constructor
283 - Use instance methods on `process` to check for listeners
284 * deps: finalhandler@1.2.0
285 - Remove set content headers that break response
286 - deps: on-finished@2.4.1
287 - deps: statuses@2.0.1
288 * deps: on-finished@2.4.1
289 - Prevent loss of async hooks context
292 - Fix emitted 416 error missing headers property
293 - Limit the headers removed for 304 response
295 - deps: destroy@1.2.0
296 - deps: http-errors@2.0.0
297 - deps: on-finished@2.4.1
298 - deps: statuses@2.0.1
299 * deps: serve-static@1.15.0
301 * deps: statuses@2.0.1
303 - Rename `425 Unordered Collection` to standard `425 Too Early`
308 * deps: accepts@~1.3.8
309 - deps: mime-types@~2.1.34
310 - deps: negotiator@0.6.3
311 * deps: body-parser@1.19.2
314 - deps: raw-body@2.4.3
317 * Fix handling of `__proto__` keys
318 * pref: remove unnecessary regexp for trust proxy
323 * Fix handling of `undefined` in `res.jsonp`
324 * Fix handling of `undefined` when `"json escape"` is enabled
325 * Fix incorrect middleware execution with unanchored `RegExp`s
326 * Fix `res.jsonp(obj, status)` deprecation message
327 * Fix typo in `res.is` JSDoc
328 * deps: body-parser@1.19.1
330 - deps: http-errors@1.8.1
332 - deps: raw-body@2.4.2
333 - deps: safe-buffer@5.2.1
334 - deps: type-is@~1.6.18
335 * deps: content-disposition@0.5.4
336 - deps: safe-buffer@5.2.1
338 - Fix `maxAge` option to reject invalid values
339 * deps: proxy-addr@~2.0.7
340 - Use `req.socket` over deprecated `req.connection`
341 - deps: forwarded@0.2.0
342 - deps: ipaddr.js@1.9.1
344 * deps: safe-buffer@5.2.1
346 - deps: http-errors@1.8.1
348 - pref: ignore empty http tokens
349 * deps: serve-static@1.14.2
351 * deps: setprototypeof@1.2.0
356 * Revert "Improve error message for `null`/`undefined` to `res.status`"
361 * Add `express.raw` to parse bodies into `Buffer`
362 * Add `express.text` to parse bodies into string
363 * Improve error message for non-strings to `res.sendFile`
364 * Improve error message for `null`/`undefined` to `res.status`
365 * Support multiple hosts in `X-Forwarded-Host`
366 * deps: accepts@~1.3.7
367 * deps: body-parser@1.19.0
369 - Add petabyte (`pb`) support
370 - Fix parsing array brackets after index
372 - deps: http-errors@1.7.2
373 - deps: iconv-lite@0.4.24
375 - deps: raw-body@2.4.0
376 - deps: type-is@~1.6.17
377 * deps: content-disposition@0.5.3
379 - Add `SameSite=None` support
380 * deps: finalhandler@~1.1.2
381 - Set stricter `Content-Security-Policy` header
382 - deps: parseurl@~1.3.3
383 - deps: statuses@~1.5.0
384 * deps: parseurl@~1.3.3
385 * deps: proxy-addr@~2.0.5
386 - deps: ipaddr.js@1.9.0
388 - Fix parsing array brackets after index
389 * deps: range-parser@~1.2.1
391 - Set stricter CSP header in redirect & error responses
392 - deps: http-errors@~1.7.2
395 - deps: range-parser@~1.2.1
396 - deps: statuses@~1.5.0
397 - perf: remove redundant `path.normalize` call
398 * deps: serve-static@1.14.1
399 - Set stricter CSP header in redirect response
400 - deps: parseurl@~1.3.3
402 * deps: setprototypeof@1.1.1
403 * deps: statuses@~1.5.0
404 - Add `103 Early Hints`
405 * deps: type-is@~1.6.18
406 - deps: mime-types@~2.1.24
407 - perf: prevent internal `throw` on invalid type
412 * Fix issue where `"Request aborted"` may be logged in `res.sendfile`
413 * Fix JSDoc for `Router` constructor
414 * deps: body-parser@1.18.3
415 - Fix deprecation warnings on Node.js 10+
416 - Fix stack trace for strict json parse error
418 - deps: http-errors@~1.6.3
419 - deps: iconv-lite@0.4.23
421 - deps: raw-body@2.3.3
422 - deps: type-is@~1.6.16
423 * deps: proxy-addr@~2.0.4
424 - deps: ipaddr.js@1.8.0
426 * deps: safe-buffer@5.1.2
431 * deps: accepts@~1.3.5
432 - deps: mime-types@~2.1.18
434 - perf: remove argument reassignment
435 * deps: encodeurl@~1.0.2
436 - Fix encoding `%` as last character
437 * deps: finalhandler@1.1.1
438 - Fix 404 output for bad / missing pathnames
439 - deps: encodeurl@~1.0.2
440 - deps: statuses@~1.4.0
441 * deps: proxy-addr@~2.0.3
442 - deps: ipaddr.js@1.6.0
444 - Fix incorrect end tag in default error & redirects
446 - deps: encodeurl@~1.0.2
447 - deps: statuses@~1.4.0
448 * deps: serve-static@1.13.2
449 - Fix incorrect end tag in redirects
450 - deps: encodeurl@~1.0.2
452 * deps: statuses@~1.4.0
453 * deps: type-is@~1.6.16
454 - deps: mime-types@~2.1.18
459 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
460 * perf: skip parsing of entire `X-Forwarded-Proto` header
466 * deps: serve-static@1.13.1
467 - Fix regression when `root` is incorrectly set to a file
473 * Add `"json escape"` setting for `res.json` and `res.jsonp`
474 * Add `express.json` and `express.urlencoded` to parse bodies
475 * Add `options` argument to `res.download`
476 * Improve error message when autoloading invalid view engine
477 * Improve error messages when non-function provided as middleware
478 * Skip `Buffer` encoding when not generating ETag for small response
479 * Use `safe-buffer` for improved Buffer API
480 * deps: accepts@~1.3.4
481 - deps: mime-types@~2.1.16
482 * deps: content-type@~1.0.4
483 - perf: remove argument reassignment
484 - perf: skip parameter parsing when no parameters
486 - perf: replace regular expression with substring
487 * deps: finalhandler@1.1.0
488 - Use `res.headersSent` when available
489 * deps: parseurl@~1.3.2
490 - perf: reduce overhead for full URLs
491 - perf: unroll the "fast-path" `RegExp`
492 * deps: proxy-addr@~2.0.2
493 - Fix trimming leading / trailing OWS in `X-Forwarded-For`
494 - deps: forwarded@~0.1.2
495 - deps: ipaddr.js@1.5.2
496 - perf: reduce overhead when no `X-Forwarded-For` header
498 - Fix parsing & compacting very deep objects
500 - Add 70 new types for file extensions
501 - Add `immutable` option
502 - Fix missing `</html>` in default error & redirects
503 - Set charset as "UTF-8" for .js and .json
504 - Use instance methods on steam to check for listeners
506 - perf: improve path validation speed
507 * deps: serve-static@1.13.0
508 - Add 70 new types for file extensions
509 - Add `immutable` option
510 - Set charset as "UTF-8" for .js and .json
512 * deps: setprototypeof@1.1.0
513 * deps: utils-merge@1.0.1
515 - perf: improve header token parsing speed
516 * perf: re-use options object when generating ETags
517 * perf: remove dead `.charset` set in `res.jsonp`
523 * deps: finalhandler@~1.0.6
525 - deps: parseurl@~1.3.2
527 - Fix handling of modified headers with invalid dates
528 - perf: improve ETag match loop
529 - perf: improve `If-None-Match` token parsing
531 - Fix handling of modified headers with invalid dates
535 - perf: improve `If-Match` token parsing
536 * deps: serve-static@1.12.6
537 - deps: parseurl@~1.3.2
539 - perf: improve slash collapsing
546 - Remove unnecessary `Buffer` loading
547 * deps: finalhandler@~1.0.4
549 * deps: proxy-addr@~1.1.5
550 - Fix array argument being altered
551 - deps: ipaddr.js@1.4.0
556 - deps: http-errors@~1.6.2
557 * deps: serve-static@1.12.4
563 * Fix error when `res.set` cannot add charset to `Content-Type`
565 - Fix `DEBUG_MAX_ARRAY_LENGTH`
567 * deps: finalhandler@~1.0.3
568 - Fix missing `</html>` in HTML document
570 * deps: proxy-addr@~1.1.4
571 - deps: ipaddr.js@1.3.0
575 * deps: serve-static@1.12.3
577 * deps: type-is@~1.6.15
578 - deps: mime-types@~2.1.15
580 - perf: hoist regular expression
586 - Fix regression parsing keys starting with `[`
592 - Fix issue when `Date.parse` does not return `NaN` on invalid date
593 - Fix strict violation in broken environments
594 * deps: serve-static@1.12.1
595 - Fix issue when `Date.parse` does not return `NaN` on invalid date
601 * Add debug message when loading view engine
602 * Add `next("router")` to exit from router
603 * Fix case where `router.use` skipped requests routes did not
604 * Remove usage of `res._headers` private field
605 - Improves compatibility with Node.js 8 nightly
606 * Skip routing when `req.url` is not set
607 * Use `%o` in path debug to tell types apart
608 * Use `Object.create` to setup request & response prototypes
609 * Use `setprototypeof` module to replace `__proto__` setting
610 * Use `statuses` instead of `http` module for status messages
612 - Allow colors in workers
613 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
614 - Fix error when running under React Native
615 - Use same color for same namespace
618 - Use SHA1 instead of MD5 for ETag hashing
619 - Works with FIPS 140-2 OpenSSL configuration
620 * deps: finalhandler@~1.0.0
621 - Fix exception when `err` cannot be converted to a string
622 - Fully URL-encode the pathname in the 404
623 - Only include the pathname in the 404 message
624 - Send complete HTML document
625 - Set `Content-Security-Policy: default-src 'self'` header
628 - Fix false detection of `no-cache` request directive
629 - Fix incorrect result when `If-None-Match` has both `*` and ETags
630 - Fix weak `ETag` matching to match spec
631 - perf: delay reading header values until needed
632 - perf: enable strict mode
633 - perf: hoist regular expressions
634 - perf: remove duplicate conditional
635 - perf: remove unnecessary boolean coercions
636 - perf: skip checking modified time if ETag check failed
637 - perf: skip parsing `If-None-Match` when no `ETag` header
638 - perf: use `Date.parse` instead of `new Date`
640 - Fix array parsing from skipping empty values
641 - Fix compacting nested arrays
643 - Fix false detection of `no-cache` request directive
644 - Fix incorrect result when `If-None-Match` has both `*` and ETags
645 - Fix weak `ETag` matching to match spec
646 - Remove usage of `res._headers` private field
647 - Support `If-Match` and `If-Unmodified-Since` headers
648 - Use `res.getHeaderNames()` when available
649 - Use `res.headersSent` when available
653 - deps: http-errors@~1.6.1
654 * deps: serve-static@1.12.0
655 - Fix false detection of `no-cache` request directive
656 - Fix incorrect result when `If-None-Match` has both `*` and ETags
657 - Fix weak `ETag` matching to match spec
658 - Remove usage of `res._headers` private field
659 - Send complete HTML document in redirect response
660 - Set default CSP header in redirect response
661 - Support `If-Match` and `If-Unmodified-Since` headers
662 - Use `res.getHeaderNames()` when available
663 - Use `res.headersSent` when available
665 * perf: add fast match path for `*` route
666 * perf: improve `req.ips` performance
671 * deps: content-disposition@0.5.2
672 * deps: finalhandler@0.5.1
673 - Fix exception when `err.headers` is not an object
674 - deps: statuses@~1.3.1
675 - perf: hoist regular expressions
676 - perf: remove duplicate validation path
677 * deps: proxy-addr@~1.1.3
678 - deps: ipaddr.js@1.2.0
680 - deps: http-errors@~1.5.1
682 - deps: statuses@~1.3.1
683 * deps: serve-static@~1.11.2
685 * deps: type-is@~1.6.14
686 - deps: mime-types@~2.1.13
691 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
692 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
693 * Add `options` argument to `req.range`
694 - Includes the `combine` option
695 * Encode URL in `res.location`/`res.redirect` if not already encoded
696 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
697 * Fix Windows absolute path check using forward slashes
698 * Improve error with invalid arguments to `req.get()`
699 * Improve performance for `res.json`/`res.jsonp` in most cases
700 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
701 * deps: accepts@~1.3.3
702 - Fix including type extensions in parameters in `Accept` parsing
703 - Fix parsing `Accept` parameters with quoted equals
704 - Fix parsing `Accept` parameters with quoted semicolons
705 - Many performance improvements
706 - deps: mime-types@~2.1.11
707 - deps: negotiator@0.6.1
708 * deps: content-type@~1.0.2
709 - perf: enable strict mode
711 - Add `sameSite` option
712 - Fix cookie `Max-Age` to never be a floating point number
713 - Improve error message when `encode` is not a function
714 - Improve error message when `expires` is not a `Date`
715 - Throw better error for invalid argument to parse
716 - Throw on invalid values provided to `serialize`
717 - perf: enable strict mode
718 - perf: hoist regular expression
719 - perf: use for loop in parse
720 - perf: use string concatenation for serialization
721 * deps: finalhandler@0.5.0
722 - Change invalid or non-numeric status code to 500
723 - Overwrite status message to match set status code
724 - Prefer `err.statusCode` if `err.status` is invalid
725 - Set response headers from `err.headers` object
726 - Use `statuses` instead of `http` module for status messages
727 * deps: proxy-addr@~1.1.2
728 - Fix accepting various invalid netmasks
729 - Fix IPv6-mapped IPv4 validation edge cases
730 - IPv4 netmasks must be contiguous
731 - IPv6 addresses cannot be used as a netmask
732 - deps: ipaddr.js@1.1.1
734 - Add `decoder` option in `parse` function
735 * deps: range-parser@~1.2.0
736 - Add `combine` option to combine overlapping ranges
737 - Fix incorrectly returning -1 when there is at least one valid range
738 - perf: remove internal function
740 - Add `acceptRanges` option
741 - Add `cacheControl` option
742 - Attempt to combine multiple ranges into single range
743 - Correctly inherit from `Stream` class
744 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
745 - Fix `Content-Range` header missing from default 416 responses
746 - Fix redirect error when `path` contains raw non-URL characters
747 - Fix redirect when `path` starts with multiple forward slashes
748 - Ignore non-byte `Range` headers
749 - deps: http-errors@~1.5.0
750 - deps: range-parser@~1.2.0
751 - deps: statuses@~1.3.0
752 - perf: remove argument reassignment
753 * deps: serve-static@~1.11.1
754 - Add `acceptRanges` option
755 - Add `cacheControl` option
756 - Attempt to combine multiple ranges into single range
757 - Fix redirect error when `req.url` contains raw non-URL characters
758 - Ignore non-byte `Range` headers
759 - Use status code 301 for redirects
761 * deps: type-is@~1.6.13
762 - Fix type error when given invalid type to match against
763 - deps: mime-types@~2.1.11
765 - Only accept valid field names in the `field` argument
766 * perf: use strict equality when possible
771 * deps: content-disposition@0.5.1
772 - perf: enable strict mode
774 - Throw on invalid values provided to `serialize`
776 - Support web browser loading
777 - perf: enable strict mode
778 * deps: escape-html@~1.0.3
779 - perf: enable strict mode
780 - perf: optimize string replacement
781 - perf: use faster string coercion
782 * deps: finalhandler@0.4.1
783 - deps: escape-html@~1.0.3
784 * deps: merge-descriptors@1.0.1
785 - perf: enable strict mode
786 * deps: methods@~1.1.2
787 - perf: enable strict mode
788 * deps: parseurl@~1.3.1
789 - perf: enable strict mode
790 * deps: proxy-addr@~1.0.10
791 - deps: ipaddr.js@1.0.5
792 - perf: enable strict mode
793 * deps: range-parser@~1.0.3
794 - perf: enable strict mode
797 - deps: destroy@~1.0.4
798 - deps: escape-html@~1.0.3
799 - deps: range-parser@~1.0.3
800 * deps: serve-static@~1.10.2
801 - deps: escape-html@~1.0.3
802 - deps: parseurl@~1.3.0
808 * Fix infinite loop condition using `mergeParams: true`
809 * Fix inner numeric indices incorrectly altering parent `req.params`
814 * deps: accepts@~1.2.12
815 - deps: mime-types@~2.1.4
816 * deps: array-flatten@1.1.1
817 - perf: enable strict mode
818 * deps: path-to-regexp@0.1.7
819 - Fix regression with escaped round brackets and matching groups
820 * deps: type-is@~1.6.6
821 - deps: mime-types@~2.1.4
826 * deps: accepts@~1.2.10
827 - deps: mime-types@~2.1.2
829 - Fix dropping parameters like `hasOwnProperty`
830 - Fix various parsing edge cases
831 * deps: type-is@~1.6.4
832 - deps: mime-types@~2.1.2
833 - perf: enable strict mode
834 - perf: remove argument reassignment
839 * Add settings to debug output
840 * Fix `res.format` error when only `default` provided
841 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
842 * Fix hiding platform issues with `decodeURIComponent`
843 - Only `URIError`s are a 400
844 * Fix using `*` before params in routes
845 * Fix using capture groups before params in routes
846 * Simplify `res.cookie` to call `res.append`
847 * Use `array-flatten` module for flattening arrays
848 * deps: accepts@~1.2.9
849 - deps: mime-types@~2.1.1
850 - perf: avoid argument reassignment & argument slice
851 - perf: avoid negotiator recursive construction
852 - perf: enable strict mode
853 - perf: remove unnecessary bitwise operator
855 - perf: deduce the scope of try-catch deopt
856 - perf: remove argument reassignments
857 * deps: escape-html@1.0.2
859 - Always include entity length in ETags for hash length extensions
860 - Generate non-Stats ETags using MD5 only (no longer CRC32)
861 - Improve stat performance by removing hashing
862 - Improve support for JXcore
863 - Remove base64 padding in ETags to shorten
864 - Support "fake" stats objects in environments without fs
865 - Use MD5 instead of MD4 in weak ETags over 1KB
866 * deps: finalhandler@0.4.0
867 - Fix a false-positive when unpiping in Node.js 0.8
868 - Support `statusCode` property on `Error` objects
869 - Use `unpipe` module for unpiping requests
870 - deps: escape-html@1.0.2
871 - deps: on-finished@~2.3.0
872 - perf: enable strict mode
873 - perf: remove argument reassignment
875 - Add weak `ETag` matching support
876 * deps: on-finished@~2.3.0
877 - Add defined behavior for HTTP `CONNECT` requests
878 - Add defined behavior for HTTP `Upgrade` requests
879 - deps: ee-first@1.1.1
880 * deps: path-to-regexp@0.1.6
882 - Allow Node.js HTTP server to set `Date` response header
883 - Fix incorrectly removing `Content-Location` on 304 response
884 - Improve the default redirect response headers
885 - Send appropriate headers on default error response
886 - Use `http-errors` for standard emitted errors
887 - Use `statuses` instead of `http` module for status messages
888 - deps: escape-html@1.0.2
891 - deps: on-finished@~2.3.0
892 - perf: enable strict mode
893 - perf: remove unnecessary array allocations
894 * deps: serve-static@~1.10.0
895 - Add `fallthrough` option
896 - Fix reading options from options prototype
897 - Improve the default redirect response headers
898 - Malformed URLs now `next()` instead of 400
899 - deps: escape-html@1.0.2
901 - perf: enable strict mode
902 - perf: remove argument reassignment
903 * deps: type-is@~1.6.3
904 - deps: mime-types@~2.1.1
905 - perf: reduce try block size
906 - perf: remove bitwise operations
907 * perf: enable strict mode
908 * perf: isolate `app.render` try block
909 * perf: remove argument reassignments in application
910 * perf: remove argument reassignments in request prototype
911 * perf: remove argument reassignments in response prototype
912 * perf: remove argument reassignments in routing
913 * perf: remove argument reassignments in `View`
914 * perf: skip attempting to decode zero length string
915 * perf: use saved reference to `http.STATUS_CODES`
920 * deps: accepts@~1.2.7
921 - deps: mime-types@~2.0.11
922 - deps: negotiator@0.5.3
927 - Improve support for JXcore
928 - Support "fake" stats objects in environments without `fs`
929 * deps: finalhandler@0.3.6
931 - deps: on-finished@~2.2.1
932 * deps: on-finished@~2.2.1
933 - Fix `isFinished(req)` when data buffered
934 * deps: proxy-addr@~1.0.8
935 - deps: ipaddr.js@1.0.1
937 - Fix allowing parameters like `constructor`
943 - deps: on-finished@~2.2.1
944 * deps: serve-static@~1.9.3
946 * deps: type-is@~1.6.2
947 - deps: mime-types@~2.0.11
952 * deps: accepts@~1.2.5
953 - deps: mime-types@~2.0.10
955 - Fix high intensity foreground color for bold
957 * deps: finalhandler@0.3.4
959 * deps: proxy-addr@~1.0.7
960 - deps: ipaddr.js@0.1.9
962 - Fix error when parameter `hasOwnProperty` is present
964 - Throw errors early for invalid `extensions` or `index` options
966 * deps: serve-static@~1.9.2
968 * deps: type-is@~1.6.1
969 - deps: mime-types@~2.0.10
974 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
979 * Fix constructing application with non-configurable prototype properties
980 * Fix `ECONNRESET` errors from `res.sendFile` usage
981 * Fix `req.host` when using "trust proxy" hops count
982 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
983 * Fix wrong `code` on aborted connections from `res.sendFile`
984 * deps: merge-descriptors@1.0.0
989 * Fix `"trust proxy"` setting to inherit when app is mounted
990 * Generate `ETag`s for all request responses
991 - No longer restricted to only responses for `GET` and `HEAD` requests
992 * Use `content-type` to parse `Content-Type` headers
993 * deps: accepts@~1.2.4
994 - Fix preference sorting to be stable for long acceptable lists
995 - deps: mime-types@~2.0.9
996 - deps: negotiator@0.5.1
997 * deps: cookie-signature@1.0.6
999 - Always read the stat size from the file
1000 - Fix mutating passed-in `options`
1002 * deps: serve-static@~1.9.1
1004 * deps: type-is@~1.6.0
1005 - fix argument reassignment
1006 - fix false-positives in `hasBody` `Transfer-Encoding` check
1007 - support wildcard for both type and subtype (`*/*`)
1008 - deps: mime-types@~2.0.9
1013 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
1014 * deps: accepts@~1.2.3
1015 - deps: mime-types@~2.0.8
1016 * deps: proxy-addr@~1.0.6
1017 - deps: ipaddr.js@0.1.8
1018 * deps: type-is@~1.5.6
1019 - deps: mime-types@~2.0.8
1025 - Fix root path disclosure
1026 * deps: serve-static@~1.8.1
1027 - Fix redirect loop in Node.js 0.11.14
1028 - Fix root path disclosure
1034 * Add `res.append(field, val)` to append headers
1035 * Deprecate leading `:` in `name` for `app.param(name, fn)`
1036 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
1037 * Deprecate `app.param(fn)`
1038 * Fix `OPTIONS` responses to include the `HEAD` method properly
1039 * Fix `res.sendFile` not always detecting aborted connection
1040 * Match routes iteratively to prevent stack overflows
1041 * deps: accepts@~1.2.2
1042 - deps: mime-types@~2.0.7
1043 - deps: negotiator@0.5.0
1045 - deps: debug@~2.1.1
1048 - deps: on-finished@~2.2.0
1049 * deps: serve-static@~1.8.0
1055 * Fix crash from error within `OPTIONS` response handler
1056 * deps: proxy-addr@~1.0.5
1057 - deps: ipaddr.js@0.1.6
1062 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
1063 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
1064 * deps: debug@~2.1.1
1065 * deps: finalhandler@0.3.3
1066 - deps: debug@~2.1.1
1067 - deps: on-finished@~2.2.0
1068 * deps: methods@~1.1.1
1069 * deps: on-finished@~2.2.0
1070 * deps: serve-static@~1.7.2
1071 - Fix potential open redirect when mounted at root
1072 * deps: type-is@~1.5.5
1073 - deps: mime-types@~2.0.7
1078 * Fix exception in `req.fresh`/`req.stale` without response headers
1083 * Fix `res.send` double-calling `res.end` for `HEAD` requests
1084 * deps: accepts@~1.1.4
1085 - deps: mime-types@~2.0.4
1086 * deps: type-is@~1.5.4
1087 - deps: mime-types@~2.0.4
1092 * Fix `res.sendfile` logging standard write errors
1097 * Fix `res.sendFile` logging standard write errors
1099 * deps: proxy-addr@~1.0.4
1100 - deps: ipaddr.js@0.1.5
1102 - Fix `arrayLimit` behavior
1107 * Correctly invoke async router callback asynchronously
1108 * deps: accepts@~1.1.3
1109 - deps: mime-types@~2.0.3
1110 * deps: type-is@~1.5.3
1111 - deps: mime-types@~2.0.3
1116 * Fix handling of URLs containing `://` in the path
1118 - Fix parsing of mixed objects and values
1123 * Add support for `app.set('views', array)`
1124 - Views are looked up in sequence in array of directories
1125 * Fix `res.send(status)` to mention `res.sendStatus(status)`
1126 * Fix handling of invalid empty URLs
1127 * Use `content-disposition` module for `res.attachment`/`res.download`
1128 - Sends standards-compliant `Content-Disposition` header
1129 - Full Unicode support
1130 * Use `path.resolve` in view lookup
1131 * deps: debug@~2.1.0
1132 - Implement `DEBUG_FD` env variable support
1135 - Improve string performance
1136 - Slightly improve speed for weak ETags over 1KB
1137 * deps: finalhandler@0.3.2
1138 - Terminate in progress response only on error
1139 - Use `on-finished` to determine request status
1140 - deps: debug@~2.1.0
1141 - deps: on-finished@~2.1.1
1142 * deps: on-finished@~2.1.1
1143 - Fix handling of pipelined requests
1145 - Fix parsing of mixed implicit and explicit arrays
1147 - deps: debug@~2.1.0
1150 - deps: on-finished@~2.1.1
1151 * deps: serve-static@~1.7.1
1157 * Fix `res.redirect` body when redirect status specified
1158 * deps: accepts@~1.1.2
1159 - Fix error when media type has invalid parameter
1160 - deps: negotiator@0.4.9
1165 * Fix using same param name in array of paths
1170 * deps: accepts@~1.1.1
1171 - deps: mime-types@~2.0.2
1172 - deps: negotiator@0.4.8
1173 * deps: serve-static@~1.6.4
1174 - Fix redirect loop when index file serving disabled
1175 * deps: type-is@~1.5.2
1176 - deps: mime-types@~2.0.2
1182 * deps: proxy-addr@~1.0.3
1183 - Use `forwarded` npm module
1186 * deps: serve-static@~1.6.3
1193 - Fix issue with object keys starting with numbers truncated
1198 * deps: proxy-addr@~1.0.2
1199 - Fix a global leak when multiple subnets are trusted
1200 - deps: ipaddr.js@0.1.3
1205 * Fix regression for empty string `path` in `app.use`
1206 * Fix `router.use` to accept array of middleware without path
1207 * Improve error message for bad `app.use` arguments
1212 * Fix `app.use` to accept array of middleware without path
1218 - deps: range-parser@~1.0.2
1219 * deps: serve-static@~1.6.2
1225 * Add `res.sendStatus`
1226 * Invoke callback for sendfile when client aborts
1227 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
1228 - `err` will be populated with request aborted error
1229 * Support IP address host in `req.subdomains`
1230 * Use `etag` to generate `ETag` headers
1231 * deps: accepts@~1.1.0
1232 - update `mime-types`
1233 * deps: cookie-signature@1.0.5
1234 * deps: debug@~2.0.0
1235 * deps: finalhandler@0.2.0
1236 - Set `X-Content-Type-Options: nosniff` header
1237 - deps: debug@~2.0.0
1239 * deps: media-typer@0.3.0
1240 - Throw error when parameter format invalid on parse
1242 - Fix issue where first empty value in array is discarded
1243 * deps: range-parser@~1.0.2
1245 - Add `lastModified` option
1246 - Use `etag` to generate `ETag` header
1247 - deps: debug@~2.0.0
1249 * deps: serve-static@~1.6.1
1250 - Add `lastModified` option
1252 * deps: type-is@~1.5.1
1253 - fix `hasbody` to be true for `content-length: 0`
1254 - deps: media-typer@0.3.0
1255 - deps: mime-types@~2.0.1
1257 - Accept valid `Vary` header string as `field`
1263 - Fix a path traversal issue when using `root`
1264 - Fix malicious path detection for empty string path
1265 * deps: serve-static@~1.5.4
1272 - Remove unnecessary cloning
1279 - Performance improvements
1285 - deps: destroy@1.0.3
1286 - deps: on-finished@2.1.0
1287 * deps: serve-static@~1.5.3
1295 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1296 * deps: serve-static@~1.5.2
1302 * deps: parseurl@~1.3.0
1304 * deps: serve-static@~1.5.1
1305 - Fix parsing of weird `req.originalUrl` values
1306 - deps: parseurl@~1.3.0
1307 - deps: utils-merge@1.0.0
1313 - Fix parsing array of objects
1318 * fix incorrect deprecation warnings on `res.download`
1320 - Accept urlencoded square brackets
1321 - Accept empty values in implicit array notation
1326 * add `res.sendFile`
1327 - accepts a file system path instead of a URL
1328 - requires an absolute path or `root` option specified
1329 * deprecate `res.sendfile` -- use `res.sendFile` instead
1330 * support mounted app as any argument to `app.use()`
1333 - Limits array length to 20
1334 - Limits object depth to 5
1335 - Limits parameters to 1,000
1337 - Add `extensions` option
1338 * deps: serve-static@~1.5.0
1339 - Add `extensions` option
1345 * fix `res.sendfile` regression for serving directory index files
1347 - Fix incorrect 403 on Windows and Node.js 0.11
1348 - Fix serving index files without root dir
1349 * deps: serve-static@~1.4.4
1356 - Fix incorrect 403 on Windows and Node.js 0.11
1357 * deps: serve-static@~1.4.3
1358 - Fix incorrect 403 on Windows and Node.js 0.11
1365 - Work-around v8 generating empty stack traces
1368 * deps: serve-static@~1.4.2
1374 - Fix exception when global `Error.stackTraceLimit` is too low
1377 * deps: serve-static@~1.4.1
1382 * fix `req.protocol` for proxy-direct connections
1383 * configurable query parser with `app.set('query parser', parser)`
1384 - `app.set('query parser', 'extended')` parse with "qs" module
1385 - `app.set('query parser', 'simple')` parse with "querystring" core module
1386 - `app.set('query parser', false)` disable query string parsing
1387 - `app.set('query parser', true)` enable simple parsing
1388 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
1389 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
1390 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
1393 - Add `TRACE_DEPRECATION` environment variable
1394 - Remove non-standard grey color from color output
1395 - Support `--no-deprecation` argument
1396 - Support `--trace-deprecation` argument
1397 * deps: finalhandler@0.1.0
1398 - Respond after request fully read
1400 * deps: parseurl@~1.2.0
1401 - Cache URLs based on original value
1402 - Remove no-longer-needed URL mis-parse work-around
1403 - Simplify the "fast-path" `RegExp`
1405 - Add `dotfiles` option
1406 - Cap `maxAge` value to 1 year
1409 * deps: serve-static@~1.4.0
1410 - deps: parseurl@~1.2.0
1412 * perf: prevent multiple `Buffer` creation in `res.send`
1417 * fix `subapp.mountpath` regression for `app.use(subapp)`
1422 * accept multiple callbacks to `app.use()`
1423 * add explicit "Rosetta Flash JSONP abuse" protection
1424 - previous versions are not vulnerable; this is just explicit protection
1425 * catch errors in multiple `req.param(name, fn)` handlers
1426 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1427 * fix `res.send(status, num)` to send `num` as json (not error)
1428 * remove unnecessary escaping when `res.jsonp` returns JSON response
1429 * support non-string `path` in `app.use(path, fn)`
1430 - supports array of paths
1432 * router: fix optimization on router exit
1433 * router: refactor location of `try` blocks
1434 * router: speed up standard `app.use(fn)`
1436 - Add support for multiple wildcards in namespaces
1437 * deps: finalhandler@0.0.3
1439 * deps: methods@1.1.0
1441 * deps: parseurl@~1.1.3
1442 - faster parsing of href-only URLs
1443 * deps: path-to-regexp@0.1.3
1446 * deps: serve-static@~1.3.2
1447 - deps: parseurl@~1.1.3
1449 * perf: fix arguments reassign deopt in some `res` methods
1454 * fix routing regression when altering `req.method`
1459 * add deprecation message to non-plural `req.accepts*`
1460 * add deprecation message to `res.send(body, status)`
1461 * add deprecation message to `res.vary()`
1462 * add `headers` option to `res.sendfile`
1463 - use to set headers on successful file transfer
1464 * add `mergeParams` option to `Router`
1465 - merges `req.params` from parent routes
1466 * add `req.hostname` -- correct name for what `req.host` returns
1467 * deprecate things with `depd` module
1468 * deprecate `req.host` -- use `req.hostname` instead
1469 * fix behavior when handling request without routes
1470 * fix handling when `route.all` is only route
1471 * invoke `router.param()` only when route matches
1472 * restore `req.params` after invoking router
1473 * use `finalhandler` for final response handling
1474 * use `media-typer` to alter content-type charset
1475 * deps: accepts@~1.0.7
1477 - Accept string for `maxage` (converted by `ms`)
1478 - Include link in default redirect response
1479 * deps: serve-static@~1.3.0
1480 - Accept string for `maxAge` (converted by `ms`)
1481 - Add `setHeaders` option
1482 - Include HTML link in redirect response
1484 * deps: type-is@~1.3.2
1489 * deps: cookie-signature@1.0.4
1490 - fix for timing attacks
1495 * fix `res.attachment` Unicode filenames in Safari
1496 * fix "trim prefix" debug message in `express:router`
1497 * deps: accepts@~1.0.5
1498 * deps: buffer-crc32@0.2.3
1503 * fix persistence of modified `req.params[name]` from `app.param()`
1504 * deps: accepts@1.0.3
1505 - deps: negotiator@0.4.6
1508 - Do not throw uncatchable error on file open race condition
1509 - Use `escape-html` for HTML escaping
1511 - deps: finished@1.2.2
1513 * deps: serve-static@1.2.3
1514 - Do not throw uncatchable error on file open race condition
1520 * fix catching errors from top-level handlers
1521 * use `vary` module for `res.vary`
1523 * deps: proxy-addr@1.0.1
1525 - fix "event emitter leak" warnings
1527 - deps: finished@1.2.1
1528 * deps: serve-static@1.2.2
1529 - fix "event emitter leak" warnings
1531 * deps: type-is@1.2.1
1536 * deps: methods@1.0.1
1538 - Send `max-age` in `Cache-Control` in correct format
1539 * deps: serve-static@1.2.1
1540 - use `escape-html` for escaping
1546 * custom etag control with `app.set('etag', val)`
1547 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1548 - `app.set('etag', 'weak')` weak tag
1549 - `app.set('etag', 'strong')` strong etag
1550 - `app.set('etag', false)` turn off
1551 - `app.set('etag', true)` standard etag
1552 * mark `res.send` ETag as weak and reduce collisions
1553 * update accepts to 1.0.2
1554 - Fix interpretation when header not in request
1555 * update send to 0.4.0
1556 - Calculate ETag with md5 for reduced collisions
1557 - Ignore stream errors after request ends
1559 * update serve-static to 1.2.0
1560 - Calculate ETag with md5 for reduced collisions
1561 - Ignore stream errors after request ends
1567 * fix handling of errors from `router.param()` callbacks
1572 * revert "fix behavior of multiple `app.VERB` for the same path"
1573 - this caused a regression in the order of route execution
1578 * add `req.baseUrl` to access the path stripped from `req.url` in routes
1579 * fix behavior of multiple `app.VERB` for the same path
1580 * fix issue routing requests among sub routers
1581 * invoke `router.param()` only when necessary instead of every match
1582 * proper proxy trust with `app.set('trust proxy', trust)`
1583 - `app.set('trust proxy', 1)` trust first hop
1584 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1585 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1586 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1587 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1588 - `app.set('trust proxy', false)` turn off
1589 - `app.set('trust proxy', true)` trust everything
1590 * set proper `charset` in `Content-Type` for `res.send`
1591 * update type-is to 1.2.0
1592 - support suffix matching
1597 * deprecate `app.del()` -- use `app.delete()` instead
1598 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1599 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1600 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1601 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1602 * fix `req.next` when inside router instance
1603 * include `ETag` header in `HEAD` requests
1604 * keep previous `Content-Type` for `res.jsonp`
1605 * support PURGE method
1607 - add `router.purge`
1608 - include PURGE in `app.all`
1609 * update debug to 0.8.0
1610 - add `enable()` method
1611 - change from stderr to stdout
1612 * update methods to 1.0.0
1618 * fix `req.host` for IPv6 literals
1619 * fix `res.jsonp` error if callback param is object
1624 * fix package.json to reflect supported node version
1629 * pass options from `res.sendfile` to `send`
1630 * preserve casing of headers in `res.header` and `res.set`
1631 * support unicode file names in `res.attachment` and `res.download`
1632 * update accepts to 1.0.1
1633 - deps: negotiator@0.4.0
1634 * update cookie to 0.1.2
1635 - Fix for maxAge == 0
1636 - made compat with expires field
1637 * update send to 0.3.0
1638 - Accept API options in options object
1639 - Coerce option types
1640 - Control whether to generate etags
1641 - Default directory access to 403 when index disabled
1642 - Fix sending files with dots without root set
1643 - Include file path in etag
1644 - Make "Can't set headers after they are sent." catchable
1645 - Send full entity-body for multi range requests
1646 - Set etags to "weak"
1647 - Support "If-Range" header
1648 - Support multiple index paths
1650 * update serve-static to 1.1.0
1651 - Accept options directly to `send` module
1652 - Resolve relative paths at middleware setup
1653 - Use parseurl to parse the URL from request
1655 * update type-is to 1.1.0
1656 - add non-array values support
1657 - add `multipart` as a shorthand
1664 - connect and connect's patches except for charset handling
1665 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1666 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1667 - `app.configure` - use logic in your own app code
1668 - `app.router` - is removed
1669 - `req.auth` - use `basic-auth` instead
1670 - `req.accepted*` - use `req.accepts*()` instead
1671 - `res.location` - relative URL resolution is removed
1672 - `res.charset` - include the charset in the content type when using `res.set()`
1673 - all bundled middleware except `static`
1675 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1676 - `json spaces` no longer enabled by default in development
1677 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1678 - `req.params` is now an object instead of an array
1679 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1680 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1682 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1683 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1684 - [path-to-regexp](https://github.com/component/path-to-regexp)
1686 - `app.router()` - returns the app Router instance
1687 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1688 - Router & Route - public API
1693 * deps: connect@2.30.2
1694 - deps: body-parser@~1.13.3
1695 - deps: compression@~1.5.2
1696 - deps: errorhandler@~1.4.2
1697 - deps: method-override@~2.3.5
1698 - deps: serve-index@~1.7.2
1699 - deps: type-is@~1.6.6
1700 - deps: vhost@~3.0.1
1702 - Fix setting empty header from empty `field`
1703 - perf: enable strict mode
1704 - perf: remove argument reassignments
1709 * deps: basic-auth@~1.0.3
1710 * deps: connect@2.30.1
1711 - deps: body-parser@~1.13.2
1712 - deps: compression@~1.5.1
1713 - deps: errorhandler@~1.4.1
1714 - deps: morgan@~1.6.1
1717 - deps: serve-index@~1.7.1
1718 - deps: type-is@~1.6.4
1723 * deps: basic-auth@1.0.2
1724 - perf: enable strict mode
1725 - perf: hoist regular expression
1726 - perf: parse with regular expressions
1727 - perf: remove argument reassignment
1728 * deps: connect@2.30.0
1729 - deps: body-parser@~1.13.1
1731 - deps: compression@~1.5.0
1732 - deps: cookie@0.1.3
1733 - deps: cookie-parser@~1.3.5
1734 - deps: csurf@~1.8.3
1735 - deps: errorhandler@~1.4.0
1736 - deps: express-session@~1.11.3
1737 - deps: finalhandler@0.4.0
1739 - deps: morgan@~1.6.0
1740 - deps: serve-favicon@~2.3.0
1741 - deps: serve-index@~1.7.0
1742 - deps: serve-static@~1.10.0
1743 - deps: type-is@~1.6.3
1744 * deps: cookie@0.1.3
1745 - perf: deduce the scope of try-catch deopt
1746 - perf: remove argument reassignments
1747 * deps: escape-html@1.0.2
1749 - Always include entity length in ETags for hash length extensions
1750 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1751 - Improve stat performance by removing hashing
1752 - Improve support for JXcore
1753 - Remove base64 padding in ETags to shorten
1754 - Support "fake" stats objects in environments without fs
1755 - Use MD5 instead of MD4 in weak ETags over 1KB
1757 - Add weak `ETag` matching support
1758 * deps: mkdirp@0.5.1
1759 - Work in global strict mode
1761 - Allow Node.js HTTP server to set `Date` response header
1762 - Fix incorrectly removing `Content-Location` on 304 response
1763 - Improve the default redirect response headers
1764 - Send appropriate headers on default error response
1765 - Use `http-errors` for standard emitted errors
1766 - Use `statuses` instead of `http` module for status messages
1767 - deps: escape-html@1.0.2
1770 - deps: on-finished@~2.3.0
1771 - perf: enable strict mode
1772 - perf: remove unnecessary array allocations
1777 * deps: connect@2.29.2
1778 - deps: body-parser@~1.12.4
1779 - deps: compression@~1.4.4
1780 - deps: connect-timeout@~1.6.2
1781 - deps: debug@~2.2.0
1783 - deps: errorhandler@~1.3.6
1784 - deps: finalhandler@0.3.6
1785 - deps: method-override@~2.3.3
1786 - deps: morgan@~1.5.3
1788 - deps: response-time@~2.3.1
1789 - deps: serve-favicon@~2.2.1
1790 - deps: serve-index@~1.6.4
1791 - deps: serve-static@~1.9.3
1792 - deps: type-is@~1.6.2
1793 * deps: debug@~2.2.0
1796 * deps: proxy-addr@~1.0.8
1797 - deps: ipaddr.js@1.0.1
1799 - deps: debug@~2.2.0
1803 - deps: on-finished@~2.2.1
1808 * deps: connect@2.29.1
1809 - deps: body-parser@~1.12.2
1810 - deps: compression@~1.4.3
1811 - deps: connect-timeout@~1.6.1
1812 - deps: debug@~2.1.3
1813 - deps: errorhandler@~1.3.5
1814 - deps: express-session@~1.10.4
1815 - deps: finalhandler@0.3.4
1816 - deps: method-override@~2.3.2
1817 - deps: morgan@~1.5.2
1819 - deps: serve-index@~1.6.3
1820 - deps: serve-static@~1.9.2
1821 - deps: type-is@~1.6.1
1822 * deps: debug@~2.1.3
1823 - Fix high intensity foreground color for bold
1825 * deps: merge-descriptors@1.0.0
1826 * deps: proxy-addr@~1.0.7
1827 - deps: ipaddr.js@0.1.9
1829 - Throw errors early for invalid `extensions` or `index` options
1830 - deps: debug@~2.1.3
1835 * Fix `req.host` when using "trust proxy" hops count
1836 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1841 * Fix `"trust proxy"` setting to inherit when app is mounted
1842 * Generate `ETag`s for all request responses
1843 - No longer restricted to only responses for `GET` and `HEAD` requests
1844 * Use `content-type` to parse `Content-Type` headers
1845 * deps: connect@2.29.0
1846 - Use `content-type` to parse `Content-Type` headers
1847 - deps: body-parser@~1.12.0
1848 - deps: compression@~1.4.1
1849 - deps: connect-timeout@~1.6.0
1850 - deps: cookie-parser@~1.3.4
1851 - deps: cookie-signature@1.0.6
1852 - deps: csurf@~1.7.0
1853 - deps: errorhandler@~1.3.4
1854 - deps: express-session@~1.10.3
1855 - deps: http-errors@~1.3.1
1856 - deps: response-time@~2.3.0
1857 - deps: serve-index@~1.6.2
1858 - deps: serve-static@~1.9.1
1859 - deps: type-is@~1.6.0
1860 * deps: cookie-signature@1.0.6
1862 - Always read the stat size from the file
1863 - Fix mutating passed-in `options`
1869 * deps: connect@2.28.3
1870 - deps: compression@~1.3.1
1871 - deps: csurf@~1.6.6
1872 - deps: errorhandler@~1.3.3
1873 - deps: express-session@~1.10.2
1874 - deps: serve-index@~1.6.1
1875 - deps: type-is@~1.5.6
1876 * deps: proxy-addr@~1.0.6
1877 - deps: ipaddr.js@0.1.8
1882 * deps: connect@2.28.2
1883 - deps: body-parser@~1.10.2
1884 - deps: serve-static@~1.8.1
1886 - Fix root path disclosure
1891 * Fix `OPTIONS` responses to include the `HEAD` method property
1892 * Use `readline` for prompt in `express(1)`
1893 * deps: commander@2.6.0
1894 * deps: connect@2.28.1
1895 - deps: body-parser@~1.10.1
1896 - deps: compression@~1.3.0
1897 - deps: connect-timeout@~1.5.0
1898 - deps: csurf@~1.6.4
1899 - deps: debug@~2.1.1
1900 - deps: errorhandler@~1.3.2
1901 - deps: express-session@~1.10.1
1902 - deps: finalhandler@0.3.3
1903 - deps: method-override@~2.3.1
1904 - deps: morgan@~1.5.1
1905 - deps: serve-favicon@~2.2.0
1906 - deps: serve-index@~1.6.0
1907 - deps: serve-static@~1.8.0
1908 - deps: type-is@~1.5.5
1909 * deps: debug@~2.1.1
1910 * deps: methods@~1.1.1
1911 * deps: proxy-addr@~1.0.5
1912 - deps: ipaddr.js@0.1.6
1914 - deps: debug@~2.1.1
1917 - deps: on-finished@~2.2.0
1922 * Fix exception in `req.fresh`/`req.stale` without response headers
1927 * deps: connect@2.27.6
1928 - deps: compression@~1.2.2
1929 - deps: express-session@~1.9.3
1930 - deps: http-errors@~1.2.8
1931 - deps: serve-index@~1.5.3
1932 - deps: type-is@~1.5.4
1937 * deps: connect@2.27.4
1938 - deps: body-parser@~1.9.3
1939 - deps: compression@~1.2.1
1940 - deps: errorhandler@~1.2.3
1941 - deps: express-session@~1.9.2
1943 - deps: serve-favicon@~2.1.7
1944 - deps: serve-static@~1.5.1
1945 - deps: type-is@~1.5.3
1947 * deps: proxy-addr@~1.0.4
1948 - deps: ipaddr.js@0.1.5
1953 * deps: connect@2.27.3
1954 - Correctly invoke async callback asynchronously
1955 - deps: csurf@~1.6.3
1960 * deps: connect@2.27.2
1961 - Fix handling of URLs containing `://` in the path
1962 - deps: body-parser@~1.9.2
1968 * Fix internal `utils.merge` deprecation warnings
1969 * deps: connect@2.27.1
1970 - deps: body-parser@~1.9.1
1971 - deps: express-session@~1.9.1
1972 - deps: finalhandler@0.3.2
1973 - deps: morgan@~1.4.1
1975 - deps: serve-static@~1.7.1
1977 - deps: on-finished@~2.1.1
1982 * Use `content-disposition` module for `res.attachment`/`res.download`
1983 - Sends standards-compliant `Content-Disposition` header
1984 - Full Unicode support
1985 * Use `etag` module to generate `ETag` headers
1986 * deps: connect@2.27.0
1987 - Use `http-errors` module for creating errors
1988 - Use `utils-merge` module for merging objects
1989 - deps: body-parser@~1.9.0
1990 - deps: compression@~1.2.0
1991 - deps: connect-timeout@~1.4.0
1992 - deps: debug@~2.1.0
1994 - deps: express-session@~1.9.0
1995 - deps: finalhandler@0.3.1
1996 - deps: method-override@~2.3.0
1997 - deps: morgan@~1.4.0
1998 - deps: response-time@~2.2.0
1999 - deps: serve-favicon@~2.1.6
2000 - deps: serve-index@~1.5.0
2001 - deps: serve-static@~1.7.0
2002 * deps: debug@~2.1.0
2003 - Implement `DEBUG_FD` env variable support
2006 - deps: debug@~2.1.0
2013 * deps: connect@2.26.6
2014 - deps: compression@~1.1.2
2015 - deps: csurf@~1.6.2
2016 - deps: errorhandler@~1.2.2
2021 * deps: connect@2.26.5
2022 - Fix accepting non-object arguments to `logger`
2023 - deps: serve-static@~1.6.4
2028 * deps: connect@2.26.4
2029 - deps: morgan@~1.3.2
2030 - deps: type-is@~1.5.2
2035 * deps: connect@2.26.3
2036 - deps: body-parser@~1.8.4
2037 - deps: serve-favicon@~2.1.5
2038 - deps: serve-static@~1.6.3
2039 * deps: proxy-addr@~1.0.3
2040 - Use `forwarded` npm module
2047 * deps: connect@2.26.2
2048 - deps: body-parser@~1.8.3
2054 * deps: proxy-addr@~1.0.2
2055 - Fix a global leak when multiple subnets are trusted
2056 - deps: ipaddr.js@0.1.3
2061 * Use `crc` instead of `buffer-crc32` for speed
2062 * deps: connect@2.26.1
2063 - deps: body-parser@~1.8.2
2065 - deps: express-session@~1.8.2
2066 - deps: morgan@~1.3.1
2067 - deps: serve-favicon@~2.1.3
2068 - deps: serve-static@~1.6.2
2073 - deps: range-parser@~1.0.2
2078 * Fix error in `req.subdomains` on empty host
2083 * Support `X-Forwarded-Host` in `req.subdomains`
2084 * Support IP address host in `req.subdomains`
2085 * deps: connect@2.26.0
2086 - deps: body-parser@~1.8.1
2087 - deps: compression@~1.1.0
2088 - deps: connect-timeout@~1.3.0
2089 - deps: cookie-parser@~1.3.3
2090 - deps: cookie-signature@1.0.5
2091 - deps: csurf@~1.6.1
2092 - deps: debug@~2.0.0
2093 - deps: errorhandler@~1.2.0
2094 - deps: express-session@~1.8.1
2095 - deps: finalhandler@0.2.0
2097 - deps: media-typer@0.3.0
2098 - deps: method-override@~2.2.0
2099 - deps: morgan@~1.3.0
2101 - deps: serve-favicon@~2.1.3
2102 - deps: serve-index@~1.2.1
2103 - deps: serve-static@~1.6.1
2104 - deps: type-is@~1.5.1
2105 - deps: vhost@~3.0.0
2106 * deps: cookie-signature@1.0.5
2107 * deps: debug@~2.0.0
2109 * deps: media-typer@0.3.0
2110 - Throw error when parameter format invalid on parse
2111 * deps: range-parser@~1.0.2
2113 - Add `lastModified` option
2114 - Use `etag` to generate `ETag` header
2115 - deps: debug@~2.0.0
2118 - Accept valid `Vary` header string as `field`
2120 3.16.10 / 2014-09-04
2121 ====================
2123 * deps: connect@2.25.10
2124 - deps: serve-static@~1.5.4
2126 - Fix a path traversal issue when using `root`
2127 - Fix malicious path detection for empty string path
2132 * deps: connect@2.25.9
2133 - deps: body-parser@~1.6.7
2139 * deps: connect@2.25.8
2140 - deps: body-parser@~1.6.6
2141 - deps: csurf@~1.4.1
2147 * deps: connect@2.25.7
2148 - deps: body-parser@~1.6.5
2149 - deps: express-session@~1.7.6
2150 - deps: morgan@~1.2.3
2151 - deps: serve-static@~1.5.3
2153 - deps: destroy@1.0.3
2154 - deps: on-finished@2.1.0
2159 * deps: connect@2.25.6
2160 - deps: body-parser@~1.6.4
2162 - deps: serve-static@~1.5.2
2164 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
2169 * deps: connect@2.25.5
2170 - Fix backwards compatibility in `logger`
2175 * Fix original URL parsing in `res.location`
2176 * deps: connect@2.25.4
2177 - Fix `query` middleware breaking with argument
2178 - deps: body-parser@~1.6.3
2179 - deps: compression@~1.0.11
2180 - deps: connect-timeout@~1.2.2
2181 - deps: express-session@~1.7.5
2182 - deps: method-override@~2.1.3
2183 - deps: on-headers@~1.0.0
2184 - deps: parseurl@~1.3.0
2186 - deps: response-time@~2.0.1
2187 - deps: serve-index@~1.1.6
2188 - deps: serve-static@~1.5.1
2189 * deps: parseurl@~1.3.0
2194 * deps: connect@2.25.3
2195 - deps: multiparty@3.3.2
2200 * deps: connect@2.25.2
2201 - deps: body-parser@~1.6.2
2207 * deps: connect@2.25.1
2208 - deps: body-parser@~1.6.1
2214 * deps: connect@2.25.0
2215 - deps: body-parser@~1.6.0
2216 - deps: compression@~1.0.10
2217 - deps: csurf@~1.4.0
2218 - deps: express-session@~1.7.4
2220 - deps: serve-static@~1.5.0
2222 - Add `extensions` option
2227 * fix `res.sendfile` regression for serving directory index files
2228 * deps: connect@2.24.3
2229 - deps: serve-index@~1.1.5
2230 - deps: serve-static@~1.4.4
2232 - Fix incorrect 403 on Windows and Node.js 0.11
2233 - Fix serving index files without root dir
2238 * deps: connect@2.24.2
2239 - deps: body-parser@~1.5.2
2241 - deps: express-session@~1.7.2
2242 - deps: morgan@~1.2.2
2243 - deps: serve-static@~1.4.2
2245 - Work-around v8 generating empty stack traces
2252 * deps: connect@2.24.1
2253 - deps: body-parser@~1.5.1
2255 - deps: express-session@~1.7.1
2256 - deps: morgan@~1.2.1
2257 - deps: serve-index@~1.1.4
2258 - deps: serve-static@~1.4.1
2260 - Fix exception when global `Error.stackTraceLimit` is too low
2267 * Fix `req.protocol` for proxy-direct connections
2268 * Pass options from `res.sendfile` to `send`
2269 * deps: connect@2.24.0
2270 - deps: body-parser@~1.5.0
2271 - deps: compression@~1.0.9
2272 - deps: connect-timeout@~1.2.1
2275 - deps: express-session@~1.7.0
2276 - deps: finalhandler@0.1.0
2277 - deps: method-override@~2.1.2
2278 - deps: morgan@~1.2.0
2279 - deps: multiparty@3.3.1
2280 - deps: parseurl@~1.2.0
2281 - deps: serve-static@~1.4.0
2284 - Add `TRACE_DEPRECATION` environment variable
2285 - Remove non-standard grey color from color output
2286 - Support `--no-deprecation` argument
2287 - Support `--trace-deprecation` argument
2288 * deps: parseurl@~1.2.0
2289 - Cache URLs based on original value
2290 - Remove no-longer-needed URL mis-parse work-around
2291 - Simplify the "fast-path" `RegExp`
2293 - Add `dotfiles` option
2294 - Cap `maxAge` value to 1 year
2301 * add explicit "Rosetta Flash JSONP abuse" protection
2302 - previous versions are not vulnerable; this is just explicit protection
2303 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
2304 * fix `res.send(status, num)` to send `num` as json (not error)
2305 * remove unnecessary escaping when `res.jsonp` returns JSON response
2306 * deps: basic-auth@1.0.0
2307 - support empty password
2308 - support empty username
2309 * deps: connect@2.23.0
2311 - deps: express-session@~1.6.4
2312 - deps: method-override@~2.1.0
2313 - deps: parseurl@~1.1.3
2314 - deps: serve-static@~1.3.1
2316 - Add support for multiple wildcards in namespaces
2317 * deps: methods@1.1.0
2319 * deps: parseurl@~1.1.3
2320 - faster parsing of href-only URLs
2325 * add deprecation message to `app.configure`
2326 * add deprecation message to `req.auth`
2327 * use `basic-auth` to parse `Authorization` header
2328 * deps: connect@2.22.0
2329 - deps: csurf@~1.3.0
2330 - deps: express-session@~1.6.1
2331 - deps: multiparty@3.3.0
2332 - deps: serve-static@~1.3.0
2334 - Accept string for `maxage` (converted by `ms`)
2335 - Include link in default redirect response
2340 * deps: connect@2.21.1
2341 - deps: cookie-parser@1.3.2
2342 - deps: cookie-signature@1.0.4
2343 - deps: express-session@~1.5.2
2344 - deps: type-is@~1.3.2
2345 * deps: cookie-signature@1.0.4
2346 - fix for timing attacks
2351 * use `media-typer` to alter content-type charset
2352 * deps: connect@2.21.0
2353 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
2354 - deprecate `connect.createServer()` -- use `connect()` instead
2355 - fix `res.setHeader()` patch to work with get -> append -> set pattern
2356 - deps: compression@~1.0.8
2357 - deps: errorhandler@~1.1.1
2358 - deps: express-session@~1.5.0
2359 - deps: serve-index@~1.1.3
2364 * deprecate things with `depd` module
2365 * deps: buffer-crc32@0.2.3
2366 * deps: connect@2.20.2
2367 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
2368 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
2369 - deprecate things with `depd` module
2370 - use `finalhandler` for final response handling
2371 - use `media-typer` to parse `content-type` for charset
2372 - deps: body-parser@1.4.3
2373 - deps: connect-timeout@1.1.1
2374 - deps: cookie-parser@1.3.1
2376 - deps: errorhandler@1.1.0
2377 - deps: express-session@1.4.0
2378 - deps: multiparty@3.2.9
2379 - deps: serve-index@1.1.2
2380 - deps: type-is@1.3.1
2386 * deps: connect@2.19.6
2387 - deps: body-parser@1.3.1
2388 - deps: compression@1.0.7
2390 - deps: serve-index@1.1.1
2391 - deps: serve-static@1.2.3
2394 - Do not throw uncatchable error on file open race condition
2395 - Use `escape-html` for HTML escaping
2397 - deps: finished@1.2.2
2403 * deps: connect@2.19.5
2404 - fix "event emitter leak" warnings
2407 - deps: serve-static@1.2.2
2408 - deps: type-is@1.2.1
2411 - fix "event emitter leak" warnings
2412 - deps: finished@1.2.1
2418 * use `vary` module for `res.vary`
2419 * deps: connect@2.19.4
2420 - deps: errorhandler@1.0.2
2421 - deps: method-override@2.0.2
2422 - deps: serve-favicon@2.0.1
2428 * deps: connect@2.19.3
2429 - deps: compression@1.0.6
2434 * deps: connect@2.19.2
2435 - deps: compression@1.0.4
2436 * deps: proxy-addr@1.0.1
2441 * deps: connect@2.19.1
2442 - deprecate `methodOverride()` -- use `method-override` npm module instead
2443 - deps: body-parser@1.3.0
2444 - deps: method-override@2.0.1
2445 - deps: multiparty@3.2.8
2446 - deps: response-time@2.0.0
2447 - deps: serve-static@1.2.1
2448 * deps: methods@1.0.1
2450 - Send `max-age` in `Cache-Control` in correct format
2455 * custom etag control with `app.set('etag', val)`
2456 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
2457 - `app.set('etag', 'weak')` weak tag
2458 - `app.set('etag', 'strong')` strong etag
2459 - `app.set('etag', false)` turn off
2460 - `app.set('etag', true)` standard etag
2461 * Include ETag in HEAD requests
2462 * mark `res.send` ETag as weak and reduce collisions
2463 * update connect to 2.18.0
2464 - deps: compression@1.0.3
2465 - deps: serve-index@1.1.0
2466 - deps: serve-static@1.2.0
2467 * update send to 0.4.0
2468 - Calculate ETag with md5 for reduced collisions
2469 - Ignore stream errors after request ends
2475 * update connect to 2.17.3
2476 - deps: body-parser@1.2.2
2477 - deps: express-session@1.2.1
2478 - deps: method-override@1.0.2
2483 * keep previous `Content-Type` for `res.jsonp`
2484 * set proper `charset` in `Content-Type` for `res.send`
2485 * update connect to 2.17.1
2486 - fix `res.charset` appending charset when `content-type` has one
2487 - deps: express-session@1.2.0
2488 - deps: morgan@1.1.1
2489 - deps: serve-index@1.0.3
2494 * proper proxy trust with `app.set('trust proxy', trust)`
2495 - `app.set('trust proxy', 1)` trust first hop
2496 - `app.set('trust proxy', 'loopback')` trust loopback addresses
2497 - `app.set('trust proxy', '10.0.0.1')` trust single IP
2498 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
2499 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
2500 - `app.set('trust proxy', false)` turn off
2501 - `app.set('trust proxy', true)` trust everything
2502 * update connect to 2.16.2
2503 - deprecate `res.headerSent` -- use `res.headersSent`
2504 - deprecate `res.on("header")` -- use on-headers module instead
2505 - fix edge-case in `res.appendHeader` that would append in wrong order
2506 - json: use body-parser
2507 - urlencoded: use body-parser
2509 - dep: cookie-parser@1.1.0
2511 - dep: express-session@1.1.0
2512 - dep: method-override@1.0.1
2517 * deprecate `app.del()` -- use `app.delete()` instead
2518 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
2519 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
2520 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
2521 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
2522 * support PURGE method
2524 - add `router.purge`
2525 - include PURGE in `app.all`
2526 * update connect to 2.15.0
2527 * Add `res.appendHeader`
2528 * Call error stack even when response has been sent
2529 * Patch `res.headerSent` to return Boolean
2530 * Patch `res.headersSent` for node.js 0.8
2531 * Prevent default 404 handler after response sent
2532 * dep: compression@1.0.2
2533 * dep: connect-timeout@1.1.0
2535 * dep: errorhandler@1.0.1
2536 * dep: express-session@1.0.4
2538 * dep: serve-favicon@2.0.0
2539 * dep: serve-index@1.0.2
2540 * update debug to 0.8.0
2541 * add `enable()` method
2542 * change from stderr to stdout
2543 * update methods to 1.0.0
2545 * update mkdirp to 0.5.0
2550 * fix `req.host` for IPv6 literals
2551 * fix `res.jsonp` error if callback param is object
2556 * update connect to 2.14.5
2557 * update cookie to 0.1.2
2558 * update mkdirp to 0.4.0
2559 * update send to 0.3.0
2564 * pin less-middleware in generated app
2574 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
2575 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
2576 * throw 400 in case of malformed paths @rlidwka
2586 * update connect (raw-body)
2592 * res.location: remove leading ./ #1802 @kapouer
2593 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2594 * res.send: always send ETag when content-length > 0
2595 * router: add Router.all() method
2603 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2614 * downgrade commander
2621 * jsonp: check if callback is a function
2622 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2623 * res.format: now includes charset @1747 (@sorribas)
2624 * res.links: allow multiple calls @1746 (@sorribas)
2629 * add res.vary(). Closes #1682
2645 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2646 * add: req.accepts take an argument list
2651 * update send and connect
2663 * remove .version export
2674 * add support for multiple X-Forwarded-Proto values. Closes #1646
2675 * change: remove charset from json responses. Closes #1631
2676 * change: return actual booleans from req.accept* functions
2677 * fix jsonp callback array throw
2688 * update node-cookie
2689 * add: throw a meaningful error when there is no default engine
2690 * change generation of ETags with res.send() to GET requests only. Closes #1619
2695 * fix `req.subdomains` when no Host is present
2696 * fix `req.host` when no Host is present, return undefined
2701 * update connect / qs
2711 * add app.VERB() paths array deprecation warning
2713 * update qs and remove all ~ semver crap
2714 * fix: accept number as value of Signed Cookie
2719 * add "view" constructor setting to override view behaviour
2720 * add req.acceptsEncoding(name)
2721 * add req.acceptedEncodings
2722 * revert cookie signature change causing session race conditions
2723 * fix sorting of Accept values of the same quality
2728 * add support for custom Accept parameters
2729 * update cookie-signature
2734 * add X-Forwarded-Host support to `req.host`
2735 * fix relative redirects
2737 * update buffer-crc32
2738 * remove legacy app.configure() method from app template.
2743 * add support for leading "." in "view engine" setting
2744 * add array support to `res.set()`
2745 * add node 0.8.x to travis.yml
2746 * add "subdomain offset" setting for tweaking `req.subdomains`
2747 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2748 * use app.get() for x-powered-by setting for inheritance
2749 * fix colons in passwords for `req.auth`
2754 * add http verb methods to Router
2756 * fix mangling of the `res.cookie()` options object
2757 * fix jsonp whitespace escape. Closes #1132
2762 * add throwing when a non-function is passed to a route
2763 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2764 * revert "add 'etag' option"
2769 * add 'etag' option to disable `res.send()` Etags
2770 * add escaping of urls in text/plain in `res.redirect()`
2771 for old browsers interpreting as html
2772 * change crc32 module for a more liberal license
2779 * update cookie module
2780 * fix cookie max-age
2785 * add OPTIONS to cors example. Closes #1398
2786 * fix route chaining regression. Closes #1397
2797 * add "Basic" check to req.auth
2798 * add `req.auth` test coverage
2799 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2800 * add backwards compat for `res.redirect()` status. Closes #1336
2801 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2803 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2804 * remove non-primitive string support for `res.send()`
2805 * fix view-locals example. Closes #1370
2806 * fix route-separation example
2808 3.0.0rc5 / 2012-09-18
2812 * add redis search example
2813 * add static-files example
2814 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2815 * add "application/octet-stream" redirect Accept test case. Closes #1317
2817 3.0.0rc4 / 2012-08-30
2820 * add `res.jsonp()`. Closes #1307
2821 * add "verbose errors" option to error-pages example
2822 * add another route example to express(1) so people are not so confused
2823 * add redis online user activity tracking example
2824 * update connect dep
2825 * fix etag quoting. Closes #1310
2826 * fix error-pages 404 status
2827 * fix jsonp callback char restrictions
2828 * remove old OPTIONS default response
2830 3.0.0rc3 / 2012-08-13
2833 * update connect dep
2834 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2835 * fix `res.render()` clobbering of "locals"
2837 3.0.0rc2 / 2012-08-03
2841 * update connect dep
2842 * deprecate `.createServer()` & remove old stale examples
2843 * fix: escape `res.redirect()` link
2846 3.0.0rc1 / 2012-07-24
2849 * add more examples to view-locals
2850 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2852 * update connect dep
2854 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2855 * fix `res.sendfile()` socket error handling regression
2857 3.0.0beta7 / 2012-07-16
2860 * update connect dep for `send()` root normalization regression
2862 3.0.0beta6 / 2012-07-13
2865 * add `err.view` property for view errors. Closes #1226
2866 * add "jsonp callback name" setting
2867 * add support for "/foo/:bar*" non-greedy matches
2868 * change `res.sendfile()` to use `send()` module
2869 * change `res.send` to use "response-send" module
2870 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2872 3.0.0beta5 / 2012-07-03
2875 * add "make check" support
2876 * add route-map example
2877 * add `res.json(obj, status)` support back for BC
2878 * add "methods" dep, remove internal methods module
2879 * update connect dep
2880 * update auth example to utilize cores pbkdf2
2881 * updated tests to use "supertest"
2883 3.0.0beta4 / 2012-06-25
2887 * Added `req.range(size)`
2888 * Added `res.links(obj)`
2889 * Added `res.send(body, status)` support back for backwards compat
2890 * Added `.default()` support to `res.format()`
2891 * Added 2xx / 304 check to `req.fresh`
2892 * Revert "Added + support to the router"
2893 * Fixed `res.send()` freshness check, respect res.statusCode
2895 3.0.0beta3 / 2012-06-15
2898 * Added hogan `--hjs` to express(1) [nullfirm]
2899 * Added another example to content-negotiation
2901 * Changed: `res.send()` always checks freshness
2902 * Fixed: expose connects mime module. Closes #1165
2904 3.0.0beta2 / 2012-06-06
2907 * Added `+` support to the router
2909 * Changed `req.param()` to check route first
2910 * Update connect dep
2912 3.0.0beta1 / 2012-06-01
2915 * Added `res.format()` callback to override default 406 behaviour
2916 * Fixed `res.redirect()` 406. Closes #1154
2918 3.0.0alpha5 / 2012-05-30
2922 * Added `{ signed: true }` option to `res.cookie()`
2923 * Removed `res.signedCookie()`
2924 * Changed: dont reverse `req.ips`
2925 * Fixed "trust proxy" setting check for `req.ips`
2927 3.0.0alpha4 / 2012-05-09
2930 * Added: allow `[]` in jsonp callback. Closes #1128
2931 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2932 * Updated: connect 2.2.2
2934 3.0.0alpha3 / 2012-05-04
2937 * Added public `app.routes`. Closes #887
2938 * Added _view-locals_ example
2939 * Added _mvc_ example
2940 * Added `res.locals.use()`. Closes #1120
2941 * Added conditional-GET support to `res.send()`
2942 * Added: coerce `res.set()` values to strings
2943 * Changed: moved `static()` in generated apps below router
2944 * Changed: `res.send()` only set ETag when not previously set
2945 * Changed connect 2.2.1 dep
2946 * Changed: `make test` now runs unit / acceptance tests
2947 * Fixed req/res proto inheritance
2949 3.0.0alpha2 / 2012-04-26
2952 * Added `make benchmark` back
2953 * Added `res.send()` support for `String` objects
2954 * Added client-side data exposing example
2955 * Added `res.header()` and `req.header()` aliases for BC
2956 * Added `express.createServer()` for BC
2957 * Perf: memoize parsed urls
2958 * Perf: connect 2.2.0 dep
2959 * Changed: make `expressInit()` middleware self-aware
2960 * Fixed: use app.get() for all core settings
2961 * Fixed redis session example
2962 * Fixed session example. Closes #1105
2963 * Fixed generated express dep. Closes #1078
2965 3.0.0alpha1 / 2012-04-15
2968 * Added `app.locals.use(callback)`
2969 * Added `app.locals` object
2970 * Added `app.locals(obj)`
2971 * Added `res.locals` object
2972 * Added `res.locals(obj)`
2973 * Added `res.format()` for content-negotiation
2974 * Added `app.engine()`
2975 * Added `res.cookie()` JSON cookie support
2976 * Added "trust proxy" setting
2977 * Added `req.subdomains`
2978 * Added `req.protocol`
2979 * Added `req.secure`
2984 * Added comma-delimited / array support for `req.accepts()`
2985 * Added debug instrumentation
2986 * Added `res.set(obj)`
2987 * Added `res.set(field, value)`
2988 * Added `res.get(field)`
2989 * Added `app.get(setting)`. Closes #842
2990 * Added `req.acceptsLanguage()`
2991 * Added `req.acceptsCharset()`
2992 * Added `req.accepted`
2993 * Added `req.acceptedLanguages`
2994 * Added `req.acceptedCharsets`
2995 * Added "json replacer" setting
2996 * Added "json spaces" setting
2997 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2998 * Added `--less` support to express(1)
2999 * Added `express.response` prototype
3000 * Added `express.request` prototype
3001 * Added `express.application` prototype
3002 * Added `app.path()`
3003 * Added `app.render()`
3004 * Added `res.type()` to replace `res.contentType()`
3005 * Changed: `res.redirect()` to add relative support
3006 * Changed: enable "jsonp callback" by default
3007 * Changed: renamed "case sensitive routes" to "case sensitive routing"
3008 * Rewrite of all tests with mocha
3009 * Removed "root" setting
3010 * Removed `res.redirect('home')` support
3011 * Removed `req.notify()`
3012 * Removed `app.register()`
3013 * Removed `app.redirect()`
3014 * Removed `app.is()`
3015 * Removed `app.helpers()`
3016 * Removed `app.dynamicHelpers()`
3017 * Fixed `res.sendfile()` with non-GET. Closes #723
3018 * Fixed express(1) public dir for windows. Closes #866
3023 * Added support for PURGE request method [pbuyle]
3024 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
3029 * Update mkdirp dep. Closes #991
3034 * Fixed `app.all` duplicate DELETE requests [mscdex]
3039 * Updated hamljs dev dep. Closes #953
3044 * Fixed: set `filename` on cached templates [matthewleon]
3049 * Fixed `express(1)` eol on 0.4.x. Closes #947
3054 * Fixed `req.is()` when a charset is present
3059 * Fixed: express(1) LF -> CRLF for windows
3064 * Changed: updated connect to 1.8.x
3065 * Removed sass.js support from express(1)
3070 * Added ./routes dir for generated app by default
3071 * Added npm install reminder to express(1) app gen
3072 * Added 0.5.x support
3073 * Removed `make test-cov` since it wont work with node 0.5.x
3074 * Fixed express(1) public dir for windows. Closes #866
3079 * Added mkdirp to express(1). Closes #795
3080 * Added simple _json-config_ example
3081 * Added shorthand for the parsed request's pathname via `req.path`
3082 * Changed connect dep to 1.7.x to fix npm issue...
3083 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
3084 * Fixed `req.flash()`, only escape args
3085 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
3090 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
3095 * Added support for routes to handle errors. Closes #809
3096 * Added `app.routes.all()`. Closes #803
3097 * Added "basepath" setting to work in conjunction with reverse proxies etc.
3098 * Refactored `Route` to use a single array of callbacks
3099 * Added support for multiple callbacks for `app.param()`. Closes #801
3101 * Changed: removed .call(self) for route callbacks
3102 * Dependency: `qs >= 0.3.1`
3103 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
3108 * Fixed `res.header()` intention of a set, even when `undefined`
3109 * Fixed `*`, value no longer required
3110 * Fixed `res.send(204)` support. Closes #771
3115 * Added docs for `status` option special-case. Closes #739
3116 * Fixed `options.filename`, exposing the view path to template engines
3121 * Revert "removed jsonp stripping" for XSS
3126 * Added `res.json()` JSONP support. Closes #737
3127 * Added _extending-templates_ example. Closes #730
3128 * Added "strict routing" setting for trailing slashes
3129 * Added support for multiple envs in `app.configure()` calls. Closes #735
3130 * Changed: `res.send()` using `res.json()`
3131 * Changed: when cookie `path === null` don't default it
3132 * Changed; default cookie path to "home" setting. Closes #731
3133 * Removed _pids/logs_ creation from express(1)
3138 * Added chainable `res.status(code)`
3139 * Added `res.json()`, an explicit version of `res.send(obj)`
3140 * Added simple web-service example
3145 * \#express is now on freenode! come join!
3146 * Added `req.get(field, param)`
3147 * Added links to Japanese documentation, thanks @hideyukisaito!
3148 * Added; the `express(1)` generated app outputs the env
3149 * Added `content-negotiation` example
3150 * Dependency: connect >= 1.5.1 < 2.0.0
3151 * Fixed view layout bug. Closes #720
3152 * Fixed; ignore body on 304. Closes #701
3158 * Removed generation of dummy test file from `express(1)`
3159 * Fixed; `express(1)` adds express as a dep
3160 * Fixed; prune on `prepublish`
3165 * Added `req.route`, exposing the current route
3166 * Added _package.json_ generation support to `express(1)`
3167 * Fixed call to `app.param()` function for optional params. Closes #682
3172 * Fixed bug-ish with `../' in `res.partial()` calls
3177 * Fixed `app.options()`
3182 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
3183 * Added support for `app.param(fn)` to define param logic
3184 * Removed `app.param()` support for callback with return value
3185 * Removed module.parent check from express(1) generated app. Closes #670
3186 * Refactored router. Closes #639
3191 * Changed; using devDependencies instead of git submodules
3192 * Fixed redis session example
3193 * Fixed markdown example
3194 * Fixed view caching, should not be enabled in development
3199 * Added export `.view` as alias for `.View`
3204 * Added `./examples/say`
3205 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
3210 * Added "case sensitive routes" option.
3211 * Changed; split methods supported per rfc [slaskis]
3212 * Fixed route-specific middleware when using the same callback function several times
3222 * Added `app.match()` as `app.match.all()`
3223 * Added `app.lookup()` as `app.lookup.all()`
3224 * Added `app.remove()` for `app.remove.all()`
3225 * Added `app.remove.VERB()`
3226 * Fixed template caching collision issue. Closes #644
3227 * Moved router over from connect and started refactor
3232 * Added options support to `res.clearCookie()`
3233 * Added `res.helpers()` as alias of `res.locals()`
3234 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
3235 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
3236 * Renamed "cache views" to "view cache". Closes #628
3237 * Fixed caching of views when using several apps. Closes #637
3238 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
3240 * Fixed partial lookup precedence. Closes #631
3246 * Added second callback support for `res.download()` connection errors
3247 * Fixed `filename` option passing to template engine
3252 * Added `layout(path)` helper to change the layout within a view. Closes #610
3253 * Fixed `partial()` collection object support.
3254 Previously only anything with `.length` would work.
3255 When `.length` is present one must still be aware of holes,
3256 however now `{ collection: {foo: 'bar'}}` is valid, exposes
3257 `keyInCollection` and `keysInCollection`.
3259 * Performance improved with better view caching
3260 * Removed `request` and `response` locals
3261 * Changed; errorHandler page title is now `Express` instead of `Connect`
3266 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
3267 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
3268 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
3269 * Dependency `connect >= 1.2.0`
3274 * Added; expose `err.view` object when failing to locate a view
3275 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
3276 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
3281 * Added `<root>/_?<name>` partial lookup support. Closes #447
3282 * Added `request`, `response`, and `app` local variables
3283 * Added `settings` local variable, containing the app's settings
3284 * Added `req.flash()` exception if `req.session` is not available
3285 * Added `res.send(bool)` support (json response)
3286 * Fixed stylus example for latest version
3287 * Fixed; wrap try/catch around `res.render()`
3292 * Fixed up index view path alternative.
3293 * Changed; `res.locals()` without object returns the locals
3295 2.0.0rc3 / 2011-03-17
3298 * Added `res.locals(obj)` to compliment `res.local(key, val)`
3299 * Added `res.partial()` callback support
3300 * Fixed recursive error reporting issue in `res.render()`
3302 2.0.0rc2 / 2011-03-17
3305 * Changed; `partial()` "locals" are now optional
3306 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
3307 * Fixed .filename view engine option [reported by drudge]
3308 * Fixed blog example
3309 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
3311 2.0.0rc / 2011-03-14
3314 * Fixed; expose `HTTPSServer` constructor
3315 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
3316 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
3318 2.0.0beta3 / 2011-03-09
3321 * Added support for `res.contentType()` literal
3322 The original `res.contentType('.json')`,
3323 `res.contentType('application/json')`, and `res.contentType('json')`
3325 * Added `res.render()` status option support back
3326 * Added charset option for `res.render()`
3327 * Added `.charset` support (via connect 1.0.4)
3328 * Added view resolution hints when in development and a lookup fails
3329 * Added layout lookup support relative to the page view.
3330 For example while rendering `./views/user/index.jade` if you create
3331 `./views/user/layout.jade` it will be used in favour of the root layout.
3332 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
3333 * Fixed; default `res.send()` string charset to utf8
3334 * Removed `Partial` constructor (not currently used)
3336 2.0.0beta2 / 2011-03-07
3339 * Added res.render() `.locals` support back to aid in migration process
3340 * Fixed flash example
3342 2.0.0beta / 2011-03-03
3345 * Added HTTPS support
3346 * Added `res.cookie()` maxAge support
3347 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
3348 * Added mount support for `res.redirect()`, now respects the mount-point
3349 * Added `union()` util, taking place of `merge(clone())` combo
3350 * Added stylus support to express(1) generated app
3351 * Added secret to session middleware used in examples and generated app
3352 * Added `res.local(name, val)` for progressive view locals
3353 * Added default param support to `req.param(name, default)`
3354 * Added `app.disabled()` and `app.enabled()`
3355 * Added `app.register()` support for omitting leading ".", either works
3356 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
3357 * Added `app.param()` to map route params to async/sync logic
3358 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
3359 * Added extname with no leading "." support to `res.contentType()`
3360 * Added `cache views` setting, defaulting to enabled in "production" env
3361 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
3362 * Added `req.accepts()` support for extensions
3363 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
3364 static file server `connect.static.send()`.
3365 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
3366 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
3367 * Changed view partial resolution, now relative to parent view
3368 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
3369 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
3370 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
3371 * Fixed; using _qs_ module instead of _querystring_
3372 * Fixed; strip unsafe chars from jsonp callbacks
3373 * Removed "stream threshold" setting
3378 * Allow `req.query` to be pre-defined (via middleware or other parent app)
3379 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
3380 * Removed the long deprecated __EXPRESS_ENV__ support
3385 * Fixed `render()` setting inheritance.
3386 Mounted apps would not inherit "view engine"
3391 * Fixed `view engine` setting bug when period is in dirname
3396 * Added secret to generated app `session()` call
3401 * Added `qs` dependency to _package.json_
3402 * Fixed namespaced `require()`s for latest connect support
3407 * Remove unsafe characters from JSONP callback names [Ryan Grove]
3412 * Removed nested require, using `connect.router`
3417 * Fixed for middleware stacked via `createServer()`
3418 previously the `foo` middleware passed to `createServer(foo)`
3419 would not have access to Express methods such as `res.send()`
3420 or props like `req.query` etc.
3425 * Added; deduce partial object names from the last segment.
3426 For example by default `partial('forum/post', postObject)` will
3427 give you the _post_ object, providing a meaningful default.
3428 * Added http status code string representation to `res.redirect()` body
3429 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
3430 * Added `req.is()` to aid in content negotiation
3431 * Added partial local inheritance [suggested by masylum]. Closes #102
3432 providing access to parent template locals.
3433 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
3434 * Added _--template_ flag to express(1) to specify the
3435 template engine to use.
3436 * Added _--css_ flag to express(1) to specify the
3437 stylesheet engine to use (or just plain css by default).
3438 * Added `app.all()` support [thanks aheckmann]
3439 * Added partial direct object support.
3440 You may now `partial('user', user)` providing the "user" local,
3441 vs previously `partial('user', { object: user })`.
3442 * Added _route-separation_ example since many people question ways
3443 to do this with CommonJS modules. Also view the _blog_ example for
3445 * Performance; caching view path derived partial object names
3446 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
3447 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
3449 1.0.0rc4 / 2010-10-14
3452 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
3453 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
3454 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
3455 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
3456 * Added `partial()` support for array-like collections. Closes #434
3457 * Added support for swappable querystring parsers
3458 * Added session usage docs. Closes #443
3459 * Added dynamic helper caching. Closes #439 [suggested by maritz]
3460 * Added authentication example
3461 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
3462 * Changed; `express(1)` generated app using 2 spaces instead of 4
3463 * Default env to "development" again [aheckmann]
3464 * Removed _context_ option is no more, use "scope"
3465 * Fixed; exposing _./support_ libs to examples so they can run without installs
3468 1.0.0rc3 / 2010-09-20
3471 * Added confirmation for `express(1)` app generation. Closes #391
3472 * Added extending of flash formatters via `app.flashFormatters`
3473 * Added flash formatter support. Closes #411
3474 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
3475 * Added _stream threshold_ setting for `res.sendfile()`
3476 * Added `res.send()` __HEAD__ support
3477 * Added `res.clearCookie()`
3478 * Added `res.cookie()`
3479 * Added `res.render()` headers option
3480 * Added `res.redirect()` response bodies
3481 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
3482 * Fixed `res.sendfile()` responding with 403 on malicious path
3483 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
3484 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
3485 * Fixed; stripping Content-Length / Content-Type when 204
3486 * Fixed `res.send()` 204. Closes #419
3487 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
3488 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
3491 1.0.0rc2 / 2010-08-17
3494 * Added `app.register()` for template engine mapping. Closes #390
3495 * Added `res.render()` callback support as second argument (no options)
3496 * Added callback support to `res.download()`
3497 * Added callback support for `res.sendfile()`
3498 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
3499 * Added "partials" setting to docs
3500 * Added default expresso tests to `express(1)` generated app. Closes #384
3501 * Fixed `res.sendfile()` error handling, defer via `next()`
3502 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
3503 * Fixed; `make install` creating ~/.node_libraries when not present
3504 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
3506 1.0.0rc / 2010-07-28
3509 * Added mounted hook. Closes #369
3510 * Added connect dependency to _package.json_
3512 * Removed "reload views" setting and support code
3513 development env never caches, production always caches.
3515 * Removed _param_ in route callbacks, signature is now
3516 simply (req, res, next), previously (req, res, params, next).
3517 Use _req.params_ for path captures, _req.query_ for GET params.
3519 * Fixed "home" setting
3520 * Fixed middleware/router precedence issue. Closes #366
3521 * Fixed; _configure()_ callbacks called immediately. Closes #368
3523 1.0.0beta2 / 2010-07-23
3526 * Added more examples
3527 * Added; exporting `Server` constructor
3528 * Added `Server#helpers()` for view locals
3529 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
3530 * Added support for absolute view paths
3531 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
3532 * Added Guillermo Rauch to the contributor list
3533 * Added support for "as" for non-collection partials. Closes #341
3534 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
3535 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
3536 * Fixed instanceof `Array` checks, now `Array.isArray()`
3537 * Fixed express(1) expansion of public dirs. Closes #348
3538 * Fixed middleware precedence. Closes #345
3539 * Fixed view watcher, now async [thanks aheckmann]
3541 1.0.0beta / 2010-07-15
3547 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
3552 * Utilize relative requires
3553 * Added Static bufferSize option [aheckmann]
3554 * Fixed caching of view and partial subdirectories [aheckmann]
3555 * Fixed mime.type() comments now that ".ext" is not supported
3556 * Updated haml submodule
3557 * Updated class submodule
3558 * Removed bin/express
3563 * Added node v0.1.97 compatibility
3564 * Added support for deleting cookies via Request#cookie('key', null)
3565 * Updated haml submodule
3566 * Fixed not-found page, now using charset utf-8
3567 * Fixed show-exceptions page, now using charset utf-8
3568 * Fixed view support due to fs.readFile Buffers
3569 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
3574 * Added node v0.1.96 compatibility
3575 * Added view `helpers` export which act as additional local variables
3576 * Updated haml submodule
3577 * Changed ETag; removed inode, modified time only
3578 * Fixed LF to CRLF for setting multiple cookies
3579 * Fixed cookie compilation; values are now urlencoded
3580 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3585 * Added support for layouts using different engines
3586 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3587 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3588 - this.render('page.html.haml', { layout: false }) // no layout
3589 * Updated ext submodule
3590 * Updated haml submodule
3591 * Fixed EJS partial support by passing along the context. Issue #307
3596 * Fixed binary uploads.
3601 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3602 encoding is set to 'utf8' or 'utf-8').
3603 * Added "encoding" option to Request#render(). Closes #299
3604 * Added "dump exceptions" setting, which is enabled by default.
3605 * Added simple ejs template engine support
3606 * Added error response support for text/plain, application/json. Closes #297
3607 * Added callback function param to Request#error()
3608 * Added Request#sendHead()
3609 * Added Request#stream()
3610 * Added support for Request#respond(304, null) for empty response bodies
3611 * Added ETag support to Request#sendfile()
3612 * Added options to Request#sendfile(), passed to fs.createReadStream()
3613 * Added filename arg to Request#download()
3614 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3615 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3616 * Changed; Request#sendfile() now streams
3617 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3618 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3619 * Changed; run() returns the http.Server instance. Closes #298
3620 * Changed; Defaulting Server#host to null (INADDR_ANY)
3621 * Changed; Logger "common" format scale of 0.4f
3622 * Removed Logger "request" format
3623 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3624 * Fixed several issues with http client
3625 * Fixed Logger Content-Length output
3626 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3631 * Added DSL level error() route support
3632 * Added DSL level notFound() route support
3633 * Added Request#error()
3634 * Added Request#notFound()
3635 * Added Request#render() callback function. Closes #258
3636 * Added "max upload size" setting
3637 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3638 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3639 * Added callback function support to Request#halt() as 3rd/4th arg
3640 * Added preprocessing of route param wildcards using param(). Closes #251
3641 * Added view partial support (with collections etc.)
3642 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3643 * Fixed setting of multiple cookies. Closes #199
3644 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3645 * Changed; session cookie is now httpOnly
3646 * Changed; Request is no longer global
3647 * Changed; Event is no longer global
3648 * Changed; "sys" module is no longer global
3649 * Changed; moved Request#download to Static plugin where it belongs
3650 * Changed; Request instance created before body parsing. Closes #262
3651 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3652 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3653 * Updated support to node --version 0.1.90
3654 * Updated dependencies
3655 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3656 * Removed utils.mixin(); use Object#mergeDeep()
3661 * Added coffeescript example app. Closes #242
3662 * Changed; cache api now async friendly. Closes #240
3663 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3668 * Added Request#isXHR. Closes #229
3669 * Added `make install` (for the executable)
3670 * Added `express` executable for setting up simple app templates
3671 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3672 * Added Static plugin
3673 * Fixed; Request#render() only calls cache.get() once
3674 * Fixed; Namespacing View caches with "view:"
3675 * Fixed; Namespacing Static caches with "static:"
3676 * Fixed; Both example apps now use the Static plugin
3677 * Fixed set("views"). Closes #239
3678 * Fixed missing space for combined log format
3679 * Deprecated Request#sendfile() and 'express/static'
3680 * Removed Server#running
3685 * Added Request#flash() support without args, now returns all flashes
3686 * Updated ext submodule
3691 * Fixed session reaper
3692 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3697 * Added package.json
3698 * Fixed requiring of haml / sass due to kiwi removal
3703 * Fixed GIT submodules (HAH!)
3708 * Changed; Express now using submodules again until a PM is adopted
3709 * Changed; chat example using millisecond conversions from ext
3714 * Added Request#pass() support (finds the next matching route, or the given path)
3715 * Added Logger plugin (default "common" format replaces CommonLogger)
3716 * Removed Profiler plugin
3717 * Removed CommonLogger plugin
3722 * Added seed.yml for kiwi package management support
3723 * Added HTTP client query string support when method is GET. Closes #205
3725 * Added support for arbitrary view engines.
3726 For example "foo.engine.html" will now require('engine'),
3727 the exports from this module are cached after the first require().
3729 * Added async plugin support
3731 * Removed usage of RESTful route funcs as http client
3732 get() etc, use http.get() and friends
3734 * Removed custom exceptions
3739 * Added ext dependency (library of js extensions)
3740 * Removed extname() / basename() utils. Use path module
3741 * Removed toArray() util. Use arguments.values
3742 * Removed escapeRegexp() util. Use RegExp.escape()
3743 * Removed process.mixin() dependency. Use utils.mixin()
3744 * Removed Collection
3745 * Removed ElementCollection
3746 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3751 * Added flash() example to sample upload app
3752 * Added high level restful http client module (express/http)
3753 * Changed; RESTful route functions double as HTTP clients. Closes #69
3754 * Changed; throwing error when routes are added at runtime
3755 * Changed; defaulting render() context to the current Request. Closes #197
3756 * Updated haml submodule
3761 * Updated haml / sass submodules. Closes #200
3762 * Added flash message support. Closes #64
3763 * Added accepts() now allows multiple args. fixes #117
3764 * Added support for plugins to halt. Closes #189
3765 * Added alternate layout support. Closes #119
3766 * Removed Route#run(). Closes #188
3767 * Fixed broken specs due to use(Cookie) missing
3772 * Added "plot" format option for Profiler (for gnuplot processing)
3773 * Added request number to Profiler plugin
3774 * Fixed binary encoding for multipart file uploads, was previously defaulting to UTF8
3775 * Fixed issue with routes not firing when not files are present. Closes #184
3776 * Fixed process.Promise -> events.Promise
3781 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3782 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3783 * Added expiration support to cache api with reaper. Closes #133
3784 * Added cache Store.Memory#reap()
3785 * Added Cache; cache api now uses first class Cache instances
3786 * Added abstract session Store. Closes #172
3787 * Changed; cache Memory.Store#get() utilizing Collection
3788 * Renamed MemoryStore -> Store.Memory
3789 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3794 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3795 * Updated node support to 0.1.27 Closes #169
3796 * Updated dirname(__filename) -> __dirname
3797 * Updated libxmljs support to v0.2.0
3798 * Added session support with memory store / reaping
3799 * Added quick uid() helper
3800 * Added multi-part upload support
3801 * Added Sass.js support / submodule
3802 * Added production env caching view contents and static files
3803 * Added static file caching. Closes #136
3804 * Added cache plugin with memory stores
3805 * Added support to StaticFile so that it works with non-textual files.
3806 * Removed dirname() helper
3807 * Removed several globals (now their modules must be required)
3812 * Added view benchmarks; currently haml vs ejs
3813 * Added Request#attachment() specs. Closes #116
3814 * Added use of node's parseQuery() util. Closes #123
3815 * Added `make init` for submodules
3817 * Updated sample chat app to show messages on load
3818 * Updated libxmljs parseString -> parseHtmlString
3819 * Fixed `make init` to work with older versions of git
3820 * Fixed specs can now run independent specs for those who can't build deps. Closes #127
3821 * Fixed issues introduced by the node url module changes. Closes 126.
3822 * Fixed two assertions failing due to Collection#keys() returning strings
3823 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3824 * Fixed `make test` now builds libxmljs.node before testing