5 - perf: remove argument reassignment
6 * deps: encodeurl@~1.0.2
7 - Fix encoding `%` as last character
9 - Fix incorrect end tag in default error & redirects
11 - deps: encodeurl@~1.0.2
12 - deps: statuses@~1.4.0
13 * deps: statuses@~1.4.0
18 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
19 * perf: skip parsing of entire `X-Forwarded-Proto` header
25 * deps: serve-static@1.13.1
26 - Fix regression when `root` is incorrectly set to a file
32 * Add `"json escape"` setting for `res.json` and `res.jsonp`
33 * Add `express.json` and `express.urlencoded` to parse bodies
34 * Add `options` argument to `res.download`
35 * Improve error message when autoloading invalid view engine
36 * Improve error messages when non-function provided as middleware
37 * Skip `Buffer` encoding when not generating ETag for small response
38 * Use `safe-buffer` for improved Buffer API
39 * deps: accepts@~1.3.4
40 - deps: mime-types@~2.1.16
41 * deps: content-type@~1.0.4
42 - perf: remove argument reassignment
43 - perf: skip parameter parsing when no parameters
45 - perf: replace regular expression with substring
46 * deps: finalhandler@1.1.0
47 - Use `res.headersSent` when available
48 * deps: parseurl@~1.3.2
49 - perf: reduce overhead for full URLs
50 - perf: unroll the "fast-path" `RegExp`
51 * deps: proxy-addr@~2.0.2
52 - Fix trimming leading / trailing OWS in `X-Forwarded-For`
53 - deps: forwarded@~0.1.2
54 - deps: ipaddr.js@1.5.2
55 - perf: reduce overhead when no `X-Forwarded-For` header
57 - Fix parsing & compacting very deep objects
59 - Add 70 new types for file extensions
60 - Add `immutable` option
61 - Fix missing `</html>` in default error & redirects
62 - Set charset as "UTF-8" for .js and .json
63 - Use instance methods on steam to check for listeners
65 - perf: improve path validation speed
66 * deps: serve-static@1.13.0
67 - Add 70 new types for file extensions
68 - Add `immutable` option
69 - Set charset as "UTF-8" for .js and .json
71 * deps: setprototypeof@1.1.0
72 * deps: utils-merge@1.0.1
74 - perf: improve header token parsing speed
75 * perf: re-use options object when generating ETags
76 * perf: remove dead `.charset` set in `res.jsonp`
82 * deps: finalhandler@~1.0.6
84 - deps: parseurl@~1.3.2
86 - Fix handling of modified headers with invalid dates
87 - perf: improve ETag match loop
88 - perf: improve `If-None-Match` token parsing
90 - Fix handling of modified headers with invalid dates
94 - perf: improve `If-Match` token parsing
95 * deps: serve-static@1.12.6
96 - deps: parseurl@~1.3.2
98 - perf: improve slash collapsing
105 - Remove unnecessary `Buffer` loading
106 * deps: finalhandler@~1.0.4
108 * deps: proxy-addr@~1.1.5
109 - Fix array argument being altered
110 - deps: ipaddr.js@1.4.0
115 - deps: http-errors@~1.6.2
116 * deps: serve-static@1.12.4
122 * Fix error when `res.set` cannot add charset to `Content-Type`
124 - Fix `DEBUG_MAX_ARRAY_LENGTH`
126 * deps: finalhandler@~1.0.3
127 - Fix missing `</html>` in HTML document
129 * deps: proxy-addr@~1.1.4
130 - deps: ipaddr.js@1.3.0
134 * deps: serve-static@1.12.3
136 * deps: type-is@~1.6.15
137 - deps: mime-types@~2.1.15
139 - perf: hoist regular expression
145 - Fix regression parsing keys starting with `[`
151 - Fix issue when `Date.parse` does not return `NaN` on invalid date
152 - Fix strict violation in broken environments
153 * deps: serve-static@1.12.1
154 - Fix issue when `Date.parse` does not return `NaN` on invalid date
160 * Add debug message when loading view engine
161 * Add `next("router")` to exit from router
162 * Fix case where `router.use` skipped requests routes did not
163 * Remove usage of `res._headers` private field
164 - Improves compatibility with Node.js 8 nightly
165 * Skip routing when `req.url` is not set
166 * Use `%o` in path debug to tell types apart
167 * Use `Object.create` to setup request & response prototypes
168 * Use `setprototypeof` module to replace `__proto__` setting
169 * Use `statuses` instead of `http` module for status messages
171 - Allow colors in workers
172 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
173 - Fix error when running under React Native
174 - Use same color for same namespace
177 - Use SHA1 instead of MD5 for ETag hashing
178 - Works with FIPS 140-2 OpenSSL configuration
179 * deps: finalhandler@~1.0.0
180 - Fix exception when `err` cannot be converted to a string
181 - Fully URL-encode the pathname in the 404
182 - Only include the pathname in the 404 message
183 - Send complete HTML document
184 - Set `Content-Security-Policy: default-src 'self'` header
187 - Fix false detection of `no-cache` request directive
188 - Fix incorrect result when `If-None-Match` has both `*` and ETags
189 - Fix weak `ETag` matching to match spec
190 - perf: delay reading header values until needed
191 - perf: enable strict mode
192 - perf: hoist regular expressions
193 - perf: remove duplicate conditional
194 - perf: remove unnecessary boolean coercions
195 - perf: skip checking modified time if ETag check failed
196 - perf: skip parsing `If-None-Match` when no `ETag` header
197 - perf: use `Date.parse` instead of `new Date`
199 - Fix array parsing from skipping empty values
200 - Fix compacting nested arrays
202 - Fix false detection of `no-cache` request directive
203 - Fix incorrect result when `If-None-Match` has both `*` and ETags
204 - Fix weak `ETag` matching to match spec
205 - Remove usage of `res._headers` private field
206 - Support `If-Match` and `If-Unmodified-Since` headers
207 - Use `res.getHeaderNames()` when available
208 - Use `res.headersSent` when available
212 - deps: http-errors@~1.6.1
213 * deps: serve-static@1.12.0
214 - Fix false detection of `no-cache` request directive
215 - Fix incorrect result when `If-None-Match` has both `*` and ETags
216 - Fix weak `ETag` matching to match spec
217 - Remove usage of `res._headers` private field
218 - Send complete HTML document in redirect response
219 - Set default CSP header in redirect response
220 - Support `If-Match` and `If-Unmodified-Since` headers
221 - Use `res.getHeaderNames()` when available
222 - Use `res.headersSent` when available
224 * perf: add fast match path for `*` route
225 * perf: improve `req.ips` performance
230 * deps: content-disposition@0.5.2
231 * deps: finalhandler@0.5.1
232 - Fix exception when `err.headers` is not an object
233 - deps: statuses@~1.3.1
234 - perf: hoist regular expressions
235 - perf: remove duplicate validation path
236 * deps: proxy-addr@~1.1.3
237 - deps: ipaddr.js@1.2.0
239 - deps: http-errors@~1.5.1
241 - deps: statuses@~1.3.1
242 * deps: serve-static@~1.11.2
244 * deps: type-is@~1.6.14
245 - deps: mime-types@~2.1.13
250 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
251 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
252 * Add `options` argument to `req.range`
253 - Includes the `combine` option
254 * Encode URL in `res.location`/`res.redirect` if not already encoded
255 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
256 * Fix Windows absolute path check using forward slashes
257 * Improve error with invalid arguments to `req.get()`
258 * Improve performance for `res.json`/`res.jsonp` in most cases
259 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
260 * deps: accepts@~1.3.3
261 - Fix including type extensions in parameters in `Accept` parsing
262 - Fix parsing `Accept` parameters with quoted equals
263 - Fix parsing `Accept` parameters with quoted semicolons
264 - Many performance improvments
265 - deps: mime-types@~2.1.11
266 - deps: negotiator@0.6.1
267 * deps: content-type@~1.0.2
268 - perf: enable strict mode
270 - Add `sameSite` option
271 - Fix cookie `Max-Age` to never be a floating point number
272 - Improve error message when `encode` is not a function
273 - Improve error message when `expires` is not a `Date`
274 - Throw better error for invalid argument to parse
275 - Throw on invalid values provided to `serialize`
276 - perf: enable strict mode
277 - perf: hoist regular expression
278 - perf: use for loop in parse
279 - perf: use string concatination for serialization
280 * deps: finalhandler@0.5.0
281 - Change invalid or non-numeric status code to 500
282 - Overwrite status message to match set status code
283 - Prefer `err.statusCode` if `err.status` is invalid
284 - Set response headers from `err.headers` object
285 - Use `statuses` instead of `http` module for status messages
286 * deps: proxy-addr@~1.1.2
287 - Fix accepting various invalid netmasks
288 - Fix IPv6-mapped IPv4 validation edge cases
289 - IPv4 netmasks must be contingous
290 - IPv6 addresses cannot be used as a netmask
291 - deps: ipaddr.js@1.1.1
293 - Add `decoder` option in `parse` function
294 * deps: range-parser@~1.2.0
295 - Add `combine` option to combine overlapping ranges
296 - Fix incorrectly returning -1 when there is at least one valid range
297 - perf: remove internal function
299 - Add `acceptRanges` option
300 - Add `cacheControl` option
301 - Attempt to combine multiple ranges into single range
302 - Correctly inherit from `Stream` class
303 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
304 - Fix `Content-Range` header missing from default 416 responses
305 - Fix redirect error when `path` contains raw non-URL characters
306 - Fix redirect when `path` starts with multiple forward slashes
307 - Ignore non-byte `Range` headers
308 - deps: http-errors@~1.5.0
309 - deps: range-parser@~1.2.0
310 - deps: statuses@~1.3.0
311 - perf: remove argument reassignment
312 * deps: serve-static@~1.11.1
313 - Add `acceptRanges` option
314 - Add `cacheControl` option
315 - Attempt to combine multiple ranges into single range
316 - Fix redirect error when `req.url` contains raw non-URL characters
317 - Ignore non-byte `Range` headers
318 - Use status code 301 for redirects
320 * deps: type-is@~1.6.13
321 - Fix type error when given invalid type to match against
322 - deps: mime-types@~2.1.11
324 - Only accept valid field names in the `field` argument
325 * perf: use strict equality when possible
330 * deps: content-disposition@0.5.1
331 - perf: enable strict mode
333 - Throw on invalid values provided to `serialize`
335 - Support web browser loading
336 - perf: enable strict mode
337 * deps: escape-html@~1.0.3
338 - perf: enable strict mode
339 - perf: optimize string replacement
340 - perf: use faster string coercion
341 * deps: finalhandler@0.4.1
342 - deps: escape-html@~1.0.3
343 * deps: merge-descriptors@1.0.1
344 - perf: enable strict mode
345 * deps: methods@~1.1.2
346 - perf: enable strict mode
347 * deps: parseurl@~1.3.1
348 - perf: enable strict mode
349 * deps: proxy-addr@~1.0.10
350 - deps: ipaddr.js@1.0.5
351 - perf: enable strict mode
352 * deps: range-parser@~1.0.3
353 - perf: enable strict mode
356 - deps: destroy@~1.0.4
357 - deps: escape-html@~1.0.3
358 - deps: range-parser@~1.0.3
359 * deps: serve-static@~1.10.2
360 - deps: escape-html@~1.0.3
361 - deps: parseurl@~1.3.0
367 * Fix infinite loop condition using `mergeParams: true`
368 * Fix inner numeric indices incorrectly altering parent `req.params`
373 * deps: accepts@~1.2.12
374 - deps: mime-types@~2.1.4
375 * deps: array-flatten@1.1.1
376 - perf: enable strict mode
377 * deps: path-to-regexp@0.1.7
378 - Fix regression with escaped round brackets and matching groups
379 * deps: type-is@~1.6.6
380 - deps: mime-types@~2.1.4
385 * deps: accepts@~1.2.10
386 - deps: mime-types@~2.1.2
388 - Fix dropping parameters like `hasOwnProperty`
389 - Fix various parsing edge cases
390 * deps: type-is@~1.6.4
391 - deps: mime-types@~2.1.2
392 - perf: enable strict mode
393 - perf: remove argument reassignment
398 * Add settings to debug output
399 * Fix `res.format` error when only `default` provided
400 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
401 * Fix hiding platform issues with `decodeURIComponent`
402 - Only `URIError`s are a 400
403 * Fix using `*` before params in routes
404 * Fix using capture groups before params in routes
405 * Simplify `res.cookie` to call `res.append`
406 * Use `array-flatten` module for flattening arrays
407 * deps: accepts@~1.2.9
408 - deps: mime-types@~2.1.1
409 - perf: avoid argument reassignment & argument slice
410 - perf: avoid negotiator recursive construction
411 - perf: enable strict mode
412 - perf: remove unnecessary bitwise operator
414 - perf: deduce the scope of try-catch deopt
415 - perf: remove argument reassignments
416 * deps: escape-html@1.0.2
418 - Always include entity length in ETags for hash length extensions
419 - Generate non-Stats ETags using MD5 only (no longer CRC32)
420 - Improve stat performance by removing hashing
421 - Improve support for JXcore
422 - Remove base64 padding in ETags to shorten
423 - Support "fake" stats objects in environments without fs
424 - Use MD5 instead of MD4 in weak ETags over 1KB
425 * deps: finalhandler@0.4.0
426 - Fix a false-positive when unpiping in Node.js 0.8
427 - Support `statusCode` property on `Error` objects
428 - Use `unpipe` module for unpiping requests
429 - deps: escape-html@1.0.2
430 - deps: on-finished@~2.3.0
431 - perf: enable strict mode
432 - perf: remove argument reassignment
434 - Add weak `ETag` matching support
435 * deps: on-finished@~2.3.0
436 - Add defined behavior for HTTP `CONNECT` requests
437 - Add defined behavior for HTTP `Upgrade` requests
438 - deps: ee-first@1.1.1
439 * deps: path-to-regexp@0.1.6
441 - Allow Node.js HTTP server to set `Date` response header
442 - Fix incorrectly removing `Content-Location` on 304 response
443 - Improve the default redirect response headers
444 - Send appropriate headers on default error response
445 - Use `http-errors` for standard emitted errors
446 - Use `statuses` instead of `http` module for status messages
447 - deps: escape-html@1.0.2
450 - deps: on-finished@~2.3.0
451 - perf: enable strict mode
452 - perf: remove unnecessary array allocations
453 * deps: serve-static@~1.10.0
454 - Add `fallthrough` option
455 - Fix reading options from options prototype
456 - Improve the default redirect response headers
457 - Malformed URLs now `next()` instead of 400
458 - deps: escape-html@1.0.2
460 - perf: enable strict mode
461 - perf: remove argument reassignment
462 * deps: type-is@~1.6.3
463 - deps: mime-types@~2.1.1
464 - perf: reduce try block size
465 - perf: remove bitwise operations
466 * perf: enable strict mode
467 * perf: isolate `app.render` try block
468 * perf: remove argument reassignments in application
469 * perf: remove argument reassignments in request prototype
470 * perf: remove argument reassignments in response prototype
471 * perf: remove argument reassignments in routing
472 * perf: remove argument reassignments in `View`
473 * perf: skip attempting to decode zero length string
474 * perf: use saved reference to `http.STATUS_CODES`
479 * deps: accepts@~1.2.7
480 - deps: mime-types@~2.0.11
481 - deps: negotiator@0.5.3
486 - Improve support for JXcore
487 - Support "fake" stats objects in environments without `fs`
488 * deps: finalhandler@0.3.6
490 - deps: on-finished@~2.2.1
491 * deps: on-finished@~2.2.1
492 - Fix `isFinished(req)` when data buffered
493 * deps: proxy-addr@~1.0.8
494 - deps: ipaddr.js@1.0.1
496 - Fix allowing parameters like `constructor`
502 - deps: on-finished@~2.2.1
503 * deps: serve-static@~1.9.3
505 * deps: type-is@~1.6.2
506 - deps: mime-types@~2.0.11
511 * deps: accepts@~1.2.5
512 - deps: mime-types@~2.0.10
514 - Fix high intensity foreground color for bold
516 * deps: finalhandler@0.3.4
518 * deps: proxy-addr@~1.0.7
519 - deps: ipaddr.js@0.1.9
521 - Fix error when parameter `hasOwnProperty` is present
523 - Throw errors early for invalid `extensions` or `index` options
525 * deps: serve-static@~1.9.2
527 * deps: type-is@~1.6.1
528 - deps: mime-types@~2.0.10
533 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
538 * Fix constructing application with non-configurable prototype properties
539 * Fix `ECONNRESET` errors from `res.sendFile` usage
540 * Fix `req.host` when using "trust proxy" hops count
541 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
542 * Fix wrong `code` on aborted connections from `res.sendFile`
543 * deps: merge-descriptors@1.0.0
548 * Fix `"trust proxy"` setting to inherit when app is mounted
549 * Generate `ETag`s for all request responses
550 - No longer restricted to only responses for `GET` and `HEAD` requests
551 * Use `content-type` to parse `Content-Type` headers
552 * deps: accepts@~1.2.4
553 - Fix preference sorting to be stable for long acceptable lists
554 - deps: mime-types@~2.0.9
555 - deps: negotiator@0.5.1
556 * deps: cookie-signature@1.0.6
558 - Always read the stat size from the file
559 - Fix mutating passed-in `options`
561 * deps: serve-static@~1.9.1
563 * deps: type-is@~1.6.0
564 - fix argument reassignment
565 - fix false-positives in `hasBody` `Transfer-Encoding` check
566 - support wildcard for both type and subtype (`*/*`)
567 - deps: mime-types@~2.0.9
572 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
573 * deps: accepts@~1.2.3
574 - deps: mime-types@~2.0.8
575 * deps: proxy-addr@~1.0.6
576 - deps: ipaddr.js@0.1.8
577 * deps: type-is@~1.5.6
578 - deps: mime-types@~2.0.8
584 - Fix root path disclosure
585 * deps: serve-static@~1.8.1
586 - Fix redirect loop in Node.js 0.11.14
587 - Fix root path disclosure
593 * Add `res.append(field, val)` to append headers
594 * Deprecate leading `:` in `name` for `app.param(name, fn)`
595 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
596 * Deprecate `app.param(fn)`
597 * Fix `OPTIONS` responses to include the `HEAD` method properly
598 * Fix `res.sendFile` not always detecting aborted connection
599 * Match routes iteratively to prevent stack overflows
600 * deps: accepts@~1.2.2
601 - deps: mime-types@~2.0.7
602 - deps: negotiator@0.5.0
607 - deps: on-finished@~2.2.0
608 * deps: serve-static@~1.8.0
614 * Fix crash from error within `OPTIONS` response handler
615 * deps: proxy-addr@~1.0.5
616 - deps: ipaddr.js@0.1.6
621 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
622 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
624 * deps: finalhandler@0.3.3
626 - deps: on-finished@~2.2.0
627 * deps: methods@~1.1.1
628 * deps: on-finished@~2.2.0
629 * deps: serve-static@~1.7.2
630 - Fix potential open redirect when mounted at root
631 * deps: type-is@~1.5.5
632 - deps: mime-types@~2.0.7
637 * Fix exception in `req.fresh`/`req.stale` without response headers
642 * Fix `res.send` double-calling `res.end` for `HEAD` requests
643 * deps: accepts@~1.1.4
644 - deps: mime-types@~2.0.4
645 * deps: type-is@~1.5.4
646 - deps: mime-types@~2.0.4
651 * Fix `res.sendfile` logging standard write errors
656 * Fix `res.sendFile` logging standard write errors
658 * deps: proxy-addr@~1.0.4
659 - deps: ipaddr.js@0.1.5
661 - Fix `arrayLimit` behavior
666 * Correctly invoke async router callback asynchronously
667 * deps: accepts@~1.1.3
668 - deps: mime-types@~2.0.3
669 * deps: type-is@~1.5.3
670 - deps: mime-types@~2.0.3
675 * Fix handling of URLs containing `://` in the path
677 - Fix parsing of mixed objects and values
682 * Add support for `app.set('views', array)`
683 - Views are looked up in sequence in array of directories
684 * Fix `res.send(status)` to mention `res.sendStatus(status)`
685 * Fix handling of invalid empty URLs
686 * Use `content-disposition` module for `res.attachment`/`res.download`
687 - Sends standards-compliant `Content-Disposition` header
688 - Full Unicode support
689 * Use `path.resolve` in view lookup
691 - Implement `DEBUG_FD` env variable support
694 - Improve string performance
695 - Slightly improve speed for weak ETags over 1KB
696 * deps: finalhandler@0.3.2
697 - Terminate in progress response only on error
698 - Use `on-finished` to determine request status
700 - deps: on-finished@~2.1.1
701 * deps: on-finished@~2.1.1
702 - Fix handling of pipelined requests
704 - Fix parsing of mixed implicit and explicit arrays
709 - deps: on-finished@~2.1.1
710 * deps: serve-static@~1.7.1
716 * Fix `res.redirect` body when redirect status specified
717 * deps: accepts@~1.1.2
718 - Fix error when media type has invalid parameter
719 - deps: negotiator@0.4.9
724 * Fix using same param name in array of paths
729 * deps: accepts@~1.1.1
730 - deps: mime-types@~2.0.2
731 - deps: negotiator@0.4.8
732 * deps: serve-static@~1.6.4
733 - Fix redirect loop when index file serving disabled
734 * deps: type-is@~1.5.2
735 - deps: mime-types@~2.0.2
741 * deps: proxy-addr@~1.0.3
742 - Use `forwarded` npm module
745 * deps: serve-static@~1.6.3
752 - Fix issue with object keys starting with numbers truncated
757 * deps: proxy-addr@~1.0.2
758 - Fix a global leak when multiple subnets are trusted
759 - deps: ipaddr.js@0.1.3
764 * Fix regression for empty string `path` in `app.use`
765 * Fix `router.use` to accept array of middleware without path
766 * Improve error message for bad `app.use` arguments
771 * Fix `app.use` to accept array of middleware without path
777 - deps: range-parser@~1.0.2
778 * deps: serve-static@~1.6.2
784 * Add `res.sendStatus`
785 * Invoke callback for sendfile when client aborts
786 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
787 - `err` will be populated with request aborted error
788 * Support IP address host in `req.subdomains`
789 * Use `etag` to generate `ETag` headers
790 * deps: accepts@~1.1.0
791 - update `mime-types`
792 * deps: cookie-signature@1.0.5
794 * deps: finalhandler@0.2.0
795 - Set `X-Content-Type-Options: nosniff` header
798 * deps: media-typer@0.3.0
799 - Throw error when parameter format invalid on parse
801 - Fix issue where first empty value in array is discarded
802 * deps: range-parser@~1.0.2
804 - Add `lastModified` option
805 - Use `etag` to generate `ETag` header
808 * deps: serve-static@~1.6.1
809 - Add `lastModified` option
811 * deps: type-is@~1.5.1
812 - fix `hasbody` to be true for `content-length: 0`
813 - deps: media-typer@0.3.0
814 - deps: mime-types@~2.0.1
816 - Accept valid `Vary` header string as `field`
822 - Fix a path traversal issue when using `root`
823 - Fix malicious path detection for empty string path
824 * deps: serve-static@~1.5.4
831 - Remove unnecessary cloning
838 - Performance improvements
844 - deps: destroy@1.0.3
845 - deps: on-finished@2.1.0
846 * deps: serve-static@~1.5.3
854 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
855 * deps: serve-static@~1.5.2
861 * deps: parseurl@~1.3.0
863 * deps: serve-static@~1.5.1
864 - Fix parsing of weird `req.originalUrl` values
865 - deps: parseurl@~1.3.0
866 - deps: utils-merge@1.0.0
872 - Fix parsing array of objects
877 * fix incorrect deprecation warnings on `res.download`
879 - Accept urlencoded square brackets
880 - Accept empty values in implicit array notation
886 - accepts a file system path instead of a URL
887 - requires an absolute path or `root` option specified
888 * deprecate `res.sendfile` -- use `res.sendFile` instead
889 * support mounted app as any argument to `app.use()`
892 - Limits array length to 20
893 - Limits object depth to 5
894 - Limits parameters to 1,000
896 - Add `extensions` option
897 * deps: serve-static@~1.5.0
898 - Add `extensions` option
904 * fix `res.sendfile` regression for serving directory index files
906 - Fix incorrect 403 on Windows and Node.js 0.11
907 - Fix serving index files without root dir
908 * deps: serve-static@~1.4.4
915 - Fix incorrect 403 on Windows and Node.js 0.11
916 * deps: serve-static@~1.4.3
917 - Fix incorrect 403 on Windows and Node.js 0.11
924 - Work-around v8 generating empty stack traces
927 * deps: serve-static@~1.4.2
933 - Fix exception when global `Error.stackTraceLimit` is too low
936 * deps: serve-static@~1.4.1
941 * fix `req.protocol` for proxy-direct connections
942 * configurable query parser with `app.set('query parser', parser)`
943 - `app.set('query parser', 'extended')` parse with "qs" module
944 - `app.set('query parser', 'simple')` parse with "querystring" core module
945 - `app.set('query parser', false)` disable query string parsing
946 - `app.set('query parser', true)` enable simple parsing
947 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
948 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
949 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
952 - Add `TRACE_DEPRECATION` environment variable
953 - Remove non-standard grey color from color output
954 - Support `--no-deprecation` argument
955 - Support `--trace-deprecation` argument
956 * deps: finalhandler@0.1.0
957 - Respond after request fully read
959 * deps: parseurl@~1.2.0
960 - Cache URLs based on original value
961 - Remove no-longer-needed URL mis-parse work-around
962 - Simplify the "fast-path" `RegExp`
964 - Add `dotfiles` option
965 - Cap `maxAge` value to 1 year
968 * deps: serve-static@~1.4.0
969 - deps: parseurl@~1.2.0
971 * perf: prevent multiple `Buffer` creation in `res.send`
976 * fix `subapp.mountpath` regression for `app.use(subapp)`
981 * accept multiple callbacks to `app.use()`
982 * add explicit "Rosetta Flash JSONP abuse" protection
983 - previous versions are not vulnerable; this is just explicit protection
984 * catch errors in multiple `req.param(name, fn)` handlers
985 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
986 * fix `res.send(status, num)` to send `num` as json (not error)
987 * remove unnecessary escaping when `res.jsonp` returns JSON response
988 * support non-string `path` in `app.use(path, fn)`
989 - supports array of paths
991 * router: fix optimization on router exit
992 * router: refactor location of `try` blocks
993 * router: speed up standard `app.use(fn)`
995 - Add support for multiple wildcards in namespaces
996 * deps: finalhandler@0.0.3
998 * deps: methods@1.1.0
1000 * deps: parseurl@~1.1.3
1001 - faster parsing of href-only URLs
1002 * deps: path-to-regexp@0.1.3
1005 * deps: serve-static@~1.3.2
1006 - deps: parseurl@~1.1.3
1008 * perf: fix arguments reassign deopt in some `res` methods
1013 * fix routing regression when altering `req.method`
1018 * add deprecation message to non-plural `req.accepts*`
1019 * add deprecation message to `res.send(body, status)`
1020 * add deprecation message to `res.vary()`
1021 * add `headers` option to `res.sendfile`
1022 - use to set headers on successful file transfer
1023 * add `mergeParams` option to `Router`
1024 - merges `req.params` from parent routes
1025 * add `req.hostname` -- correct name for what `req.host` returns
1026 * deprecate things with `depd` module
1027 * deprecate `req.host` -- use `req.hostname` instead
1028 * fix behavior when handling request without routes
1029 * fix handling when `route.all` is only route
1030 * invoke `router.param()` only when route matches
1031 * restore `req.params` after invoking router
1032 * use `finalhandler` for final response handling
1033 * use `media-typer` to alter content-type charset
1034 * deps: accepts@~1.0.7
1036 - Accept string for `maxage` (converted by `ms`)
1037 - Include link in default redirect response
1038 * deps: serve-static@~1.3.0
1039 - Accept string for `maxAge` (converted by `ms`)
1040 - Add `setHeaders` option
1041 - Include HTML link in redirect response
1043 * deps: type-is@~1.3.2
1048 * deps: cookie-signature@1.0.4
1049 - fix for timing attacks
1054 * fix `res.attachment` Unicode filenames in Safari
1055 * fix "trim prefix" debug message in `express:router`
1056 * deps: accepts@~1.0.5
1057 * deps: buffer-crc32@0.2.3
1062 * fix persistence of modified `req.params[name]` from `app.param()`
1063 * deps: accepts@1.0.3
1064 - deps: negotiator@0.4.6
1067 - Do not throw un-catchable error on file open race condition
1068 - Use `escape-html` for HTML escaping
1070 - deps: finished@1.2.2
1072 * deps: serve-static@1.2.3
1073 - Do not throw un-catchable error on file open race condition
1079 * fix catching errors from top-level handlers
1080 * use `vary` module for `res.vary`
1082 * deps: proxy-addr@1.0.1
1084 - fix "event emitter leak" warnings
1086 - deps: finished@1.2.1
1087 * deps: serve-static@1.2.2
1088 - fix "event emitter leak" warnings
1090 * deps: type-is@1.2.1
1095 * deps: methods@1.0.1
1097 - Send `max-age` in `Cache-Control` in correct format
1098 * deps: serve-static@1.2.1
1099 - use `escape-html` for escaping
1105 * custom etag control with `app.set('etag', val)`
1106 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1107 - `app.set('etag', 'weak')` weak tag
1108 - `app.set('etag', 'strong')` strong etag
1109 - `app.set('etag', false)` turn off
1110 - `app.set('etag', true)` standard etag
1111 * mark `res.send` ETag as weak and reduce collisions
1112 * update accepts to 1.0.2
1113 - Fix interpretation when header not in request
1114 * update send to 0.4.0
1115 - Calculate ETag with md5 for reduced collisions
1116 - Ignore stream errors after request ends
1118 * update serve-static to 1.2.0
1119 - Calculate ETag with md5 for reduced collisions
1120 - Ignore stream errors after request ends
1126 * fix handling of errors from `router.param()` callbacks
1131 * revert "fix behavior of multiple `app.VERB` for the same path"
1132 - this caused a regression in the order of route execution
1137 * add `req.baseUrl` to access the path stripped from `req.url` in routes
1138 * fix behavior of multiple `app.VERB` for the same path
1139 * fix issue routing requests among sub routers
1140 * invoke `router.param()` only when necessary instead of every match
1141 * proper proxy trust with `app.set('trust proxy', trust)`
1142 - `app.set('trust proxy', 1)` trust first hop
1143 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1144 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1145 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1146 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1147 - `app.set('trust proxy', false)` turn off
1148 - `app.set('trust proxy', true)` trust everything
1149 * set proper `charset` in `Content-Type` for `res.send`
1150 * update type-is to 1.2.0
1151 - support suffix matching
1156 * deprecate `app.del()` -- use `app.delete()` instead
1157 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1158 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1159 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1160 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1161 * fix `req.next` when inside router instance
1162 * include `ETag` header in `HEAD` requests
1163 * keep previous `Content-Type` for `res.jsonp`
1164 * support PURGE method
1166 - add `router.purge`
1167 - include PURGE in `app.all`
1168 * update debug to 0.8.0
1169 - add `enable()` method
1170 - change from stderr to stdout
1171 * update methods to 1.0.0
1177 * fix `req.host` for IPv6 literals
1178 * fix `res.jsonp` error if callback param is object
1183 * fix package.json to reflect supported node version
1188 * pass options from `res.sendfile` to `send`
1189 * preserve casing of headers in `res.header` and `res.set`
1190 * support unicode file names in `res.attachment` and `res.download`
1191 * update accepts to 1.0.1
1192 - deps: negotiator@0.4.0
1193 * update cookie to 0.1.2
1194 - Fix for maxAge == 0
1195 - made compat with expires field
1196 * update send to 0.3.0
1197 - Accept API options in options object
1198 - Coerce option types
1199 - Control whether to generate etags
1200 - Default directory access to 403 when index disabled
1201 - Fix sending files with dots without root set
1202 - Include file path in etag
1203 - Make "Can't set headers after they are sent." catchable
1204 - Send full entity-body for multi range requests
1205 - Set etags to "weak"
1206 - Support "If-Range" header
1207 - Support multiple index paths
1209 * update serve-static to 1.1.0
1210 - Accept options directly to `send` module
1211 - Resolve relative paths at middleware setup
1212 - Use parseurl to parse the URL from request
1214 * update type-is to 1.1.0
1215 - add non-array values support
1216 - add `multipart` as a shorthand
1223 - connect and connect's patches except for charset handling
1224 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1225 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1226 - `app.configure` - use logic in your own app code
1227 - `app.router` - is removed
1228 - `req.auth` - use `basic-auth` instead
1229 - `req.accepted*` - use `req.accepts*()` instead
1230 - `res.location` - relative URL resolution is removed
1231 - `res.charset` - include the charset in the content type when using `res.set()`
1232 - all bundled middleware except `static`
1234 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1235 - `json spaces` no longer enabled by default in development
1236 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1237 - `req.params` is now an object instead of an array
1238 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1239 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1241 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1242 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1243 - [path-to-regexp](https://github.com/component/path-to-regexp)
1245 - `app.router()` - returns the app Router instance
1246 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1247 - Router & Route - public API
1252 * deps: connect@2.30.2
1253 - deps: body-parser@~1.13.3
1254 - deps: compression@~1.5.2
1255 - deps: errorhandler@~1.4.2
1256 - deps: method-override@~2.3.5
1257 - deps: serve-index@~1.7.2
1258 - deps: type-is@~1.6.6
1259 - deps: vhost@~3.0.1
1261 - Fix setting empty header from empty `field`
1262 - perf: enable strict mode
1263 - perf: remove argument reassignments
1268 * deps: basic-auth@~1.0.3
1269 * deps: connect@2.30.1
1270 - deps: body-parser@~1.13.2
1271 - deps: compression@~1.5.1
1272 - deps: errorhandler@~1.4.1
1273 - deps: morgan@~1.6.1
1276 - deps: serve-index@~1.7.1
1277 - deps: type-is@~1.6.4
1282 * deps: basic-auth@1.0.2
1283 - perf: enable strict mode
1284 - perf: hoist regular expression
1285 - perf: parse with regular expressions
1286 - perf: remove argument reassignment
1287 * deps: connect@2.30.0
1288 - deps: body-parser@~1.13.1
1290 - deps: compression@~1.5.0
1291 - deps: cookie@0.1.3
1292 - deps: cookie-parser@~1.3.5
1293 - deps: csurf@~1.8.3
1294 - deps: errorhandler@~1.4.0
1295 - deps: express-session@~1.11.3
1296 - deps: finalhandler@0.4.0
1298 - deps: morgan@~1.6.0
1299 - deps: serve-favicon@~2.3.0
1300 - deps: serve-index@~1.7.0
1301 - deps: serve-static@~1.10.0
1302 - deps: type-is@~1.6.3
1303 * deps: cookie@0.1.3
1304 - perf: deduce the scope of try-catch deopt
1305 - perf: remove argument reassignments
1306 * deps: escape-html@1.0.2
1308 - Always include entity length in ETags for hash length extensions
1309 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1310 - Improve stat performance by removing hashing
1311 - Improve support for JXcore
1312 - Remove base64 padding in ETags to shorten
1313 - Support "fake" stats objects in environments without fs
1314 - Use MD5 instead of MD4 in weak ETags over 1KB
1316 - Add weak `ETag` matching support
1317 * deps: mkdirp@0.5.1
1318 - Work in global strict mode
1320 - Allow Node.js HTTP server to set `Date` response header
1321 - Fix incorrectly removing `Content-Location` on 304 response
1322 - Improve the default redirect response headers
1323 - Send appropriate headers on default error response
1324 - Use `http-errors` for standard emitted errors
1325 - Use `statuses` instead of `http` module for status messages
1326 - deps: escape-html@1.0.2
1329 - deps: on-finished@~2.3.0
1330 - perf: enable strict mode
1331 - perf: remove unnecessary array allocations
1336 * deps: connect@2.29.2
1337 - deps: body-parser@~1.12.4
1338 - deps: compression@~1.4.4
1339 - deps: connect-timeout@~1.6.2
1340 - deps: debug@~2.2.0
1342 - deps: errorhandler@~1.3.6
1343 - deps: finalhandler@0.3.6
1344 - deps: method-override@~2.3.3
1345 - deps: morgan@~1.5.3
1347 - deps: response-time@~2.3.1
1348 - deps: serve-favicon@~2.2.1
1349 - deps: serve-index@~1.6.4
1350 - deps: serve-static@~1.9.3
1351 - deps: type-is@~1.6.2
1352 * deps: debug@~2.2.0
1355 * deps: proxy-addr@~1.0.8
1356 - deps: ipaddr.js@1.0.1
1358 - deps: debug@~2.2.0
1362 - deps: on-finished@~2.2.1
1367 * deps: connect@2.29.1
1368 - deps: body-parser@~1.12.2
1369 - deps: compression@~1.4.3
1370 - deps: connect-timeout@~1.6.1
1371 - deps: debug@~2.1.3
1372 - deps: errorhandler@~1.3.5
1373 - deps: express-session@~1.10.4
1374 - deps: finalhandler@0.3.4
1375 - deps: method-override@~2.3.2
1376 - deps: morgan@~1.5.2
1378 - deps: serve-index@~1.6.3
1379 - deps: serve-static@~1.9.2
1380 - deps: type-is@~1.6.1
1381 * deps: debug@~2.1.3
1382 - Fix high intensity foreground color for bold
1384 * deps: merge-descriptors@1.0.0
1385 * deps: proxy-addr@~1.0.7
1386 - deps: ipaddr.js@0.1.9
1388 - Throw errors early for invalid `extensions` or `index` options
1389 - deps: debug@~2.1.3
1394 * Fix `req.host` when using "trust proxy" hops count
1395 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1400 * Fix `"trust proxy"` setting to inherit when app is mounted
1401 * Generate `ETag`s for all request responses
1402 - No longer restricted to only responses for `GET` and `HEAD` requests
1403 * Use `content-type` to parse `Content-Type` headers
1404 * deps: connect@2.29.0
1405 - Use `content-type` to parse `Content-Type` headers
1406 - deps: body-parser@~1.12.0
1407 - deps: compression@~1.4.1
1408 - deps: connect-timeout@~1.6.0
1409 - deps: cookie-parser@~1.3.4
1410 - deps: cookie-signature@1.0.6
1411 - deps: csurf@~1.7.0
1412 - deps: errorhandler@~1.3.4
1413 - deps: express-session@~1.10.3
1414 - deps: http-errors@~1.3.1
1415 - deps: response-time@~2.3.0
1416 - deps: serve-index@~1.6.2
1417 - deps: serve-static@~1.9.1
1418 - deps: type-is@~1.6.0
1419 * deps: cookie-signature@1.0.6
1421 - Always read the stat size from the file
1422 - Fix mutating passed-in `options`
1428 * deps: connect@2.28.3
1429 - deps: compression@~1.3.1
1430 - deps: csurf@~1.6.6
1431 - deps: errorhandler@~1.3.3
1432 - deps: express-session@~1.10.2
1433 - deps: serve-index@~1.6.1
1434 - deps: type-is@~1.5.6
1435 * deps: proxy-addr@~1.0.6
1436 - deps: ipaddr.js@0.1.8
1441 * deps: connect@2.28.2
1442 - deps: body-parser@~1.10.2
1443 - deps: serve-static@~1.8.1
1445 - Fix root path disclosure
1450 * Fix `OPTIONS` responses to include the `HEAD` method property
1451 * Use `readline` for prompt in `express(1)`
1452 * deps: commander@2.6.0
1453 * deps: connect@2.28.1
1454 - deps: body-parser@~1.10.1
1455 - deps: compression@~1.3.0
1456 - deps: connect-timeout@~1.5.0
1457 - deps: csurf@~1.6.4
1458 - deps: debug@~2.1.1
1459 - deps: errorhandler@~1.3.2
1460 - deps: express-session@~1.10.1
1461 - deps: finalhandler@0.3.3
1462 - deps: method-override@~2.3.1
1463 - deps: morgan@~1.5.1
1464 - deps: serve-favicon@~2.2.0
1465 - deps: serve-index@~1.6.0
1466 - deps: serve-static@~1.8.0
1467 - deps: type-is@~1.5.5
1468 * deps: debug@~2.1.1
1469 * deps: methods@~1.1.1
1470 * deps: proxy-addr@~1.0.5
1471 - deps: ipaddr.js@0.1.6
1473 - deps: debug@~2.1.1
1476 - deps: on-finished@~2.2.0
1481 * Fix exception in `req.fresh`/`req.stale` without response headers
1486 * deps: connect@2.27.6
1487 - deps: compression@~1.2.2
1488 - deps: express-session@~1.9.3
1489 - deps: http-errors@~1.2.8
1490 - deps: serve-index@~1.5.3
1491 - deps: type-is@~1.5.4
1496 * deps: connect@2.27.4
1497 - deps: body-parser@~1.9.3
1498 - deps: compression@~1.2.1
1499 - deps: errorhandler@~1.2.3
1500 - deps: express-session@~1.9.2
1502 - deps: serve-favicon@~2.1.7
1503 - deps: serve-static@~1.5.1
1504 - deps: type-is@~1.5.3
1506 * deps: proxy-addr@~1.0.4
1507 - deps: ipaddr.js@0.1.5
1512 * deps: connect@2.27.3
1513 - Correctly invoke async callback asynchronously
1514 - deps: csurf@~1.6.3
1519 * deps: connect@2.27.2
1520 - Fix handling of URLs containing `://` in the path
1521 - deps: body-parser@~1.9.2
1527 * Fix internal `utils.merge` deprecation warnings
1528 * deps: connect@2.27.1
1529 - deps: body-parser@~1.9.1
1530 - deps: express-session@~1.9.1
1531 - deps: finalhandler@0.3.2
1532 - deps: morgan@~1.4.1
1534 - deps: serve-static@~1.7.1
1536 - deps: on-finished@~2.1.1
1541 * Use `content-disposition` module for `res.attachment`/`res.download`
1542 - Sends standards-compliant `Content-Disposition` header
1543 - Full Unicode support
1544 * Use `etag` module to generate `ETag` headers
1545 * deps: connect@2.27.0
1546 - Use `http-errors` module for creating errors
1547 - Use `utils-merge` module for merging objects
1548 - deps: body-parser@~1.9.0
1549 - deps: compression@~1.2.0
1550 - deps: connect-timeout@~1.4.0
1551 - deps: debug@~2.1.0
1553 - deps: express-session@~1.9.0
1554 - deps: finalhandler@0.3.1
1555 - deps: method-override@~2.3.0
1556 - deps: morgan@~1.4.0
1557 - deps: response-time@~2.2.0
1558 - deps: serve-favicon@~2.1.6
1559 - deps: serve-index@~1.5.0
1560 - deps: serve-static@~1.7.0
1561 * deps: debug@~2.1.0
1562 - Implement `DEBUG_FD` env variable support
1565 - deps: debug@~2.1.0
1572 * deps: connect@2.26.6
1573 - deps: compression@~1.1.2
1574 - deps: csurf@~1.6.2
1575 - deps: errorhandler@~1.2.2
1580 * deps: connect@2.26.5
1581 - Fix accepting non-object arguments to `logger`
1582 - deps: serve-static@~1.6.4
1587 * deps: connect@2.26.4
1588 - deps: morgan@~1.3.2
1589 - deps: type-is@~1.5.2
1594 * deps: connect@2.26.3
1595 - deps: body-parser@~1.8.4
1596 - deps: serve-favicon@~2.1.5
1597 - deps: serve-static@~1.6.3
1598 * deps: proxy-addr@~1.0.3
1599 - Use `forwarded` npm module
1606 * deps: connect@2.26.2
1607 - deps: body-parser@~1.8.3
1613 * deps: proxy-addr@~1.0.2
1614 - Fix a global leak when multiple subnets are trusted
1615 - deps: ipaddr.js@0.1.3
1620 * Use `crc` instead of `buffer-crc32` for speed
1621 * deps: connect@2.26.1
1622 - deps: body-parser@~1.8.2
1624 - deps: express-session@~1.8.2
1625 - deps: morgan@~1.3.1
1626 - deps: serve-favicon@~2.1.3
1627 - deps: serve-static@~1.6.2
1632 - deps: range-parser@~1.0.2
1637 * Fix error in `req.subdomains` on empty host
1642 * Support `X-Forwarded-Host` in `req.subdomains`
1643 * Support IP address host in `req.subdomains`
1644 * deps: connect@2.26.0
1645 - deps: body-parser@~1.8.1
1646 - deps: compression@~1.1.0
1647 - deps: connect-timeout@~1.3.0
1648 - deps: cookie-parser@~1.3.3
1649 - deps: cookie-signature@1.0.5
1650 - deps: csurf@~1.6.1
1651 - deps: debug@~2.0.0
1652 - deps: errorhandler@~1.2.0
1653 - deps: express-session@~1.8.1
1654 - deps: finalhandler@0.2.0
1656 - deps: media-typer@0.3.0
1657 - deps: method-override@~2.2.0
1658 - deps: morgan@~1.3.0
1660 - deps: serve-favicon@~2.1.3
1661 - deps: serve-index@~1.2.1
1662 - deps: serve-static@~1.6.1
1663 - deps: type-is@~1.5.1
1664 - deps: vhost@~3.0.0
1665 * deps: cookie-signature@1.0.5
1666 * deps: debug@~2.0.0
1668 * deps: media-typer@0.3.0
1669 - Throw error when parameter format invalid on parse
1670 * deps: range-parser@~1.0.2
1672 - Add `lastModified` option
1673 - Use `etag` to generate `ETag` header
1674 - deps: debug@~2.0.0
1677 - Accept valid `Vary` header string as `field`
1679 3.16.10 / 2014-09-04
1680 ====================
1682 * deps: connect@2.25.10
1683 - deps: serve-static@~1.5.4
1685 - Fix a path traversal issue when using `root`
1686 - Fix malicious path detection for empty string path
1691 * deps: connect@2.25.9
1692 - deps: body-parser@~1.6.7
1698 * deps: connect@2.25.8
1699 - deps: body-parser@~1.6.6
1700 - deps: csurf@~1.4.1
1706 * deps: connect@2.25.7
1707 - deps: body-parser@~1.6.5
1708 - deps: express-session@~1.7.6
1709 - deps: morgan@~1.2.3
1710 - deps: serve-static@~1.5.3
1712 - deps: destroy@1.0.3
1713 - deps: on-finished@2.1.0
1718 * deps: connect@2.25.6
1719 - deps: body-parser@~1.6.4
1721 - deps: serve-static@~1.5.2
1723 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1728 * deps: connect@2.25.5
1729 - Fix backwards compatibility in `logger`
1734 * Fix original URL parsing in `res.location`
1735 * deps: connect@2.25.4
1736 - Fix `query` middleware breaking with argument
1737 - deps: body-parser@~1.6.3
1738 - deps: compression@~1.0.11
1739 - deps: connect-timeout@~1.2.2
1740 - deps: express-session@~1.7.5
1741 - deps: method-override@~2.1.3
1742 - deps: on-headers@~1.0.0
1743 - deps: parseurl@~1.3.0
1745 - deps: response-time@~2.0.1
1746 - deps: serve-index@~1.1.6
1747 - deps: serve-static@~1.5.1
1748 * deps: parseurl@~1.3.0
1753 * deps: connect@2.25.3
1754 - deps: multiparty@3.3.2
1759 * deps: connect@2.25.2
1760 - deps: body-parser@~1.6.2
1766 * deps: connect@2.25.1
1767 - deps: body-parser@~1.6.1
1773 * deps: connect@2.25.0
1774 - deps: body-parser@~1.6.0
1775 - deps: compression@~1.0.10
1776 - deps: csurf@~1.4.0
1777 - deps: express-session@~1.7.4
1779 - deps: serve-static@~1.5.0
1781 - Add `extensions` option
1786 * fix `res.sendfile` regression for serving directory index files
1787 * deps: connect@2.24.3
1788 - deps: serve-index@~1.1.5
1789 - deps: serve-static@~1.4.4
1791 - Fix incorrect 403 on Windows and Node.js 0.11
1792 - Fix serving index files without root dir
1797 * deps: connect@2.24.2
1798 - deps: body-parser@~1.5.2
1800 - deps: express-session@~1.7.2
1801 - deps: morgan@~1.2.2
1802 - deps: serve-static@~1.4.2
1804 - Work-around v8 generating empty stack traces
1811 * deps: connect@2.24.1
1812 - deps: body-parser@~1.5.1
1814 - deps: express-session@~1.7.1
1815 - deps: morgan@~1.2.1
1816 - deps: serve-index@~1.1.4
1817 - deps: serve-static@~1.4.1
1819 - Fix exception when global `Error.stackTraceLimit` is too low
1826 * Fix `req.protocol` for proxy-direct connections
1827 * Pass options from `res.sendfile` to `send`
1828 * deps: connect@2.24.0
1829 - deps: body-parser@~1.5.0
1830 - deps: compression@~1.0.9
1831 - deps: connect-timeout@~1.2.1
1834 - deps: express-session@~1.7.0
1835 - deps: finalhandler@0.1.0
1836 - deps: method-override@~2.1.2
1837 - deps: morgan@~1.2.0
1838 - deps: multiparty@3.3.1
1839 - deps: parseurl@~1.2.0
1840 - deps: serve-static@~1.4.0
1843 - Add `TRACE_DEPRECATION` environment variable
1844 - Remove non-standard grey color from color output
1845 - Support `--no-deprecation` argument
1846 - Support `--trace-deprecation` argument
1847 * deps: parseurl@~1.2.0
1848 - Cache URLs based on original value
1849 - Remove no-longer-needed URL mis-parse work-around
1850 - Simplify the "fast-path" `RegExp`
1852 - Add `dotfiles` option
1853 - Cap `maxAge` value to 1 year
1860 * add explicit "Rosetta Flash JSONP abuse" protection
1861 - previous versions are not vulnerable; this is just explicit protection
1862 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1863 * fix `res.send(status, num)` to send `num` as json (not error)
1864 * remove unnecessary escaping when `res.jsonp` returns JSON response
1865 * deps: basic-auth@1.0.0
1866 - support empty password
1867 - support empty username
1868 * deps: connect@2.23.0
1870 - deps: express-session@~1.6.4
1871 - deps: method-override@~2.1.0
1872 - deps: parseurl@~1.1.3
1873 - deps: serve-static@~1.3.1
1875 - Add support for multiple wildcards in namespaces
1876 * deps: methods@1.1.0
1878 * deps: parseurl@~1.1.3
1879 - faster parsing of href-only URLs
1884 * add deprecation message to `app.configure`
1885 * add deprecation message to `req.auth`
1886 * use `basic-auth` to parse `Authorization` header
1887 * deps: connect@2.22.0
1888 - deps: csurf@~1.3.0
1889 - deps: express-session@~1.6.1
1890 - deps: multiparty@3.3.0
1891 - deps: serve-static@~1.3.0
1893 - Accept string for `maxage` (converted by `ms`)
1894 - Include link in default redirect response
1899 * deps: connect@2.21.1
1900 - deps: cookie-parser@1.3.2
1901 - deps: cookie-signature@1.0.4
1902 - deps: express-session@~1.5.2
1903 - deps: type-is@~1.3.2
1904 * deps: cookie-signature@1.0.4
1905 - fix for timing attacks
1910 * use `media-typer` to alter content-type charset
1911 * deps: connect@2.21.0
1912 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1913 - deprecate `connect.createServer()` -- use `connect()` instead
1914 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1915 - deps: compression@~1.0.8
1916 - deps: errorhandler@~1.1.1
1917 - deps: express-session@~1.5.0
1918 - deps: serve-index@~1.1.3
1923 * deprecate things with `depd` module
1924 * deps: buffer-crc32@0.2.3
1925 * deps: connect@2.20.2
1926 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1927 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1928 - deprecate things with `depd` module
1929 - use `finalhandler` for final response handling
1930 - use `media-typer` to parse `content-type` for charset
1931 - deps: body-parser@1.4.3
1932 - deps: connect-timeout@1.1.1
1933 - deps: cookie-parser@1.3.1
1935 - deps: errorhandler@1.1.0
1936 - deps: express-session@1.4.0
1937 - deps: multiparty@3.2.9
1938 - deps: serve-index@1.1.2
1939 - deps: type-is@1.3.1
1945 * deps: connect@2.19.6
1946 - deps: body-parser@1.3.1
1947 - deps: compression@1.0.7
1949 - deps: serve-index@1.1.1
1950 - deps: serve-static@1.2.3
1953 - Do not throw un-catchable error on file open race condition
1954 - Use `escape-html` for HTML escaping
1956 - deps: finished@1.2.2
1962 * deps: connect@2.19.5
1963 - fix "event emitter leak" warnings
1966 - deps: serve-static@1.2.2
1967 - deps: type-is@1.2.1
1970 - fix "event emitter leak" warnings
1971 - deps: finished@1.2.1
1977 * use `vary` module for `res.vary`
1978 * deps: connect@2.19.4
1979 - deps: errorhandler@1.0.2
1980 - deps: method-override@2.0.2
1981 - deps: serve-favicon@2.0.1
1987 * deps: connect@2.19.3
1988 - deps: compression@1.0.6
1993 * deps: connect@2.19.2
1994 - deps: compression@1.0.4
1995 * deps: proxy-addr@1.0.1
2000 * deps: connect@2.19.1
2001 - deprecate `methodOverride()` -- use `method-override` npm module instead
2002 - deps: body-parser@1.3.0
2003 - deps: method-override@2.0.1
2004 - deps: multiparty@3.2.8
2005 - deps: response-time@2.0.0
2006 - deps: serve-static@1.2.1
2007 * deps: methods@1.0.1
2009 - Send `max-age` in `Cache-Control` in correct format
2014 * custom etag control with `app.set('etag', val)`
2015 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
2016 - `app.set('etag', 'weak')` weak tag
2017 - `app.set('etag', 'strong')` strong etag
2018 - `app.set('etag', false)` turn off
2019 - `app.set('etag', true)` standard etag
2020 * Include ETag in HEAD requests
2021 * mark `res.send` ETag as weak and reduce collisions
2022 * update connect to 2.18.0
2023 - deps: compression@1.0.3
2024 - deps: serve-index@1.1.0
2025 - deps: serve-static@1.2.0
2026 * update send to 0.4.0
2027 - Calculate ETag with md5 for reduced collisions
2028 - Ignore stream errors after request ends
2034 * update connect to 2.17.3
2035 - deps: body-parser@1.2.2
2036 - deps: express-session@1.2.1
2037 - deps: method-override@1.0.2
2042 * keep previous `Content-Type` for `res.jsonp`
2043 * set proper `charset` in `Content-Type` for `res.send`
2044 * update connect to 2.17.1
2045 - fix `res.charset` appending charset when `content-type` has one
2046 - deps: express-session@1.2.0
2047 - deps: morgan@1.1.1
2048 - deps: serve-index@1.0.3
2053 * proper proxy trust with `app.set('trust proxy', trust)`
2054 - `app.set('trust proxy', 1)` trust first hop
2055 - `app.set('trust proxy', 'loopback')` trust loopback addresses
2056 - `app.set('trust proxy', '10.0.0.1')` trust single IP
2057 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
2058 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
2059 - `app.set('trust proxy', false)` turn off
2060 - `app.set('trust proxy', true)` trust everything
2061 * update connect to 2.16.2
2062 - deprecate `res.headerSent` -- use `res.headersSent`
2063 - deprecate `res.on("header")` -- use on-headers module instead
2064 - fix edge-case in `res.appendHeader` that would append in wrong order
2065 - json: use body-parser
2066 - urlencoded: use body-parser
2068 - dep: cookie-parser@1.1.0
2070 - dep: express-session@1.1.0
2071 - dep: method-override@1.0.1
2076 * deprecate `app.del()` -- use `app.delete()` instead
2077 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
2078 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
2079 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
2080 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
2081 * support PURGE method
2083 - add `router.purge`
2084 - include PURGE in `app.all`
2085 * update connect to 2.15.0
2086 * Add `res.appendHeader`
2087 * Call error stack even when response has been sent
2088 * Patch `res.headerSent` to return Boolean
2089 * Patch `res.headersSent` for node.js 0.8
2090 * Prevent default 404 handler after response sent
2091 * dep: compression@1.0.2
2092 * dep: connect-timeout@1.1.0
2094 * dep: errorhandler@1.0.1
2095 * dep: express-session@1.0.4
2097 * dep: serve-favicon@2.0.0
2098 * dep: serve-index@1.0.2
2099 * update debug to 0.8.0
2100 * add `enable()` method
2101 * change from stderr to stdout
2102 * update methods to 1.0.0
2104 * update mkdirp to 0.5.0
2109 * fix `req.host` for IPv6 literals
2110 * fix `res.jsonp` error if callback param is object
2115 * update connect to 2.14.5
2116 * update cookie to 0.1.2
2117 * update mkdirp to 0.4.0
2118 * update send to 0.3.0
2123 * pin less-middleware in generated app
2133 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
2134 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
2135 * throw 400 in case of malformed paths @rlidwka
2145 * update connect (raw-body)
2151 * res.location: remove leading ./ #1802 @kapouer
2152 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2153 * res.send: always send ETag when content-length > 0
2154 * router: add Router.all() method
2162 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2173 * downgrade commander
2180 * jsonp: check if callback is a function
2181 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2182 * res.format: now includes charset @1747 (@sorribas)
2183 * res.links: allow multiple calls @1746 (@sorribas)
2188 * add res.vary(). Closes #1682
2204 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2205 * add: req.accepts take an argument list
2210 * update send and connect
2222 * remove .version export
2233 * add support for multiple X-Forwarded-Proto values. Closes #1646
2234 * change: remove charset from json responses. Closes #1631
2235 * change: return actual booleans from req.accept* functions
2236 * fix jsonp callback array throw
2247 * update node-cookie
2248 * add: throw a meaningful error when there is no default engine
2249 * change generation of ETags with res.send() to GET requests only. Closes #1619
2254 * fix `req.subdomains` when no Host is present
2255 * fix `req.host` when no Host is present, return undefined
2260 * update connect / qs
2270 * add app.VERB() paths array deprecation warning
2272 * update qs and remove all ~ semver crap
2273 * fix: accept number as value of Signed Cookie
2278 * add "view" constructor setting to override view behaviour
2279 * add req.acceptsEncoding(name)
2280 * add req.acceptedEncodings
2281 * revert cookie signature change causing session race conditions
2282 * fix sorting of Accept values of the same quality
2287 * add support for custom Accept parameters
2288 * update cookie-signature
2293 * add X-Forwarded-Host support to `req.host`
2294 * fix relative redirects
2296 * update buffer-crc32
2297 * remove legacy app.configure() method from app template.
2302 * add support for leading "." in "view engine" setting
2303 * add array support to `res.set()`
2304 * add node 0.8.x to travis.yml
2305 * add "subdomain offset" setting for tweaking `req.subdomains`
2306 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2307 * use app.get() for x-powered-by setting for inheritance
2308 * fix colons in passwords for `req.auth`
2313 * add http verb methods to Router
2315 * fix mangling of the `res.cookie()` options object
2316 * fix jsonp whitespace escape. Closes #1132
2321 * add throwing when a non-function is passed to a route
2322 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2323 * revert "add 'etag' option"
2328 * add 'etag' option to disable `res.send()` Etags
2329 * add escaping of urls in text/plain in `res.redirect()`
2330 for old browsers interpreting as html
2331 * change crc32 module for a more liberal license
2338 * update cookie module
2339 * fix cookie max-age
2344 * add OPTIONS to cors example. Closes #1398
2345 * fix route chaining regression. Closes #1397
2356 * add "Basic" check to req.auth
2357 * add `req.auth` test coverage
2358 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2359 * add backwards compat for `res.redirect()` status. Closes #1336
2360 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2362 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2363 * remove non-primitive string support for `res.send()`
2364 * fix view-locals example. Closes #1370
2365 * fix route-separation example
2367 3.0.0rc5 / 2012-09-18
2371 * add redis search example
2372 * add static-files example
2373 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2374 * add "application/octet-stream" redirect Accept test case. Closes #1317
2376 3.0.0rc4 / 2012-08-30
2379 * add `res.jsonp()`. Closes #1307
2380 * add "verbose errors" option to error-pages example
2381 * add another route example to express(1) so people are not so confused
2382 * add redis online user activity tracking example
2383 * update connect dep
2384 * fix etag quoting. Closes #1310
2385 * fix error-pages 404 status
2386 * fix jsonp callback char restrictions
2387 * remove old OPTIONS default response
2389 3.0.0rc3 / 2012-08-13
2392 * update connect dep
2393 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2394 * fix `res.render()` clobbering of "locals"
2396 3.0.0rc2 / 2012-08-03
2400 * update connect dep
2401 * deprecate `.createServer()` & remove old stale examples
2402 * fix: escape `res.redirect()` link
2405 3.0.0rc1 / 2012-07-24
2408 * add more examples to view-locals
2409 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2411 * update connect dep
2413 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2414 * fix `res.sendfile()` socket error handling regression
2416 3.0.0beta7 / 2012-07-16
2419 * update connect dep for `send()` root normalization regression
2421 3.0.0beta6 / 2012-07-13
2424 * add `err.view` property for view errors. Closes #1226
2425 * add "jsonp callback name" setting
2426 * add support for "/foo/:bar*" non-greedy matches
2427 * change `res.sendfile()` to use `send()` module
2428 * change `res.send` to use "response-send" module
2429 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2431 3.0.0beta5 / 2012-07-03
2434 * add "make check" support
2435 * add route-map example
2436 * add `res.json(obj, status)` support back for BC
2437 * add "methods" dep, remove internal methods module
2438 * update connect dep
2439 * update auth example to utilize cores pbkdf2
2440 * updated tests to use "supertest"
2442 3.0.0beta4 / 2012-06-25
2446 * Added `req.range(size)`
2447 * Added `res.links(obj)`
2448 * Added `res.send(body, status)` support back for backwards compat
2449 * Added `.default()` support to `res.format()`
2450 * Added 2xx / 304 check to `req.fresh`
2451 * Revert "Added + support to the router"
2452 * Fixed `res.send()` freshness check, respect res.statusCode
2454 3.0.0beta3 / 2012-06-15
2457 * Added hogan `--hjs` to express(1) [nullfirm]
2458 * Added another example to content-negotiation
2460 * Changed: `res.send()` always checks freshness
2461 * Fixed: expose connects mime module. Closes #1165
2463 3.0.0beta2 / 2012-06-06
2466 * Added `+` support to the router
2468 * Changed `req.param()` to check route first
2469 * Update connect dep
2471 3.0.0beta1 / 2012-06-01
2474 * Added `res.format()` callback to override default 406 behaviour
2475 * Fixed `res.redirect()` 406. Closes #1154
2477 3.0.0alpha5 / 2012-05-30
2481 * Added `{ signed: true }` option to `res.cookie()`
2482 * Removed `res.signedCookie()`
2483 * Changed: dont reverse `req.ips`
2484 * Fixed "trust proxy" setting check for `req.ips`
2486 3.0.0alpha4 / 2012-05-09
2489 * Added: allow `[]` in jsonp callback. Closes #1128
2490 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2491 * Updated: connect 2.2.2
2493 3.0.0alpha3 / 2012-05-04
2496 * Added public `app.routes`. Closes #887
2497 * Added _view-locals_ example
2498 * Added _mvc_ example
2499 * Added `res.locals.use()`. Closes #1120
2500 * Added conditional-GET support to `res.send()`
2501 * Added: coerce `res.set()` values to strings
2502 * Changed: moved `static()` in generated apps below router
2503 * Changed: `res.send()` only set ETag when not previously set
2504 * Changed connect 2.2.1 dep
2505 * Changed: `make test` now runs unit / acceptance tests
2506 * Fixed req/res proto inheritance
2508 3.0.0alpha2 / 2012-04-26
2511 * Added `make benchmark` back
2512 * Added `res.send()` support for `String` objects
2513 * Added client-side data exposing example
2514 * Added `res.header()` and `req.header()` aliases for BC
2515 * Added `express.createServer()` for BC
2516 * Perf: memoize parsed urls
2517 * Perf: connect 2.2.0 dep
2518 * Changed: make `expressInit()` middleware self-aware
2519 * Fixed: use app.get() for all core settings
2520 * Fixed redis session example
2521 * Fixed session example. Closes #1105
2522 * Fixed generated express dep. Closes #1078
2524 3.0.0alpha1 / 2012-04-15
2527 * Added `app.locals.use(callback)`
2528 * Added `app.locals` object
2529 * Added `app.locals(obj)`
2530 * Added `res.locals` object
2531 * Added `res.locals(obj)`
2532 * Added `res.format()` for content-negotiation
2533 * Added `app.engine()`
2534 * Added `res.cookie()` JSON cookie support
2535 * Added "trust proxy" setting
2536 * Added `req.subdomains`
2537 * Added `req.protocol`
2538 * Added `req.secure`
2543 * Added comma-delimited / array support for `req.accepts()`
2544 * Added debug instrumentation
2545 * Added `res.set(obj)`
2546 * Added `res.set(field, value)`
2547 * Added `res.get(field)`
2548 * Added `app.get(setting)`. Closes #842
2549 * Added `req.acceptsLanguage()`
2550 * Added `req.acceptsCharset()`
2551 * Added `req.accepted`
2552 * Added `req.acceptedLanguages`
2553 * Added `req.acceptedCharsets`
2554 * Added "json replacer" setting
2555 * Added "json spaces" setting
2556 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2557 * Added `--less` support to express(1)
2558 * Added `express.response` prototype
2559 * Added `express.request` prototype
2560 * Added `express.application` prototype
2561 * Added `app.path()`
2562 * Added `app.render()`
2563 * Added `res.type()` to replace `res.contentType()`
2564 * Changed: `res.redirect()` to add relative support
2565 * Changed: enable "jsonp callback" by default
2566 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2567 * Rewrite of all tests with mocha
2568 * Removed "root" setting
2569 * Removed `res.redirect('home')` support
2570 * Removed `req.notify()`
2571 * Removed `app.register()`
2572 * Removed `app.redirect()`
2573 * Removed `app.is()`
2574 * Removed `app.helpers()`
2575 * Removed `app.dynamicHelpers()`
2576 * Fixed `res.sendfile()` with non-GET. Closes #723
2577 * Fixed express(1) public dir for windows. Closes #866
2582 * Added support for PURGE request method [pbuyle]
2583 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2588 * Update mkdirp dep. Closes #991
2593 * Fixed `app.all` duplicate DELETE requests [mscdex]
2598 * Updated hamljs dev dep. Closes #953
2603 * Fixed: set `filename` on cached templates [matthewleon]
2608 * Fixed `express(1)` eol on 0.4.x. Closes #947
2613 * Fixed `req.is()` when a charset is present
2618 * Fixed: express(1) LF -> CRLF for windows
2623 * Changed: updated connect to 1.8.x
2624 * Removed sass.js support from express(1)
2629 * Added ./routes dir for generated app by default
2630 * Added npm install reminder to express(1) app gen
2631 * Added 0.5.x support
2632 * Removed `make test-cov` since it wont work with node 0.5.x
2633 * Fixed express(1) public dir for windows. Closes #866
2638 * Added mkdirp to express(1). Closes #795
2639 * Added simple _json-config_ example
2640 * Added shorthand for the parsed request's pathname via `req.path`
2641 * Changed connect dep to 1.7.x to fix npm issue...
2642 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2643 * Fixed `req.flash()`, only escape args
2644 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2649 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2654 * Added support for routes to handle errors. Closes #809
2655 * Added `app.routes.all()`. Closes #803
2656 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2657 * Refactored `Route` to use a single array of callbacks
2658 * Added support for multiple callbacks for `app.param()`. Closes #801
2660 * Changed: removed .call(self) for route callbacks
2661 * Dependency: `qs >= 0.3.1`
2662 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2667 * Fixed `res.header()` intention of a set, even when `undefined`
2668 * Fixed `*`, value no longer required
2669 * Fixed `res.send(204)` support. Closes #771
2674 * Added docs for `status` option special-case. Closes #739
2675 * Fixed `options.filename`, exposing the view path to template engines
2680 * Revert "removed jsonp stripping" for XSS
2685 * Added `res.json()` JSONP support. Closes #737
2686 * Added _extending-templates_ example. Closes #730
2687 * Added "strict routing" setting for trailing slashes
2688 * Added support for multiple envs in `app.configure()` calls. Closes #735
2689 * Changed: `res.send()` using `res.json()`
2690 * Changed: when cookie `path === null` don't default it
2691 * Changed; default cookie path to "home" setting. Closes #731
2692 * Removed _pids/logs_ creation from express(1)
2697 * Added chainable `res.status(code)`
2698 * Added `res.json()`, an explicit version of `res.send(obj)`
2699 * Added simple web-service example
2704 * \#express is now on freenode! come join!
2705 * Added `req.get(field, param)`
2706 * Added links to Japanese documentation, thanks @hideyukisaito!
2707 * Added; the `express(1)` generated app outputs the env
2708 * Added `content-negotiation` example
2709 * Dependency: connect >= 1.5.1 < 2.0.0
2710 * Fixed view layout bug. Closes #720
2711 * Fixed; ignore body on 304. Closes #701
2717 * Removed generation of dummy test file from `express(1)`
2718 * Fixed; `express(1)` adds express as a dep
2719 * Fixed; prune on `prepublish`
2724 * Added `req.route`, exposing the current route
2725 * Added _package.json_ generation support to `express(1)`
2726 * Fixed call to `app.param()` function for optional params. Closes #682
2731 * Fixed bug-ish with `../' in `res.partial()` calls
2736 * Fixed `app.options()`
2741 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2742 * Added support for `app.param(fn)` to define param logic
2743 * Removed `app.param()` support for callback with return value
2744 * Removed module.parent check from express(1) generated app. Closes #670
2745 * Refactored router. Closes #639
2750 * Changed; using devDependencies instead of git submodules
2751 * Fixed redis session example
2752 * Fixed markdown example
2753 * Fixed view caching, should not be enabled in development
2758 * Added export `.view` as alias for `.View`
2763 * Added `./examples/say`
2764 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2769 * Added "case sensitive routes" option.
2770 * Changed; split methods supported per rfc [slaskis]
2771 * Fixed route-specific middleware when using the same callback function several times
2781 * Added `app.match()` as `app.match.all()`
2782 * Added `app.lookup()` as `app.lookup.all()`
2783 * Added `app.remove()` for `app.remove.all()`
2784 * Added `app.remove.VERB()`
2785 * Fixed template caching collision issue. Closes #644
2786 * Moved router over from connect and started refactor
2791 * Added options support to `res.clearCookie()`
2792 * Added `res.helpers()` as alias of `res.locals()`
2793 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2794 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2795 * Renamed "cache views" to "view cache". Closes #628
2796 * Fixed caching of views when using several apps. Closes #637
2797 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2799 * Fixed partial lookup precedence. Closes #631
2805 * Added second callback support for `res.download()` connection errors
2806 * Fixed `filename` option passing to template engine
2811 * Added `layout(path)` helper to change the layout within a view. Closes #610
2812 * Fixed `partial()` collection object support.
2813 Previously only anything with `.length` would work.
2814 When `.length` is present one must still be aware of holes,
2815 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2816 `keyInCollection` and `keysInCollection`.
2818 * Performance improved with better view caching
2819 * Removed `request` and `response` locals
2820 * Changed; errorHandler page title is now `Express` instead of `Connect`
2825 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2826 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2827 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2828 * Dependency `connect >= 1.2.0`
2833 * Added; expose `err.view` object when failing to locate a view
2834 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2835 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2840 * Added `<root>/_?<name>` partial lookup support. Closes #447
2841 * Added `request`, `response`, and `app` local variables
2842 * Added `settings` local variable, containing the app's settings
2843 * Added `req.flash()` exception if `req.session` is not available
2844 * Added `res.send(bool)` support (json response)
2845 * Fixed stylus example for latest version
2846 * Fixed; wrap try/catch around `res.render()`
2851 * Fixed up index view path alternative.
2852 * Changed; `res.locals()` without object returns the locals
2854 2.0.0rc3 / 2011-03-17
2857 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2858 * Added `res.partial()` callback support
2859 * Fixed recursive error reporting issue in `res.render()`
2861 2.0.0rc2 / 2011-03-17
2864 * Changed; `partial()` "locals" are now optional
2865 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2866 * Fixed .filename view engine option [reported by drudge]
2867 * Fixed blog example
2868 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2870 2.0.0rc / 2011-03-14
2873 * Fixed; expose `HTTPSServer` constructor
2874 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2875 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2877 2.0.0beta3 / 2011-03-09
2880 * Added support for `res.contentType()` literal
2881 The original `res.contentType('.json')`,
2882 `res.contentType('application/json')`, and `res.contentType('json')`
2884 * Added `res.render()` status option support back
2885 * Added charset option for `res.render()`
2886 * Added `.charset` support (via connect 1.0.4)
2887 * Added view resolution hints when in development and a lookup fails
2888 * Added layout lookup support relative to the page view.
2889 For example while rendering `./views/user/index.jade` if you create
2890 `./views/user/layout.jade` it will be used in favour of the root layout.
2891 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2892 * Fixed; default `res.send()` string charset to utf8
2893 * Removed `Partial` constructor (not currently used)
2895 2.0.0beta2 / 2011-03-07
2898 * Added res.render() `.locals` support back to aid in migration process
2899 * Fixed flash example
2901 2.0.0beta / 2011-03-03
2904 * Added HTTPS support
2905 * Added `res.cookie()` maxAge support
2906 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2907 * Added mount support for `res.redirect()`, now respects the mount-point
2908 * Added `union()` util, taking place of `merge(clone())` combo
2909 * Added stylus support to express(1) generated app
2910 * Added secret to session middleware used in examples and generated app
2911 * Added `res.local(name, val)` for progressive view locals
2912 * Added default param support to `req.param(name, default)`
2913 * Added `app.disabled()` and `app.enabled()`
2914 * Added `app.register()` support for omitting leading ".", either works
2915 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2916 * Added `app.param()` to map route params to async/sync logic
2917 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2918 * Added extname with no leading "." support to `res.contentType()`
2919 * Added `cache views` setting, defaulting to enabled in "production" env
2920 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2921 * Added `req.accepts()` support for extensions
2922 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2923 static file server `connect.static.send()`.
2924 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2925 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2926 * Changed view partial resolution, now relative to parent view
2927 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2928 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2929 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2930 * Fixed; using _qs_ module instead of _querystring_
2931 * Fixed; strip unsafe chars from jsonp callbacks
2932 * Removed "stream threshold" setting
2937 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2938 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2939 * Removed the long deprecated __EXPRESS_ENV__ support
2944 * Fixed `render()` setting inheritance.
2945 Mounted apps would not inherit "view engine"
2950 * Fixed `view engine` setting bug when period is in dirname
2955 * Added secret to generated app `session()` call
2960 * Added `qs` dependency to _package.json_
2961 * Fixed namespaced `require()`s for latest connect support
2966 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2971 * Removed nested require, using `connect.router`
2976 * Fixed for middleware stacked via `createServer()`
2977 previously the `foo` middleware passed to `createServer(foo)`
2978 would not have access to Express methods such as `res.send()`
2979 or props like `req.query` etc.
2984 * Added; deduce partial object names from the last segment.
2985 For example by default `partial('forum/post', postObject)` will
2986 give you the _post_ object, providing a meaningful default.
2987 * Added http status code string representation to `res.redirect()` body
2988 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2989 * Added `req.is()` to aid in content negotiation
2990 * Added partial local inheritance [suggested by masylum]. Closes #102
2991 providing access to parent template locals.
2992 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2993 * Added _--template_ flag to express(1) to specify the
2994 template engine to use.
2995 * Added _--css_ flag to express(1) to specify the
2996 stylesheet engine to use (or just plain css by default).
2997 * Added `app.all()` support [thanks aheckmann]
2998 * Added partial direct object support.
2999 You may now `partial('user', user)` providing the "user" local,
3000 vs previously `partial('user', { object: user })`.
3001 * Added _route-separation_ example since many people question ways
3002 to do this with CommonJS modules. Also view the _blog_ example for
3004 * Performance; caching view path derived partial object names
3005 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
3006 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
3008 1.0.0rc4 / 2010-10-14
3011 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
3012 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
3013 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
3014 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
3015 * Added `partial()` support for array-like collections. Closes #434
3016 * Added support for swappable querystring parsers
3017 * Added session usage docs. Closes #443
3018 * Added dynamic helper caching. Closes #439 [suggested by maritz]
3019 * Added authentication example
3020 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
3021 * Changed; `express(1)` generated app using 2 spaces instead of 4
3022 * Default env to "development" again [aheckmann]
3023 * Removed _context_ option is no more, use "scope"
3024 * Fixed; exposing _./support_ libs to examples so they can run without installs
3027 1.0.0rc3 / 2010-09-20
3030 * Added confirmation for `express(1)` app generation. Closes #391
3031 * Added extending of flash formatters via `app.flashFormatters`
3032 * Added flash formatter support. Closes #411
3033 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
3034 * Added _stream threshold_ setting for `res.sendfile()`
3035 * Added `res.send()` __HEAD__ support
3036 * Added `res.clearCookie()`
3037 * Added `res.cookie()`
3038 * Added `res.render()` headers option
3039 * Added `res.redirect()` response bodies
3040 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
3041 * Fixed `res.sendfile()` responding with 403 on malicious path
3042 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
3043 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
3044 * Fixed; stripping Content-Length / Content-Type when 204
3045 * Fixed `res.send()` 204. Closes #419
3046 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
3047 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
3050 1.0.0rc2 / 2010-08-17
3053 * Added `app.register()` for template engine mapping. Closes #390
3054 * Added `res.render()` callback support as second argument (no options)
3055 * Added callback support to `res.download()`
3056 * Added callback support for `res.sendfile()`
3057 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
3058 * Added "partials" setting to docs
3059 * Added default expresso tests to `express(1)` generated app. Closes #384
3060 * Fixed `res.sendfile()` error handling, defer via `next()`
3061 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
3062 * Fixed; `make install` creating ~/.node_libraries when not present
3063 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
3065 1.0.0rc / 2010-07-28
3068 * Added mounted hook. Closes #369
3069 * Added connect dependency to _package.json_
3071 * Removed "reload views" setting and support code
3072 development env never caches, production always caches.
3074 * Removed _param_ in route callbacks, signature is now
3075 simply (req, res, next), previously (req, res, params, next).
3076 Use _req.params_ for path captures, _req.query_ for GET params.
3078 * Fixed "home" setting
3079 * Fixed middleware/router precedence issue. Closes #366
3080 * Fixed; _configure()_ callbacks called immediately. Closes #368
3082 1.0.0beta2 / 2010-07-23
3085 * Added more examples
3086 * Added; exporting `Server` constructor
3087 * Added `Server#helpers()` for view locals
3088 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
3089 * Added support for absolute view paths
3090 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
3091 * Added Guillermo Rauch to the contributor list
3092 * Added support for "as" for non-collection partials. Closes #341
3093 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
3094 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
3095 * Fixed instanceof `Array` checks, now `Array.isArray()`
3096 * Fixed express(1) expansion of public dirs. Closes #348
3097 * Fixed middleware precedence. Closes #345
3098 * Fixed view watcher, now async [thanks aheckmann]
3100 1.0.0beta / 2010-07-15
3106 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
3111 * Utilize relative requires
3112 * Added Static bufferSize option [aheckmann]
3113 * Fixed caching of view and partial subdirectories [aheckmann]
3114 * Fixed mime.type() comments now that ".ext" is not supported
3115 * Updated haml submodule
3116 * Updated class submodule
3117 * Removed bin/express
3122 * Added node v0.1.97 compatibility
3123 * Added support for deleting cookies via Request#cookie('key', null)
3124 * Updated haml submodule
3125 * Fixed not-found page, now using using charset utf-8
3126 * Fixed show-exceptions page, now using using charset utf-8
3127 * Fixed view support due to fs.readFile Buffers
3128 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
3133 * Added node v0.1.96 compatibility
3134 * Added view `helpers` export which act as additional local variables
3135 * Updated haml submodule
3136 * Changed ETag; removed inode, modified time only
3137 * Fixed LF to CRLF for setting multiple cookies
3138 * Fixed cookie complation; values are now urlencoded
3139 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3144 * Added support for layouts using different engines
3145 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3146 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3147 - this.render('page.html.haml', { layout: false }) // no layout
3148 * Updated ext submodule
3149 * Updated haml submodule
3150 * Fixed EJS partial support by passing along the context. Issue #307
3155 * Fixed binary uploads.
3160 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3161 encoding is set to 'utf8' or 'utf-8'.
3162 * Added "encoding" option to Request#render(). Closes #299
3163 * Added "dump exceptions" setting, which is enabled by default.
3164 * Added simple ejs template engine support
3165 * Added error response support for text/plain, application/json. Closes #297
3166 * Added callback function param to Request#error()
3167 * Added Request#sendHead()
3168 * Added Request#stream()
3169 * Added support for Request#respond(304, null) for empty response bodies
3170 * Added ETag support to Request#sendfile()
3171 * Added options to Request#sendfile(), passed to fs.createReadStream()
3172 * Added filename arg to Request#download()
3173 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3174 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3175 * Changed; Request#sendfile() now streams
3176 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3177 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3178 * Changed; run() returns the http.Server instance. Closes #298
3179 * Changed; Defaulting Server#host to null (INADDR_ANY)
3180 * Changed; Logger "common" format scale of 0.4f
3181 * Removed Logger "request" format
3182 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3183 * Fixed several issues with http client
3184 * Fixed Logger Content-Length output
3185 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3190 * Added DSL level error() route support
3191 * Added DSL level notFound() route support
3192 * Added Request#error()
3193 * Added Request#notFound()
3194 * Added Request#render() callback function. Closes #258
3195 * Added "max upload size" setting
3196 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3197 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3198 * Added callback function support to Request#halt() as 3rd/4th arg
3199 * Added preprocessing of route param wildcards using param(). Closes #251
3200 * Added view partial support (with collections etc)
3201 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3202 * Fixed setting of multiple cookies. Closes #199
3203 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3204 * Changed; session cookie is now httpOnly
3205 * Changed; Request is no longer global
3206 * Changed; Event is no longer global
3207 * Changed; "sys" module is no longer global
3208 * Changed; moved Request#download to Static plugin where it belongs
3209 * Changed; Request instance created before body parsing. Closes #262
3210 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3211 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3212 * Updated support to node --version 0.1.90
3213 * Updated dependencies
3214 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3215 * Removed utils.mixin(); use Object#mergeDeep()
3220 * Added coffeescript example app. Closes #242
3221 * Changed; cache api now async friendly. Closes #240
3222 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3227 * Added Request#isXHR. Closes #229
3228 * Added `make install` (for the executable)
3229 * Added `express` executable for setting up simple app templates
3230 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3231 * Added Static plugin
3232 * Fixed; Request#render() only calls cache.get() once
3233 * Fixed; Namespacing View caches with "view:"
3234 * Fixed; Namespacing Static caches with "static:"
3235 * Fixed; Both example apps now use the Static plugin
3236 * Fixed set("views"). Closes #239
3237 * Fixed missing space for combined log format
3238 * Deprecated Request#sendfile() and 'express/static'
3239 * Removed Server#running
3244 * Added Request#flash() support without args, now returns all flashes
3245 * Updated ext submodule
3250 * Fixed session reaper
3251 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3256 * Added package.json
3257 * Fixed requiring of haml / sass due to kiwi removal
3262 * Fixed GIT submodules (HAH!)
3267 * Changed; Express now using submodules again until a PM is adopted
3268 * Changed; chat example using millisecond conversions from ext
3273 * Added Request#pass() support (finds the next matching route, or the given path)
3274 * Added Logger plugin (default "common" format replaces CommonLogger)
3275 * Removed Profiler plugin
3276 * Removed CommonLogger plugin
3281 * Added seed.yml for kiwi package management support
3282 * Added HTTP client query string support when method is GET. Closes #205
3284 * Added support for arbitrary view engines.
3285 For example "foo.engine.html" will now require('engine'),
3286 the exports from this module are cached after the first require().
3288 * Added async plugin support
3290 * Removed usage of RESTful route funcs as http client
3291 get() etc, use http.get() and friends
3293 * Removed custom exceptions
3298 * Added ext dependency (library of js extensions)
3299 * Removed extname() / basename() utils. Use path module
3300 * Removed toArray() util. Use arguments.values
3301 * Removed escapeRegexp() util. Use RegExp.escape()
3302 * Removed process.mixin() dependency. Use utils.mixin()
3303 * Removed Collection
3304 * Removed ElementCollection
3305 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3310 * Added flash() example to sample upload app
3311 * Added high level restful http client module (express/http)
3312 * Changed; RESTful route functions double as HTTP clients. Closes #69
3313 * Changed; throwing error when routes are added at runtime
3314 * Changed; defaulting render() context to the current Request. Closes #197
3315 * Updated haml submodule
3320 * Updated haml / sass submodules. Closes #200
3321 * Added flash message support. Closes #64
3322 * Added accepts() now allows multiple args. fixes #117
3323 * Added support for plugins to halt. Closes #189
3324 * Added alternate layout support. Closes #119
3325 * Removed Route#run(). Closes #188
3326 * Fixed broken specs due to use(Cookie) missing
3331 * Added "plot" format option for Profiler (for gnuplot processing)
3332 * Added request number to Profiler plugin
3333 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3334 * Fixed issue with routes not firing when not files are present. Closes #184
3335 * Fixed process.Promise -> events.Promise
3340 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3341 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3342 * Added expiration support to cache api with reaper. Closes #133
3343 * Added cache Store.Memory#reap()
3344 * Added Cache; cache api now uses first class Cache instances
3345 * Added abstract session Store. Closes #172
3346 * Changed; cache Memory.Store#get() utilizing Collection
3347 * Renamed MemoryStore -> Store.Memory
3348 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3353 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3354 * Updated node support to 0.1.27 Closes #169
3355 * Updated dirname(__filename) -> __dirname
3356 * Updated libxmljs support to v0.2.0
3357 * Added session support with memory store / reaping
3358 * Added quick uid() helper
3359 * Added multi-part upload support
3360 * Added Sass.js support / submodule
3361 * Added production env caching view contents and static files
3362 * Added static file caching. Closes #136
3363 * Added cache plugin with memory stores
3364 * Added support to StaticFile so that it works with non-textual files.
3365 * Removed dirname() helper
3366 * Removed several globals (now their modules must be required)
3371 * Added view benchmarks; currently haml vs ejs
3372 * Added Request#attachment() specs. Closes #116
3373 * Added use of node's parseQuery() util. Closes #123
3374 * Added `make init` for submodules
3376 * Updated sample chat app to show messages on load
3377 * Updated libxmljs parseString -> parseHtmlString
3378 * Fixed `make init` to work with older versions of git
3379 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3380 * Fixed issues introduced by the node url module changes. Closes 126.
3381 * Fixed two assertions failing due to Collection#keys() returning strings
3382 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3383 * Fixed `make test` now builds libxmljs.node before testing