5 - perf: remove argument reassignment
6 * deps: encodeurl@~1.0.2
7 - Fix encoding `%` as last character
8 * deps: statuses@~1.4.0
13 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
14 * perf: skip parsing of entire `X-Forwarded-Proto` header
20 * deps: serve-static@1.13.1
21 - Fix regression when `root` is incorrectly set to a file
27 * Add `"json escape"` setting for `res.json` and `res.jsonp`
28 * Add `express.json` and `express.urlencoded` to parse bodies
29 * Add `options` argument to `res.download`
30 * Improve error message when autoloading invalid view engine
31 * Improve error messages when non-function provided as middleware
32 * Skip `Buffer` encoding when not generating ETag for small response
33 * Use `safe-buffer` for improved Buffer API
34 * deps: accepts@~1.3.4
35 - deps: mime-types@~2.1.16
36 * deps: content-type@~1.0.4
37 - perf: remove argument reassignment
38 - perf: skip parameter parsing when no parameters
40 - perf: replace regular expression with substring
41 * deps: finalhandler@1.1.0
42 - Use `res.headersSent` when available
43 * deps: parseurl@~1.3.2
44 - perf: reduce overhead for full URLs
45 - perf: unroll the "fast-path" `RegExp`
46 * deps: proxy-addr@~2.0.2
47 - Fix trimming leading / trailing OWS in `X-Forwarded-For`
48 - deps: forwarded@~0.1.2
49 - deps: ipaddr.js@1.5.2
50 - perf: reduce overhead when no `X-Forwarded-For` header
52 - Fix parsing & compacting very deep objects
54 - Add 70 new types for file extensions
55 - Add `immutable` option
56 - Fix missing `</html>` in default error & redirects
57 - Set charset as "UTF-8" for .js and .json
58 - Use instance methods on steam to check for listeners
60 - perf: improve path validation speed
61 * deps: serve-static@1.13.0
62 - Add 70 new types for file extensions
63 - Add `immutable` option
64 - Set charset as "UTF-8" for .js and .json
66 * deps: setprototypeof@1.1.0
67 * deps: utils-merge@1.0.1
69 - perf: improve header token parsing speed
70 * perf: re-use options object when generating ETags
71 * perf: remove dead `.charset` set in `res.jsonp`
77 * deps: finalhandler@~1.0.6
79 - deps: parseurl@~1.3.2
81 - Fix handling of modified headers with invalid dates
82 - perf: improve ETag match loop
83 - perf: improve `If-None-Match` token parsing
85 - Fix handling of modified headers with invalid dates
89 - perf: improve `If-Match` token parsing
90 * deps: serve-static@1.12.6
91 - deps: parseurl@~1.3.2
93 - perf: improve slash collapsing
100 - Remove unnecessary `Buffer` loading
101 * deps: finalhandler@~1.0.4
103 * deps: proxy-addr@~1.1.5
104 - Fix array argument being altered
105 - deps: ipaddr.js@1.4.0
110 - deps: http-errors@~1.6.2
111 * deps: serve-static@1.12.4
117 * Fix error when `res.set` cannot add charset to `Content-Type`
119 - Fix `DEBUG_MAX_ARRAY_LENGTH`
121 * deps: finalhandler@~1.0.3
122 - Fix missing `</html>` in HTML document
124 * deps: proxy-addr@~1.1.4
125 - deps: ipaddr.js@1.3.0
129 * deps: serve-static@1.12.3
131 * deps: type-is@~1.6.15
132 - deps: mime-types@~2.1.15
134 - perf: hoist regular expression
140 - Fix regression parsing keys starting with `[`
146 - Fix issue when `Date.parse` does not return `NaN` on invalid date
147 - Fix strict violation in broken environments
148 * deps: serve-static@1.12.1
149 - Fix issue when `Date.parse` does not return `NaN` on invalid date
155 * Add debug message when loading view engine
156 * Add `next("router")` to exit from router
157 * Fix case where `router.use` skipped requests routes did not
158 * Remove usage of `res._headers` private field
159 - Improves compatibility with Node.js 8 nightly
160 * Skip routing when `req.url` is not set
161 * Use `%o` in path debug to tell types apart
162 * Use `Object.create` to setup request & response prototypes
163 * Use `setprototypeof` module to replace `__proto__` setting
164 * Use `statuses` instead of `http` module for status messages
166 - Allow colors in workers
167 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
168 - Fix error when running under React Native
169 - Use same color for same namespace
172 - Use SHA1 instead of MD5 for ETag hashing
173 - Works with FIPS 140-2 OpenSSL configuration
174 * deps: finalhandler@~1.0.0
175 - Fix exception when `err` cannot be converted to a string
176 - Fully URL-encode the pathname in the 404
177 - Only include the pathname in the 404 message
178 - Send complete HTML document
179 - Set `Content-Security-Policy: default-src 'self'` header
182 - Fix false detection of `no-cache` request directive
183 - Fix incorrect result when `If-None-Match` has both `*` and ETags
184 - Fix weak `ETag` matching to match spec
185 - perf: delay reading header values until needed
186 - perf: enable strict mode
187 - perf: hoist regular expressions
188 - perf: remove duplicate conditional
189 - perf: remove unnecessary boolean coercions
190 - perf: skip checking modified time if ETag check failed
191 - perf: skip parsing `If-None-Match` when no `ETag` header
192 - perf: use `Date.parse` instead of `new Date`
194 - Fix array parsing from skipping empty values
195 - Fix compacting nested arrays
197 - Fix false detection of `no-cache` request directive
198 - Fix incorrect result when `If-None-Match` has both `*` and ETags
199 - Fix weak `ETag` matching to match spec
200 - Remove usage of `res._headers` private field
201 - Support `If-Match` and `If-Unmodified-Since` headers
202 - Use `res.getHeaderNames()` when available
203 - Use `res.headersSent` when available
207 - deps: http-errors@~1.6.1
208 * deps: serve-static@1.12.0
209 - Fix false detection of `no-cache` request directive
210 - Fix incorrect result when `If-None-Match` has both `*` and ETags
211 - Fix weak `ETag` matching to match spec
212 - Remove usage of `res._headers` private field
213 - Send complete HTML document in redirect response
214 - Set default CSP header in redirect response
215 - Support `If-Match` and `If-Unmodified-Since` headers
216 - Use `res.getHeaderNames()` when available
217 - Use `res.headersSent` when available
219 * perf: add fast match path for `*` route
220 * perf: improve `req.ips` performance
225 * deps: content-disposition@0.5.2
226 * deps: finalhandler@0.5.1
227 - Fix exception when `err.headers` is not an object
228 - deps: statuses@~1.3.1
229 - perf: hoist regular expressions
230 - perf: remove duplicate validation path
231 * deps: proxy-addr@~1.1.3
232 - deps: ipaddr.js@1.2.0
234 - deps: http-errors@~1.5.1
236 - deps: statuses@~1.3.1
237 * deps: serve-static@~1.11.2
239 * deps: type-is@~1.6.14
240 - deps: mime-types@~2.1.13
245 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
246 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
247 * Add `options` argument to `req.range`
248 - Includes the `combine` option
249 * Encode URL in `res.location`/`res.redirect` if not already encoded
250 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
251 * Fix Windows absolute path check using forward slashes
252 * Improve error with invalid arguments to `req.get()`
253 * Improve performance for `res.json`/`res.jsonp` in most cases
254 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
255 * deps: accepts@~1.3.3
256 - Fix including type extensions in parameters in `Accept` parsing
257 - Fix parsing `Accept` parameters with quoted equals
258 - Fix parsing `Accept` parameters with quoted semicolons
259 - Many performance improvments
260 - deps: mime-types@~2.1.11
261 - deps: negotiator@0.6.1
262 * deps: content-type@~1.0.2
263 - perf: enable strict mode
265 - Add `sameSite` option
266 - Fix cookie `Max-Age` to never be a floating point number
267 - Improve error message when `encode` is not a function
268 - Improve error message when `expires` is not a `Date`
269 - Throw better error for invalid argument to parse
270 - Throw on invalid values provided to `serialize`
271 - perf: enable strict mode
272 - perf: hoist regular expression
273 - perf: use for loop in parse
274 - perf: use string concatination for serialization
275 * deps: finalhandler@0.5.0
276 - Change invalid or non-numeric status code to 500
277 - Overwrite status message to match set status code
278 - Prefer `err.statusCode` if `err.status` is invalid
279 - Set response headers from `err.headers` object
280 - Use `statuses` instead of `http` module for status messages
281 * deps: proxy-addr@~1.1.2
282 - Fix accepting various invalid netmasks
283 - Fix IPv6-mapped IPv4 validation edge cases
284 - IPv4 netmasks must be contingous
285 - IPv6 addresses cannot be used as a netmask
286 - deps: ipaddr.js@1.1.1
288 - Add `decoder` option in `parse` function
289 * deps: range-parser@~1.2.0
290 - Add `combine` option to combine overlapping ranges
291 - Fix incorrectly returning -1 when there is at least one valid range
292 - perf: remove internal function
294 - Add `acceptRanges` option
295 - Add `cacheControl` option
296 - Attempt to combine multiple ranges into single range
297 - Correctly inherit from `Stream` class
298 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
299 - Fix `Content-Range` header missing from default 416 responses
300 - Fix redirect error when `path` contains raw non-URL characters
301 - Fix redirect when `path` starts with multiple forward slashes
302 - Ignore non-byte `Range` headers
303 - deps: http-errors@~1.5.0
304 - deps: range-parser@~1.2.0
305 - deps: statuses@~1.3.0
306 - perf: remove argument reassignment
307 * deps: serve-static@~1.11.1
308 - Add `acceptRanges` option
309 - Add `cacheControl` option
310 - Attempt to combine multiple ranges into single range
311 - Fix redirect error when `req.url` contains raw non-URL characters
312 - Ignore non-byte `Range` headers
313 - Use status code 301 for redirects
315 * deps: type-is@~1.6.13
316 - Fix type error when given invalid type to match against
317 - deps: mime-types@~2.1.11
319 - Only accept valid field names in the `field` argument
320 * perf: use strict equality when possible
325 * deps: content-disposition@0.5.1
326 - perf: enable strict mode
328 - Throw on invalid values provided to `serialize`
330 - Support web browser loading
331 - perf: enable strict mode
332 * deps: escape-html@~1.0.3
333 - perf: enable strict mode
334 - perf: optimize string replacement
335 - perf: use faster string coercion
336 * deps: finalhandler@0.4.1
337 - deps: escape-html@~1.0.3
338 * deps: merge-descriptors@1.0.1
339 - perf: enable strict mode
340 * deps: methods@~1.1.2
341 - perf: enable strict mode
342 * deps: parseurl@~1.3.1
343 - perf: enable strict mode
344 * deps: proxy-addr@~1.0.10
345 - deps: ipaddr.js@1.0.5
346 - perf: enable strict mode
347 * deps: range-parser@~1.0.3
348 - perf: enable strict mode
351 - deps: destroy@~1.0.4
352 - deps: escape-html@~1.0.3
353 - deps: range-parser@~1.0.3
354 * deps: serve-static@~1.10.2
355 - deps: escape-html@~1.0.3
356 - deps: parseurl@~1.3.0
362 * Fix infinite loop condition using `mergeParams: true`
363 * Fix inner numeric indices incorrectly altering parent `req.params`
368 * deps: accepts@~1.2.12
369 - deps: mime-types@~2.1.4
370 * deps: array-flatten@1.1.1
371 - perf: enable strict mode
372 * deps: path-to-regexp@0.1.7
373 - Fix regression with escaped round brackets and matching groups
374 * deps: type-is@~1.6.6
375 - deps: mime-types@~2.1.4
380 * deps: accepts@~1.2.10
381 - deps: mime-types@~2.1.2
383 - Fix dropping parameters like `hasOwnProperty`
384 - Fix various parsing edge cases
385 * deps: type-is@~1.6.4
386 - deps: mime-types@~2.1.2
387 - perf: enable strict mode
388 - perf: remove argument reassignment
393 * Add settings to debug output
394 * Fix `res.format` error when only `default` provided
395 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
396 * Fix hiding platform issues with `decodeURIComponent`
397 - Only `URIError`s are a 400
398 * Fix using `*` before params in routes
399 * Fix using capture groups before params in routes
400 * Simplify `res.cookie` to call `res.append`
401 * Use `array-flatten` module for flattening arrays
402 * deps: accepts@~1.2.9
403 - deps: mime-types@~2.1.1
404 - perf: avoid argument reassignment & argument slice
405 - perf: avoid negotiator recursive construction
406 - perf: enable strict mode
407 - perf: remove unnecessary bitwise operator
409 - perf: deduce the scope of try-catch deopt
410 - perf: remove argument reassignments
411 * deps: escape-html@1.0.2
413 - Always include entity length in ETags for hash length extensions
414 - Generate non-Stats ETags using MD5 only (no longer CRC32)
415 - Improve stat performance by removing hashing
416 - Improve support for JXcore
417 - Remove base64 padding in ETags to shorten
418 - Support "fake" stats objects in environments without fs
419 - Use MD5 instead of MD4 in weak ETags over 1KB
420 * deps: finalhandler@0.4.0
421 - Fix a false-positive when unpiping in Node.js 0.8
422 - Support `statusCode` property on `Error` objects
423 - Use `unpipe` module for unpiping requests
424 - deps: escape-html@1.0.2
425 - deps: on-finished@~2.3.0
426 - perf: enable strict mode
427 - perf: remove argument reassignment
429 - Add weak `ETag` matching support
430 * deps: on-finished@~2.3.0
431 - Add defined behavior for HTTP `CONNECT` requests
432 - Add defined behavior for HTTP `Upgrade` requests
433 - deps: ee-first@1.1.1
434 * deps: path-to-regexp@0.1.6
436 - Allow Node.js HTTP server to set `Date` response header
437 - Fix incorrectly removing `Content-Location` on 304 response
438 - Improve the default redirect response headers
439 - Send appropriate headers on default error response
440 - Use `http-errors` for standard emitted errors
441 - Use `statuses` instead of `http` module for status messages
442 - deps: escape-html@1.0.2
445 - deps: on-finished@~2.3.0
446 - perf: enable strict mode
447 - perf: remove unnecessary array allocations
448 * deps: serve-static@~1.10.0
449 - Add `fallthrough` option
450 - Fix reading options from options prototype
451 - Improve the default redirect response headers
452 - Malformed URLs now `next()` instead of 400
453 - deps: escape-html@1.0.2
455 - perf: enable strict mode
456 - perf: remove argument reassignment
457 * deps: type-is@~1.6.3
458 - deps: mime-types@~2.1.1
459 - perf: reduce try block size
460 - perf: remove bitwise operations
461 * perf: enable strict mode
462 * perf: isolate `app.render` try block
463 * perf: remove argument reassignments in application
464 * perf: remove argument reassignments in request prototype
465 * perf: remove argument reassignments in response prototype
466 * perf: remove argument reassignments in routing
467 * perf: remove argument reassignments in `View`
468 * perf: skip attempting to decode zero length string
469 * perf: use saved reference to `http.STATUS_CODES`
474 * deps: accepts@~1.2.7
475 - deps: mime-types@~2.0.11
476 - deps: negotiator@0.5.3
481 - Improve support for JXcore
482 - Support "fake" stats objects in environments without `fs`
483 * deps: finalhandler@0.3.6
485 - deps: on-finished@~2.2.1
486 * deps: on-finished@~2.2.1
487 - Fix `isFinished(req)` when data buffered
488 * deps: proxy-addr@~1.0.8
489 - deps: ipaddr.js@1.0.1
491 - Fix allowing parameters like `constructor`
497 - deps: on-finished@~2.2.1
498 * deps: serve-static@~1.9.3
500 * deps: type-is@~1.6.2
501 - deps: mime-types@~2.0.11
506 * deps: accepts@~1.2.5
507 - deps: mime-types@~2.0.10
509 - Fix high intensity foreground color for bold
511 * deps: finalhandler@0.3.4
513 * deps: proxy-addr@~1.0.7
514 - deps: ipaddr.js@0.1.9
516 - Fix error when parameter `hasOwnProperty` is present
518 - Throw errors early for invalid `extensions` or `index` options
520 * deps: serve-static@~1.9.2
522 * deps: type-is@~1.6.1
523 - deps: mime-types@~2.0.10
528 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
533 * Fix constructing application with non-configurable prototype properties
534 * Fix `ECONNRESET` errors from `res.sendFile` usage
535 * Fix `req.host` when using "trust proxy" hops count
536 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
537 * Fix wrong `code` on aborted connections from `res.sendFile`
538 * deps: merge-descriptors@1.0.0
543 * Fix `"trust proxy"` setting to inherit when app is mounted
544 * Generate `ETag`s for all request responses
545 - No longer restricted to only responses for `GET` and `HEAD` requests
546 * Use `content-type` to parse `Content-Type` headers
547 * deps: accepts@~1.2.4
548 - Fix preference sorting to be stable for long acceptable lists
549 - deps: mime-types@~2.0.9
550 - deps: negotiator@0.5.1
551 * deps: cookie-signature@1.0.6
553 - Always read the stat size from the file
554 - Fix mutating passed-in `options`
556 * deps: serve-static@~1.9.1
558 * deps: type-is@~1.6.0
559 - fix argument reassignment
560 - fix false-positives in `hasBody` `Transfer-Encoding` check
561 - support wildcard for both type and subtype (`*/*`)
562 - deps: mime-types@~2.0.9
567 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
568 * deps: accepts@~1.2.3
569 - deps: mime-types@~2.0.8
570 * deps: proxy-addr@~1.0.6
571 - deps: ipaddr.js@0.1.8
572 * deps: type-is@~1.5.6
573 - deps: mime-types@~2.0.8
579 - Fix root path disclosure
580 * deps: serve-static@~1.8.1
581 - Fix redirect loop in Node.js 0.11.14
582 - Fix root path disclosure
588 * Add `res.append(field, val)` to append headers
589 * Deprecate leading `:` in `name` for `app.param(name, fn)`
590 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
591 * Deprecate `app.param(fn)`
592 * Fix `OPTIONS` responses to include the `HEAD` method properly
593 * Fix `res.sendFile` not always detecting aborted connection
594 * Match routes iteratively to prevent stack overflows
595 * deps: accepts@~1.2.2
596 - deps: mime-types@~2.0.7
597 - deps: negotiator@0.5.0
602 - deps: on-finished@~2.2.0
603 * deps: serve-static@~1.8.0
609 * Fix crash from error within `OPTIONS` response handler
610 * deps: proxy-addr@~1.0.5
611 - deps: ipaddr.js@0.1.6
616 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
617 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
619 * deps: finalhandler@0.3.3
621 - deps: on-finished@~2.2.0
622 * deps: methods@~1.1.1
623 * deps: on-finished@~2.2.0
624 * deps: serve-static@~1.7.2
625 - Fix potential open redirect when mounted at root
626 * deps: type-is@~1.5.5
627 - deps: mime-types@~2.0.7
632 * Fix exception in `req.fresh`/`req.stale` without response headers
637 * Fix `res.send` double-calling `res.end` for `HEAD` requests
638 * deps: accepts@~1.1.4
639 - deps: mime-types@~2.0.4
640 * deps: type-is@~1.5.4
641 - deps: mime-types@~2.0.4
646 * Fix `res.sendfile` logging standard write errors
651 * Fix `res.sendFile` logging standard write errors
653 * deps: proxy-addr@~1.0.4
654 - deps: ipaddr.js@0.1.5
656 - Fix `arrayLimit` behavior
661 * Correctly invoke async router callback asynchronously
662 * deps: accepts@~1.1.3
663 - deps: mime-types@~2.0.3
664 * deps: type-is@~1.5.3
665 - deps: mime-types@~2.0.3
670 * Fix handling of URLs containing `://` in the path
672 - Fix parsing of mixed objects and values
677 * Add support for `app.set('views', array)`
678 - Views are looked up in sequence in array of directories
679 * Fix `res.send(status)` to mention `res.sendStatus(status)`
680 * Fix handling of invalid empty URLs
681 * Use `content-disposition` module for `res.attachment`/`res.download`
682 - Sends standards-compliant `Content-Disposition` header
683 - Full Unicode support
684 * Use `path.resolve` in view lookup
686 - Implement `DEBUG_FD` env variable support
689 - Improve string performance
690 - Slightly improve speed for weak ETags over 1KB
691 * deps: finalhandler@0.3.2
692 - Terminate in progress response only on error
693 - Use `on-finished` to determine request status
695 - deps: on-finished@~2.1.1
696 * deps: on-finished@~2.1.1
697 - Fix handling of pipelined requests
699 - Fix parsing of mixed implicit and explicit arrays
704 - deps: on-finished@~2.1.1
705 * deps: serve-static@~1.7.1
711 * Fix `res.redirect` body when redirect status specified
712 * deps: accepts@~1.1.2
713 - Fix error when media type has invalid parameter
714 - deps: negotiator@0.4.9
719 * Fix using same param name in array of paths
724 * deps: accepts@~1.1.1
725 - deps: mime-types@~2.0.2
726 - deps: negotiator@0.4.8
727 * deps: serve-static@~1.6.4
728 - Fix redirect loop when index file serving disabled
729 * deps: type-is@~1.5.2
730 - deps: mime-types@~2.0.2
736 * deps: proxy-addr@~1.0.3
737 - Use `forwarded` npm module
740 * deps: serve-static@~1.6.3
747 - Fix issue with object keys starting with numbers truncated
752 * deps: proxy-addr@~1.0.2
753 - Fix a global leak when multiple subnets are trusted
754 - deps: ipaddr.js@0.1.3
759 * Fix regression for empty string `path` in `app.use`
760 * Fix `router.use` to accept array of middleware without path
761 * Improve error message for bad `app.use` arguments
766 * Fix `app.use` to accept array of middleware without path
772 - deps: range-parser@~1.0.2
773 * deps: serve-static@~1.6.2
779 * Add `res.sendStatus`
780 * Invoke callback for sendfile when client aborts
781 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
782 - `err` will be populated with request aborted error
783 * Support IP address host in `req.subdomains`
784 * Use `etag` to generate `ETag` headers
785 * deps: accepts@~1.1.0
786 - update `mime-types`
787 * deps: cookie-signature@1.0.5
789 * deps: finalhandler@0.2.0
790 - Set `X-Content-Type-Options: nosniff` header
793 * deps: media-typer@0.3.0
794 - Throw error when parameter format invalid on parse
796 - Fix issue where first empty value in array is discarded
797 * deps: range-parser@~1.0.2
799 - Add `lastModified` option
800 - Use `etag` to generate `ETag` header
803 * deps: serve-static@~1.6.1
804 - Add `lastModified` option
806 * deps: type-is@~1.5.1
807 - fix `hasbody` to be true for `content-length: 0`
808 - deps: media-typer@0.3.0
809 - deps: mime-types@~2.0.1
811 - Accept valid `Vary` header string as `field`
817 - Fix a path traversal issue when using `root`
818 - Fix malicious path detection for empty string path
819 * deps: serve-static@~1.5.4
826 - Remove unnecessary cloning
833 - Performance improvements
839 - deps: destroy@1.0.3
840 - deps: on-finished@2.1.0
841 * deps: serve-static@~1.5.3
849 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
850 * deps: serve-static@~1.5.2
856 * deps: parseurl@~1.3.0
858 * deps: serve-static@~1.5.1
859 - Fix parsing of weird `req.originalUrl` values
860 - deps: parseurl@~1.3.0
861 - deps: utils-merge@1.0.0
867 - Fix parsing array of objects
872 * fix incorrect deprecation warnings on `res.download`
874 - Accept urlencoded square brackets
875 - Accept empty values in implicit array notation
881 - accepts a file system path instead of a URL
882 - requires an absolute path or `root` option specified
883 * deprecate `res.sendfile` -- use `res.sendFile` instead
884 * support mounted app as any argument to `app.use()`
887 - Limits array length to 20
888 - Limits object depth to 5
889 - Limits parameters to 1,000
891 - Add `extensions` option
892 * deps: serve-static@~1.5.0
893 - Add `extensions` option
899 * fix `res.sendfile` regression for serving directory index files
901 - Fix incorrect 403 on Windows and Node.js 0.11
902 - Fix serving index files without root dir
903 * deps: serve-static@~1.4.4
910 - Fix incorrect 403 on Windows and Node.js 0.11
911 * deps: serve-static@~1.4.3
912 - Fix incorrect 403 on Windows and Node.js 0.11
919 - Work-around v8 generating empty stack traces
922 * deps: serve-static@~1.4.2
928 - Fix exception when global `Error.stackTraceLimit` is too low
931 * deps: serve-static@~1.4.1
936 * fix `req.protocol` for proxy-direct connections
937 * configurable query parser with `app.set('query parser', parser)`
938 - `app.set('query parser', 'extended')` parse with "qs" module
939 - `app.set('query parser', 'simple')` parse with "querystring" core module
940 - `app.set('query parser', false)` disable query string parsing
941 - `app.set('query parser', true)` enable simple parsing
942 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
943 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
944 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
947 - Add `TRACE_DEPRECATION` environment variable
948 - Remove non-standard grey color from color output
949 - Support `--no-deprecation` argument
950 - Support `--trace-deprecation` argument
951 * deps: finalhandler@0.1.0
952 - Respond after request fully read
954 * deps: parseurl@~1.2.0
955 - Cache URLs based on original value
956 - Remove no-longer-needed URL mis-parse work-around
957 - Simplify the "fast-path" `RegExp`
959 - Add `dotfiles` option
960 - Cap `maxAge` value to 1 year
963 * deps: serve-static@~1.4.0
964 - deps: parseurl@~1.2.0
966 * perf: prevent multiple `Buffer` creation in `res.send`
971 * fix `subapp.mountpath` regression for `app.use(subapp)`
976 * accept multiple callbacks to `app.use()`
977 * add explicit "Rosetta Flash JSONP abuse" protection
978 - previous versions are not vulnerable; this is just explicit protection
979 * catch errors in multiple `req.param(name, fn)` handlers
980 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
981 * fix `res.send(status, num)` to send `num` as json (not error)
982 * remove unnecessary escaping when `res.jsonp` returns JSON response
983 * support non-string `path` in `app.use(path, fn)`
984 - supports array of paths
986 * router: fix optimization on router exit
987 * router: refactor location of `try` blocks
988 * router: speed up standard `app.use(fn)`
990 - Add support for multiple wildcards in namespaces
991 * deps: finalhandler@0.0.3
993 * deps: methods@1.1.0
995 * deps: parseurl@~1.1.3
996 - faster parsing of href-only URLs
997 * deps: path-to-regexp@0.1.3
1000 * deps: serve-static@~1.3.2
1001 - deps: parseurl@~1.1.3
1003 * perf: fix arguments reassign deopt in some `res` methods
1008 * fix routing regression when altering `req.method`
1013 * add deprecation message to non-plural `req.accepts*`
1014 * add deprecation message to `res.send(body, status)`
1015 * add deprecation message to `res.vary()`
1016 * add `headers` option to `res.sendfile`
1017 - use to set headers on successful file transfer
1018 * add `mergeParams` option to `Router`
1019 - merges `req.params` from parent routes
1020 * add `req.hostname` -- correct name for what `req.host` returns
1021 * deprecate things with `depd` module
1022 * deprecate `req.host` -- use `req.hostname` instead
1023 * fix behavior when handling request without routes
1024 * fix handling when `route.all` is only route
1025 * invoke `router.param()` only when route matches
1026 * restore `req.params` after invoking router
1027 * use `finalhandler` for final response handling
1028 * use `media-typer` to alter content-type charset
1029 * deps: accepts@~1.0.7
1031 - Accept string for `maxage` (converted by `ms`)
1032 - Include link in default redirect response
1033 * deps: serve-static@~1.3.0
1034 - Accept string for `maxAge` (converted by `ms`)
1035 - Add `setHeaders` option
1036 - Include HTML link in redirect response
1038 * deps: type-is@~1.3.2
1043 * deps: cookie-signature@1.0.4
1044 - fix for timing attacks
1049 * fix `res.attachment` Unicode filenames in Safari
1050 * fix "trim prefix" debug message in `express:router`
1051 * deps: accepts@~1.0.5
1052 * deps: buffer-crc32@0.2.3
1057 * fix persistence of modified `req.params[name]` from `app.param()`
1058 * deps: accepts@1.0.3
1059 - deps: negotiator@0.4.6
1062 - Do not throw un-catchable error on file open race condition
1063 - Use `escape-html` for HTML escaping
1065 - deps: finished@1.2.2
1067 * deps: serve-static@1.2.3
1068 - Do not throw un-catchable error on file open race condition
1074 * fix catching errors from top-level handlers
1075 * use `vary` module for `res.vary`
1077 * deps: proxy-addr@1.0.1
1079 - fix "event emitter leak" warnings
1081 - deps: finished@1.2.1
1082 * deps: serve-static@1.2.2
1083 - fix "event emitter leak" warnings
1085 * deps: type-is@1.2.1
1090 * deps: methods@1.0.1
1092 - Send `max-age` in `Cache-Control` in correct format
1093 * deps: serve-static@1.2.1
1094 - use `escape-html` for escaping
1100 * custom etag control with `app.set('etag', val)`
1101 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1102 - `app.set('etag', 'weak')` weak tag
1103 - `app.set('etag', 'strong')` strong etag
1104 - `app.set('etag', false)` turn off
1105 - `app.set('etag', true)` standard etag
1106 * mark `res.send` ETag as weak and reduce collisions
1107 * update accepts to 1.0.2
1108 - Fix interpretation when header not in request
1109 * update send to 0.4.0
1110 - Calculate ETag with md5 for reduced collisions
1111 - Ignore stream errors after request ends
1113 * update serve-static to 1.2.0
1114 - Calculate ETag with md5 for reduced collisions
1115 - Ignore stream errors after request ends
1121 * fix handling of errors from `router.param()` callbacks
1126 * revert "fix behavior of multiple `app.VERB` for the same path"
1127 - this caused a regression in the order of route execution
1132 * add `req.baseUrl` to access the path stripped from `req.url` in routes
1133 * fix behavior of multiple `app.VERB` for the same path
1134 * fix issue routing requests among sub routers
1135 * invoke `router.param()` only when necessary instead of every match
1136 * proper proxy trust with `app.set('trust proxy', trust)`
1137 - `app.set('trust proxy', 1)` trust first hop
1138 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1139 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1140 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1141 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1142 - `app.set('trust proxy', false)` turn off
1143 - `app.set('trust proxy', true)` trust everything
1144 * set proper `charset` in `Content-Type` for `res.send`
1145 * update type-is to 1.2.0
1146 - support suffix matching
1151 * deprecate `app.del()` -- use `app.delete()` instead
1152 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1153 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1154 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1155 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1156 * fix `req.next` when inside router instance
1157 * include `ETag` header in `HEAD` requests
1158 * keep previous `Content-Type` for `res.jsonp`
1159 * support PURGE method
1161 - add `router.purge`
1162 - include PURGE in `app.all`
1163 * update debug to 0.8.0
1164 - add `enable()` method
1165 - change from stderr to stdout
1166 * update methods to 1.0.0
1172 * fix `req.host` for IPv6 literals
1173 * fix `res.jsonp` error if callback param is object
1178 * fix package.json to reflect supported node version
1183 * pass options from `res.sendfile` to `send`
1184 * preserve casing of headers in `res.header` and `res.set`
1185 * support unicode file names in `res.attachment` and `res.download`
1186 * update accepts to 1.0.1
1187 - deps: negotiator@0.4.0
1188 * update cookie to 0.1.2
1189 - Fix for maxAge == 0
1190 - made compat with expires field
1191 * update send to 0.3.0
1192 - Accept API options in options object
1193 - Coerce option types
1194 - Control whether to generate etags
1195 - Default directory access to 403 when index disabled
1196 - Fix sending files with dots without root set
1197 - Include file path in etag
1198 - Make "Can't set headers after they are sent." catchable
1199 - Send full entity-body for multi range requests
1200 - Set etags to "weak"
1201 - Support "If-Range" header
1202 - Support multiple index paths
1204 * update serve-static to 1.1.0
1205 - Accept options directly to `send` module
1206 - Resolve relative paths at middleware setup
1207 - Use parseurl to parse the URL from request
1209 * update type-is to 1.1.0
1210 - add non-array values support
1211 - add `multipart` as a shorthand
1218 - connect and connect's patches except for charset handling
1219 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1220 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1221 - `app.configure` - use logic in your own app code
1222 - `app.router` - is removed
1223 - `req.auth` - use `basic-auth` instead
1224 - `req.accepted*` - use `req.accepts*()` instead
1225 - `res.location` - relative URL resolution is removed
1226 - `res.charset` - include the charset in the content type when using `res.set()`
1227 - all bundled middleware except `static`
1229 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1230 - `json spaces` no longer enabled by default in development
1231 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1232 - `req.params` is now an object instead of an array
1233 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1234 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1236 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1237 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1238 - [path-to-regexp](https://github.com/component/path-to-regexp)
1240 - `app.router()` - returns the app Router instance
1241 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1242 - Router & Route - public API
1247 * deps: connect@2.30.2
1248 - deps: body-parser@~1.13.3
1249 - deps: compression@~1.5.2
1250 - deps: errorhandler@~1.4.2
1251 - deps: method-override@~2.3.5
1252 - deps: serve-index@~1.7.2
1253 - deps: type-is@~1.6.6
1254 - deps: vhost@~3.0.1
1256 - Fix setting empty header from empty `field`
1257 - perf: enable strict mode
1258 - perf: remove argument reassignments
1263 * deps: basic-auth@~1.0.3
1264 * deps: connect@2.30.1
1265 - deps: body-parser@~1.13.2
1266 - deps: compression@~1.5.1
1267 - deps: errorhandler@~1.4.1
1268 - deps: morgan@~1.6.1
1271 - deps: serve-index@~1.7.1
1272 - deps: type-is@~1.6.4
1277 * deps: basic-auth@1.0.2
1278 - perf: enable strict mode
1279 - perf: hoist regular expression
1280 - perf: parse with regular expressions
1281 - perf: remove argument reassignment
1282 * deps: connect@2.30.0
1283 - deps: body-parser@~1.13.1
1285 - deps: compression@~1.5.0
1286 - deps: cookie@0.1.3
1287 - deps: cookie-parser@~1.3.5
1288 - deps: csurf@~1.8.3
1289 - deps: errorhandler@~1.4.0
1290 - deps: express-session@~1.11.3
1291 - deps: finalhandler@0.4.0
1293 - deps: morgan@~1.6.0
1294 - deps: serve-favicon@~2.3.0
1295 - deps: serve-index@~1.7.0
1296 - deps: serve-static@~1.10.0
1297 - deps: type-is@~1.6.3
1298 * deps: cookie@0.1.3
1299 - perf: deduce the scope of try-catch deopt
1300 - perf: remove argument reassignments
1301 * deps: escape-html@1.0.2
1303 - Always include entity length in ETags for hash length extensions
1304 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1305 - Improve stat performance by removing hashing
1306 - Improve support for JXcore
1307 - Remove base64 padding in ETags to shorten
1308 - Support "fake" stats objects in environments without fs
1309 - Use MD5 instead of MD4 in weak ETags over 1KB
1311 - Add weak `ETag` matching support
1312 * deps: mkdirp@0.5.1
1313 - Work in global strict mode
1315 - Allow Node.js HTTP server to set `Date` response header
1316 - Fix incorrectly removing `Content-Location` on 304 response
1317 - Improve the default redirect response headers
1318 - Send appropriate headers on default error response
1319 - Use `http-errors` for standard emitted errors
1320 - Use `statuses` instead of `http` module for status messages
1321 - deps: escape-html@1.0.2
1324 - deps: on-finished@~2.3.0
1325 - perf: enable strict mode
1326 - perf: remove unnecessary array allocations
1331 * deps: connect@2.29.2
1332 - deps: body-parser@~1.12.4
1333 - deps: compression@~1.4.4
1334 - deps: connect-timeout@~1.6.2
1335 - deps: debug@~2.2.0
1337 - deps: errorhandler@~1.3.6
1338 - deps: finalhandler@0.3.6
1339 - deps: method-override@~2.3.3
1340 - deps: morgan@~1.5.3
1342 - deps: response-time@~2.3.1
1343 - deps: serve-favicon@~2.2.1
1344 - deps: serve-index@~1.6.4
1345 - deps: serve-static@~1.9.3
1346 - deps: type-is@~1.6.2
1347 * deps: debug@~2.2.0
1350 * deps: proxy-addr@~1.0.8
1351 - deps: ipaddr.js@1.0.1
1353 - deps: debug@~2.2.0
1357 - deps: on-finished@~2.2.1
1362 * deps: connect@2.29.1
1363 - deps: body-parser@~1.12.2
1364 - deps: compression@~1.4.3
1365 - deps: connect-timeout@~1.6.1
1366 - deps: debug@~2.1.3
1367 - deps: errorhandler@~1.3.5
1368 - deps: express-session@~1.10.4
1369 - deps: finalhandler@0.3.4
1370 - deps: method-override@~2.3.2
1371 - deps: morgan@~1.5.2
1373 - deps: serve-index@~1.6.3
1374 - deps: serve-static@~1.9.2
1375 - deps: type-is@~1.6.1
1376 * deps: debug@~2.1.3
1377 - Fix high intensity foreground color for bold
1379 * deps: merge-descriptors@1.0.0
1380 * deps: proxy-addr@~1.0.7
1381 - deps: ipaddr.js@0.1.9
1383 - Throw errors early for invalid `extensions` or `index` options
1384 - deps: debug@~2.1.3
1389 * Fix `req.host` when using "trust proxy" hops count
1390 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1395 * Fix `"trust proxy"` setting to inherit when app is mounted
1396 * Generate `ETag`s for all request responses
1397 - No longer restricted to only responses for `GET` and `HEAD` requests
1398 * Use `content-type` to parse `Content-Type` headers
1399 * deps: connect@2.29.0
1400 - Use `content-type` to parse `Content-Type` headers
1401 - deps: body-parser@~1.12.0
1402 - deps: compression@~1.4.1
1403 - deps: connect-timeout@~1.6.0
1404 - deps: cookie-parser@~1.3.4
1405 - deps: cookie-signature@1.0.6
1406 - deps: csurf@~1.7.0
1407 - deps: errorhandler@~1.3.4
1408 - deps: express-session@~1.10.3
1409 - deps: http-errors@~1.3.1
1410 - deps: response-time@~2.3.0
1411 - deps: serve-index@~1.6.2
1412 - deps: serve-static@~1.9.1
1413 - deps: type-is@~1.6.0
1414 * deps: cookie-signature@1.0.6
1416 - Always read the stat size from the file
1417 - Fix mutating passed-in `options`
1423 * deps: connect@2.28.3
1424 - deps: compression@~1.3.1
1425 - deps: csurf@~1.6.6
1426 - deps: errorhandler@~1.3.3
1427 - deps: express-session@~1.10.2
1428 - deps: serve-index@~1.6.1
1429 - deps: type-is@~1.5.6
1430 * deps: proxy-addr@~1.0.6
1431 - deps: ipaddr.js@0.1.8
1436 * deps: connect@2.28.2
1437 - deps: body-parser@~1.10.2
1438 - deps: serve-static@~1.8.1
1440 - Fix root path disclosure
1445 * Fix `OPTIONS` responses to include the `HEAD` method property
1446 * Use `readline` for prompt in `express(1)`
1447 * deps: commander@2.6.0
1448 * deps: connect@2.28.1
1449 - deps: body-parser@~1.10.1
1450 - deps: compression@~1.3.0
1451 - deps: connect-timeout@~1.5.0
1452 - deps: csurf@~1.6.4
1453 - deps: debug@~2.1.1
1454 - deps: errorhandler@~1.3.2
1455 - deps: express-session@~1.10.1
1456 - deps: finalhandler@0.3.3
1457 - deps: method-override@~2.3.1
1458 - deps: morgan@~1.5.1
1459 - deps: serve-favicon@~2.2.0
1460 - deps: serve-index@~1.6.0
1461 - deps: serve-static@~1.8.0
1462 - deps: type-is@~1.5.5
1463 * deps: debug@~2.1.1
1464 * deps: methods@~1.1.1
1465 * deps: proxy-addr@~1.0.5
1466 - deps: ipaddr.js@0.1.6
1468 - deps: debug@~2.1.1
1471 - deps: on-finished@~2.2.0
1476 * Fix exception in `req.fresh`/`req.stale` without response headers
1481 * deps: connect@2.27.6
1482 - deps: compression@~1.2.2
1483 - deps: express-session@~1.9.3
1484 - deps: http-errors@~1.2.8
1485 - deps: serve-index@~1.5.3
1486 - deps: type-is@~1.5.4
1491 * deps: connect@2.27.4
1492 - deps: body-parser@~1.9.3
1493 - deps: compression@~1.2.1
1494 - deps: errorhandler@~1.2.3
1495 - deps: express-session@~1.9.2
1497 - deps: serve-favicon@~2.1.7
1498 - deps: serve-static@~1.5.1
1499 - deps: type-is@~1.5.3
1501 * deps: proxy-addr@~1.0.4
1502 - deps: ipaddr.js@0.1.5
1507 * deps: connect@2.27.3
1508 - Correctly invoke async callback asynchronously
1509 - deps: csurf@~1.6.3
1514 * deps: connect@2.27.2
1515 - Fix handling of URLs containing `://` in the path
1516 - deps: body-parser@~1.9.2
1522 * Fix internal `utils.merge` deprecation warnings
1523 * deps: connect@2.27.1
1524 - deps: body-parser@~1.9.1
1525 - deps: express-session@~1.9.1
1526 - deps: finalhandler@0.3.2
1527 - deps: morgan@~1.4.1
1529 - deps: serve-static@~1.7.1
1531 - deps: on-finished@~2.1.1
1536 * Use `content-disposition` module for `res.attachment`/`res.download`
1537 - Sends standards-compliant `Content-Disposition` header
1538 - Full Unicode support
1539 * Use `etag` module to generate `ETag` headers
1540 * deps: connect@2.27.0
1541 - Use `http-errors` module for creating errors
1542 - Use `utils-merge` module for merging objects
1543 - deps: body-parser@~1.9.0
1544 - deps: compression@~1.2.0
1545 - deps: connect-timeout@~1.4.0
1546 - deps: debug@~2.1.0
1548 - deps: express-session@~1.9.0
1549 - deps: finalhandler@0.3.1
1550 - deps: method-override@~2.3.0
1551 - deps: morgan@~1.4.0
1552 - deps: response-time@~2.2.0
1553 - deps: serve-favicon@~2.1.6
1554 - deps: serve-index@~1.5.0
1555 - deps: serve-static@~1.7.0
1556 * deps: debug@~2.1.0
1557 - Implement `DEBUG_FD` env variable support
1560 - deps: debug@~2.1.0
1567 * deps: connect@2.26.6
1568 - deps: compression@~1.1.2
1569 - deps: csurf@~1.6.2
1570 - deps: errorhandler@~1.2.2
1575 * deps: connect@2.26.5
1576 - Fix accepting non-object arguments to `logger`
1577 - deps: serve-static@~1.6.4
1582 * deps: connect@2.26.4
1583 - deps: morgan@~1.3.2
1584 - deps: type-is@~1.5.2
1589 * deps: connect@2.26.3
1590 - deps: body-parser@~1.8.4
1591 - deps: serve-favicon@~2.1.5
1592 - deps: serve-static@~1.6.3
1593 * deps: proxy-addr@~1.0.3
1594 - Use `forwarded` npm module
1601 * deps: connect@2.26.2
1602 - deps: body-parser@~1.8.3
1608 * deps: proxy-addr@~1.0.2
1609 - Fix a global leak when multiple subnets are trusted
1610 - deps: ipaddr.js@0.1.3
1615 * Use `crc` instead of `buffer-crc32` for speed
1616 * deps: connect@2.26.1
1617 - deps: body-parser@~1.8.2
1619 - deps: express-session@~1.8.2
1620 - deps: morgan@~1.3.1
1621 - deps: serve-favicon@~2.1.3
1622 - deps: serve-static@~1.6.2
1627 - deps: range-parser@~1.0.2
1632 * Fix error in `req.subdomains` on empty host
1637 * Support `X-Forwarded-Host` in `req.subdomains`
1638 * Support IP address host in `req.subdomains`
1639 * deps: connect@2.26.0
1640 - deps: body-parser@~1.8.1
1641 - deps: compression@~1.1.0
1642 - deps: connect-timeout@~1.3.0
1643 - deps: cookie-parser@~1.3.3
1644 - deps: cookie-signature@1.0.5
1645 - deps: csurf@~1.6.1
1646 - deps: debug@~2.0.0
1647 - deps: errorhandler@~1.2.0
1648 - deps: express-session@~1.8.1
1649 - deps: finalhandler@0.2.0
1651 - deps: media-typer@0.3.0
1652 - deps: method-override@~2.2.0
1653 - deps: morgan@~1.3.0
1655 - deps: serve-favicon@~2.1.3
1656 - deps: serve-index@~1.2.1
1657 - deps: serve-static@~1.6.1
1658 - deps: type-is@~1.5.1
1659 - deps: vhost@~3.0.0
1660 * deps: cookie-signature@1.0.5
1661 * deps: debug@~2.0.0
1663 * deps: media-typer@0.3.0
1664 - Throw error when parameter format invalid on parse
1665 * deps: range-parser@~1.0.2
1667 - Add `lastModified` option
1668 - Use `etag` to generate `ETag` header
1669 - deps: debug@~2.0.0
1672 - Accept valid `Vary` header string as `field`
1674 3.16.10 / 2014-09-04
1675 ====================
1677 * deps: connect@2.25.10
1678 - deps: serve-static@~1.5.4
1680 - Fix a path traversal issue when using `root`
1681 - Fix malicious path detection for empty string path
1686 * deps: connect@2.25.9
1687 - deps: body-parser@~1.6.7
1693 * deps: connect@2.25.8
1694 - deps: body-parser@~1.6.6
1695 - deps: csurf@~1.4.1
1701 * deps: connect@2.25.7
1702 - deps: body-parser@~1.6.5
1703 - deps: express-session@~1.7.6
1704 - deps: morgan@~1.2.3
1705 - deps: serve-static@~1.5.3
1707 - deps: destroy@1.0.3
1708 - deps: on-finished@2.1.0
1713 * deps: connect@2.25.6
1714 - deps: body-parser@~1.6.4
1716 - deps: serve-static@~1.5.2
1718 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1723 * deps: connect@2.25.5
1724 - Fix backwards compatibility in `logger`
1729 * Fix original URL parsing in `res.location`
1730 * deps: connect@2.25.4
1731 - Fix `query` middleware breaking with argument
1732 - deps: body-parser@~1.6.3
1733 - deps: compression@~1.0.11
1734 - deps: connect-timeout@~1.2.2
1735 - deps: express-session@~1.7.5
1736 - deps: method-override@~2.1.3
1737 - deps: on-headers@~1.0.0
1738 - deps: parseurl@~1.3.0
1740 - deps: response-time@~2.0.1
1741 - deps: serve-index@~1.1.6
1742 - deps: serve-static@~1.5.1
1743 * deps: parseurl@~1.3.0
1748 * deps: connect@2.25.3
1749 - deps: multiparty@3.3.2
1754 * deps: connect@2.25.2
1755 - deps: body-parser@~1.6.2
1761 * deps: connect@2.25.1
1762 - deps: body-parser@~1.6.1
1768 * deps: connect@2.25.0
1769 - deps: body-parser@~1.6.0
1770 - deps: compression@~1.0.10
1771 - deps: csurf@~1.4.0
1772 - deps: express-session@~1.7.4
1774 - deps: serve-static@~1.5.0
1776 - Add `extensions` option
1781 * fix `res.sendfile` regression for serving directory index files
1782 * deps: connect@2.24.3
1783 - deps: serve-index@~1.1.5
1784 - deps: serve-static@~1.4.4
1786 - Fix incorrect 403 on Windows and Node.js 0.11
1787 - Fix serving index files without root dir
1792 * deps: connect@2.24.2
1793 - deps: body-parser@~1.5.2
1795 - deps: express-session@~1.7.2
1796 - deps: morgan@~1.2.2
1797 - deps: serve-static@~1.4.2
1799 - Work-around v8 generating empty stack traces
1806 * deps: connect@2.24.1
1807 - deps: body-parser@~1.5.1
1809 - deps: express-session@~1.7.1
1810 - deps: morgan@~1.2.1
1811 - deps: serve-index@~1.1.4
1812 - deps: serve-static@~1.4.1
1814 - Fix exception when global `Error.stackTraceLimit` is too low
1821 * Fix `req.protocol` for proxy-direct connections
1822 * Pass options from `res.sendfile` to `send`
1823 * deps: connect@2.24.0
1824 - deps: body-parser@~1.5.0
1825 - deps: compression@~1.0.9
1826 - deps: connect-timeout@~1.2.1
1829 - deps: express-session@~1.7.0
1830 - deps: finalhandler@0.1.0
1831 - deps: method-override@~2.1.2
1832 - deps: morgan@~1.2.0
1833 - deps: multiparty@3.3.1
1834 - deps: parseurl@~1.2.0
1835 - deps: serve-static@~1.4.0
1838 - Add `TRACE_DEPRECATION` environment variable
1839 - Remove non-standard grey color from color output
1840 - Support `--no-deprecation` argument
1841 - Support `--trace-deprecation` argument
1842 * deps: parseurl@~1.2.0
1843 - Cache URLs based on original value
1844 - Remove no-longer-needed URL mis-parse work-around
1845 - Simplify the "fast-path" `RegExp`
1847 - Add `dotfiles` option
1848 - Cap `maxAge` value to 1 year
1855 * add explicit "Rosetta Flash JSONP abuse" protection
1856 - previous versions are not vulnerable; this is just explicit protection
1857 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1858 * fix `res.send(status, num)` to send `num` as json (not error)
1859 * remove unnecessary escaping when `res.jsonp` returns JSON response
1860 * deps: basic-auth@1.0.0
1861 - support empty password
1862 - support empty username
1863 * deps: connect@2.23.0
1865 - deps: express-session@~1.6.4
1866 - deps: method-override@~2.1.0
1867 - deps: parseurl@~1.1.3
1868 - deps: serve-static@~1.3.1
1870 - Add support for multiple wildcards in namespaces
1871 * deps: methods@1.1.0
1873 * deps: parseurl@~1.1.3
1874 - faster parsing of href-only URLs
1879 * add deprecation message to `app.configure`
1880 * add deprecation message to `req.auth`
1881 * use `basic-auth` to parse `Authorization` header
1882 * deps: connect@2.22.0
1883 - deps: csurf@~1.3.0
1884 - deps: express-session@~1.6.1
1885 - deps: multiparty@3.3.0
1886 - deps: serve-static@~1.3.0
1888 - Accept string for `maxage` (converted by `ms`)
1889 - Include link in default redirect response
1894 * deps: connect@2.21.1
1895 - deps: cookie-parser@1.3.2
1896 - deps: cookie-signature@1.0.4
1897 - deps: express-session@~1.5.2
1898 - deps: type-is@~1.3.2
1899 * deps: cookie-signature@1.0.4
1900 - fix for timing attacks
1905 * use `media-typer` to alter content-type charset
1906 * deps: connect@2.21.0
1907 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1908 - deprecate `connect.createServer()` -- use `connect()` instead
1909 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1910 - deps: compression@~1.0.8
1911 - deps: errorhandler@~1.1.1
1912 - deps: express-session@~1.5.0
1913 - deps: serve-index@~1.1.3
1918 * deprecate things with `depd` module
1919 * deps: buffer-crc32@0.2.3
1920 * deps: connect@2.20.2
1921 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1922 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1923 - deprecate things with `depd` module
1924 - use `finalhandler` for final response handling
1925 - use `media-typer` to parse `content-type` for charset
1926 - deps: body-parser@1.4.3
1927 - deps: connect-timeout@1.1.1
1928 - deps: cookie-parser@1.3.1
1930 - deps: errorhandler@1.1.0
1931 - deps: express-session@1.4.0
1932 - deps: multiparty@3.2.9
1933 - deps: serve-index@1.1.2
1934 - deps: type-is@1.3.1
1940 * deps: connect@2.19.6
1941 - deps: body-parser@1.3.1
1942 - deps: compression@1.0.7
1944 - deps: serve-index@1.1.1
1945 - deps: serve-static@1.2.3
1948 - Do not throw un-catchable error on file open race condition
1949 - Use `escape-html` for HTML escaping
1951 - deps: finished@1.2.2
1957 * deps: connect@2.19.5
1958 - fix "event emitter leak" warnings
1961 - deps: serve-static@1.2.2
1962 - deps: type-is@1.2.1
1965 - fix "event emitter leak" warnings
1966 - deps: finished@1.2.1
1972 * use `vary` module for `res.vary`
1973 * deps: connect@2.19.4
1974 - deps: errorhandler@1.0.2
1975 - deps: method-override@2.0.2
1976 - deps: serve-favicon@2.0.1
1982 * deps: connect@2.19.3
1983 - deps: compression@1.0.6
1988 * deps: connect@2.19.2
1989 - deps: compression@1.0.4
1990 * deps: proxy-addr@1.0.1
1995 * deps: connect@2.19.1
1996 - deprecate `methodOverride()` -- use `method-override` npm module instead
1997 - deps: body-parser@1.3.0
1998 - deps: method-override@2.0.1
1999 - deps: multiparty@3.2.8
2000 - deps: response-time@2.0.0
2001 - deps: serve-static@1.2.1
2002 * deps: methods@1.0.1
2004 - Send `max-age` in `Cache-Control` in correct format
2009 * custom etag control with `app.set('etag', val)`
2010 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
2011 - `app.set('etag', 'weak')` weak tag
2012 - `app.set('etag', 'strong')` strong etag
2013 - `app.set('etag', false)` turn off
2014 - `app.set('etag', true)` standard etag
2015 * Include ETag in HEAD requests
2016 * mark `res.send` ETag as weak and reduce collisions
2017 * update connect to 2.18.0
2018 - deps: compression@1.0.3
2019 - deps: serve-index@1.1.0
2020 - deps: serve-static@1.2.0
2021 * update send to 0.4.0
2022 - Calculate ETag with md5 for reduced collisions
2023 - Ignore stream errors after request ends
2029 * update connect to 2.17.3
2030 - deps: body-parser@1.2.2
2031 - deps: express-session@1.2.1
2032 - deps: method-override@1.0.2
2037 * keep previous `Content-Type` for `res.jsonp`
2038 * set proper `charset` in `Content-Type` for `res.send`
2039 * update connect to 2.17.1
2040 - fix `res.charset` appending charset when `content-type` has one
2041 - deps: express-session@1.2.0
2042 - deps: morgan@1.1.1
2043 - deps: serve-index@1.0.3
2048 * proper proxy trust with `app.set('trust proxy', trust)`
2049 - `app.set('trust proxy', 1)` trust first hop
2050 - `app.set('trust proxy', 'loopback')` trust loopback addresses
2051 - `app.set('trust proxy', '10.0.0.1')` trust single IP
2052 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
2053 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
2054 - `app.set('trust proxy', false)` turn off
2055 - `app.set('trust proxy', true)` trust everything
2056 * update connect to 2.16.2
2057 - deprecate `res.headerSent` -- use `res.headersSent`
2058 - deprecate `res.on("header")` -- use on-headers module instead
2059 - fix edge-case in `res.appendHeader` that would append in wrong order
2060 - json: use body-parser
2061 - urlencoded: use body-parser
2063 - dep: cookie-parser@1.1.0
2065 - dep: express-session@1.1.0
2066 - dep: method-override@1.0.1
2071 * deprecate `app.del()` -- use `app.delete()` instead
2072 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
2073 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
2074 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
2075 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
2076 * support PURGE method
2078 - add `router.purge`
2079 - include PURGE in `app.all`
2080 * update connect to 2.15.0
2081 * Add `res.appendHeader`
2082 * Call error stack even when response has been sent
2083 * Patch `res.headerSent` to return Boolean
2084 * Patch `res.headersSent` for node.js 0.8
2085 * Prevent default 404 handler after response sent
2086 * dep: compression@1.0.2
2087 * dep: connect-timeout@1.1.0
2089 * dep: errorhandler@1.0.1
2090 * dep: express-session@1.0.4
2092 * dep: serve-favicon@2.0.0
2093 * dep: serve-index@1.0.2
2094 * update debug to 0.8.0
2095 * add `enable()` method
2096 * change from stderr to stdout
2097 * update methods to 1.0.0
2099 * update mkdirp to 0.5.0
2104 * fix `req.host` for IPv6 literals
2105 * fix `res.jsonp` error if callback param is object
2110 * update connect to 2.14.5
2111 * update cookie to 0.1.2
2112 * update mkdirp to 0.4.0
2113 * update send to 0.3.0
2118 * pin less-middleware in generated app
2128 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
2129 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
2130 * throw 400 in case of malformed paths @rlidwka
2140 * update connect (raw-body)
2146 * res.location: remove leading ./ #1802 @kapouer
2147 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2148 * res.send: always send ETag when content-length > 0
2149 * router: add Router.all() method
2157 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2168 * downgrade commander
2175 * jsonp: check if callback is a function
2176 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2177 * res.format: now includes charset @1747 (@sorribas)
2178 * res.links: allow multiple calls @1746 (@sorribas)
2183 * add res.vary(). Closes #1682
2199 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2200 * add: req.accepts take an argument list
2205 * update send and connect
2217 * remove .version export
2228 * add support for multiple X-Forwarded-Proto values. Closes #1646
2229 * change: remove charset from json responses. Closes #1631
2230 * change: return actual booleans from req.accept* functions
2231 * fix jsonp callback array throw
2242 * update node-cookie
2243 * add: throw a meaningful error when there is no default engine
2244 * change generation of ETags with res.send() to GET requests only. Closes #1619
2249 * fix `req.subdomains` when no Host is present
2250 * fix `req.host` when no Host is present, return undefined
2255 * update connect / qs
2265 * add app.VERB() paths array deprecation warning
2267 * update qs and remove all ~ semver crap
2268 * fix: accept number as value of Signed Cookie
2273 * add "view" constructor setting to override view behaviour
2274 * add req.acceptsEncoding(name)
2275 * add req.acceptedEncodings
2276 * revert cookie signature change causing session race conditions
2277 * fix sorting of Accept values of the same quality
2282 * add support for custom Accept parameters
2283 * update cookie-signature
2288 * add X-Forwarded-Host support to `req.host`
2289 * fix relative redirects
2291 * update buffer-crc32
2292 * remove legacy app.configure() method from app template.
2297 * add support for leading "." in "view engine" setting
2298 * add array support to `res.set()`
2299 * add node 0.8.x to travis.yml
2300 * add "subdomain offset" setting for tweaking `req.subdomains`
2301 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2302 * use app.get() for x-powered-by setting for inheritance
2303 * fix colons in passwords for `req.auth`
2308 * add http verb methods to Router
2310 * fix mangling of the `res.cookie()` options object
2311 * fix jsonp whitespace escape. Closes #1132
2316 * add throwing when a non-function is passed to a route
2317 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2318 * revert "add 'etag' option"
2323 * add 'etag' option to disable `res.send()` Etags
2324 * add escaping of urls in text/plain in `res.redirect()`
2325 for old browsers interpreting as html
2326 * change crc32 module for a more liberal license
2333 * update cookie module
2334 * fix cookie max-age
2339 * add OPTIONS to cors example. Closes #1398
2340 * fix route chaining regression. Closes #1397
2351 * add "Basic" check to req.auth
2352 * add `req.auth` test coverage
2353 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2354 * add backwards compat for `res.redirect()` status. Closes #1336
2355 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2357 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2358 * remove non-primitive string support for `res.send()`
2359 * fix view-locals example. Closes #1370
2360 * fix route-separation example
2362 3.0.0rc5 / 2012-09-18
2366 * add redis search example
2367 * add static-files example
2368 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2369 * add "application/octet-stream" redirect Accept test case. Closes #1317
2371 3.0.0rc4 / 2012-08-30
2374 * add `res.jsonp()`. Closes #1307
2375 * add "verbose errors" option to error-pages example
2376 * add another route example to express(1) so people are not so confused
2377 * add redis online user activity tracking example
2378 * update connect dep
2379 * fix etag quoting. Closes #1310
2380 * fix error-pages 404 status
2381 * fix jsonp callback char restrictions
2382 * remove old OPTIONS default response
2384 3.0.0rc3 / 2012-08-13
2387 * update connect dep
2388 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2389 * fix `res.render()` clobbering of "locals"
2391 3.0.0rc2 / 2012-08-03
2395 * update connect dep
2396 * deprecate `.createServer()` & remove old stale examples
2397 * fix: escape `res.redirect()` link
2400 3.0.0rc1 / 2012-07-24
2403 * add more examples to view-locals
2404 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2406 * update connect dep
2408 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2409 * fix `res.sendfile()` socket error handling regression
2411 3.0.0beta7 / 2012-07-16
2414 * update connect dep for `send()` root normalization regression
2416 3.0.0beta6 / 2012-07-13
2419 * add `err.view` property for view errors. Closes #1226
2420 * add "jsonp callback name" setting
2421 * add support for "/foo/:bar*" non-greedy matches
2422 * change `res.sendfile()` to use `send()` module
2423 * change `res.send` to use "response-send" module
2424 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2426 3.0.0beta5 / 2012-07-03
2429 * add "make check" support
2430 * add route-map example
2431 * add `res.json(obj, status)` support back for BC
2432 * add "methods" dep, remove internal methods module
2433 * update connect dep
2434 * update auth example to utilize cores pbkdf2
2435 * updated tests to use "supertest"
2437 3.0.0beta4 / 2012-06-25
2441 * Added `req.range(size)`
2442 * Added `res.links(obj)`
2443 * Added `res.send(body, status)` support back for backwards compat
2444 * Added `.default()` support to `res.format()`
2445 * Added 2xx / 304 check to `req.fresh`
2446 * Revert "Added + support to the router"
2447 * Fixed `res.send()` freshness check, respect res.statusCode
2449 3.0.0beta3 / 2012-06-15
2452 * Added hogan `--hjs` to express(1) [nullfirm]
2453 * Added another example to content-negotiation
2455 * Changed: `res.send()` always checks freshness
2456 * Fixed: expose connects mime module. Closes #1165
2458 3.0.0beta2 / 2012-06-06
2461 * Added `+` support to the router
2463 * Changed `req.param()` to check route first
2464 * Update connect dep
2466 3.0.0beta1 / 2012-06-01
2469 * Added `res.format()` callback to override default 406 behaviour
2470 * Fixed `res.redirect()` 406. Closes #1154
2472 3.0.0alpha5 / 2012-05-30
2476 * Added `{ signed: true }` option to `res.cookie()`
2477 * Removed `res.signedCookie()`
2478 * Changed: dont reverse `req.ips`
2479 * Fixed "trust proxy" setting check for `req.ips`
2481 3.0.0alpha4 / 2012-05-09
2484 * Added: allow `[]` in jsonp callback. Closes #1128
2485 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2486 * Updated: connect 2.2.2
2488 3.0.0alpha3 / 2012-05-04
2491 * Added public `app.routes`. Closes #887
2492 * Added _view-locals_ example
2493 * Added _mvc_ example
2494 * Added `res.locals.use()`. Closes #1120
2495 * Added conditional-GET support to `res.send()`
2496 * Added: coerce `res.set()` values to strings
2497 * Changed: moved `static()` in generated apps below router
2498 * Changed: `res.send()` only set ETag when not previously set
2499 * Changed connect 2.2.1 dep
2500 * Changed: `make test` now runs unit / acceptance tests
2501 * Fixed req/res proto inheritance
2503 3.0.0alpha2 / 2012-04-26
2506 * Added `make benchmark` back
2507 * Added `res.send()` support for `String` objects
2508 * Added client-side data exposing example
2509 * Added `res.header()` and `req.header()` aliases for BC
2510 * Added `express.createServer()` for BC
2511 * Perf: memoize parsed urls
2512 * Perf: connect 2.2.0 dep
2513 * Changed: make `expressInit()` middleware self-aware
2514 * Fixed: use app.get() for all core settings
2515 * Fixed redis session example
2516 * Fixed session example. Closes #1105
2517 * Fixed generated express dep. Closes #1078
2519 3.0.0alpha1 / 2012-04-15
2522 * Added `app.locals.use(callback)`
2523 * Added `app.locals` object
2524 * Added `app.locals(obj)`
2525 * Added `res.locals` object
2526 * Added `res.locals(obj)`
2527 * Added `res.format()` for content-negotiation
2528 * Added `app.engine()`
2529 * Added `res.cookie()` JSON cookie support
2530 * Added "trust proxy" setting
2531 * Added `req.subdomains`
2532 * Added `req.protocol`
2533 * Added `req.secure`
2538 * Added comma-delimited / array support for `req.accepts()`
2539 * Added debug instrumentation
2540 * Added `res.set(obj)`
2541 * Added `res.set(field, value)`
2542 * Added `res.get(field)`
2543 * Added `app.get(setting)`. Closes #842
2544 * Added `req.acceptsLanguage()`
2545 * Added `req.acceptsCharset()`
2546 * Added `req.accepted`
2547 * Added `req.acceptedLanguages`
2548 * Added `req.acceptedCharsets`
2549 * Added "json replacer" setting
2550 * Added "json spaces" setting
2551 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2552 * Added `--less` support to express(1)
2553 * Added `express.response` prototype
2554 * Added `express.request` prototype
2555 * Added `express.application` prototype
2556 * Added `app.path()`
2557 * Added `app.render()`
2558 * Added `res.type()` to replace `res.contentType()`
2559 * Changed: `res.redirect()` to add relative support
2560 * Changed: enable "jsonp callback" by default
2561 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2562 * Rewrite of all tests with mocha
2563 * Removed "root" setting
2564 * Removed `res.redirect('home')` support
2565 * Removed `req.notify()`
2566 * Removed `app.register()`
2567 * Removed `app.redirect()`
2568 * Removed `app.is()`
2569 * Removed `app.helpers()`
2570 * Removed `app.dynamicHelpers()`
2571 * Fixed `res.sendfile()` with non-GET. Closes #723
2572 * Fixed express(1) public dir for windows. Closes #866
2577 * Added support for PURGE request method [pbuyle]
2578 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2583 * Update mkdirp dep. Closes #991
2588 * Fixed `app.all` duplicate DELETE requests [mscdex]
2593 * Updated hamljs dev dep. Closes #953
2598 * Fixed: set `filename` on cached templates [matthewleon]
2603 * Fixed `express(1)` eol on 0.4.x. Closes #947
2608 * Fixed `req.is()` when a charset is present
2613 * Fixed: express(1) LF -> CRLF for windows
2618 * Changed: updated connect to 1.8.x
2619 * Removed sass.js support from express(1)
2624 * Added ./routes dir for generated app by default
2625 * Added npm install reminder to express(1) app gen
2626 * Added 0.5.x support
2627 * Removed `make test-cov` since it wont work with node 0.5.x
2628 * Fixed express(1) public dir for windows. Closes #866
2633 * Added mkdirp to express(1). Closes #795
2634 * Added simple _json-config_ example
2635 * Added shorthand for the parsed request's pathname via `req.path`
2636 * Changed connect dep to 1.7.x to fix npm issue...
2637 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2638 * Fixed `req.flash()`, only escape args
2639 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2644 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2649 * Added support for routes to handle errors. Closes #809
2650 * Added `app.routes.all()`. Closes #803
2651 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2652 * Refactored `Route` to use a single array of callbacks
2653 * Added support for multiple callbacks for `app.param()`. Closes #801
2655 * Changed: removed .call(self) for route callbacks
2656 * Dependency: `qs >= 0.3.1`
2657 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2662 * Fixed `res.header()` intention of a set, even when `undefined`
2663 * Fixed `*`, value no longer required
2664 * Fixed `res.send(204)` support. Closes #771
2669 * Added docs for `status` option special-case. Closes #739
2670 * Fixed `options.filename`, exposing the view path to template engines
2675 * Revert "removed jsonp stripping" for XSS
2680 * Added `res.json()` JSONP support. Closes #737
2681 * Added _extending-templates_ example. Closes #730
2682 * Added "strict routing" setting for trailing slashes
2683 * Added support for multiple envs in `app.configure()` calls. Closes #735
2684 * Changed: `res.send()` using `res.json()`
2685 * Changed: when cookie `path === null` don't default it
2686 * Changed; default cookie path to "home" setting. Closes #731
2687 * Removed _pids/logs_ creation from express(1)
2692 * Added chainable `res.status(code)`
2693 * Added `res.json()`, an explicit version of `res.send(obj)`
2694 * Added simple web-service example
2699 * \#express is now on freenode! come join!
2700 * Added `req.get(field, param)`
2701 * Added links to Japanese documentation, thanks @hideyukisaito!
2702 * Added; the `express(1)` generated app outputs the env
2703 * Added `content-negotiation` example
2704 * Dependency: connect >= 1.5.1 < 2.0.0
2705 * Fixed view layout bug. Closes #720
2706 * Fixed; ignore body on 304. Closes #701
2712 * Removed generation of dummy test file from `express(1)`
2713 * Fixed; `express(1)` adds express as a dep
2714 * Fixed; prune on `prepublish`
2719 * Added `req.route`, exposing the current route
2720 * Added _package.json_ generation support to `express(1)`
2721 * Fixed call to `app.param()` function for optional params. Closes #682
2726 * Fixed bug-ish with `../' in `res.partial()` calls
2731 * Fixed `app.options()`
2736 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2737 * Added support for `app.param(fn)` to define param logic
2738 * Removed `app.param()` support for callback with return value
2739 * Removed module.parent check from express(1) generated app. Closes #670
2740 * Refactored router. Closes #639
2745 * Changed; using devDependencies instead of git submodules
2746 * Fixed redis session example
2747 * Fixed markdown example
2748 * Fixed view caching, should not be enabled in development
2753 * Added export `.view` as alias for `.View`
2758 * Added `./examples/say`
2759 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2764 * Added "case sensitive routes" option.
2765 * Changed; split methods supported per rfc [slaskis]
2766 * Fixed route-specific middleware when using the same callback function several times
2776 * Added `app.match()` as `app.match.all()`
2777 * Added `app.lookup()` as `app.lookup.all()`
2778 * Added `app.remove()` for `app.remove.all()`
2779 * Added `app.remove.VERB()`
2780 * Fixed template caching collision issue. Closes #644
2781 * Moved router over from connect and started refactor
2786 * Added options support to `res.clearCookie()`
2787 * Added `res.helpers()` as alias of `res.locals()`
2788 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2789 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2790 * Renamed "cache views" to "view cache". Closes #628
2791 * Fixed caching of views when using several apps. Closes #637
2792 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2794 * Fixed partial lookup precedence. Closes #631
2800 * Added second callback support for `res.download()` connection errors
2801 * Fixed `filename` option passing to template engine
2806 * Added `layout(path)` helper to change the layout within a view. Closes #610
2807 * Fixed `partial()` collection object support.
2808 Previously only anything with `.length` would work.
2809 When `.length` is present one must still be aware of holes,
2810 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2811 `keyInCollection` and `keysInCollection`.
2813 * Performance improved with better view caching
2814 * Removed `request` and `response` locals
2815 * Changed; errorHandler page title is now `Express` instead of `Connect`
2820 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2821 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2822 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2823 * Dependency `connect >= 1.2.0`
2828 * Added; expose `err.view` object when failing to locate a view
2829 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2830 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2835 * Added `<root>/_?<name>` partial lookup support. Closes #447
2836 * Added `request`, `response`, and `app` local variables
2837 * Added `settings` local variable, containing the app's settings
2838 * Added `req.flash()` exception if `req.session` is not available
2839 * Added `res.send(bool)` support (json response)
2840 * Fixed stylus example for latest version
2841 * Fixed; wrap try/catch around `res.render()`
2846 * Fixed up index view path alternative.
2847 * Changed; `res.locals()` without object returns the locals
2849 2.0.0rc3 / 2011-03-17
2852 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2853 * Added `res.partial()` callback support
2854 * Fixed recursive error reporting issue in `res.render()`
2856 2.0.0rc2 / 2011-03-17
2859 * Changed; `partial()` "locals" are now optional
2860 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2861 * Fixed .filename view engine option [reported by drudge]
2862 * Fixed blog example
2863 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2865 2.0.0rc / 2011-03-14
2868 * Fixed; expose `HTTPSServer` constructor
2869 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2870 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2872 2.0.0beta3 / 2011-03-09
2875 * Added support for `res.contentType()` literal
2876 The original `res.contentType('.json')`,
2877 `res.contentType('application/json')`, and `res.contentType('json')`
2879 * Added `res.render()` status option support back
2880 * Added charset option for `res.render()`
2881 * Added `.charset` support (via connect 1.0.4)
2882 * Added view resolution hints when in development and a lookup fails
2883 * Added layout lookup support relative to the page view.
2884 For example while rendering `./views/user/index.jade` if you create
2885 `./views/user/layout.jade` it will be used in favour of the root layout.
2886 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2887 * Fixed; default `res.send()` string charset to utf8
2888 * Removed `Partial` constructor (not currently used)
2890 2.0.0beta2 / 2011-03-07
2893 * Added res.render() `.locals` support back to aid in migration process
2894 * Fixed flash example
2896 2.0.0beta / 2011-03-03
2899 * Added HTTPS support
2900 * Added `res.cookie()` maxAge support
2901 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2902 * Added mount support for `res.redirect()`, now respects the mount-point
2903 * Added `union()` util, taking place of `merge(clone())` combo
2904 * Added stylus support to express(1) generated app
2905 * Added secret to session middleware used in examples and generated app
2906 * Added `res.local(name, val)` for progressive view locals
2907 * Added default param support to `req.param(name, default)`
2908 * Added `app.disabled()` and `app.enabled()`
2909 * Added `app.register()` support for omitting leading ".", either works
2910 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2911 * Added `app.param()` to map route params to async/sync logic
2912 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2913 * Added extname with no leading "." support to `res.contentType()`
2914 * Added `cache views` setting, defaulting to enabled in "production" env
2915 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2916 * Added `req.accepts()` support for extensions
2917 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2918 static file server `connect.static.send()`.
2919 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2920 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2921 * Changed view partial resolution, now relative to parent view
2922 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2923 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2924 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2925 * Fixed; using _qs_ module instead of _querystring_
2926 * Fixed; strip unsafe chars from jsonp callbacks
2927 * Removed "stream threshold" setting
2932 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2933 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2934 * Removed the long deprecated __EXPRESS_ENV__ support
2939 * Fixed `render()` setting inheritance.
2940 Mounted apps would not inherit "view engine"
2945 * Fixed `view engine` setting bug when period is in dirname
2950 * Added secret to generated app `session()` call
2955 * Added `qs` dependency to _package.json_
2956 * Fixed namespaced `require()`s for latest connect support
2961 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2966 * Removed nested require, using `connect.router`
2971 * Fixed for middleware stacked via `createServer()`
2972 previously the `foo` middleware passed to `createServer(foo)`
2973 would not have access to Express methods such as `res.send()`
2974 or props like `req.query` etc.
2979 * Added; deduce partial object names from the last segment.
2980 For example by default `partial('forum/post', postObject)` will
2981 give you the _post_ object, providing a meaningful default.
2982 * Added http status code string representation to `res.redirect()` body
2983 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2984 * Added `req.is()` to aid in content negotiation
2985 * Added partial local inheritance [suggested by masylum]. Closes #102
2986 providing access to parent template locals.
2987 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2988 * Added _--template_ flag to express(1) to specify the
2989 template engine to use.
2990 * Added _--css_ flag to express(1) to specify the
2991 stylesheet engine to use (or just plain css by default).
2992 * Added `app.all()` support [thanks aheckmann]
2993 * Added partial direct object support.
2994 You may now `partial('user', user)` providing the "user" local,
2995 vs previously `partial('user', { object: user })`.
2996 * Added _route-separation_ example since many people question ways
2997 to do this with CommonJS modules. Also view the _blog_ example for
2999 * Performance; caching view path derived partial object names
3000 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
3001 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
3003 1.0.0rc4 / 2010-10-14
3006 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
3007 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
3008 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
3009 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
3010 * Added `partial()` support for array-like collections. Closes #434
3011 * Added support for swappable querystring parsers
3012 * Added session usage docs. Closes #443
3013 * Added dynamic helper caching. Closes #439 [suggested by maritz]
3014 * Added authentication example
3015 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
3016 * Changed; `express(1)` generated app using 2 spaces instead of 4
3017 * Default env to "development" again [aheckmann]
3018 * Removed _context_ option is no more, use "scope"
3019 * Fixed; exposing _./support_ libs to examples so they can run without installs
3022 1.0.0rc3 / 2010-09-20
3025 * Added confirmation for `express(1)` app generation. Closes #391
3026 * Added extending of flash formatters via `app.flashFormatters`
3027 * Added flash formatter support. Closes #411
3028 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
3029 * Added _stream threshold_ setting for `res.sendfile()`
3030 * Added `res.send()` __HEAD__ support
3031 * Added `res.clearCookie()`
3032 * Added `res.cookie()`
3033 * Added `res.render()` headers option
3034 * Added `res.redirect()` response bodies
3035 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
3036 * Fixed `res.sendfile()` responding with 403 on malicious path
3037 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
3038 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
3039 * Fixed; stripping Content-Length / Content-Type when 204
3040 * Fixed `res.send()` 204. Closes #419
3041 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
3042 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
3045 1.0.0rc2 / 2010-08-17
3048 * Added `app.register()` for template engine mapping. Closes #390
3049 * Added `res.render()` callback support as second argument (no options)
3050 * Added callback support to `res.download()`
3051 * Added callback support for `res.sendfile()`
3052 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
3053 * Added "partials" setting to docs
3054 * Added default expresso tests to `express(1)` generated app. Closes #384
3055 * Fixed `res.sendfile()` error handling, defer via `next()`
3056 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
3057 * Fixed; `make install` creating ~/.node_libraries when not present
3058 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
3060 1.0.0rc / 2010-07-28
3063 * Added mounted hook. Closes #369
3064 * Added connect dependency to _package.json_
3066 * Removed "reload views" setting and support code
3067 development env never caches, production always caches.
3069 * Removed _param_ in route callbacks, signature is now
3070 simply (req, res, next), previously (req, res, params, next).
3071 Use _req.params_ for path captures, _req.query_ for GET params.
3073 * Fixed "home" setting
3074 * Fixed middleware/router precedence issue. Closes #366
3075 * Fixed; _configure()_ callbacks called immediately. Closes #368
3077 1.0.0beta2 / 2010-07-23
3080 * Added more examples
3081 * Added; exporting `Server` constructor
3082 * Added `Server#helpers()` for view locals
3083 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
3084 * Added support for absolute view paths
3085 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
3086 * Added Guillermo Rauch to the contributor list
3087 * Added support for "as" for non-collection partials. Closes #341
3088 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
3089 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
3090 * Fixed instanceof `Array` checks, now `Array.isArray()`
3091 * Fixed express(1) expansion of public dirs. Closes #348
3092 * Fixed middleware precedence. Closes #345
3093 * Fixed view watcher, now async [thanks aheckmann]
3095 1.0.0beta / 2010-07-15
3101 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
3106 * Utilize relative requires
3107 * Added Static bufferSize option [aheckmann]
3108 * Fixed caching of view and partial subdirectories [aheckmann]
3109 * Fixed mime.type() comments now that ".ext" is not supported
3110 * Updated haml submodule
3111 * Updated class submodule
3112 * Removed bin/express
3117 * Added node v0.1.97 compatibility
3118 * Added support for deleting cookies via Request#cookie('key', null)
3119 * Updated haml submodule
3120 * Fixed not-found page, now using using charset utf-8
3121 * Fixed show-exceptions page, now using using charset utf-8
3122 * Fixed view support due to fs.readFile Buffers
3123 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
3128 * Added node v0.1.96 compatibility
3129 * Added view `helpers` export which act as additional local variables
3130 * Updated haml submodule
3131 * Changed ETag; removed inode, modified time only
3132 * Fixed LF to CRLF for setting multiple cookies
3133 * Fixed cookie complation; values are now urlencoded
3134 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3139 * Added support for layouts using different engines
3140 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3141 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3142 - this.render('page.html.haml', { layout: false }) // no layout
3143 * Updated ext submodule
3144 * Updated haml submodule
3145 * Fixed EJS partial support by passing along the context. Issue #307
3150 * Fixed binary uploads.
3155 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3156 encoding is set to 'utf8' or 'utf-8'.
3157 * Added "encoding" option to Request#render(). Closes #299
3158 * Added "dump exceptions" setting, which is enabled by default.
3159 * Added simple ejs template engine support
3160 * Added error response support for text/plain, application/json. Closes #297
3161 * Added callback function param to Request#error()
3162 * Added Request#sendHead()
3163 * Added Request#stream()
3164 * Added support for Request#respond(304, null) for empty response bodies
3165 * Added ETag support to Request#sendfile()
3166 * Added options to Request#sendfile(), passed to fs.createReadStream()
3167 * Added filename arg to Request#download()
3168 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3169 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3170 * Changed; Request#sendfile() now streams
3171 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3172 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3173 * Changed; run() returns the http.Server instance. Closes #298
3174 * Changed; Defaulting Server#host to null (INADDR_ANY)
3175 * Changed; Logger "common" format scale of 0.4f
3176 * Removed Logger "request" format
3177 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3178 * Fixed several issues with http client
3179 * Fixed Logger Content-Length output
3180 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3185 * Added DSL level error() route support
3186 * Added DSL level notFound() route support
3187 * Added Request#error()
3188 * Added Request#notFound()
3189 * Added Request#render() callback function. Closes #258
3190 * Added "max upload size" setting
3191 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3192 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3193 * Added callback function support to Request#halt() as 3rd/4th arg
3194 * Added preprocessing of route param wildcards using param(). Closes #251
3195 * Added view partial support (with collections etc)
3196 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3197 * Fixed setting of multiple cookies. Closes #199
3198 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3199 * Changed; session cookie is now httpOnly
3200 * Changed; Request is no longer global
3201 * Changed; Event is no longer global
3202 * Changed; "sys" module is no longer global
3203 * Changed; moved Request#download to Static plugin where it belongs
3204 * Changed; Request instance created before body parsing. Closes #262
3205 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3206 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3207 * Updated support to node --version 0.1.90
3208 * Updated dependencies
3209 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3210 * Removed utils.mixin(); use Object#mergeDeep()
3215 * Added coffeescript example app. Closes #242
3216 * Changed; cache api now async friendly. Closes #240
3217 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3222 * Added Request#isXHR. Closes #229
3223 * Added `make install` (for the executable)
3224 * Added `express` executable for setting up simple app templates
3225 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3226 * Added Static plugin
3227 * Fixed; Request#render() only calls cache.get() once
3228 * Fixed; Namespacing View caches with "view:"
3229 * Fixed; Namespacing Static caches with "static:"
3230 * Fixed; Both example apps now use the Static plugin
3231 * Fixed set("views"). Closes #239
3232 * Fixed missing space for combined log format
3233 * Deprecated Request#sendfile() and 'express/static'
3234 * Removed Server#running
3239 * Added Request#flash() support without args, now returns all flashes
3240 * Updated ext submodule
3245 * Fixed session reaper
3246 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3251 * Added package.json
3252 * Fixed requiring of haml / sass due to kiwi removal
3257 * Fixed GIT submodules (HAH!)
3262 * Changed; Express now using submodules again until a PM is adopted
3263 * Changed; chat example using millisecond conversions from ext
3268 * Added Request#pass() support (finds the next matching route, or the given path)
3269 * Added Logger plugin (default "common" format replaces CommonLogger)
3270 * Removed Profiler plugin
3271 * Removed CommonLogger plugin
3276 * Added seed.yml for kiwi package management support
3277 * Added HTTP client query string support when method is GET. Closes #205
3279 * Added support for arbitrary view engines.
3280 For example "foo.engine.html" will now require('engine'),
3281 the exports from this module are cached after the first require().
3283 * Added async plugin support
3285 * Removed usage of RESTful route funcs as http client
3286 get() etc, use http.get() and friends
3288 * Removed custom exceptions
3293 * Added ext dependency (library of js extensions)
3294 * Removed extname() / basename() utils. Use path module
3295 * Removed toArray() util. Use arguments.values
3296 * Removed escapeRegexp() util. Use RegExp.escape()
3297 * Removed process.mixin() dependency. Use utils.mixin()
3298 * Removed Collection
3299 * Removed ElementCollection
3300 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3305 * Added flash() example to sample upload app
3306 * Added high level restful http client module (express/http)
3307 * Changed; RESTful route functions double as HTTP clients. Closes #69
3308 * Changed; throwing error when routes are added at runtime
3309 * Changed; defaulting render() context to the current Request. Closes #197
3310 * Updated haml submodule
3315 * Updated haml / sass submodules. Closes #200
3316 * Added flash message support. Closes #64
3317 * Added accepts() now allows multiple args. fixes #117
3318 * Added support for plugins to halt. Closes #189
3319 * Added alternate layout support. Closes #119
3320 * Removed Route#run(). Closes #188
3321 * Fixed broken specs due to use(Cookie) missing
3326 * Added "plot" format option for Profiler (for gnuplot processing)
3327 * Added request number to Profiler plugin
3328 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3329 * Fixed issue with routes not firing when not files are present. Closes #184
3330 * Fixed process.Promise -> events.Promise
3335 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3336 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3337 * Added expiration support to cache api with reaper. Closes #133
3338 * Added cache Store.Memory#reap()
3339 * Added Cache; cache api now uses first class Cache instances
3340 * Added abstract session Store. Closes #172
3341 * Changed; cache Memory.Store#get() utilizing Collection
3342 * Renamed MemoryStore -> Store.Memory
3343 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3348 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3349 * Updated node support to 0.1.27 Closes #169
3350 * Updated dirname(__filename) -> __dirname
3351 * Updated libxmljs support to v0.2.0
3352 * Added session support with memory store / reaping
3353 * Added quick uid() helper
3354 * Added multi-part upload support
3355 * Added Sass.js support / submodule
3356 * Added production env caching view contents and static files
3357 * Added static file caching. Closes #136
3358 * Added cache plugin with memory stores
3359 * Added support to StaticFile so that it works with non-textual files.
3360 * Removed dirname() helper
3361 * Removed several globals (now their modules must be required)
3366 * Added view benchmarks; currently haml vs ejs
3367 * Added Request#attachment() specs. Closes #116
3368 * Added use of node's parseQuery() util. Closes #123
3369 * Added `make init` for submodules
3371 * Updated sample chat app to show messages on load
3372 * Updated libxmljs parseString -> parseHtmlString
3373 * Fixed `make init` to work with older versions of git
3374 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3375 * Fixed issues introduced by the node url module changes. Closes 126.
3376 * Fixed two assertions failing due to Collection#keys() returning strings
3377 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3378 * Fixed `make test` now builds libxmljs.node before testing