UNPKG

103 kBMarkdownView Raw
14.15.2 / 2017-03-06
2===================
3
4 * deps: qs@6.4.0
5 - Fix regression parsing keys starting with `[`
6
74.15.1 / 2017-03-05
8===================
9
10 * deps: send@0.15.1
11 - Fix issue when `Date.parse` does not return `NaN` on invalid date
12 - Fix strict violation in broken environments
13 * deps: serve-static@1.12.1
14 - Fix issue when `Date.parse` does not return `NaN` on invalid date
15 - deps: send@0.15.1
16
174.15.0 / 2017-03-01
18===================
19
20 * Add debug message when loading view engine
21 * Add `next("router")` to exit from router
22 * Fix case where `router.use` skipped requests routes did not
23 * Remove usage of `res._headers` private field
24 - Improves compatibility with Node.js 8 nightly
25 * Skip routing when `req.url` is not set
26 * Use `%o` in path debug to tell types apart
27 * Use `Object.create` to setup request & response prototypes
28 * Use `setprototypeof` module to replace `__proto__` setting
29 * Use `statuses` instead of `http` module for status messages
30 * deps: debug@2.6.1
31 - Allow colors in workers
32 - Deprecated `DEBUG_FD` environment variable set to `3` or higher
33 - Fix error when running under React Native
34 - Use same color for same namespace
35 - deps: ms@0.7.2
36 * deps: etag@~1.8.0
37 - Use SHA1 instead of MD5 for ETag hashing
38 - Works with FIPS 140-2 OpenSSL configuration
39 * deps: finalhandler@~1.0.0
40 - Fix exception when `err` cannot be converted to a string
41 - Fully URL-encode the pathname in the 404
42 - Only include the pathname in the 404 message
43 - Send complete HTML document
44 - Set `Content-Security-Policy: default-src 'self'` header
45 - deps: debug@2.6.1
46 * deps: fresh@0.5.0
47 - Fix false detection of `no-cache` request directive
48 - Fix incorrect result when `If-None-Match` has both `*` and ETags
49 - Fix weak `ETag` matching to match spec
50 - perf: delay reading header values until needed
51 - perf: enable strict mode
52 - perf: hoist regular expressions
53 - perf: remove duplicate conditional
54 - perf: remove unnecessary boolean coercions
55 - perf: skip checking modified time if ETag check failed
56 - perf: skip parsing `If-None-Match` when no `ETag` header
57 - perf: use `Date.parse` instead of `new Date`
58 * deps: qs@6.3.1
59 - Fix array parsing from skipping empty values
60 - Fix compacting nested arrays
61 * deps: send@0.15.0
62 - Fix false detection of `no-cache` request directive
63 - Fix incorrect result when `If-None-Match` has both `*` and ETags
64 - Fix weak `ETag` matching to match spec
65 - Remove usage of `res._headers` private field
66 - Support `If-Match` and `If-Unmodified-Since` headers
67 - Use `res.getHeaderNames()` when available
68 - Use `res.headersSent` when available
69 - deps: debug@2.6.1
70 - deps: etag@~1.8.0
71 - deps: fresh@0.5.0
72 - deps: http-errors@~1.6.1
73 * deps: serve-static@1.12.0
74 - Fix false detection of `no-cache` request directive
75 - Fix incorrect result when `If-None-Match` has both `*` and ETags
76 - Fix weak `ETag` matching to match spec
77 - Remove usage of `res._headers` private field
78 - Send complete HTML document in redirect response
79 - Set default CSP header in redirect response
80 - Support `If-Match` and `If-Unmodified-Since` headers
81 - Use `res.getHeaderNames()` when available
82 - Use `res.headersSent` when available
83 - deps: send@0.15.0
84 * perf: add fast match path for `*` route
85 * perf: improve `req.ips` performance
86
874.14.1 / 2017-01-28
88===================
89
90 * deps: content-disposition@0.5.2
91 * deps: finalhandler@0.5.1
92 - Fix exception when `err.headers` is not an object
93 - deps: statuses@~1.3.1
94 - perf: hoist regular expressions
95 - perf: remove duplicate validation path
96 * deps: proxy-addr@~1.1.3
97 - deps: ipaddr.js@1.2.0
98 * deps: send@0.14.2
99 - deps: http-errors@~1.5.1
100 - deps: ms@0.7.2
101 - deps: statuses@~1.3.1
102 * deps: serve-static@~1.11.2
103 - deps: send@0.14.2
104 * deps: type-is@~1.6.14
105 - deps: mime-types@~2.1.13
106
1074.14.0 / 2016-06-16
108===================
109
110 * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
111 * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
112 * Add `options` argument to `req.range`
113 - Includes the `combine` option
114 * Encode URL in `res.location`/`res.redirect` if not already encoded
115 * Fix some redirect handling in `res.sendFile`/`res.sendfile`
116 * Fix Windows absolute path check using forward slashes
117 * Improve error with invalid arguments to `req.get()`
118 * Improve performance for `res.json`/`res.jsonp` in most cases
119 * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
120 * deps: accepts@~1.3.3
121 - Fix including type extensions in parameters in `Accept` parsing
122 - Fix parsing `Accept` parameters with quoted equals
123 - Fix parsing `Accept` parameters with quoted semicolons
124 - Many performance improvments
125 - deps: mime-types@~2.1.11
126 - deps: negotiator@0.6.1
127 * deps: content-type@~1.0.2
128 - perf: enable strict mode
129 * deps: cookie@0.3.1
130 - Add `sameSite` option
131 - Fix cookie `Max-Age` to never be a floating point number
132 - Improve error message when `encode` is not a function
133 - Improve error message when `expires` is not a `Date`
134 - Throw better error for invalid argument to parse
135 - Throw on invalid values provided to `serialize`
136 - perf: enable strict mode
137 - perf: hoist regular expression
138 - perf: use for loop in parse
139 - perf: use string concatination for serialization
140 * deps: finalhandler@0.5.0
141 - Change invalid or non-numeric status code to 500
142 - Overwrite status message to match set status code
143 - Prefer `err.statusCode` if `err.status` is invalid
144 - Set response headers from `err.headers` object
145 - Use `statuses` instead of `http` module for status messages
146 * deps: proxy-addr@~1.1.2
147 - Fix accepting various invalid netmasks
148 - Fix IPv6-mapped IPv4 validation edge cases
149 - IPv4 netmasks must be contingous
150 - IPv6 addresses cannot be used as a netmask
151 - deps: ipaddr.js@1.1.1
152 * deps: qs@6.2.0
153 - Add `decoder` option in `parse` function
154 * deps: range-parser@~1.2.0
155 - Add `combine` option to combine overlapping ranges
156 - Fix incorrectly returning -1 when there is at least one valid range
157 - perf: remove internal function
158 * deps: send@0.14.1
159 - Add `acceptRanges` option
160 - Add `cacheControl` option
161 - Attempt to combine multiple ranges into single range
162 - Correctly inherit from `Stream` class
163 - Fix `Content-Range` header in 416 responses when using `start`/`end` options
164 - Fix `Content-Range` header missing from default 416 responses
165 - Fix redirect error when `path` contains raw non-URL characters
166 - Fix redirect when `path` starts with multiple forward slashes
167 - Ignore non-byte `Range` headers
168 - deps: http-errors@~1.5.0
169 - deps: range-parser@~1.2.0
170 - deps: statuses@~1.3.0
171 - perf: remove argument reassignment
172 * deps: serve-static@~1.11.1
173 - Add `acceptRanges` option
174 - Add `cacheControl` option
175 - Attempt to combine multiple ranges into single range
176 - Fix redirect error when `req.url` contains raw non-URL characters
177 - Ignore non-byte `Range` headers
178 - Use status code 301 for redirects
179 - deps: send@0.14.1
180 * deps: type-is@~1.6.13
181 - Fix type error when given invalid type to match against
182 - deps: mime-types@~2.1.11
183 * deps: vary@~1.1.0
184 - Only accept valid field names in the `field` argument
185 * perf: use strict equality when possible
186
1874.13.4 / 2016-01-21
188===================
189
190 * deps: content-disposition@0.5.1
191 - perf: enable strict mode
192 * deps: cookie@0.1.5
193 - Throw on invalid values provided to `serialize`
194 * deps: depd@~1.1.0
195 - Support web browser loading
196 - perf: enable strict mode
197 * deps: escape-html@~1.0.3
198 - perf: enable strict mode
199 - perf: optimize string replacement
200 - perf: use faster string coercion
201 * deps: finalhandler@0.4.1
202 - deps: escape-html@~1.0.3
203 * deps: merge-descriptors@1.0.1
204 - perf: enable strict mode
205 * deps: methods@~1.1.2
206 - perf: enable strict mode
207 * deps: parseurl@~1.3.1
208 - perf: enable strict mode
209 * deps: proxy-addr@~1.0.10
210 - deps: ipaddr.js@1.0.5
211 - perf: enable strict mode
212 * deps: range-parser@~1.0.3
213 - perf: enable strict mode
214 * deps: send@0.13.1
215 - deps: depd@~1.1.0
216 - deps: destroy@~1.0.4
217 - deps: escape-html@~1.0.3
218 - deps: range-parser@~1.0.3
219 * deps: serve-static@~1.10.2
220 - deps: escape-html@~1.0.3
221 - deps: parseurl@~1.3.0
222 - deps: send@0.13.1
223
2244.13.3 / 2015-08-02
225===================
226
227 * Fix infinite loop condition using `mergeParams: true`
228 * Fix inner numeric indices incorrectly altering parent `req.params`
229
2304.13.2 / 2015-07-31
231===================
232
233 * deps: accepts@~1.2.12
234 - deps: mime-types@~2.1.4
235 * deps: array-flatten@1.1.1
236 - perf: enable strict mode
237 * deps: path-to-regexp@0.1.7
238 - Fix regression with escaped round brackets and matching groups
239 * deps: type-is@~1.6.6
240 - deps: mime-types@~2.1.4
241
2424.13.1 / 2015-07-05
243===================
244
245 * deps: accepts@~1.2.10
246 - deps: mime-types@~2.1.2
247 * deps: qs@4.0.0
248 - Fix dropping parameters like `hasOwnProperty`
249 - Fix various parsing edge cases
250 * deps: type-is@~1.6.4
251 - deps: mime-types@~2.1.2
252 - perf: enable strict mode
253 - perf: remove argument reassignment
254
2554.13.0 / 2015-06-20
256===================
257
258 * Add settings to debug output
259 * Fix `res.format` error when only `default` provided
260 * Fix issue where `next('route')` in `app.param` would incorrectly skip values
261 * Fix hiding platform issues with `decodeURIComponent`
262 - Only `URIError`s are a 400
263 * Fix using `*` before params in routes
264 * Fix using capture groups before params in routes
265 * Simplify `res.cookie` to call `res.append`
266 * Use `array-flatten` module for flattening arrays
267 * deps: accepts@~1.2.9
268 - deps: mime-types@~2.1.1
269 - perf: avoid argument reassignment & argument slice
270 - perf: avoid negotiator recursive construction
271 - perf: enable strict mode
272 - perf: remove unnecessary bitwise operator
273 * deps: cookie@0.1.3
274 - perf: deduce the scope of try-catch deopt
275 - perf: remove argument reassignments
276 * deps: escape-html@1.0.2
277 * deps: etag@~1.7.0
278 - Always include entity length in ETags for hash length extensions
279 - Generate non-Stats ETags using MD5 only (no longer CRC32)
280 - Improve stat performance by removing hashing
281 - Improve support for JXcore
282 - Remove base64 padding in ETags to shorten
283 - Support "fake" stats objects in environments without fs
284 - Use MD5 instead of MD4 in weak ETags over 1KB
285 * deps: finalhandler@0.4.0
286 - Fix a false-positive when unpiping in Node.js 0.8
287 - Support `statusCode` property on `Error` objects
288 - Use `unpipe` module for unpiping requests
289 - deps: escape-html@1.0.2
290 - deps: on-finished@~2.3.0
291 - perf: enable strict mode
292 - perf: remove argument reassignment
293 * deps: fresh@0.3.0
294 - Add weak `ETag` matching support
295 * deps: on-finished@~2.3.0
296 - Add defined behavior for HTTP `CONNECT` requests
297 - Add defined behavior for HTTP `Upgrade` requests
298 - deps: ee-first@1.1.1
299 * deps: path-to-regexp@0.1.6
300 * deps: send@0.13.0
301 - Allow Node.js HTTP server to set `Date` response header
302 - Fix incorrectly removing `Content-Location` on 304 response
303 - Improve the default redirect response headers
304 - Send appropriate headers on default error response
305 - Use `http-errors` for standard emitted errors
306 - Use `statuses` instead of `http` module for status messages
307 - deps: escape-html@1.0.2
308 - deps: etag@~1.7.0
309 - deps: fresh@0.3.0
310 - deps: on-finished@~2.3.0
311 - perf: enable strict mode
312 - perf: remove unnecessary array allocations
313 * deps: serve-static@~1.10.0
314 - Add `fallthrough` option
315 - Fix reading options from options prototype
316 - Improve the default redirect response headers
317 - Malformed URLs now `next()` instead of 400
318 - deps: escape-html@1.0.2
319 - deps: send@0.13.0
320 - perf: enable strict mode
321 - perf: remove argument reassignment
322 * deps: type-is@~1.6.3
323 - deps: mime-types@~2.1.1
324 - perf: reduce try block size
325 - perf: remove bitwise operations
326 * perf: enable strict mode
327 * perf: isolate `app.render` try block
328 * perf: remove argument reassignments in application
329 * perf: remove argument reassignments in request prototype
330 * perf: remove argument reassignments in response prototype
331 * perf: remove argument reassignments in routing
332 * perf: remove argument reassignments in `View`
333 * perf: skip attempting to decode zero length string
334 * perf: use saved reference to `http.STATUS_CODES`
335
3364.12.4 / 2015-05-17
337===================
338
339 * deps: accepts@~1.2.7
340 - deps: mime-types@~2.0.11
341 - deps: negotiator@0.5.3
342 * deps: debug@~2.2.0
343 - deps: ms@0.7.1
344 * deps: depd@~1.0.1
345 * deps: etag@~1.6.0
346 - Improve support for JXcore
347 - Support "fake" stats objects in environments without `fs`
348 * deps: finalhandler@0.3.6
349 - deps: debug@~2.2.0
350 - deps: on-finished@~2.2.1
351 * deps: on-finished@~2.2.1
352 - Fix `isFinished(req)` when data buffered
353 * deps: proxy-addr@~1.0.8
354 - deps: ipaddr.js@1.0.1
355 * deps: qs@2.4.2
356 - Fix allowing parameters like `constructor`
357 * deps: send@0.12.3
358 - deps: debug@~2.2.0
359 - deps: depd@~1.0.1
360 - deps: etag@~1.6.0
361 - deps: ms@0.7.1
362 - deps: on-finished@~2.2.1
363 * deps: serve-static@~1.9.3
364 - deps: send@0.12.3
365 * deps: type-is@~1.6.2
366 - deps: mime-types@~2.0.11
367
3684.12.3 / 2015-03-17
369===================
370
371 * deps: accepts@~1.2.5
372 - deps: mime-types@~2.0.10
373 * deps: debug@~2.1.3
374 - Fix high intensity foreground color for bold
375 - deps: ms@0.7.0
376 * deps: finalhandler@0.3.4
377 - deps: debug@~2.1.3
378 * deps: proxy-addr@~1.0.7
379 - deps: ipaddr.js@0.1.9
380 * deps: qs@2.4.1
381 - Fix error when parameter `hasOwnProperty` is present
382 * deps: send@0.12.2
383 - Throw errors early for invalid `extensions` or `index` options
384 - deps: debug@~2.1.3
385 * deps: serve-static@~1.9.2
386 - deps: send@0.12.2
387 * deps: type-is@~1.6.1
388 - deps: mime-types@~2.0.10
389
3904.12.2 / 2015-03-02
391===================
392
393 * Fix regression where `"Request aborted"` is logged using `res.sendFile`
394
3954.12.1 / 2015-03-01
396===================
397
398 * Fix constructing application with non-configurable prototype properties
399 * Fix `ECONNRESET` errors from `res.sendFile` usage
400 * Fix `req.host` when using "trust proxy" hops count
401 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
402 * Fix wrong `code` on aborted connections from `res.sendFile`
403 * deps: merge-descriptors@1.0.0
404
4054.12.0 / 2015-02-23
406===================
407
408 * Fix `"trust proxy"` setting to inherit when app is mounted
409 * Generate `ETag`s for all request responses
410 - No longer restricted to only responses for `GET` and `HEAD` requests
411 * Use `content-type` to parse `Content-Type` headers
412 * deps: accepts@~1.2.4
413 - Fix preference sorting to be stable for long acceptable lists
414 - deps: mime-types@~2.0.9
415 - deps: negotiator@0.5.1
416 * deps: cookie-signature@1.0.6
417 * deps: send@0.12.1
418 - Always read the stat size from the file
419 - Fix mutating passed-in `options`
420 - deps: mime@1.3.4
421 * deps: serve-static@~1.9.1
422 - deps: send@0.12.1
423 * deps: type-is@~1.6.0
424 - fix argument reassignment
425 - fix false-positives in `hasBody` `Transfer-Encoding` check
426 - support wildcard for both type and subtype (`*/*`)
427 - deps: mime-types@~2.0.9
428
4294.11.2 / 2015-02-01
430===================
431
432 * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
433 * deps: accepts@~1.2.3
434 - deps: mime-types@~2.0.8
435 * deps: proxy-addr@~1.0.6
436 - deps: ipaddr.js@0.1.8
437 * deps: type-is@~1.5.6
438 - deps: mime-types@~2.0.8
439
4404.11.1 / 2015-01-20
441===================
442
443 * deps: send@0.11.1
444 - Fix root path disclosure
445 * deps: serve-static@~1.8.1
446 - Fix redirect loop in Node.js 0.11.14
447 - Fix root path disclosure
448 - deps: send@0.11.1
449
4504.11.0 / 2015-01-13
451===================
452
453 * Add `res.append(field, val)` to append headers
454 * Deprecate leading `:` in `name` for `app.param(name, fn)`
455 * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
456 * Deprecate `app.param(fn)`
457 * Fix `OPTIONS` responses to include the `HEAD` method properly
458 * Fix `res.sendFile` not always detecting aborted connection
459 * Match routes iteratively to prevent stack overflows
460 * deps: accepts@~1.2.2
461 - deps: mime-types@~2.0.7
462 - deps: negotiator@0.5.0
463 * deps: send@0.11.0
464 - deps: debug@~2.1.1
465 - deps: etag@~1.5.1
466 - deps: ms@0.7.0
467 - deps: on-finished@~2.2.0
468 * deps: serve-static@~1.8.0
469 - deps: send@0.11.0
470
4714.10.8 / 2015-01-13
472===================
473
474 * Fix crash from error within `OPTIONS` response handler
475 * deps: proxy-addr@~1.0.5
476 - deps: ipaddr.js@0.1.6
477
4784.10.7 / 2015-01-04
479===================
480
481 * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
482 * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
483 * deps: debug@~2.1.1
484 * deps: finalhandler@0.3.3
485 - deps: debug@~2.1.1
486 - deps: on-finished@~2.2.0
487 * deps: methods@~1.1.1
488 * deps: on-finished@~2.2.0
489 * deps: serve-static@~1.7.2
490 - Fix potential open redirect when mounted at root
491 * deps: type-is@~1.5.5
492 - deps: mime-types@~2.0.7
493
4944.10.6 / 2014-12-12
495===================
496
497 * Fix exception in `req.fresh`/`req.stale` without response headers
498
4994.10.5 / 2014-12-10
500===================
501
502 * Fix `res.send` double-calling `res.end` for `HEAD` requests
503 * deps: accepts@~1.1.4
504 - deps: mime-types@~2.0.4
505 * deps: type-is@~1.5.4
506 - deps: mime-types@~2.0.4
507
5084.10.4 / 2014-11-24
509===================
510
511 * Fix `res.sendfile` logging standard write errors
512
5134.10.3 / 2014-11-23
514===================
515
516 * Fix `res.sendFile` logging standard write errors
517 * deps: etag@~1.5.1
518 * deps: proxy-addr@~1.0.4
519 - deps: ipaddr.js@0.1.5
520 * deps: qs@2.3.3
521 - Fix `arrayLimit` behavior
522
5234.10.2 / 2014-11-09
524===================
525
526 * Correctly invoke async router callback asynchronously
527 * deps: accepts@~1.1.3
528 - deps: mime-types@~2.0.3
529 * deps: type-is@~1.5.3
530 - deps: mime-types@~2.0.3
531
5324.10.1 / 2014-10-28
533===================
534
535 * Fix handling of URLs containing `://` in the path
536 * deps: qs@2.3.2
537 - Fix parsing of mixed objects and values
538
5394.10.0 / 2014-10-23
540===================
541
542 * Add support for `app.set('views', array)`
543 - Views are looked up in sequence in array of directories
544 * Fix `res.send(status)` to mention `res.sendStatus(status)`
545 * Fix handling of invalid empty URLs
546 * Use `content-disposition` module for `res.attachment`/`res.download`
547 - Sends standards-compliant `Content-Disposition` header
548 - Full Unicode support
549 * Use `path.resolve` in view lookup
550 * deps: debug@~2.1.0
551 - Implement `DEBUG_FD` env variable support
552 * deps: depd@~1.0.0
553 * deps: etag@~1.5.0
554 - Improve string performance
555 - Slightly improve speed for weak ETags over 1KB
556 * deps: finalhandler@0.3.2
557 - Terminate in progress response only on error
558 - Use `on-finished` to determine request status
559 - deps: debug@~2.1.0
560 - deps: on-finished@~2.1.1
561 * deps: on-finished@~2.1.1
562 - Fix handling of pipelined requests
563 * deps: qs@2.3.0
564 - Fix parsing of mixed implicit and explicit arrays
565 * deps: send@0.10.1
566 - deps: debug@~2.1.0
567 - deps: depd@~1.0.0
568 - deps: etag@~1.5.0
569 - deps: on-finished@~2.1.1
570 * deps: serve-static@~1.7.1
571 - deps: send@0.10.1
572
5734.9.8 / 2014-10-17
574==================
575
576 * Fix `res.redirect` body when redirect status specified
577 * deps: accepts@~1.1.2
578 - Fix error when media type has invalid parameter
579 - deps: negotiator@0.4.9
580
5814.9.7 / 2014-10-10
582==================
583
584 * Fix using same param name in array of paths
585
5864.9.6 / 2014-10-08
587==================
588
589 * deps: accepts@~1.1.1
590 - deps: mime-types@~2.0.2
591 - deps: negotiator@0.4.8
592 * deps: serve-static@~1.6.4
593 - Fix redirect loop when index file serving disabled
594 * deps: type-is@~1.5.2
595 - deps: mime-types@~2.0.2
596
5974.9.5 / 2014-09-24
598==================
599
600 * deps: etag@~1.4.0
601 * deps: proxy-addr@~1.0.3
602 - Use `forwarded` npm module
603 * deps: send@0.9.3
604 - deps: etag@~1.4.0
605 * deps: serve-static@~1.6.3
606 - deps: send@0.9.3
607
6084.9.4 / 2014-09-19
609==================
610
611 * deps: qs@2.2.4
612 - Fix issue with object keys starting with numbers truncated
613
6144.9.3 / 2014-09-18
615==================
616
617 * deps: proxy-addr@~1.0.2
618 - Fix a global leak when multiple subnets are trusted
619 - deps: ipaddr.js@0.1.3
620
6214.9.2 / 2014-09-17
622==================
623
624 * Fix regression for empty string `path` in `app.use`
625 * Fix `router.use` to accept array of middleware without path
626 * Improve error message for bad `app.use` arguments
627
6284.9.1 / 2014-09-16
629==================
630
631 * Fix `app.use` to accept array of middleware without path
632 * deps: depd@0.4.5
633 * deps: etag@~1.3.1
634 * deps: send@0.9.2
635 - deps: depd@0.4.5
636 - deps: etag@~1.3.1
637 - deps: range-parser@~1.0.2
638 * deps: serve-static@~1.6.2
639 - deps: send@0.9.2
640
6414.9.0 / 2014-09-08
642==================
643
644 * Add `res.sendStatus`
645 * Invoke callback for sendfile when client aborts
646 - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
647 - `err` will be populated with request aborted error
648 * Support IP address host in `req.subdomains`
649 * Use `etag` to generate `ETag` headers
650 * deps: accepts@~1.1.0
651 - update `mime-types`
652 * deps: cookie-signature@1.0.5
653 * deps: debug@~2.0.0
654 * deps: finalhandler@0.2.0
655 - Set `X-Content-Type-Options: nosniff` header
656 - deps: debug@~2.0.0
657 * deps: fresh@0.2.4
658 * deps: media-typer@0.3.0
659 - Throw error when parameter format invalid on parse
660 * deps: qs@2.2.3
661 - Fix issue where first empty value in array is discarded
662 * deps: range-parser@~1.0.2
663 * deps: send@0.9.1
664 - Add `lastModified` option
665 - Use `etag` to generate `ETag` header
666 - deps: debug@~2.0.0
667 - deps: fresh@0.2.4
668 * deps: serve-static@~1.6.1
669 - Add `lastModified` option
670 - deps: send@0.9.1
671 * deps: type-is@~1.5.1
672 - fix `hasbody` to be true for `content-length: 0`
673 - deps: media-typer@0.3.0
674 - deps: mime-types@~2.0.1
675 * deps: vary@~1.0.0
676 - Accept valid `Vary` header string as `field`
677
6784.8.8 / 2014-09-04
679==================
680
681 * deps: send@0.8.5
682 - Fix a path traversal issue when using `root`
683 - Fix malicious path detection for empty string path
684 * deps: serve-static@~1.5.4
685 - deps: send@0.8.5
686
6874.8.7 / 2014-08-29
688==================
689
690 * deps: qs@2.2.2
691 - Remove unnecessary cloning
692
6934.8.6 / 2014-08-27
694==================
695
696 * deps: qs@2.2.0
697 - Array parsing fix
698 - Performance improvements
699
7004.8.5 / 2014-08-18
701==================
702
703 * deps: send@0.8.3
704 - deps: destroy@1.0.3
705 - deps: on-finished@2.1.0
706 * deps: serve-static@~1.5.3
707 - deps: send@0.8.3
708
7094.8.4 / 2014-08-14
710==================
711
712 * deps: qs@1.2.2
713 * deps: send@0.8.2
714 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
715 * deps: serve-static@~1.5.2
716 - deps: send@0.8.2
717
7184.8.3 / 2014-08-10
719==================
720
721 * deps: parseurl@~1.3.0
722 * deps: qs@1.2.1
723 * deps: serve-static@~1.5.1
724 - Fix parsing of weird `req.originalUrl` values
725 - deps: parseurl@~1.3.0
726 - deps: utils-merge@1.0.0
727
7284.8.2 / 2014-08-07
729==================
730
731 * deps: qs@1.2.0
732 - Fix parsing array of objects
733
7344.8.1 / 2014-08-06
735==================
736
737 * fix incorrect deprecation warnings on `res.download`
738 * deps: qs@1.1.0
739 - Accept urlencoded square brackets
740 - Accept empty values in implicit array notation
741
7424.8.0 / 2014-08-05
743==================
744
745 * add `res.sendFile`
746 - accepts a file system path instead of a URL
747 - requires an absolute path or `root` option specified
748 * deprecate `res.sendfile` -- use `res.sendFile` instead
749 * support mounted app as any argument to `app.use()`
750 * deps: qs@1.0.2
751 - Complete rewrite
752 - Limits array length to 20
753 - Limits object depth to 5
754 - Limits parameters to 1,000
755 * deps: send@0.8.1
756 - Add `extensions` option
757 * deps: serve-static@~1.5.0
758 - Add `extensions` option
759 - deps: send@0.8.1
760
7614.7.4 / 2014-08-04
762==================
763
764 * fix `res.sendfile` regression for serving directory index files
765 * deps: send@0.7.4
766 - Fix incorrect 403 on Windows and Node.js 0.11
767 - Fix serving index files without root dir
768 * deps: serve-static@~1.4.4
769 - deps: send@0.7.4
770
7714.7.3 / 2014-08-04
772==================
773
774 * deps: send@0.7.3
775 - Fix incorrect 403 on Windows and Node.js 0.11
776 * deps: serve-static@~1.4.3
777 - Fix incorrect 403 on Windows and Node.js 0.11
778 - deps: send@0.7.3
779
7804.7.2 / 2014-07-27
781==================
782
783 * deps: depd@0.4.4
784 - Work-around v8 generating empty stack traces
785 * deps: send@0.7.2
786 - deps: depd@0.4.4
787 * deps: serve-static@~1.4.2
788
7894.7.1 / 2014-07-26
790==================
791
792 * deps: depd@0.4.3
793 - Fix exception when global `Error.stackTraceLimit` is too low
794 * deps: send@0.7.1
795 - deps: depd@0.4.3
796 * deps: serve-static@~1.4.1
797
7984.7.0 / 2014-07-25
799==================
800
801 * fix `req.protocol` for proxy-direct connections
802 * configurable query parser with `app.set('query parser', parser)`
803 - `app.set('query parser', 'extended')` parse with "qs" module
804 - `app.set('query parser', 'simple')` parse with "querystring" core module
805 - `app.set('query parser', false)` disable query string parsing
806 - `app.set('query parser', true)` enable simple parsing
807 * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
808 * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
809 * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
810 * deps: debug@1.0.4
811 * deps: depd@0.4.2
812 - Add `TRACE_DEPRECATION` environment variable
813 - Remove non-standard grey color from color output
814 - Support `--no-deprecation` argument
815 - Support `--trace-deprecation` argument
816 * deps: finalhandler@0.1.0
817 - Respond after request fully read
818 - deps: debug@1.0.4
819 * deps: parseurl@~1.2.0
820 - Cache URLs based on original value
821 - Remove no-longer-needed URL mis-parse work-around
822 - Simplify the "fast-path" `RegExp`
823 * deps: send@0.7.0
824 - Add `dotfiles` option
825 - Cap `maxAge` value to 1 year
826 - deps: debug@1.0.4
827 - deps: depd@0.4.2
828 * deps: serve-static@~1.4.0
829 - deps: parseurl@~1.2.0
830 - deps: send@0.7.0
831 * perf: prevent multiple `Buffer` creation in `res.send`
832
8334.6.1 / 2014-07-12
834==================
835
836 * fix `subapp.mountpath` regression for `app.use(subapp)`
837
8384.6.0 / 2014-07-11
839==================
840
841 * accept multiple callbacks to `app.use()`
842 * add explicit "Rosetta Flash JSONP abuse" protection
843 - previous versions are not vulnerable; this is just explicit protection
844 * catch errors in multiple `req.param(name, fn)` handlers
845 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
846 * fix `res.send(status, num)` to send `num` as json (not error)
847 * remove unnecessary escaping when `res.jsonp` returns JSON response
848 * support non-string `path` in `app.use(path, fn)`
849 - supports array of paths
850 - supports `RegExp`
851 * router: fix optimization on router exit
852 * router: refactor location of `try` blocks
853 * router: speed up standard `app.use(fn)`
854 * deps: debug@1.0.3
855 - Add support for multiple wildcards in namespaces
856 * deps: finalhandler@0.0.3
857 - deps: debug@1.0.3
858 * deps: methods@1.1.0
859 - add `CONNECT`
860 * deps: parseurl@~1.1.3
861 - faster parsing of href-only URLs
862 * deps: path-to-regexp@0.1.3
863 * deps: send@0.6.0
864 - deps: debug@1.0.3
865 * deps: serve-static@~1.3.2
866 - deps: parseurl@~1.1.3
867 - deps: send@0.6.0
868 * perf: fix arguments reassign deopt in some `res` methods
869
8704.5.1 / 2014-07-06
871==================
872
873 * fix routing regression when altering `req.method`
874
8754.5.0 / 2014-07-04
876==================
877
878 * add deprecation message to non-plural `req.accepts*`
879 * add deprecation message to `res.send(body, status)`
880 * add deprecation message to `res.vary()`
881 * add `headers` option to `res.sendfile`
882 - use to set headers on successful file transfer
883 * add `mergeParams` option to `Router`
884 - merges `req.params` from parent routes
885 * add `req.hostname` -- correct name for what `req.host` returns
886 * deprecate things with `depd` module
887 * deprecate `req.host` -- use `req.hostname` instead
888 * fix behavior when handling request without routes
889 * fix handling when `route.all` is only route
890 * invoke `router.param()` only when route matches
891 * restore `req.params` after invoking router
892 * use `finalhandler` for final response handling
893 * use `media-typer` to alter content-type charset
894 * deps: accepts@~1.0.7
895 * deps: send@0.5.0
896 - Accept string for `maxage` (converted by `ms`)
897 - Include link in default redirect response
898 * deps: serve-static@~1.3.0
899 - Accept string for `maxAge` (converted by `ms`)
900 - Add `setHeaders` option
901 - Include HTML link in redirect response
902 - deps: send@0.5.0
903 * deps: type-is@~1.3.2
904
9054.4.5 / 2014-06-26
906==================
907
908 * deps: cookie-signature@1.0.4
909 - fix for timing attacks
910
9114.4.4 / 2014-06-20
912==================
913
914 * fix `res.attachment` Unicode filenames in Safari
915 * fix "trim prefix" debug message in `express:router`
916 * deps: accepts@~1.0.5
917 * deps: buffer-crc32@0.2.3
918
9194.4.3 / 2014-06-11
920==================
921
922 * fix persistence of modified `req.params[name]` from `app.param()`
923 * deps: accepts@1.0.3
924 - deps: negotiator@0.4.6
925 * deps: debug@1.0.2
926 * deps: send@0.4.3
927 - Do not throw un-catchable error on file open race condition
928 - Use `escape-html` for HTML escaping
929 - deps: debug@1.0.2
930 - deps: finished@1.2.2
931 - deps: fresh@0.2.2
932 * deps: serve-static@1.2.3
933 - Do not throw un-catchable error on file open race condition
934 - deps: send@0.4.3
935
9364.4.2 / 2014-06-09
937==================
938
939 * fix catching errors from top-level handlers
940 * use `vary` module for `res.vary`
941 * deps: debug@1.0.1
942 * deps: proxy-addr@1.0.1
943 * deps: send@0.4.2
944 - fix "event emitter leak" warnings
945 - deps: debug@1.0.1
946 - deps: finished@1.2.1
947 * deps: serve-static@1.2.2
948 - fix "event emitter leak" warnings
949 - deps: send@0.4.2
950 * deps: type-is@1.2.1
951
9524.4.1 / 2014-06-02
953==================
954
955 * deps: methods@1.0.1
956 * deps: send@0.4.1
957 - Send `max-age` in `Cache-Control` in correct format
958 * deps: serve-static@1.2.1
959 - use `escape-html` for escaping
960 - deps: send@0.4.1
961
9624.4.0 / 2014-05-30
963==================
964
965 * custom etag control with `app.set('etag', val)`
966 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
967 - `app.set('etag', 'weak')` weak tag
968 - `app.set('etag', 'strong')` strong etag
969 - `app.set('etag', false)` turn off
970 - `app.set('etag', true)` standard etag
971 * mark `res.send` ETag as weak and reduce collisions
972 * update accepts to 1.0.2
973 - Fix interpretation when header not in request
974 * update send to 0.4.0
975 - Calculate ETag with md5 for reduced collisions
976 - Ignore stream errors after request ends
977 - deps: debug@0.8.1
978 * update serve-static to 1.2.0
979 - Calculate ETag with md5 for reduced collisions
980 - Ignore stream errors after request ends
981 - deps: send@0.4.0
982
9834.3.2 / 2014-05-28
984==================
985
986 * fix handling of errors from `router.param()` callbacks
987
9884.3.1 / 2014-05-23
989==================
990
991 * revert "fix behavior of multiple `app.VERB` for the same path"
992 - this caused a regression in the order of route execution
993
9944.3.0 / 2014-05-21
995==================
996
997 * add `req.baseUrl` to access the path stripped from `req.url` in routes
998 * fix behavior of multiple `app.VERB` for the same path
999 * fix issue routing requests among sub routers
1000 * invoke `router.param()` only when necessary instead of every match
1001 * proper proxy trust with `app.set('trust proxy', trust)`
1002 - `app.set('trust proxy', 1)` trust first hop
1003 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1004 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1005 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1006 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1007 - `app.set('trust proxy', false)` turn off
1008 - `app.set('trust proxy', true)` trust everything
1009 * set proper `charset` in `Content-Type` for `res.send`
1010 * update type-is to 1.2.0
1011 - support suffix matching
1012
10134.2.0 / 2014-05-11
1014==================
1015
1016 * deprecate `app.del()` -- use `app.delete()` instead
1017 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1018 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1019 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1020 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1021 * fix `req.next` when inside router instance
1022 * include `ETag` header in `HEAD` requests
1023 * keep previous `Content-Type` for `res.jsonp`
1024 * support PURGE method
1025 - add `app.purge`
1026 - add `router.purge`
1027 - include PURGE in `app.all`
1028 * update debug to 0.8.0
1029 - add `enable()` method
1030 - change from stderr to stdout
1031 * update methods to 1.0.0
1032 - add PURGE
1033
10344.1.2 / 2014-05-08
1035==================
1036
1037 * fix `req.host` for IPv6 literals
1038 * fix `res.jsonp` error if callback param is object
1039
10404.1.1 / 2014-04-27
1041==================
1042
1043 * fix package.json to reflect supported node version
1044
10454.1.0 / 2014-04-24
1046==================
1047
1048 * pass options from `res.sendfile` to `send`
1049 * preserve casing of headers in `res.header` and `res.set`
1050 * support unicode file names in `res.attachment` and `res.download`
1051 * update accepts to 1.0.1
1052 - deps: negotiator@0.4.0
1053 * update cookie to 0.1.2
1054 - Fix for maxAge == 0
1055 - made compat with expires field
1056 * update send to 0.3.0
1057 - Accept API options in options object
1058 - Coerce option types
1059 - Control whether to generate etags
1060 - Default directory access to 403 when index disabled
1061 - Fix sending files with dots without root set
1062 - Include file path in etag
1063 - Make "Can't set headers after they are sent." catchable
1064 - Send full entity-body for multi range requests
1065 - Set etags to "weak"
1066 - Support "If-Range" header
1067 - Support multiple index paths
1068 - deps: mime@1.2.11
1069 * update serve-static to 1.1.0
1070 - Accept options directly to `send` module
1071 - Resolve relative paths at middleware setup
1072 - Use parseurl to parse the URL from request
1073 - deps: send@0.3.0
1074 * update type-is to 1.1.0
1075 - add non-array values support
1076 - add `multipart` as a shorthand
1077
10784.0.0 / 2014-04-09
1079==================
1080
1081 * remove:
1082 - node 0.8 support
1083 - connect and connect's patches except for charset handling
1084 - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
1085 - `express.createServer()` - it has been deprecated for a long time. Use `express()`
1086 - `app.configure` - use logic in your own app code
1087 - `app.router` - is removed
1088 - `req.auth` - use `basic-auth` instead
1089 - `req.accepted*` - use `req.accepts*()` instead
1090 - `res.location` - relative URL resolution is removed
1091 - `res.charset` - include the charset in the content type when using `res.set()`
1092 - all bundled middleware except `static`
1093 * change:
1094 - `app.route` -> `app.mountpath` when mounting an express app in another express app
1095 - `json spaces` no longer enabled by default in development
1096 - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
1097 - `req.params` is now an object instead of an array
1098 - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
1099 - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
1100 * refactor:
1101 - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
1102 - `req.is` with [type-is](https://github.com/expressjs/type-is)
1103 - [path-to-regexp](https://github.com/component/path-to-regexp)
1104 * add:
1105 - `app.router()` - returns the app Router instance
1106 - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
1107 - Router & Route - public API
1108
11093.21.2 / 2015-07-31
1110===================
1111
1112 * deps: connect@2.30.2
1113 - deps: body-parser@~1.13.3
1114 - deps: compression@~1.5.2
1115 - deps: errorhandler@~1.4.2
1116 - deps: method-override@~2.3.5
1117 - deps: serve-index@~1.7.2
1118 - deps: type-is@~1.6.6
1119 - deps: vhost@~3.0.1
1120 * deps: vary@~1.0.1
1121 - Fix setting empty header from empty `field`
1122 - perf: enable strict mode
1123 - perf: remove argument reassignments
1124
11253.21.1 / 2015-07-05
1126===================
1127
1128 * deps: basic-auth@~1.0.3
1129 * deps: connect@2.30.1
1130 - deps: body-parser@~1.13.2
1131 - deps: compression@~1.5.1
1132 - deps: errorhandler@~1.4.1
1133 - deps: morgan@~1.6.1
1134 - deps: pause@0.1.0
1135 - deps: qs@4.0.0
1136 - deps: serve-index@~1.7.1
1137 - deps: type-is@~1.6.4
1138
11393.21.0 / 2015-06-18
1140===================
1141
1142 * deps: basic-auth@1.0.2
1143 - perf: enable strict mode
1144 - perf: hoist regular expression
1145 - perf: parse with regular expressions
1146 - perf: remove argument reassignment
1147 * deps: connect@2.30.0
1148 - deps: body-parser@~1.13.1
1149 - deps: bytes@2.1.0
1150 - deps: compression@~1.5.0
1151 - deps: cookie@0.1.3
1152 - deps: cookie-parser@~1.3.5
1153 - deps: csurf@~1.8.3
1154 - deps: errorhandler@~1.4.0
1155 - deps: express-session@~1.11.3
1156 - deps: finalhandler@0.4.0
1157 - deps: fresh@0.3.0
1158 - deps: morgan@~1.6.0
1159 - deps: serve-favicon@~2.3.0
1160 - deps: serve-index@~1.7.0
1161 - deps: serve-static@~1.10.0
1162 - deps: type-is@~1.6.3
1163 * deps: cookie@0.1.3
1164 - perf: deduce the scope of try-catch deopt
1165 - perf: remove argument reassignments
1166 * deps: escape-html@1.0.2
1167 * deps: etag@~1.7.0
1168 - Always include entity length in ETags for hash length extensions
1169 - Generate non-Stats ETags using MD5 only (no longer CRC32)
1170 - Improve stat performance by removing hashing
1171 - Improve support for JXcore
1172 - Remove base64 padding in ETags to shorten
1173 - Support "fake" stats objects in environments without fs
1174 - Use MD5 instead of MD4 in weak ETags over 1KB
1175 * deps: fresh@0.3.0
1176 - Add weak `ETag` matching support
1177 * deps: mkdirp@0.5.1
1178 - Work in global strict mode
1179 * deps: send@0.13.0
1180 - Allow Node.js HTTP server to set `Date` response header
1181 - Fix incorrectly removing `Content-Location` on 304 response
1182 - Improve the default redirect response headers
1183 - Send appropriate headers on default error response
1184 - Use `http-errors` for standard emitted errors
1185 - Use `statuses` instead of `http` module for status messages
1186 - deps: escape-html@1.0.2
1187 - deps: etag@~1.7.0
1188 - deps: fresh@0.3.0
1189 - deps: on-finished@~2.3.0
1190 - perf: enable strict mode
1191 - perf: remove unnecessary array allocations
1192
11933.20.3 / 2015-05-17
1194===================
1195
1196 * deps: connect@2.29.2
1197 - deps: body-parser@~1.12.4
1198 - deps: compression@~1.4.4
1199 - deps: connect-timeout@~1.6.2
1200 - deps: debug@~2.2.0
1201 - deps: depd@~1.0.1
1202 - deps: errorhandler@~1.3.6
1203 - deps: finalhandler@0.3.6
1204 - deps: method-override@~2.3.3
1205 - deps: morgan@~1.5.3
1206 - deps: qs@2.4.2
1207 - deps: response-time@~2.3.1
1208 - deps: serve-favicon@~2.2.1
1209 - deps: serve-index@~1.6.4
1210 - deps: serve-static@~1.9.3
1211 - deps: type-is@~1.6.2
1212 * deps: debug@~2.2.0
1213 - deps: ms@0.7.1
1214 * deps: depd@~1.0.1
1215 * deps: proxy-addr@~1.0.8
1216 - deps: ipaddr.js@1.0.1
1217 * deps: send@0.12.3
1218 - deps: debug@~2.2.0
1219 - deps: depd@~1.0.1
1220 - deps: etag@~1.6.0
1221 - deps: ms@0.7.1
1222 - deps: on-finished@~2.2.1
1223
12243.20.2 / 2015-03-16
1225===================
1226
1227 * deps: connect@2.29.1
1228 - deps: body-parser@~1.12.2
1229 - deps: compression@~1.4.3
1230 - deps: connect-timeout@~1.6.1
1231 - deps: debug@~2.1.3
1232 - deps: errorhandler@~1.3.5
1233 - deps: express-session@~1.10.4
1234 - deps: finalhandler@0.3.4
1235 - deps: method-override@~2.3.2
1236 - deps: morgan@~1.5.2
1237 - deps: qs@2.4.1
1238 - deps: serve-index@~1.6.3
1239 - deps: serve-static@~1.9.2
1240 - deps: type-is@~1.6.1
1241 * deps: debug@~2.1.3
1242 - Fix high intensity foreground color for bold
1243 - deps: ms@0.7.0
1244 * deps: merge-descriptors@1.0.0
1245 * deps: proxy-addr@~1.0.7
1246 - deps: ipaddr.js@0.1.9
1247 * deps: send@0.12.2
1248 - Throw errors early for invalid `extensions` or `index` options
1249 - deps: debug@~2.1.3
1250
12513.20.1 / 2015-02-28
1252===================
1253
1254 * Fix `req.host` when using "trust proxy" hops count
1255 * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
1256
12573.20.0 / 2015-02-18
1258===================
1259
1260 * Fix `"trust proxy"` setting to inherit when app is mounted
1261 * Generate `ETag`s for all request responses
1262 - No longer restricted to only responses for `GET` and `HEAD` requests
1263 * Use `content-type` to parse `Content-Type` headers
1264 * deps: connect@2.29.0
1265 - Use `content-type` to parse `Content-Type` headers
1266 - deps: body-parser@~1.12.0
1267 - deps: compression@~1.4.1
1268 - deps: connect-timeout@~1.6.0
1269 - deps: cookie-parser@~1.3.4
1270 - deps: cookie-signature@1.0.6
1271 - deps: csurf@~1.7.0
1272 - deps: errorhandler@~1.3.4
1273 - deps: express-session@~1.10.3
1274 - deps: http-errors@~1.3.1
1275 - deps: response-time@~2.3.0
1276 - deps: serve-index@~1.6.2
1277 - deps: serve-static@~1.9.1
1278 - deps: type-is@~1.6.0
1279 * deps: cookie-signature@1.0.6
1280 * deps: send@0.12.1
1281 - Always read the stat size from the file
1282 - Fix mutating passed-in `options`
1283 - deps: mime@1.3.4
1284
12853.19.2 / 2015-02-01
1286===================
1287
1288 * deps: connect@2.28.3
1289 - deps: compression@~1.3.1
1290 - deps: csurf@~1.6.6
1291 - deps: errorhandler@~1.3.3
1292 - deps: express-session@~1.10.2
1293 - deps: serve-index@~1.6.1
1294 - deps: type-is@~1.5.6
1295 * deps: proxy-addr@~1.0.6
1296 - deps: ipaddr.js@0.1.8
1297
12983.19.1 / 2015-01-20
1299===================
1300
1301 * deps: connect@2.28.2
1302 - deps: body-parser@~1.10.2
1303 - deps: serve-static@~1.8.1
1304 * deps: send@0.11.1
1305 - Fix root path disclosure
1306
13073.19.0 / 2015-01-09
1308===================
1309
1310 * Fix `OPTIONS` responses to include the `HEAD` method property
1311 * Use `readline` for prompt in `express(1)`
1312 * deps: commander@2.6.0
1313 * deps: connect@2.28.1
1314 - deps: body-parser@~1.10.1
1315 - deps: compression@~1.3.0
1316 - deps: connect-timeout@~1.5.0
1317 - deps: csurf@~1.6.4
1318 - deps: debug@~2.1.1
1319 - deps: errorhandler@~1.3.2
1320 - deps: express-session@~1.10.1
1321 - deps: finalhandler@0.3.3
1322 - deps: method-override@~2.3.1
1323 - deps: morgan@~1.5.1
1324 - deps: serve-favicon@~2.2.0
1325 - deps: serve-index@~1.6.0
1326 - deps: serve-static@~1.8.0
1327 - deps: type-is@~1.5.5
1328 * deps: debug@~2.1.1
1329 * deps: methods@~1.1.1
1330 * deps: proxy-addr@~1.0.5
1331 - deps: ipaddr.js@0.1.6
1332 * deps: send@0.11.0
1333 - deps: debug@~2.1.1
1334 - deps: etag@~1.5.1
1335 - deps: ms@0.7.0
1336 - deps: on-finished@~2.2.0
1337
13383.18.6 / 2014-12-12
1339===================
1340
1341 * Fix exception in `req.fresh`/`req.stale` without response headers
1342
13433.18.5 / 2014-12-11
1344===================
1345
1346 * deps: connect@2.27.6
1347 - deps: compression@~1.2.2
1348 - deps: express-session@~1.9.3
1349 - deps: http-errors@~1.2.8
1350 - deps: serve-index@~1.5.3
1351 - deps: type-is@~1.5.4
1352
13533.18.4 / 2014-11-23
1354===================
1355
1356 * deps: connect@2.27.4
1357 - deps: body-parser@~1.9.3
1358 - deps: compression@~1.2.1
1359 - deps: errorhandler@~1.2.3
1360 - deps: express-session@~1.9.2
1361 - deps: qs@2.3.3
1362 - deps: serve-favicon@~2.1.7
1363 - deps: serve-static@~1.5.1
1364 - deps: type-is@~1.5.3
1365 * deps: etag@~1.5.1
1366 * deps: proxy-addr@~1.0.4
1367 - deps: ipaddr.js@0.1.5
1368
13693.18.3 / 2014-11-09
1370===================
1371
1372 * deps: connect@2.27.3
1373 - Correctly invoke async callback asynchronously
1374 - deps: csurf@~1.6.3
1375
13763.18.2 / 2014-10-28
1377===================
1378
1379 * deps: connect@2.27.2
1380 - Fix handling of URLs containing `://` in the path
1381 - deps: body-parser@~1.9.2
1382 - deps: qs@2.3.2
1383
13843.18.1 / 2014-10-22
1385===================
1386
1387 * Fix internal `utils.merge` deprecation warnings
1388 * deps: connect@2.27.1
1389 - deps: body-parser@~1.9.1
1390 - deps: express-session@~1.9.1
1391 - deps: finalhandler@0.3.2
1392 - deps: morgan@~1.4.1
1393 - deps: qs@2.3.0
1394 - deps: serve-static@~1.7.1
1395 * deps: send@0.10.1
1396 - deps: on-finished@~2.1.1
1397
13983.18.0 / 2014-10-17
1399===================
1400
1401 * Use `content-disposition` module for `res.attachment`/`res.download`
1402 - Sends standards-compliant `Content-Disposition` header
1403 - Full Unicode support
1404 * Use `etag` module to generate `ETag` headers
1405 * deps: connect@2.27.0
1406 - Use `http-errors` module for creating errors
1407 - Use `utils-merge` module for merging objects
1408 - deps: body-parser@~1.9.0
1409 - deps: compression@~1.2.0
1410 - deps: connect-timeout@~1.4.0
1411 - deps: debug@~2.1.0
1412 - deps: depd@~1.0.0
1413 - deps: express-session@~1.9.0
1414 - deps: finalhandler@0.3.1
1415 - deps: method-override@~2.3.0
1416 - deps: morgan@~1.4.0
1417 - deps: response-time@~2.2.0
1418 - deps: serve-favicon@~2.1.6
1419 - deps: serve-index@~1.5.0
1420 - deps: serve-static@~1.7.0
1421 * deps: debug@~2.1.0
1422 - Implement `DEBUG_FD` env variable support
1423 * deps: depd@~1.0.0
1424 * deps: send@0.10.0
1425 - deps: debug@~2.1.0
1426 - deps: depd@~1.0.0
1427 - deps: etag@~1.5.0
1428
14293.17.8 / 2014-10-15
1430===================
1431
1432 * deps: connect@2.26.6
1433 - deps: compression@~1.1.2
1434 - deps: csurf@~1.6.2
1435 - deps: errorhandler@~1.2.2
1436
14373.17.7 / 2014-10-08
1438===================
1439
1440 * deps: connect@2.26.5
1441 - Fix accepting non-object arguments to `logger`
1442 - deps: serve-static@~1.6.4
1443
14443.17.6 / 2014-10-02
1445===================
1446
1447 * deps: connect@2.26.4
1448 - deps: morgan@~1.3.2
1449 - deps: type-is@~1.5.2
1450
14513.17.5 / 2014-09-24
1452===================
1453
1454 * deps: connect@2.26.3
1455 - deps: body-parser@~1.8.4
1456 - deps: serve-favicon@~2.1.5
1457 - deps: serve-static@~1.6.3
1458 * deps: proxy-addr@~1.0.3
1459 - Use `forwarded` npm module
1460 * deps: send@0.9.3
1461 - deps: etag@~1.4.0
1462
14633.17.4 / 2014-09-19
1464===================
1465
1466 * deps: connect@2.26.2
1467 - deps: body-parser@~1.8.3
1468 - deps: qs@2.2.4
1469
14703.17.3 / 2014-09-18
1471===================
1472
1473 * deps: proxy-addr@~1.0.2
1474 - Fix a global leak when multiple subnets are trusted
1475 - deps: ipaddr.js@0.1.3
1476
14773.17.2 / 2014-09-15
1478===================
1479
1480 * Use `crc` instead of `buffer-crc32` for speed
1481 * deps: connect@2.26.1
1482 - deps: body-parser@~1.8.2
1483 - deps: depd@0.4.5
1484 - deps: express-session@~1.8.2
1485 - deps: morgan@~1.3.1
1486 - deps: serve-favicon@~2.1.3
1487 - deps: serve-static@~1.6.2
1488 * deps: depd@0.4.5
1489 * deps: send@0.9.2
1490 - deps: depd@0.4.5
1491 - deps: etag@~1.3.1
1492 - deps: range-parser@~1.0.2
1493
14943.17.1 / 2014-09-08
1495===================
1496
1497 * Fix error in `req.subdomains` on empty host
1498
14993.17.0 / 2014-09-08
1500===================
1501
1502 * Support `X-Forwarded-Host` in `req.subdomains`
1503 * Support IP address host in `req.subdomains`
1504 * deps: connect@2.26.0
1505 - deps: body-parser@~1.8.1
1506 - deps: compression@~1.1.0
1507 - deps: connect-timeout@~1.3.0
1508 - deps: cookie-parser@~1.3.3
1509 - deps: cookie-signature@1.0.5
1510 - deps: csurf@~1.6.1
1511 - deps: debug@~2.0.0
1512 - deps: errorhandler@~1.2.0
1513 - deps: express-session@~1.8.1
1514 - deps: finalhandler@0.2.0
1515 - deps: fresh@0.2.4
1516 - deps: media-typer@0.3.0
1517 - deps: method-override@~2.2.0
1518 - deps: morgan@~1.3.0
1519 - deps: qs@2.2.3
1520 - deps: serve-favicon@~2.1.3
1521 - deps: serve-index@~1.2.1
1522 - deps: serve-static@~1.6.1
1523 - deps: type-is@~1.5.1
1524 - deps: vhost@~3.0.0
1525 * deps: cookie-signature@1.0.5
1526 * deps: debug@~2.0.0
1527 * deps: fresh@0.2.4
1528 * deps: media-typer@0.3.0
1529 - Throw error when parameter format invalid on parse
1530 * deps: range-parser@~1.0.2
1531 * deps: send@0.9.1
1532 - Add `lastModified` option
1533 - Use `etag` to generate `ETag` header
1534 - deps: debug@~2.0.0
1535 - deps: fresh@0.2.4
1536 * deps: vary@~1.0.0
1537 - Accept valid `Vary` header string as `field`
1538
15393.16.10 / 2014-09-04
1540====================
1541
1542 * deps: connect@2.25.10
1543 - deps: serve-static@~1.5.4
1544 * deps: send@0.8.5
1545 - Fix a path traversal issue when using `root`
1546 - Fix malicious path detection for empty string path
1547
15483.16.9 / 2014-08-29
1549===================
1550
1551 * deps: connect@2.25.9
1552 - deps: body-parser@~1.6.7
1553 - deps: qs@2.2.2
1554
15553.16.8 / 2014-08-27
1556===================
1557
1558 * deps: connect@2.25.8
1559 - deps: body-parser@~1.6.6
1560 - deps: csurf@~1.4.1
1561 - deps: qs@2.2.0
1562
15633.16.7 / 2014-08-18
1564===================
1565
1566 * deps: connect@2.25.7
1567 - deps: body-parser@~1.6.5
1568 - deps: express-session@~1.7.6
1569 - deps: morgan@~1.2.3
1570 - deps: serve-static@~1.5.3
1571 * deps: send@0.8.3
1572 - deps: destroy@1.0.3
1573 - deps: on-finished@2.1.0
1574
15753.16.6 / 2014-08-14
1576===================
1577
1578 * deps: connect@2.25.6
1579 - deps: body-parser@~1.6.4
1580 - deps: qs@1.2.2
1581 - deps: serve-static@~1.5.2
1582 * deps: send@0.8.2
1583 - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
1584
15853.16.5 / 2014-08-11
1586===================
1587
1588 * deps: connect@2.25.5
1589 - Fix backwards compatibility in `logger`
1590
15913.16.4 / 2014-08-10
1592===================
1593
1594 * Fix original URL parsing in `res.location`
1595 * deps: connect@2.25.4
1596 - Fix `query` middleware breaking with argument
1597 - deps: body-parser@~1.6.3
1598 - deps: compression@~1.0.11
1599 - deps: connect-timeout@~1.2.2
1600 - deps: express-session@~1.7.5
1601 - deps: method-override@~2.1.3
1602 - deps: on-headers@~1.0.0
1603 - deps: parseurl@~1.3.0
1604 - deps: qs@1.2.1
1605 - deps: response-time@~2.0.1
1606 - deps: serve-index@~1.1.6
1607 - deps: serve-static@~1.5.1
1608 * deps: parseurl@~1.3.0
1609
16103.16.3 / 2014-08-07
1611===================
1612
1613 * deps: connect@2.25.3
1614 - deps: multiparty@3.3.2
1615
16163.16.2 / 2014-08-07
1617===================
1618
1619 * deps: connect@2.25.2
1620 - deps: body-parser@~1.6.2
1621 - deps: qs@1.2.0
1622
16233.16.1 / 2014-08-06
1624===================
1625
1626 * deps: connect@2.25.1
1627 - deps: body-parser@~1.6.1
1628 - deps: qs@1.1.0
1629
16303.16.0 / 2014-08-05
1631===================
1632
1633 * deps: connect@2.25.0
1634 - deps: body-parser@~1.6.0
1635 - deps: compression@~1.0.10
1636 - deps: csurf@~1.4.0
1637 - deps: express-session@~1.7.4
1638 - deps: qs@1.0.2
1639 - deps: serve-static@~1.5.0
1640 * deps: send@0.8.1
1641 - Add `extensions` option
1642
16433.15.3 / 2014-08-04
1644===================
1645
1646 * fix `res.sendfile` regression for serving directory index files
1647 * deps: connect@2.24.3
1648 - deps: serve-index@~1.1.5
1649 - deps: serve-static@~1.4.4
1650 * deps: send@0.7.4
1651 - Fix incorrect 403 on Windows and Node.js 0.11
1652 - Fix serving index files without root dir
1653
16543.15.2 / 2014-07-27
1655===================
1656
1657 * deps: connect@2.24.2
1658 - deps: body-parser@~1.5.2
1659 - deps: depd@0.4.4
1660 - deps: express-session@~1.7.2
1661 - deps: morgan@~1.2.2
1662 - deps: serve-static@~1.4.2
1663 * deps: depd@0.4.4
1664 - Work-around v8 generating empty stack traces
1665 * deps: send@0.7.2
1666 - deps: depd@0.4.4
1667
16683.15.1 / 2014-07-26
1669===================
1670
1671 * deps: connect@2.24.1
1672 - deps: body-parser@~1.5.1
1673 - deps: depd@0.4.3
1674 - deps: express-session@~1.7.1
1675 - deps: morgan@~1.2.1
1676 - deps: serve-index@~1.1.4
1677 - deps: serve-static@~1.4.1
1678 * deps: depd@0.4.3
1679 - Fix exception when global `Error.stackTraceLimit` is too low
1680 * deps: send@0.7.1
1681 - deps: depd@0.4.3
1682
16833.15.0 / 2014-07-22
1684===================
1685
1686 * Fix `req.protocol` for proxy-direct connections
1687 * Pass options from `res.sendfile` to `send`
1688 * deps: connect@2.24.0
1689 - deps: body-parser@~1.5.0
1690 - deps: compression@~1.0.9
1691 - deps: connect-timeout@~1.2.1
1692 - deps: debug@1.0.4
1693 - deps: depd@0.4.2
1694 - deps: express-session@~1.7.0
1695 - deps: finalhandler@0.1.0
1696 - deps: method-override@~2.1.2
1697 - deps: morgan@~1.2.0
1698 - deps: multiparty@3.3.1
1699 - deps: parseurl@~1.2.0
1700 - deps: serve-static@~1.4.0
1701 * deps: debug@1.0.4
1702 * deps: depd@0.4.2
1703 - Add `TRACE_DEPRECATION` environment variable
1704 - Remove non-standard grey color from color output
1705 - Support `--no-deprecation` argument
1706 - Support `--trace-deprecation` argument
1707 * deps: parseurl@~1.2.0
1708 - Cache URLs based on original value
1709 - Remove no-longer-needed URL mis-parse work-around
1710 - Simplify the "fast-path" `RegExp`
1711 * deps: send@0.7.0
1712 - Add `dotfiles` option
1713 - Cap `maxAge` value to 1 year
1714 - deps: debug@1.0.4
1715 - deps: depd@0.4.2
1716
17173.14.0 / 2014-07-11
1718===================
1719
1720 * add explicit "Rosetta Flash JSONP abuse" protection
1721 - previous versions are not vulnerable; this is just explicit protection
1722 * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
1723 * fix `res.send(status, num)` to send `num` as json (not error)
1724 * remove unnecessary escaping when `res.jsonp` returns JSON response
1725 * deps: basic-auth@1.0.0
1726 - support empty password
1727 - support empty username
1728 * deps: connect@2.23.0
1729 - deps: debug@1.0.3
1730 - deps: express-session@~1.6.4
1731 - deps: method-override@~2.1.0
1732 - deps: parseurl@~1.1.3
1733 - deps: serve-static@~1.3.1
1734 * deps: debug@1.0.3
1735 - Add support for multiple wildcards in namespaces
1736 * deps: methods@1.1.0
1737 - add `CONNECT`
1738 * deps: parseurl@~1.1.3
1739 - faster parsing of href-only URLs
1740
17413.13.0 / 2014-07-03
1742===================
1743
1744 * add deprecation message to `app.configure`
1745 * add deprecation message to `req.auth`
1746 * use `basic-auth` to parse `Authorization` header
1747 * deps: connect@2.22.0
1748 - deps: csurf@~1.3.0
1749 - deps: express-session@~1.6.1
1750 - deps: multiparty@3.3.0
1751 - deps: serve-static@~1.3.0
1752 * deps: send@0.5.0
1753 - Accept string for `maxage` (converted by `ms`)
1754 - Include link in default redirect response
1755
17563.12.1 / 2014-06-26
1757===================
1758
1759 * deps: connect@2.21.1
1760 - deps: cookie-parser@1.3.2
1761 - deps: cookie-signature@1.0.4
1762 - deps: express-session@~1.5.2
1763 - deps: type-is@~1.3.2
1764 * deps: cookie-signature@1.0.4
1765 - fix for timing attacks
1766
17673.12.0 / 2014-06-21
1768===================
1769
1770 * use `media-typer` to alter content-type charset
1771 * deps: connect@2.21.0
1772 - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
1773 - deprecate `connect.createServer()` -- use `connect()` instead
1774 - fix `res.setHeader()` patch to work with with get -> append -> set pattern
1775 - deps: compression@~1.0.8
1776 - deps: errorhandler@~1.1.1
1777 - deps: express-session@~1.5.0
1778 - deps: serve-index@~1.1.3
1779
17803.11.0 / 2014-06-19
1781===================
1782
1783 * deprecate things with `depd` module
1784 * deps: buffer-crc32@0.2.3
1785 * deps: connect@2.20.2
1786 - deprecate `verify` option to `json` -- use `body-parser` npm module instead
1787 - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
1788 - deprecate things with `depd` module
1789 - use `finalhandler` for final response handling
1790 - use `media-typer` to parse `content-type` for charset
1791 - deps: body-parser@1.4.3
1792 - deps: connect-timeout@1.1.1
1793 - deps: cookie-parser@1.3.1
1794 - deps: csurf@1.2.2
1795 - deps: errorhandler@1.1.0
1796 - deps: express-session@1.4.0
1797 - deps: multiparty@3.2.9
1798 - deps: serve-index@1.1.2
1799 - deps: type-is@1.3.1
1800 - deps: vhost@2.0.0
1801
18023.10.5 / 2014-06-11
1803===================
1804
1805 * deps: connect@2.19.6
1806 - deps: body-parser@1.3.1
1807 - deps: compression@1.0.7
1808 - deps: debug@1.0.2
1809 - deps: serve-index@1.1.1
1810 - deps: serve-static@1.2.3
1811 * deps: debug@1.0.2
1812 * deps: send@0.4.3
1813 - Do not throw un-catchable error on file open race condition
1814 - Use `escape-html` for HTML escaping
1815 - deps: debug@1.0.2
1816 - deps: finished@1.2.2
1817 - deps: fresh@0.2.2
1818
18193.10.4 / 2014-06-09
1820===================
1821
1822 * deps: connect@2.19.5
1823 - fix "event emitter leak" warnings
1824 - deps: csurf@1.2.1
1825 - deps: debug@1.0.1
1826 - deps: serve-static@1.2.2
1827 - deps: type-is@1.2.1
1828 * deps: debug@1.0.1
1829 * deps: send@0.4.2
1830 - fix "event emitter leak" warnings
1831 - deps: finished@1.2.1
1832 - deps: debug@1.0.1
1833
18343.10.3 / 2014-06-05
1835===================
1836
1837 * use `vary` module for `res.vary`
1838 * deps: connect@2.19.4
1839 - deps: errorhandler@1.0.2
1840 - deps: method-override@2.0.2
1841 - deps: serve-favicon@2.0.1
1842 * deps: debug@1.0.0
1843
18443.10.2 / 2014-06-03
1845===================
1846
1847 * deps: connect@2.19.3
1848 - deps: compression@1.0.6
1849
18503.10.1 / 2014-06-03
1851===================
1852
1853 * deps: connect@2.19.2
1854 - deps: compression@1.0.4
1855 * deps: proxy-addr@1.0.1
1856
18573.10.0 / 2014-06-02
1858===================
1859
1860 * deps: connect@2.19.1
1861 - deprecate `methodOverride()` -- use `method-override` npm module instead
1862 - deps: body-parser@1.3.0
1863 - deps: method-override@2.0.1
1864 - deps: multiparty@3.2.8
1865 - deps: response-time@2.0.0
1866 - deps: serve-static@1.2.1
1867 * deps: methods@1.0.1
1868 * deps: send@0.4.1
1869 - Send `max-age` in `Cache-Control` in correct format
1870
18713.9.0 / 2014-05-30
1872==================
1873
1874 * custom etag control with `app.set('etag', val)`
1875 - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
1876 - `app.set('etag', 'weak')` weak tag
1877 - `app.set('etag', 'strong')` strong etag
1878 - `app.set('etag', false)` turn off
1879 - `app.set('etag', true)` standard etag
1880 * Include ETag in HEAD requests
1881 * mark `res.send` ETag as weak and reduce collisions
1882 * update connect to 2.18.0
1883 - deps: compression@1.0.3
1884 - deps: serve-index@1.1.0
1885 - deps: serve-static@1.2.0
1886 * update send to 0.4.0
1887 - Calculate ETag with md5 for reduced collisions
1888 - Ignore stream errors after request ends
1889 - deps: debug@0.8.1
1890
18913.8.1 / 2014-05-27
1892==================
1893
1894 * update connect to 2.17.3
1895 - deps: body-parser@1.2.2
1896 - deps: express-session@1.2.1
1897 - deps: method-override@1.0.2
1898
18993.8.0 / 2014-05-21
1900==================
1901
1902 * keep previous `Content-Type` for `res.jsonp`
1903 * set proper `charset` in `Content-Type` for `res.send`
1904 * update connect to 2.17.1
1905 - fix `res.charset` appending charset when `content-type` has one
1906 - deps: express-session@1.2.0
1907 - deps: morgan@1.1.1
1908 - deps: serve-index@1.0.3
1909
19103.7.0 / 2014-05-18
1911==================
1912
1913 * proper proxy trust with `app.set('trust proxy', trust)`
1914 - `app.set('trust proxy', 1)` trust first hop
1915 - `app.set('trust proxy', 'loopback')` trust loopback addresses
1916 - `app.set('trust proxy', '10.0.0.1')` trust single IP
1917 - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
1918 - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
1919 - `app.set('trust proxy', false)` turn off
1920 - `app.set('trust proxy', true)` trust everything
1921 * update connect to 2.16.2
1922 - deprecate `res.headerSent` -- use `res.headersSent`
1923 - deprecate `res.on("header")` -- use on-headers module instead
1924 - fix edge-case in `res.appendHeader` that would append in wrong order
1925 - json: use body-parser
1926 - urlencoded: use body-parser
1927 - dep: bytes@1.0.0
1928 - dep: cookie-parser@1.1.0
1929 - dep: csurf@1.2.0
1930 - dep: express-session@1.1.0
1931 - dep: method-override@1.0.1
1932
19333.6.0 / 2014-05-09
1934==================
1935
1936 * deprecate `app.del()` -- use `app.delete()` instead
1937 * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
1938 - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
1939 * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
1940 - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
1941 * support PURGE method
1942 - add `app.purge`
1943 - add `router.purge`
1944 - include PURGE in `app.all`
1945 * update connect to 2.15.0
1946 * Add `res.appendHeader`
1947 * Call error stack even when response has been sent
1948 * Patch `res.headerSent` to return Boolean
1949 * Patch `res.headersSent` for node.js 0.8
1950 * Prevent default 404 handler after response sent
1951 * dep: compression@1.0.2
1952 * dep: connect-timeout@1.1.0
1953 * dep: debug@^0.8.0
1954 * dep: errorhandler@1.0.1
1955 * dep: express-session@1.0.4
1956 * dep: morgan@1.0.1
1957 * dep: serve-favicon@2.0.0
1958 * dep: serve-index@1.0.2
1959 * update debug to 0.8.0
1960 * add `enable()` method
1961 * change from stderr to stdout
1962 * update methods to 1.0.0
1963 - add PURGE
1964 * update mkdirp to 0.5.0
1965
19663.5.3 / 2014-05-08
1967==================
1968
1969 * fix `req.host` for IPv6 literals
1970 * fix `res.jsonp` error if callback param is object
1971
19723.5.2 / 2014-04-24
1973==================
1974
1975 * update connect to 2.14.5
1976 * update cookie to 0.1.2
1977 * update mkdirp to 0.4.0
1978 * update send to 0.3.0
1979
19803.5.1 / 2014-03-25
1981==================
1982
1983 * pin less-middleware in generated app
1984
19853.5.0 / 2014-03-06
1986==================
1987
1988 * bump deps
1989
19903.4.8 / 2014-01-13
1991==================
1992
1993 * prevent incorrect automatic OPTIONS responses #1868 @dpatti
1994 * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
1995 * throw 400 in case of malformed paths @rlidwka
1996
19973.4.7 / 2013-12-10
1998==================
1999
2000 * update connect
2001
20023.4.6 / 2013-12-01
2003==================
2004
2005 * update connect (raw-body)
2006
20073.4.5 / 2013-11-27
2008==================
2009
2010 * update connect
2011 * res.location: remove leading ./ #1802 @kapouer
2012 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
2013 * res.send: always send ETag when content-length > 0
2014 * router: add Router.all() method
2015
20163.4.4 / 2013-10-29
2017==================
2018
2019 * update connect
2020 * update supertest
2021 * update methods
2022 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
2023
20243.4.3 / 2013-10-23
2025==================
2026
2027 * update connect
2028
20293.4.2 / 2013-10-18
2030==================
2031
2032 * update connect
2033 * downgrade commander
2034
20353.4.1 / 2013-10-15
2036==================
2037
2038 * update connect
2039 * update commander
2040 * jsonp: check if callback is a function
2041 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
2042 * res.format: now includes charset @1747 (@sorribas)
2043 * res.links: allow multiple calls @1746 (@sorribas)
2044
20453.4.0 / 2013-09-07
2046==================
2047
2048 * add res.vary(). Closes #1682
2049 * update connect
2050
20513.3.8 / 2013-09-02
2052==================
2053
2054 * update connect
2055
20563.3.7 / 2013-08-28
2057==================
2058
2059 * update connect
2060
20613.3.6 / 2013-08-27
2062==================
2063
2064 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
2065 * add: req.accepts take an argument list
2066
20673.3.4 / 2013-07-08
2068==================
2069
2070 * update send and connect
2071
20723.3.3 / 2013-07-04
2073==================
2074
2075 * update connect
2076
20773.3.2 / 2013-07-03
2078==================
2079
2080 * update connect
2081 * update send
2082 * remove .version export
2083
20843.3.1 / 2013-06-27
2085==================
2086
2087 * update connect
2088
20893.3.0 / 2013-06-26
2090==================
2091
2092 * update connect
2093 * add support for multiple X-Forwarded-Proto values. Closes #1646
2094 * change: remove charset from json responses. Closes #1631
2095 * change: return actual booleans from req.accept* functions
2096 * fix jsonp callback array throw
2097
20983.2.6 / 2013-06-02
2099==================
2100
2101 * update connect
2102
21033.2.5 / 2013-05-21
2104==================
2105
2106 * update connect
2107 * update node-cookie
2108 * add: throw a meaningful error when there is no default engine
2109 * change generation of ETags with res.send() to GET requests only. Closes #1619
2110
21113.2.4 / 2013-05-09
2112==================
2113
2114 * fix `req.subdomains` when no Host is present
2115 * fix `req.host` when no Host is present, return undefined
2116
21173.2.3 / 2013-05-07
2118==================
2119
2120 * update connect / qs
2121
21223.2.2 / 2013-05-03
2123==================
2124
2125 * update qs
2126
21273.2.1 / 2013-04-29
2128==================
2129
2130 * add app.VERB() paths array deprecation warning
2131 * update connect
2132 * update qs and remove all ~ semver crap
2133 * fix: accept number as value of Signed Cookie
2134
21353.2.0 / 2013-04-15
2136==================
2137
2138 * add "view" constructor setting to override view behaviour
2139 * add req.acceptsEncoding(name)
2140 * add req.acceptedEncodings
2141 * revert cookie signature change causing session race conditions
2142 * fix sorting of Accept values of the same quality
2143
21443.1.2 / 2013-04-12
2145==================
2146
2147 * add support for custom Accept parameters
2148 * update cookie-signature
2149
21503.1.1 / 2013-04-01
2151==================
2152
2153 * add X-Forwarded-Host support to `req.host`
2154 * fix relative redirects
2155 * update mkdirp
2156 * update buffer-crc32
2157 * remove legacy app.configure() method from app template.
2158
21593.1.0 / 2013-01-25
2160==================
2161
2162 * add support for leading "." in "view engine" setting
2163 * add array support to `res.set()`
2164 * add node 0.8.x to travis.yml
2165 * add "subdomain offset" setting for tweaking `req.subdomains`
2166 * add `res.location(url)` implementing `res.redirect()`-like setting of Location
2167 * use app.get() for x-powered-by setting for inheritance
2168 * fix colons in passwords for `req.auth`
2169
21703.0.6 / 2013-01-04
2171==================
2172
2173 * add http verb methods to Router
2174 * update connect
2175 * fix mangling of the `res.cookie()` options object
2176 * fix jsonp whitespace escape. Closes #1132
2177
21783.0.5 / 2012-12-19
2179==================
2180
2181 * add throwing when a non-function is passed to a route
2182 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
2183 * revert "add 'etag' option"
2184
21853.0.4 / 2012-12-05
2186==================
2187
2188 * add 'etag' option to disable `res.send()` Etags
2189 * add escaping of urls in text/plain in `res.redirect()`
2190 for old browsers interpreting as html
2191 * change crc32 module for a more liberal license
2192 * update connect
2193
21943.0.3 / 2012-11-13
2195==================
2196
2197 * update connect
2198 * update cookie module
2199 * fix cookie max-age
2200
22013.0.2 / 2012-11-08
2202==================
2203
2204 * add OPTIONS to cors example. Closes #1398
2205 * fix route chaining regression. Closes #1397
2206
22073.0.1 / 2012-11-01
2208==================
2209
2210 * update connect
2211
22123.0.0 / 2012-10-23
2213==================
2214
2215 * add `make clean`
2216 * add "Basic" check to req.auth
2217 * add `req.auth` test coverage
2218 * add cb && cb(payload) to `res.jsonp()`. Closes #1374
2219 * add backwards compat for `res.redirect()` status. Closes #1336
2220 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
2221 * update connect
2222 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
2223 * remove non-primitive string support for `res.send()`
2224 * fix view-locals example. Closes #1370
2225 * fix route-separation example
2226
22273.0.0rc5 / 2012-09-18
2228==================
2229
2230 * update connect
2231 * add redis search example
2232 * add static-files example
2233 * add "x-powered-by" setting (`app.disable('x-powered-by')`)
2234 * add "application/octet-stream" redirect Accept test case. Closes #1317
2235
22363.0.0rc4 / 2012-08-30
2237==================
2238
2239 * add `res.jsonp()`. Closes #1307
2240 * add "verbose errors" option to error-pages example
2241 * add another route example to express(1) so people are not so confused
2242 * add redis online user activity tracking example
2243 * update connect dep
2244 * fix etag quoting. Closes #1310
2245 * fix error-pages 404 status
2246 * fix jsonp callback char restrictions
2247 * remove old OPTIONS default response
2248
22493.0.0rc3 / 2012-08-13
2250==================
2251
2252 * update connect dep
2253 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
2254 * fix `res.render()` clobbering of "locals"
2255
22563.0.0rc2 / 2012-08-03
2257==================
2258
2259 * add CORS example
2260 * update connect dep
2261 * deprecate `.createServer()` & remove old stale examples
2262 * fix: escape `res.redirect()` link
2263 * fix vhost example
2264
22653.0.0rc1 / 2012-07-24
2266==================
2267
2268 * add more examples to view-locals
2269 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2270 * update cookie dep
2271 * update connect dep
2272 * update send dep
2273 * fix `express(1)` -h flag, use -H for hogan. Closes #1245
2274 * fix `res.sendfile()` socket error handling regression
2275
22763.0.0beta7 / 2012-07-16
2277==================
2278
2279 * update connect dep for `send()` root normalization regression
2280
22813.0.0beta6 / 2012-07-13
2282==================
2283
2284 * add `err.view` property for view errors. Closes #1226
2285 * add "jsonp callback name" setting
2286 * add support for "/foo/:bar*" non-greedy matches
2287 * change `res.sendfile()` to use `send()` module
2288 * change `res.send` to use "response-send" module
2289 * remove `app.locals.use` and `res.locals.use`, use regular middleware
2290
22913.0.0beta5 / 2012-07-03
2292==================
2293
2294 * add "make check" support
2295 * add route-map example
2296 * add `res.json(obj, status)` support back for BC
2297 * add "methods" dep, remove internal methods module
2298 * update connect dep
2299 * update auth example to utilize cores pbkdf2
2300 * updated tests to use "supertest"
2301
23023.0.0beta4 / 2012-06-25
2303==================
2304
2305 * Added `req.auth`
2306 * Added `req.range(size)`
2307 * Added `res.links(obj)`
2308 * Added `res.send(body, status)` support back for backwards compat
2309 * Added `.default()` support to `res.format()`
2310 * Added 2xx / 304 check to `req.fresh`
2311 * Revert "Added + support to the router"
2312 * Fixed `res.send()` freshness check, respect res.statusCode
2313
23143.0.0beta3 / 2012-06-15
2315==================
2316
2317 * Added hogan `--hjs` to express(1) [nullfirm]
2318 * Added another example to content-negotiation
2319 * Added `fresh` dep
2320 * Changed: `res.send()` always checks freshness
2321 * Fixed: expose connects mime module. Closes #1165
2322
23233.0.0beta2 / 2012-06-06
2324==================
2325
2326 * Added `+` support to the router
2327 * Added `req.host`
2328 * Changed `req.param()` to check route first
2329 * Update connect dep
2330
23313.0.0beta1 / 2012-06-01
2332==================
2333
2334 * Added `res.format()` callback to override default 406 behaviour
2335 * Fixed `res.redirect()` 406. Closes #1154
2336
23373.0.0alpha5 / 2012-05-30
2338==================
2339
2340 * Added `req.ip`
2341 * Added `{ signed: true }` option to `res.cookie()`
2342 * Removed `res.signedCookie()`
2343 * Changed: dont reverse `req.ips`
2344 * Fixed "trust proxy" setting check for `req.ips`
2345
23463.0.0alpha4 / 2012-05-09
2347==================
2348
2349 * Added: allow `[]` in jsonp callback. Closes #1128
2350 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
2351 * Updated: connect 2.2.2
2352
23533.0.0alpha3 / 2012-05-04
2354==================
2355
2356 * Added public `app.routes`. Closes #887
2357 * Added _view-locals_ example
2358 * Added _mvc_ example
2359 * Added `res.locals.use()`. Closes #1120
2360 * Added conditional-GET support to `res.send()`
2361 * Added: coerce `res.set()` values to strings
2362 * Changed: moved `static()` in generated apps below router
2363 * Changed: `res.send()` only set ETag when not previously set
2364 * Changed connect 2.2.1 dep
2365 * Changed: `make test` now runs unit / acceptance tests
2366 * Fixed req/res proto inheritance
2367
23683.0.0alpha2 / 2012-04-26
2369==================
2370
2371 * Added `make benchmark` back
2372 * Added `res.send()` support for `String` objects
2373 * Added client-side data exposing example
2374 * Added `res.header()` and `req.header()` aliases for BC
2375 * Added `express.createServer()` for BC
2376 * Perf: memoize parsed urls
2377 * Perf: connect 2.2.0 dep
2378 * Changed: make `expressInit()` middleware self-aware
2379 * Fixed: use app.get() for all core settings
2380 * Fixed redis session example
2381 * Fixed session example. Closes #1105
2382 * Fixed generated express dep. Closes #1078
2383
23843.0.0alpha1 / 2012-04-15
2385==================
2386
2387 * Added `app.locals.use(callback)`
2388 * Added `app.locals` object
2389 * Added `app.locals(obj)`
2390 * Added `res.locals` object
2391 * Added `res.locals(obj)`
2392 * Added `res.format()` for content-negotiation
2393 * Added `app.engine()`
2394 * Added `res.cookie()` JSON cookie support
2395 * Added "trust proxy" setting
2396 * Added `req.subdomains`
2397 * Added `req.protocol`
2398 * Added `req.secure`
2399 * Added `req.path`
2400 * Added `req.ips`
2401 * Added `req.fresh`
2402 * Added `req.stale`
2403 * Added comma-delimited / array support for `req.accepts()`
2404 * Added debug instrumentation
2405 * Added `res.set(obj)`
2406 * Added `res.set(field, value)`
2407 * Added `res.get(field)`
2408 * Added `app.get(setting)`. Closes #842
2409 * Added `req.acceptsLanguage()`
2410 * Added `req.acceptsCharset()`
2411 * Added `req.accepted`
2412 * Added `req.acceptedLanguages`
2413 * Added `req.acceptedCharsets`
2414 * Added "json replacer" setting
2415 * Added "json spaces" setting
2416 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
2417 * Added `--less` support to express(1)
2418 * Added `express.response` prototype
2419 * Added `express.request` prototype
2420 * Added `express.application` prototype
2421 * Added `app.path()`
2422 * Added `app.render()`
2423 * Added `res.type()` to replace `res.contentType()`
2424 * Changed: `res.redirect()` to add relative support
2425 * Changed: enable "jsonp callback" by default
2426 * Changed: renamed "case sensitive routes" to "case sensitive routing"
2427 * Rewrite of all tests with mocha
2428 * Removed "root" setting
2429 * Removed `res.redirect('home')` support
2430 * Removed `req.notify()`
2431 * Removed `app.register()`
2432 * Removed `app.redirect()`
2433 * Removed `app.is()`
2434 * Removed `app.helpers()`
2435 * Removed `app.dynamicHelpers()`
2436 * Fixed `res.sendfile()` with non-GET. Closes #723
2437 * Fixed express(1) public dir for windows. Closes #866
2438
24392.5.9/ 2012-04-02
2440==================
2441
2442 * Added support for PURGE request method [pbuyle]
2443 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
2444
24452.5.8 / 2012-02-08
2446==================
2447
2448 * Update mkdirp dep. Closes #991
2449
24502.5.7 / 2012-02-06
2451==================
2452
2453 * Fixed `app.all` duplicate DELETE requests [mscdex]
2454
24552.5.6 / 2012-01-13
2456==================
2457
2458 * Updated hamljs dev dep. Closes #953
2459
24602.5.5 / 2012-01-08
2461==================
2462
2463 * Fixed: set `filename` on cached templates [matthewleon]
2464
24652.5.4 / 2012-01-02
2466==================
2467
2468 * Fixed `express(1)` eol on 0.4.x. Closes #947
2469
24702.5.3 / 2011-12-30
2471==================
2472
2473 * Fixed `req.is()` when a charset is present
2474
24752.5.2 / 2011-12-10
2476==================
2477
2478 * Fixed: express(1) LF -> CRLF for windows
2479
24802.5.1 / 2011-11-17
2481==================
2482
2483 * Changed: updated connect to 1.8.x
2484 * Removed sass.js support from express(1)
2485
24862.5.0 / 2011-10-24
2487==================
2488
2489 * Added ./routes dir for generated app by default
2490 * Added npm install reminder to express(1) app gen
2491 * Added 0.5.x support
2492 * Removed `make test-cov` since it wont work with node 0.5.x
2493 * Fixed express(1) public dir for windows. Closes #866
2494
24952.4.7 / 2011-10-05
2496==================
2497
2498 * Added mkdirp to express(1). Closes #795
2499 * Added simple _json-config_ example
2500 * Added shorthand for the parsed request's pathname via `req.path`
2501 * Changed connect dep to 1.7.x to fix npm issue...
2502 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
2503 * Fixed `req.flash()`, only escape args
2504 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2505
25062.4.6 / 2011-08-22
2507==================
2508
2509 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
2510
25112.4.5 / 2011-08-19
2512==================
2513
2514 * Added support for routes to handle errors. Closes #809
2515 * Added `app.routes.all()`. Closes #803
2516 * Added "basepath" setting to work in conjunction with reverse proxies etc.
2517 * Refactored `Route` to use a single array of callbacks
2518 * Added support for multiple callbacks for `app.param()`. Closes #801
2519Closes #805
2520 * Changed: removed .call(self) for route callbacks
2521 * Dependency: `qs >= 0.3.1`
2522 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
2523
25242.4.4 / 2011-08-05
2525==================
2526
2527 * Fixed `res.header()` intention of a set, even when `undefined`
2528 * Fixed `*`, value no longer required
2529 * Fixed `res.send(204)` support. Closes #771
2530
25312.4.3 / 2011-07-14
2532==================
2533
2534 * Added docs for `status` option special-case. Closes #739
2535 * Fixed `options.filename`, exposing the view path to template engines
2536
25372.4.2. / 2011-07-06
2538==================
2539
2540 * Revert "removed jsonp stripping" for XSS
2541
25422.4.1 / 2011-07-06
2543==================
2544
2545 * Added `res.json()` JSONP support. Closes #737
2546 * Added _extending-templates_ example. Closes #730
2547 * Added "strict routing" setting for trailing slashes
2548 * Added support for multiple envs in `app.configure()` calls. Closes #735
2549 * Changed: `res.send()` using `res.json()`
2550 * Changed: when cookie `path === null` don't default it
2551 * Changed; default cookie path to "home" setting. Closes #731
2552 * Removed _pids/logs_ creation from express(1)
2553
25542.4.0 / 2011-06-28
2555==================
2556
2557 * Added chainable `res.status(code)`
2558 * Added `res.json()`, an explicit version of `res.send(obj)`
2559 * Added simple web-service example
2560
25612.3.12 / 2011-06-22
2562==================
2563
2564 * \#express is now on freenode! come join!
2565 * Added `req.get(field, param)`
2566 * Added links to Japanese documentation, thanks @hideyukisaito!
2567 * Added; the `express(1)` generated app outputs the env
2568 * Added `content-negotiation` example
2569 * Dependency: connect >= 1.5.1 < 2.0.0
2570 * Fixed view layout bug. Closes #720
2571 * Fixed; ignore body on 304. Closes #701
2572
25732.3.11 / 2011-06-04
2574==================
2575
2576 * Added `npm test`
2577 * Removed generation of dummy test file from `express(1)`
2578 * Fixed; `express(1)` adds express as a dep
2579 * Fixed; prune on `prepublish`
2580
25812.3.10 / 2011-05-27
2582==================
2583
2584 * Added `req.route`, exposing the current route
2585 * Added _package.json_ generation support to `express(1)`
2586 * Fixed call to `app.param()` function for optional params. Closes #682
2587
25882.3.9 / 2011-05-25
2589==================
2590
2591 * Fixed bug-ish with `../' in `res.partial()` calls
2592
25932.3.8 / 2011-05-24
2594==================
2595
2596 * Fixed `app.options()`
2597
25982.3.7 / 2011-05-23
2599==================
2600
2601 * Added route `Collection`, ex: `app.get('/user/:id').remove();`
2602 * Added support for `app.param(fn)` to define param logic
2603 * Removed `app.param()` support for callback with return value
2604 * Removed module.parent check from express(1) generated app. Closes #670
2605 * Refactored router. Closes #639
2606
26072.3.6 / 2011-05-20
2608==================
2609
2610 * Changed; using devDependencies instead of git submodules
2611 * Fixed redis session example
2612 * Fixed markdown example
2613 * Fixed view caching, should not be enabled in development
2614
26152.3.5 / 2011-05-20
2616==================
2617
2618 * Added export `.view` as alias for `.View`
2619
26202.3.4 / 2011-05-08
2621==================
2622
2623 * Added `./examples/say`
2624 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
2625
26262.3.3 / 2011-05-03
2627==================
2628
2629 * Added "case sensitive routes" option.
2630 * Changed; split methods supported per rfc [slaskis]
2631 * Fixed route-specific middleware when using the same callback function several times
2632
26332.3.2 / 2011-04-27
2634==================
2635
2636 * Fixed view hints
2637
26382.3.1 / 2011-04-26
2639==================
2640
2641 * Added `app.match()` as `app.match.all()`
2642 * Added `app.lookup()` as `app.lookup.all()`
2643 * Added `app.remove()` for `app.remove.all()`
2644 * Added `app.remove.VERB()`
2645 * Fixed template caching collision issue. Closes #644
2646 * Moved router over from connect and started refactor
2647
26482.3.0 / 2011-04-25
2649==================
2650
2651 * Added options support to `res.clearCookie()`
2652 * Added `res.helpers()` as alias of `res.locals()`
2653 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
2654 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
2655 * Renamed "cache views" to "view cache". Closes #628
2656 * Fixed caching of views when using several apps. Closes #637
2657 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
2658Closes #638
2659 * Fixed partial lookup precedence. Closes #631
2660Shaw]
2661
26622.2.2 / 2011-04-12
2663==================
2664
2665 * Added second callback support for `res.download()` connection errors
2666 * Fixed `filename` option passing to template engine
2667
26682.2.1 / 2011-04-04
2669==================
2670
2671 * Added `layout(path)` helper to change the layout within a view. Closes #610
2672 * Fixed `partial()` collection object support.
2673 Previously only anything with `.length` would work.
2674 When `.length` is present one must still be aware of holes,
2675 however now `{ collection: {foo: 'bar'}}` is valid, exposes
2676 `keyInCollection` and `keysInCollection`.
2677
2678 * Performance improved with better view caching
2679 * Removed `request` and `response` locals
2680 * Changed; errorHandler page title is now `Express` instead of `Connect`
2681
26822.2.0 / 2011-03-30
2683==================
2684
2685 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
2686 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
2687 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
2688 * Dependency `connect >= 1.2.0`
2689
26902.1.1 / 2011-03-29
2691==================
2692
2693 * Added; expose `err.view` object when failing to locate a view
2694 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
2695 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2696
26972.1.0 / 2011-03-24
2698==================
2699
2700 * Added `<root>/_?<name>` partial lookup support. Closes #447
2701 * Added `request`, `response`, and `app` local variables
2702 * Added `settings` local variable, containing the app's settings
2703 * Added `req.flash()` exception if `req.session` is not available
2704 * Added `res.send(bool)` support (json response)
2705 * Fixed stylus example for latest version
2706 * Fixed; wrap try/catch around `res.render()`
2707
27082.0.0 / 2011-03-17
2709==================
2710
2711 * Fixed up index view path alternative.
2712 * Changed; `res.locals()` without object returns the locals
2713
27142.0.0rc3 / 2011-03-17
2715==================
2716
2717 * Added `res.locals(obj)` to compliment `res.local(key, val)`
2718 * Added `res.partial()` callback support
2719 * Fixed recursive error reporting issue in `res.render()`
2720
27212.0.0rc2 / 2011-03-17
2722==================
2723
2724 * Changed; `partial()` "locals" are now optional
2725 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
2726 * Fixed .filename view engine option [reported by drudge]
2727 * Fixed blog example
2728 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
2729
27302.0.0rc / 2011-03-14
2731==================
2732
2733 * Fixed; expose `HTTPSServer` constructor
2734 * Fixed express(1) default test charset. Closes #579 [reported by secoif]
2735 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
2736
27372.0.0beta3 / 2011-03-09
2738==================
2739
2740 * Added support for `res.contentType()` literal
2741 The original `res.contentType('.json')`,
2742 `res.contentType('application/json')`, and `res.contentType('json')`
2743 will work now.
2744 * Added `res.render()` status option support back
2745 * Added charset option for `res.render()`
2746 * Added `.charset` support (via connect 1.0.4)
2747 * Added view resolution hints when in development and a lookup fails
2748 * Added layout lookup support relative to the page view.
2749 For example while rendering `./views/user/index.jade` if you create
2750 `./views/user/layout.jade` it will be used in favour of the root layout.
2751 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
2752 * Fixed; default `res.send()` string charset to utf8
2753 * Removed `Partial` constructor (not currently used)
2754
27552.0.0beta2 / 2011-03-07
2756==================
2757
2758 * Added res.render() `.locals` support back to aid in migration process
2759 * Fixed flash example
2760
27612.0.0beta / 2011-03-03
2762==================
2763
2764 * Added HTTPS support
2765 * Added `res.cookie()` maxAge support
2766 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
2767 * Added mount support for `res.redirect()`, now respects the mount-point
2768 * Added `union()` util, taking place of `merge(clone())` combo
2769 * Added stylus support to express(1) generated app
2770 * Added secret to session middleware used in examples and generated app
2771 * Added `res.local(name, val)` for progressive view locals
2772 * Added default param support to `req.param(name, default)`
2773 * Added `app.disabled()` and `app.enabled()`
2774 * Added `app.register()` support for omitting leading ".", either works
2775 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
2776 * Added `app.param()` to map route params to async/sync logic
2777 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
2778 * Added extname with no leading "." support to `res.contentType()`
2779 * Added `cache views` setting, defaulting to enabled in "production" env
2780 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
2781 * Added `req.accepts()` support for extensions
2782 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
2783 static file server `connect.static.send()`.
2784 * Changed; replaced `connect.utils.mime()` with npm _mime_ module
2785 * Changed; allow `req.query` to be pre-defined (via middleware or other parent
2786 * Changed view partial resolution, now relative to parent view
2787 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
2788 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
2789 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
2790 * Fixed; using _qs_ module instead of _querystring_
2791 * Fixed; strip unsafe chars from jsonp callbacks
2792 * Removed "stream threshold" setting
2793
27941.0.8 / 2011-03-01
2795==================
2796
2797 * Allow `req.query` to be pre-defined (via middleware or other parent app)
2798 * "connect": ">= 0.5.0 < 1.0.0". Closes #547
2799 * Removed the long deprecated __EXPRESS_ENV__ support
2800
28011.0.7 / 2011-02-07
2802==================
2803
2804 * Fixed `render()` setting inheritance.
2805 Mounted apps would not inherit "view engine"
2806
28071.0.6 / 2011-02-07
2808==================
2809
2810 * Fixed `view engine` setting bug when period is in dirname
2811
28121.0.5 / 2011-02-05
2813==================
2814
2815 * Added secret to generated app `session()` call
2816
28171.0.4 / 2011-02-05
2818==================
2819
2820 * Added `qs` dependency to _package.json_
2821 * Fixed namespaced `require()`s for latest connect support
2822
28231.0.3 / 2011-01-13
2824==================
2825
2826 * Remove unsafe characters from JSONP callback names [Ryan Grove]
2827
28281.0.2 / 2011-01-10
2829==================
2830
2831 * Removed nested require, using `connect.router`
2832
28331.0.1 / 2010-12-29
2834==================
2835
2836 * Fixed for middleware stacked via `createServer()`
2837 previously the `foo` middleware passed to `createServer(foo)`
2838 would not have access to Express methods such as `res.send()`
2839 or props like `req.query` etc.
2840
28411.0.0 / 2010-11-16
2842==================
2843
2844 * Added; deduce partial object names from the last segment.
2845 For example by default `partial('forum/post', postObject)` will
2846 give you the _post_ object, providing a meaningful default.
2847 * Added http status code string representation to `res.redirect()` body
2848 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
2849 * Added `req.is()` to aid in content negotiation
2850 * Added partial local inheritance [suggested by masylum]. Closes #102
2851 providing access to parent template locals.
2852 * Added _-s, --session[s]_ flag to express(1) to add session related middleware
2853 * Added _--template_ flag to express(1) to specify the
2854 template engine to use.
2855 * Added _--css_ flag to express(1) to specify the
2856 stylesheet engine to use (or just plain css by default).
2857 * Added `app.all()` support [thanks aheckmann]
2858 * Added partial direct object support.
2859 You may now `partial('user', user)` providing the "user" local,
2860 vs previously `partial('user', { object: user })`.
2861 * Added _route-separation_ example since many people question ways
2862 to do this with CommonJS modules. Also view the _blog_ example for
2863 an alternative.
2864 * Performance; caching view path derived partial object names
2865 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
2866 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
2867
28681.0.0rc4 / 2010-10-14
2869==================
2870
2871 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
2872 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
2873 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
2874 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
2875 * Added `partial()` support for array-like collections. Closes #434
2876 * Added support for swappable querystring parsers
2877 * Added session usage docs. Closes #443
2878 * Added dynamic helper caching. Closes #439 [suggested by maritz]
2879 * Added authentication example
2880 * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
2881 * Changed; `express(1)` generated app using 2 spaces instead of 4
2882 * Default env to "development" again [aheckmann]
2883 * Removed _context_ option is no more, use "scope"
2884 * Fixed; exposing _./support_ libs to examples so they can run without installs
2885 * Fixed mvc example
2886
28871.0.0rc3 / 2010-09-20
2888==================
2889
2890 * Added confirmation for `express(1)` app generation. Closes #391
2891 * Added extending of flash formatters via `app.flashFormatters`
2892 * Added flash formatter support. Closes #411
2893 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
2894 * Added _stream threshold_ setting for `res.sendfile()`
2895 * Added `res.send()` __HEAD__ support
2896 * Added `res.clearCookie()`
2897 * Added `res.cookie()`
2898 * Added `res.render()` headers option
2899 * Added `res.redirect()` response bodies
2900 * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
2901 * Fixed `res.sendfile()` responding with 403 on malicious path
2902 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
2903 * Fixed; mounted apps settings now inherit from parent app [aheckmann]
2904 * Fixed; stripping Content-Length / Content-Type when 204
2905 * Fixed `res.send()` 204. Closes #419
2906 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
2907 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
2908
2909
29101.0.0rc2 / 2010-08-17
2911==================
2912
2913 * Added `app.register()` for template engine mapping. Closes #390
2914 * Added `res.render()` callback support as second argument (no options)
2915 * Added callback support to `res.download()`
2916 * Added callback support for `res.sendfile()`
2917 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
2918 * Added "partials" setting to docs
2919 * Added default expresso tests to `express(1)` generated app. Closes #384
2920 * Fixed `res.sendfile()` error handling, defer via `next()`
2921 * Fixed `res.render()` callback when a layout is used [thanks guillermo]
2922 * Fixed; `make install` creating ~/.node_libraries when not present
2923 * Fixed issue preventing error handlers from being defined anywhere. Closes #387
2924
29251.0.0rc / 2010-07-28
2926==================
2927
2928 * Added mounted hook. Closes #369
2929 * Added connect dependency to _package.json_
2930
2931 * Removed "reload views" setting and support code
2932 development env never caches, production always caches.
2933
2934 * Removed _param_ in route callbacks, signature is now
2935 simply (req, res, next), previously (req, res, params, next).
2936 Use _req.params_ for path captures, _req.query_ for GET params.
2937
2938 * Fixed "home" setting
2939 * Fixed middleware/router precedence issue. Closes #366
2940 * Fixed; _configure()_ callbacks called immediately. Closes #368
2941
29421.0.0beta2 / 2010-07-23
2943==================
2944
2945 * Added more examples
2946 * Added; exporting `Server` constructor
2947 * Added `Server#helpers()` for view locals
2948 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
2949 * Added support for absolute view paths
2950 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
2951 * Added Guillermo Rauch to the contributor list
2952 * Added support for "as" for non-collection partials. Closes #341
2953 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
2954 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
2955 * Fixed instanceof `Array` checks, now `Array.isArray()`
2956 * Fixed express(1) expansion of public dirs. Closes #348
2957 * Fixed middleware precedence. Closes #345
2958 * Fixed view watcher, now async [thanks aheckmann]
2959
29601.0.0beta / 2010-07-15
2961==================
2962
2963 * Re-write
2964 - much faster
2965 - much lighter
2966 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
2967
29680.14.0 / 2010-06-15
2969==================
2970
2971 * Utilize relative requires
2972 * Added Static bufferSize option [aheckmann]
2973 * Fixed caching of view and partial subdirectories [aheckmann]
2974 * Fixed mime.type() comments now that ".ext" is not supported
2975 * Updated haml submodule
2976 * Updated class submodule
2977 * Removed bin/express
2978
29790.13.0 / 2010-06-01
2980==================
2981
2982 * Added node v0.1.97 compatibility
2983 * Added support for deleting cookies via Request#cookie('key', null)
2984 * Updated haml submodule
2985 * Fixed not-found page, now using using charset utf-8
2986 * Fixed show-exceptions page, now using using charset utf-8
2987 * Fixed view support due to fs.readFile Buffers
2988 * Changed; mime.type() no longer accepts ".type" due to node extname() changes
2989
29900.12.0 / 2010-05-22
2991==================
2992
2993 * Added node v0.1.96 compatibility
2994 * Added view `helpers` export which act as additional local variables
2995 * Updated haml submodule
2996 * Changed ETag; removed inode, modified time only
2997 * Fixed LF to CRLF for setting multiple cookies
2998 * Fixed cookie complation; values are now urlencoded
2999 * Fixed cookies parsing; accepts quoted values and url escaped cookies
3000
30010.11.0 / 2010-05-06
3002==================
3003
3004 * Added support for layouts using different engines
3005 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
3006 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
3007 - this.render('page.html.haml', { layout: false }) // no layout
3008 * Updated ext submodule
3009 * Updated haml submodule
3010 * Fixed EJS partial support by passing along the context. Issue #307
3011
30120.10.1 / 2010-05-03
3013==================
3014
3015 * Fixed binary uploads.
3016
30170.10.0 / 2010-04-30
3018==================
3019
3020 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
3021 encoding is set to 'utf8' or 'utf-8'.
3022 * Added "encoding" option to Request#render(). Closes #299
3023 * Added "dump exceptions" setting, which is enabled by default.
3024 * Added simple ejs template engine support
3025 * Added error response support for text/plain, application/json. Closes #297
3026 * Added callback function param to Request#error()
3027 * Added Request#sendHead()
3028 * Added Request#stream()
3029 * Added support for Request#respond(304, null) for empty response bodies
3030 * Added ETag support to Request#sendfile()
3031 * Added options to Request#sendfile(), passed to fs.createReadStream()
3032 * Added filename arg to Request#download()
3033 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
3034 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
3035 * Changed; Request#sendfile() now streams
3036 * Changed; Renamed Request#halt() to Request#respond(). Closes #289
3037 * Changed; Using sys.inspect() instead of JSON.encode() for error output
3038 * Changed; run() returns the http.Server instance. Closes #298
3039 * Changed; Defaulting Server#host to null (INADDR_ANY)
3040 * Changed; Logger "common" format scale of 0.4f
3041 * Removed Logger "request" format
3042 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
3043 * Fixed several issues with http client
3044 * Fixed Logger Content-Length output
3045 * Fixed bug preventing Opera from retaining the generated session id. Closes #292
3046
30470.9.0 / 2010-04-14
3048==================
3049
3050 * Added DSL level error() route support
3051 * Added DSL level notFound() route support
3052 * Added Request#error()
3053 * Added Request#notFound()
3054 * Added Request#render() callback function. Closes #258
3055 * Added "max upload size" setting
3056 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
3057 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
3058 * Added callback function support to Request#halt() as 3rd/4th arg
3059 * Added preprocessing of route param wildcards using param(). Closes #251
3060 * Added view partial support (with collections etc)
3061 * Fixed bug preventing falsey params (such as ?page=0). Closes #286
3062 * Fixed setting of multiple cookies. Closes #199
3063 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
3064 * Changed; session cookie is now httpOnly
3065 * Changed; Request is no longer global
3066 * Changed; Event is no longer global
3067 * Changed; "sys" module is no longer global
3068 * Changed; moved Request#download to Static plugin where it belongs
3069 * Changed; Request instance created before body parsing. Closes #262
3070 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
3071 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
3072 * Updated support to node --version 0.1.90
3073 * Updated dependencies
3074 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
3075 * Removed utils.mixin(); use Object#mergeDeep()
3076
30770.8.0 / 2010-03-19
3078==================
3079
3080 * Added coffeescript example app. Closes #242
3081 * Changed; cache api now async friendly. Closes #240
3082 * Removed deprecated 'express/static' support. Use 'express/plugins/static'
3083
30840.7.6 / 2010-03-19
3085==================
3086
3087 * Added Request#isXHR. Closes #229
3088 * Added `make install` (for the executable)
3089 * Added `express` executable for setting up simple app templates
3090 * Added "GET /public/*" to Static plugin, defaulting to <root>/public
3091 * Added Static plugin
3092 * Fixed; Request#render() only calls cache.get() once
3093 * Fixed; Namespacing View caches with "view:"
3094 * Fixed; Namespacing Static caches with "static:"
3095 * Fixed; Both example apps now use the Static plugin
3096 * Fixed set("views"). Closes #239
3097 * Fixed missing space for combined log format
3098 * Deprecated Request#sendfile() and 'express/static'
3099 * Removed Server#running
3100
31010.7.5 / 2010-03-16
3102==================
3103
3104 * Added Request#flash() support without args, now returns all flashes
3105 * Updated ext submodule
3106
31070.7.4 / 2010-03-16
3108==================
3109
3110 * Fixed session reaper
3111 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
3112
31130.7.3 / 2010-03-16
3114==================
3115
3116 * Added package.json
3117 * Fixed requiring of haml / sass due to kiwi removal
3118
31190.7.2 / 2010-03-16
3120==================
3121
3122 * Fixed GIT submodules (HAH!)
3123
31240.7.1 / 2010-03-16
3125==================
3126
3127 * Changed; Express now using submodules again until a PM is adopted
3128 * Changed; chat example using millisecond conversions from ext
3129
31300.7.0 / 2010-03-15
3131==================
3132
3133 * Added Request#pass() support (finds the next matching route, or the given path)
3134 * Added Logger plugin (default "common" format replaces CommonLogger)
3135 * Removed Profiler plugin
3136 * Removed CommonLogger plugin
3137
31380.6.0 / 2010-03-11
3139==================
3140
3141 * Added seed.yml for kiwi package management support
3142 * Added HTTP client query string support when method is GET. Closes #205
3143
3144 * Added support for arbitrary view engines.
3145 For example "foo.engine.html" will now require('engine'),
3146 the exports from this module are cached after the first require().
3147
3148 * Added async plugin support
3149
3150 * Removed usage of RESTful route funcs as http client
3151 get() etc, use http.get() and friends
3152
3153 * Removed custom exceptions
3154
31550.5.0 / 2010-03-10
3156==================
3157
3158 * Added ext dependency (library of js extensions)
3159 * Removed extname() / basename() utils. Use path module
3160 * Removed toArray() util. Use arguments.values
3161 * Removed escapeRegexp() util. Use RegExp.escape()
3162 * Removed process.mixin() dependency. Use utils.mixin()
3163 * Removed Collection
3164 * Removed ElementCollection
3165 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
3166
31670.4.0 / 2010-02-11
3168==================
3169
3170 * Added flash() example to sample upload app
3171 * Added high level restful http client module (express/http)
3172 * Changed; RESTful route functions double as HTTP clients. Closes #69
3173 * Changed; throwing error when routes are added at runtime
3174 * Changed; defaulting render() context to the current Request. Closes #197
3175 * Updated haml submodule
3176
31770.3.0 / 2010-02-11
3178==================
3179
3180 * Updated haml / sass submodules. Closes #200
3181 * Added flash message support. Closes #64
3182 * Added accepts() now allows multiple args. fixes #117
3183 * Added support for plugins to halt. Closes #189
3184 * Added alternate layout support. Closes #119
3185 * Removed Route#run(). Closes #188
3186 * Fixed broken specs due to use(Cookie) missing
3187
31880.2.1 / 2010-02-05
3189==================
3190
3191 * Added "plot" format option for Profiler (for gnuplot processing)
3192 * Added request number to Profiler plugin
3193 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8
3194 * Fixed issue with routes not firing when not files are present. Closes #184
3195 * Fixed process.Promise -> events.Promise
3196
31970.2.0 / 2010-02-03
3198==================
3199
3200 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
3201 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
3202 * Added expiration support to cache api with reaper. Closes #133
3203 * Added cache Store.Memory#reap()
3204 * Added Cache; cache api now uses first class Cache instances
3205 * Added abstract session Store. Closes #172
3206 * Changed; cache Memory.Store#get() utilizing Collection
3207 * Renamed MemoryStore -> Store.Memory
3208 * Fixed use() of the same plugin several time will always use latest options. Closes #176
3209
32100.1.0 / 2010-02-03
3211==================
3212
3213 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
3214 * Updated node support to 0.1.27 Closes #169
3215 * Updated dirname(__filename) -> __dirname
3216 * Updated libxmljs support to v0.2.0
3217 * Added session support with memory store / reaping
3218 * Added quick uid() helper
3219 * Added multi-part upload support
3220 * Added Sass.js support / submodule
3221 * Added production env caching view contents and static files
3222 * Added static file caching. Closes #136
3223 * Added cache plugin with memory stores
3224 * Added support to StaticFile so that it works with non-textual files.
3225 * Removed dirname() helper
3226 * Removed several globals (now their modules must be required)
3227
32280.0.2 / 2010-01-10
3229==================
3230
3231 * Added view benchmarks; currently haml vs ejs
3232 * Added Request#attachment() specs. Closes #116
3233 * Added use of node's parseQuery() util. Closes #123
3234 * Added `make init` for submodules
3235 * Updated Haml
3236 * Updated sample chat app to show messages on load
3237 * Updated libxmljs parseString -> parseHtmlString
3238 * Fixed `make init` to work with older versions of git
3239 * Fixed specs can now run independent specs for those who cant build deps. Closes #127
3240 * Fixed issues introduced by the node url module changes. Closes 126.
3241 * Fixed two assertions failing due to Collection#keys() returning strings
3242 * Fixed faulty Collection#toArray() spec due to keys() returning strings
3243 * Fixed `make test` now builds libxmljs.node before testing
3244
32450.0.1 / 2010-01-03
3246==================
3247
3248 * Initial release