13.4.5 / 2013-11-27 2================== 3 4 * update connect 5 * res.location: remove leading ./ #1802 @kapouer 6 * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra 7 * res.send: always send ETag when content-length > 0 8 * router: add Router.all() method 9 103.4.4 / 2013-10-29 11================== 12 13 * update connect 14 * update supertest 15 * update methods 16 * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04 17 183.4.3 / 2013-10-23 19================== 20 21 * update connect 22 233.4.2 / 2013-10-18 24================== 25 26 * update connect 27 * downgrade commander 28 293.4.1 / 2013-10-15 30================== 31 32 * update connect 33 * update commander 34 * jsonp: check if callback is a function 35 * router: wrap encodeURIComponent in a try/catch #1735 (@lxe) 36 * res.format: now includes chraset @1747 (@sorribas) 37 * res.links: allow multiple calls @1746 (@sorribas) 38 393.4.0 / 2013-09-07 40================== 41 42 * add res.vary(). Closes #1682 43 * update connect 44 453.3.8 / 2013-09-02 46================== 47 48 * update connect 49 503.3.7 / 2013-08-28 51================== 52 53 * update connect 54 553.3.6 / 2013-08-27 56================== 57 58 * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients) 59 * add: req.accepts take an argument list 60 613.3.4 / 2013-07-08 62================== 63 64 * update send and connect 65 663.3.3 / 2013-07-04 67================== 68 69 * update connect 70 713.3.2 / 2013-07-03 72================== 73 74 * update connect 75 * update send 76 * remove .version export 77 783.3.1 / 2013-06-27 79================== 80 81 * update connect 82 833.3.0 / 2013-06-26 84================== 85 86 * update connect 87 * add support for multiple X-Forwarded-Proto values. Closes #1646 88 * change: remove charset from json responses. Closes #1631 89 * change: return actual booleans from req.accept* functions 90 * fix jsonp callback array throw 91 923.2.6 / 2013-06-02 93================== 94 95 * update connect 96 973.2.5 / 2013-05-21 98================== 99 100 * update connect 101 * update node-cookie 102 * add: throw a meaningful error when there is no default engine 103 * change generation of ETags with res.send() to GET requests only. Closes #1619 104 1053.2.4 / 2013-05-09 106================== 107 108 * fix `req.subdomains` when no Host is present 109 * fix `req.host` when no Host is present, return undefined 110 1113.2.3 / 2013-05-07 112================== 113 114 * update connect / qs 115 1163.2.2 / 2013-05-03 117================== 118 119 * update qs 120 1213.2.1 / 2013-04-29 122================== 123 124 * add app.VERB() paths array deprecation warning 125 * update connect 126 * update qs and remove all ~ semver crap 127 * fix: accept number as value of Signed Cookie 128 1293.2.0 / 2013-04-15 130================== 131 132 * add "view" constructor setting to override view behaviour 133 * add req.acceptsEncoding(name) 134 * add req.acceptedEncodings 135 * revert cookie signature change causing session race conditions 136 * fix sorting of Accept values of the same quality 137 1383.1.2 / 2013-04-12 139================== 140 141 * add support for custom Accept parameters 142 * update cookie-signature 143 1443.1.1 / 2013-04-01 145================== 146 147 * add X-Forwarded-Host support to `req.host` 148 * fix relative redirects 149 * update mkdirp 150 * update buffer-crc32 151 * remove legacy app.configure() method from app template. 152 1533.1.0 / 2013-01-25 154================== 155 156 * add support for leading "." in "view engine" setting 157 * add array support to `res.set()` 158 * add node 0.8.x to travis.yml 159 * add "subdomain offset" setting for tweaking `req.subdomains` 160 * add `res.location(url)` implementing `res.redirect()`-like setting of Location 161 * use app.get() for x-powered-by setting for inheritance 162 * fix colons in passwords for `req.auth` 163 1643.0.6 / 2013-01-04 165================== 166 167 * add http verb methods to Router 168 * update connect 169 * fix mangling of the `res.cookie()` options object 170 * fix jsonp whitespace escape. Closes #1132 171 1723.0.5 / 2012-12-19 173================== 174 175 * add throwing when a non-function is passed to a route 176 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses 177 * revert "add 'etag' option" 178 1793.0.4 / 2012-12-05 180================== 181 182 * add 'etag' option to disable `res.send()` Etags 183 * add escaping of urls in text/plain in `res.redirect()` 184 for old browsers interpreting as html 185 * change crc32 module for a more liberal license 186 * update connect 187 1883.0.3 / 2012-11-13 189================== 190 191 * update connect 192 * update cookie module 193 * fix cookie max-age 194 1953.0.2 / 2012-11-08 196================== 197 198 * add OPTIONS to cors example. Closes #1398 199 * fix route chaining regression. Closes #1397 200 2013.0.1 / 2012-11-01 202================== 203 204 * update connect 205 2063.0.0 / 2012-10-23 207================== 208 209 * add `make clean` 210 * add "Basic" check to req.auth 211 * add `req.auth` test coverage 212 * add cb && cb(payload) to `res.jsonp()`. Closes #1374 213 * add backwards compat for `res.redirect()` status. Closes #1336 214 * add support for `res.json()` to retain previously defined Content-Types. Closes #1349 215 * update connect 216 * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382 217 * remove non-primitive string support for `res.send()` 218 * fix view-locals example. Closes #1370 219 * fix route-separation example 220 2213.0.0rc5 / 2012-09-18 222================== 223 224 * update connect 225 * add redis search example 226 * add static-files example 227 * add "x-powered-by" setting (`app.disable('x-powered-by')`) 228 * add "application/octet-stream" redirect Accept test case. Closes #1317 229 2303.0.0rc4 / 2012-08-30 231================== 232 233 * add `res.jsonp()`. Closes #1307 234 * add "verbose errors" option to error-pages example 235 * add another route example to express(1) so people are not so confused 236 * add redis online user activity tracking example 237 * update connect dep 238 * fix etag quoting. Closes #1310 239 * fix error-pages 404 status 240 * fix jsonp callback char restrictions 241 * remove old OPTIONS default response 242 2433.0.0rc3 / 2012-08-13 244================== 245 246 * update connect dep 247 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds] 248 * fix `res.render()` clobbering of "locals" 249 2503.0.0rc2 / 2012-08-03 251================== 252 253 * add CORS example 254 * update connect dep 255 * deprecate `.createServer()` & remove old stale examples 256 * fix: escape `res.redirect()` link 257 * fix vhost example 258 2593.0.0rc1 / 2012-07-24 260================== 261 262 * add more examples to view-locals 263 * add scheme-relative redirects (`res.redirect("//foo.com")`) support 264 * update cookie dep 265 * update connect dep 266 * update send dep 267 * fix `express(1)` -h flag, use -H for hogan. Closes #1245 268 * fix `res.sendfile()` socket error handling regression 269 2703.0.0beta7 / 2012-07-16 271================== 272 273 * update connect dep for `send()` root normalization regression 274 2753.0.0beta6 / 2012-07-13 276================== 277 278 * add `err.view` property for view errors. Closes #1226 279 * add "jsonp callback name" setting 280 * add support for "/foo/:bar*" non-greedy matches 281 * change `res.sendfile()` to use `send()` module 282 * change `res.send` to use "response-send" module 283 * remove `app.locals.use` and `res.locals.use`, use regular middleware 284 2853.0.0beta5 / 2012-07-03 286================== 287 288 * add "make check" support 289 * add route-map example 290 * add `res.json(obj, status)` support back for BC 291 * add "methods" dep, remove internal methods module 292 * update connect dep 293 * update auth example to utilize cores pbkdf2 294 * updated tests to use "supertest" 295 2963.0.0beta4 / 2012-06-25 297================== 298 299 * Added `req.auth` 300 * Added `req.range(size)` 301 * Added `res.links(obj)` 302 * Added `res.send(body, status)` support back for backwards compat 303 * Added `.default()` support to `res.format()` 304 * Added 2xx / 304 check to `req.fresh` 305 * Revert "Added + support to the router" 306 * Fixed `res.send()` freshness check, respect res.statusCode 307 3083.0.0beta3 / 2012-06-15 309================== 310 311 * Added hogan `--hjs` to express(1) [nullfirm] 312 * Added another example to content-negotiation 313 * Added `fresh` dep 314 * Changed: `res.send()` always checks freshness 315 * Fixed: expose connects mime module. Cloases #1165 316 3173.0.0beta2 / 2012-06-06 318================== 319 320 * Added `+` support to the router 321 * Added `req.host` 322 * Changed `req.param()` to check route first 323 * Update connect dep 324 3253.0.0beta1 / 2012-06-01 326================== 327 328 * Added `res.format()` callback to override default 406 behaviour 329 * Fixed `res.redirect()` 406. Closes #1154 330 3313.0.0alpha5 / 2012-05-30 332================== 333 334 * Added `req.ip` 335 * Added `{ signed: true }` option to `res.cookie()` 336 * Removed `res.signedCookie()` 337 * Changed: dont reverse `req.ips` 338 * Fixed "trust proxy" setting check for `req.ips` 339 3403.0.0alpha4 / 2012-05-09 341================== 342 343 * Added: allow `[]` in jsonp callback. Closes #1128 344 * Added `PORT` env var support in generated template. Closes #1118 [benatkin] 345 * Updated: connect 2.2.2 346 3473.0.0alpha3 / 2012-05-04 348================== 349 350 * Added public `app.routes`. Closes #887 351 * Added _view-locals_ example 352 * Added _mvc_ example 353 * Added `res.locals.use()`. Closes #1120 354 * Added conditional-GET support to `res.send()` 355 * Added: coerce `res.set()` values to strings 356 * Changed: moved `static()` in generated apps below router 357 * Changed: `res.send()` only set ETag when not previously set 358 * Changed connect 2.2.1 dep 359 * Changed: `make test` now runs unit / acceptance tests 360 * Fixed req/res proto inheritance 361 3623.0.0alpha2 / 2012-04-26 363================== 364 365 * Added `make benchmark` back 366 * Added `res.send()` support for `String` objects 367 * Added client-side data exposing example 368 * Added `res.header()` and `req.header()` aliases for BC 369 * Added `express.createServer()` for BC 370 * Perf: memoize parsed urls 371 * Perf: connect 2.2.0 dep 372 * Changed: make `expressInit()` middleware self-aware 373 * Fixed: use app.get() for all core settings 374 * Fixed redis session example 375 * Fixed session example. Closes #1105 376 * Fixed generated express dep. Closes #1078 377 3783.0.0alpha1 / 2012-04-15 379================== 380 381 * Added `app.locals.use(callback)` 382 * Added `app.locals` object 383 * Added `app.locals(obj)` 384 * Added `res.locals` object 385 * Added `res.locals(obj)` 386 * Added `res.format()` for content-negotiation 387 * Added `app.engine()` 388 * Added `res.cookie()` JSON cookie support 389 * Added "trust proxy" setting 390 * Added `req.subdomains` 391 * Added `req.protocol` 392 * Added `req.secure` 393 * Added `req.path` 394 * Added `req.ips` 395 * Added `req.fresh` 396 * Added `req.stale` 397 * Added comma-delmited / array support for `req.accepts()` 398 * Added debug instrumentation 399 * Added `res.set(obj)` 400 * Added `res.set(field, value)` 401 * Added `res.get(field)` 402 * Added `app.get(setting)`. Closes #842 403 * Added `req.acceptsLanguage()` 404 * Added `req.acceptsCharset()` 405 * Added `req.accepted` 406 * Added `req.acceptedLanguages` 407 * Added `req.acceptedCharsets` 408 * Added "json replacer" setting 409 * Added "json spaces" setting 410 * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92 411 * Added `--less` support to express(1) 412 * Added `express.response` prototype 413 * Added `express.request` prototype 414 * Added `express.application` prototype 415 * Added `app.path()` 416 * Added `app.render()` 417 * Added `res.type()` to replace `res.contentType()` 418 * Changed: `res.redirect()` to add relative support 419 * Changed: enable "jsonp callback" by default 420 * Changed: renamed "case sensitive routes" to "case sensitive routing" 421 * Rewrite of all tests with mocha 422 * Removed "root" setting 423 * Removed `res.redirect('home')` support 424 * Removed `req.notify()` 425 * Removed `app.register()` 426 * Removed `app.redirect()` 427 * Removed `app.is()` 428 * Removed `app.helpers()` 429 * Removed `app.dynamicHelpers()` 430 * Fixed `res.sendfile()` with non-GET. Closes #723 431 * Fixed express(1) public dir for windows. Closes #866 432 4332.5.9/ 2012-04-02 434================== 435 436 * Added support for PURGE request method [pbuyle] 437 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki] 438 4392.5.8 / 2012-02-08 440================== 441 442 * Update mkdirp dep. Closes #991 443 4442.5.7 / 2012-02-06 445================== 446 447 * Fixed `app.all` duplicate DELETE requests [mscdex] 448 4492.5.6 / 2012-01-13 450================== 451 452 * Updated hamljs dev dep. Closes #953 453 4542.5.5 / 2012-01-08 455================== 456 457 * Fixed: set `filename` on cached templates [matthewleon] 458 4592.5.4 / 2012-01-02 460================== 461 462 * Fixed `express(1)` eol on 0.4.x. Closes #947 463 4642.5.3 / 2011-12-30 465================== 466 467 * Fixed `req.is()` when a charset is present 468 4692.5.2 / 2011-12-10 470================== 471 472 * Fixed: express(1) LF -> CRLF for windows 473 4742.5.1 / 2011-11-17 475================== 476 477 * Changed: updated connect to 1.8.x 478 * Removed sass.js support from express(1) 479 4802.5.0 / 2011-10-24 481================== 482 483 * Added ./routes dir for generated app by default 484 * Added npm install reminder to express(1) app gen 485 * Added 0.5.x support 486 * Removed `make test-cov` since it wont work with node 0.5.x 487 * Fixed express(1) public dir for windows. Closes #866 488 4892.4.7 / 2011-10-05 490================== 491 492 * Added mkdirp to express(1). Closes #795 493 * Added simple _json-config_ example 494 * Added shorthand for the parsed request's pathname via `req.path` 495 * Changed connect dep to 1.7.x to fix npm issue... 496 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox] 497 * Fixed `req.flash()`, only escape args 498 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie] 499 5002.4.6 / 2011-08-22 501================== 502 503 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode] 504 5052.4.5 / 2011-08-19 506================== 507 508 * Added support for routes to handle errors. Closes #809 509 * Added `app.routes.all()`. Closes #803 510 * Added "basepath" setting to work in conjunction with reverse proxies etc. 511 * Refactored `Route` to use a single array of callbacks 512 * Added support for multiple callbacks for `app.param()`. Closes #801 513Closes #805 514 * Changed: removed .call(self) for route callbacks 515 * Dependency: `qs >= 0.3.1` 516 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808 517 5182.4.4 / 2011-08-05 519================== 520 521 * Fixed `res.header()` intention of a set, even when `undefined` 522 * Fixed `*`, value no longer required 523 * Fixed `res.send(204)` support. Closes #771 524 5252.4.3 / 2011-07-14 526================== 527 528 * Added docs for `status` option special-case. Closes #739 529 * Fixed `options.filename`, exposing the view path to template engines 530 5312.4.2. / 2011-07-06 532================== 533 534 * Revert "removed jsonp stripping" for XSS 535 5362.4.1 / 2011-07-06 537================== 538 539 * Added `res.json()` JSONP support. Closes #737 540 * Added _extending-templates_ example. Closes #730 541 * Added "strict routing" setting for trailing slashes 542 * Added support for multiple envs in `app.configure()` calls. Closes #735 543 * Changed: `res.send()` using `res.json()` 544 * Changed: when cookie `path === null` don't default it 545 * Changed; default cookie path to "home" setting. Closes #731 546 * Removed _pids/logs_ creation from express(1) 547 5482.4.0 / 2011-06-28 549================== 550 551 * Added chainable `res.status(code)` 552 * Added `res.json()`, an explicit version of `res.send(obj)` 553 * Added simple web-service example 554 5552.3.12 / 2011-06-22 556================== 557 558 * \#express is now on freenode! come join! 559 * Added `req.get(field, param)` 560 * Added links to Japanese documentation, thanks @hideyukisaito! 561 * Added; the `express(1)` generated app outputs the env 562 * Added `content-negotiation` example 563 * Dependency: connect >= 1.5.1 < 2.0.0 564 * Fixed view layout bug. Closes #720 565 * Fixed; ignore body on 304. Closes #701 566 5672.3.11 / 2011-06-04 568================== 569 570 * Added `npm test` 571 * Removed generation of dummy test file from `express(1)` 572 * Fixed; `express(1)` adds express as a dep 573 * Fixed; prune on `prepublish` 574 5752.3.10 / 2011-05-27 576================== 577 578 * Added `req.route`, exposing the current route 579 * Added _package.json_ generation support to `express(1)` 580 * Fixed call to `app.param()` function for optional params. Closes #682 581 5822.3.9 / 2011-05-25 583================== 584 585 * Fixed bug-ish with `../' in `res.partial()` calls 586 5872.3.8 / 2011-05-24 588================== 589 590 * Fixed `app.options()` 591 5922.3.7 / 2011-05-23 593================== 594 595 * Added route `Collection`, ex: `app.get('/user/:id').remove();` 596 * Added support for `app.param(fn)` to define param logic 597 * Removed `app.param()` support for callback with return value 598 * Removed module.parent check from express(1) generated app. Closes #670 599 * Refactored router. Closes #639 600 6012.3.6 / 2011-05-20 602================== 603 604 * Changed; using devDependencies instead of git submodules 605 * Fixed redis session example 606 * Fixed markdown example 607 * Fixed view caching, should not be enabled in development 608 6092.3.5 / 2011-05-20 610================== 611 612 * Added export `.view` as alias for `.View` 613 6142.3.4 / 2011-05-08 615================== 616 617 * Added `./examples/say` 618 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces 619 6202.3.3 / 2011-05-03 621================== 622 623 * Added "case sensitive routes" option. 624 * Changed; split methods supported per rfc [slaskis] 625 * Fixed route-specific middleware when using the same callback function several times 626 6272.3.2 / 2011-04-27 628================== 629 630 * Fixed view hints 631 6322.3.1 / 2011-04-26 633================== 634 635 * Added `app.match()` as `app.match.all()` 636 * Added `app.lookup()` as `app.lookup.all()` 637 * Added `app.remove()` for `app.remove.all()` 638 * Added `app.remove.VERB()` 639 * Fixed template caching collision issue. Closes #644 640 * Moved router over from connect and started refactor 641 6422.3.0 / 2011-04-25 643================== 644 645 * Added options support to `res.clearCookie()` 646 * Added `res.helpers()` as alias of `res.locals()` 647 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0` 648 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann] 649 * Renamed "cache views" to "view cache". Closes #628 650 * Fixed caching of views when using several apps. Closes #637 651 * Fixed gotcha invoking `app.param()` callbacks once per route middleware. 652Closes #638 653 * Fixed partial lookup precedence. Closes #631 654Shaw] 655 6562.2.2 / 2011-04-12 657================== 658 659 * Added second callback support for `res.download()` connection errors 660 * Fixed `filename` option passing to template engine 661 6622.2.1 / 2011-04-04 663================== 664 665 * Added `layout(path)` helper to change the layout within a view. Closes #610 666 * Fixed `partial()` collection object support. 667 Previously only anything with `.length` would work. 668 When `.length` is present one must still be aware of holes, 669 however now `{ collection: {foo: 'bar'}}` is valid, exposes 670 `keyInCollection` and `keysInCollection`. 671 672 * Performance improved with better view caching 673 * Removed `request` and `response` locals 674 * Changed; errorHandler page title is now `Express` instead of `Connect` 675 6762.2.0 / 2011-03-30 677================== 678 679 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606 680 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606 681 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`. 682 * Dependency `connect >= 1.2.0` 683 6842.1.1 / 2011-03-29 685================== 686 687 * Added; expose `err.view` object when failing to locate a view 688 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann] 689 * Fixed; `res.send(undefined)` responds with 204 [aheckmann] 690 6912.1.0 / 2011-03-24 692================== 693 694 * Added `<root>/_?<name>` partial lookup support. Closes #447 695 * Added `request`, `response`, and `app` local variables 696 * Added `settings` local variable, containing the app's settings 697 * Added `req.flash()` exception if `req.session` is not available 698 * Added `res.send(bool)` support (json response) 699 * Fixed stylus example for latest version 700 * Fixed; wrap try/catch around `res.render()` 701 7022.0.0 / 2011-03-17 703================== 704 705 * Fixed up index view path alternative. 706 * Changed; `res.locals()` without object returns the locals 707 7082.0.0rc3 / 2011-03-17 709================== 710 711 * Added `res.locals(obj)` to compliment `res.local(key, val)` 712 * Added `res.partial()` callback support 713 * Fixed recursive error reporting issue in `res.render()` 714 7152.0.0rc2 / 2011-03-17 716================== 717 718 * Changed; `partial()` "locals" are now optional 719 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01] 720 * Fixed .filename view engine option [reported by drudge] 721 * Fixed blog example 722 * Fixed `{req,res}.app` reference when mounting [Ben Weaver] 723 7242.0.0rc / 2011-03-14 725================== 726 727 * Fixed; expose `HTTPSServer` constructor 728 * Fixed express(1) default test charset. Closes #579 [reported by secoif] 729 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP] 730 7312.0.0beta3 / 2011-03-09 732================== 733 734 * Added support for `res.contentType()` literal 735 The original `res.contentType('.json')`, 736 `res.contentType('application/json')`, and `res.contentType('json')` 737 will work now. 738 * Added `res.render()` status option support back 739 * Added charset option for `res.render()` 740 * Added `.charset` support (via connect 1.0.4) 741 * Added view resolution hints when in development and a lookup fails 742 * Added layout lookup support relative to the page view. 743 For example while rendering `./views/user/index.jade` if you create 744 `./views/user/layout.jade` it will be used in favour of the root layout. 745 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink] 746 * Fixed; default `res.send()` string charset to utf8 747 * Removed `Partial` constructor (not currently used) 748 7492.0.0beta2 / 2011-03-07 750================== 751 752 * Added res.render() `.locals` support back to aid in migration process 753 * Fixed flash example 754 7552.0.0beta / 2011-03-03 756================== 757 758 * Added HTTPS support 759 * Added `res.cookie()` maxAge support 760 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works 761 * Added mount support for `res.redirect()`, now respects the mount-point 762 * Added `union()` util, taking place of `merge(clone())` combo 763 * Added stylus support to express(1) generated app 764 * Added secret to session middleware used in examples and generated app 765 * Added `res.local(name, val)` for progressive view locals 766 * Added default param support to `req.param(name, default)` 767 * Added `app.disabled()` and `app.enabled()` 768 * Added `app.register()` support for omitting leading ".", either works 769 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539 770 * Added `app.param()` to map route params to async/sync logic 771 * Added; aliased `app.helpers()` as `app.locals()`. Closes #481 772 * Added extname with no leading "." support to `res.contentType()` 773 * Added `cache views` setting, defaulting to enabled in "production" env 774 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_. 775 * Added `req.accepts()` support for extensions 776 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's 777 static file server `connect.static.send()`. 778 * Changed; replaced `connect.utils.mime()` with npm _mime_ module 779 * Changed; allow `req.query` to be pre-defined (via middleware or other parent 780 * Changed view partial resolution, now relative to parent view 781 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`. 782 * Fixed `req.param()` bug returning Array.prototype methods. Closes #552 783 * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()` 784 * Fixed; using _qs_ module instead of _querystring_ 785 * Fixed; strip unsafe chars from jsonp callbacks 786 * Removed "stream threshold" setting 787 7881.0.8 / 2011-03-01 789================== 790 791 * Allow `req.query` to be pre-defined (via middleware or other parent app) 792 * "connect": ">= 0.5.0 < 1.0.0". Closes #547 793 * Removed the long deprecated __EXPRESS_ENV__ support 794 7951.0.7 / 2011-02-07 796================== 797 798 * Fixed `render()` setting inheritance. 799 Mounted apps would not inherit "view engine" 800 8011.0.6 / 2011-02-07 802================== 803 804 * Fixed `view engine` setting bug when period is in dirname 805 8061.0.5 / 2011-02-05 807================== 808 809 * Added secret to generated app `session()` call 810 8111.0.4 / 2011-02-05 812================== 813 814 * Added `qs` dependency to _package.json_ 815 * Fixed namespaced `require()`s for latest connect support 816 8171.0.3 / 2011-01-13 818================== 819 820 * Remove unsafe characters from JSONP callback names [Ryan Grove] 821 8221.0.2 / 2011-01-10 823================== 824 825 * Removed nested require, using `connect.router` 826 8271.0.1 / 2010-12-29 828================== 829 830 * Fixed for middleware stacked via `createServer()` 831 previously the `foo` middleware passed to `createServer(foo)` 832 would not have access to Express methods such as `res.send()` 833 or props like `req.query` etc. 834 8351.0.0 / 2010-11-16 836================== 837 838 * Added; deduce partial object names from the last segment. 839 For example by default `partial('forum/post', postObject)` will 840 give you the _post_ object, providing a meaningful default. 841 * Added http status code string representation to `res.redirect()` body 842 * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__. 843 * Added `req.is()` to aid in content negotiation 844 * Added partial local inheritance [suggested by masylum]. Closes #102 845 providing access to parent template locals. 846 * Added _-s, --session[s]_ flag to express(1) to add session related middleware 847 * Added _--template_ flag to express(1) to specify the 848 template engine to use. 849 * Added _--css_ flag to express(1) to specify the 850 stylesheet engine to use (or just plain css by default). 851 * Added `app.all()` support [thanks aheckmann] 852 * Added partial direct object support. 853 You may now `partial('user', user)` providing the "user" local, 854 vs previously `partial('user', { object: user })`. 855 * Added _route-separation_ example since many people question ways 856 to do this with CommonJS modules. Also view the _blog_ example for 857 an alternative. 858 * Performance; caching view path derived partial object names 859 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454 860 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion 861 8621.0.0rc4 / 2010-10-14 863================== 864 865 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0 866 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware)) 867 * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass] 868 * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass] 869 * Added `partial()` support for array-like collections. Closes #434 870 * Added support for swappable querystring parsers 871 * Added session usage docs. Closes #443 872 * Added dynamic helper caching. Closes #439 [suggested by maritz] 873 * Added authentication example 874 * Added basic Range support to `res.sendfile()` (and `res.download()` etc) 875 * Changed; `express(1)` generated app using 2 spaces instead of 4 876 * Default env to "development" again [aheckmann] 877 * Removed _context_ option is no more, use "scope" 878 * Fixed; exposing _./support_ libs to examples so they can run without installs 879 * Fixed mvc example 880 8811.0.0rc3 / 2010-09-20 882================== 883 884 * Added confirmation for `express(1)` app generation. Closes #391 885 * Added extending of flash formatters via `app.flashFormatters` 886 * Added flash formatter support. Closes #411 887 * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold" 888 * Added _stream threshold_ setting for `res.sendfile()` 889 * Added `res.send()` __HEAD__ support 890 * Added `res.clearCookie()` 891 * Added `res.cookie()` 892 * Added `res.render()` headers option 893 * Added `res.redirect()` response bodies 894 * Added `res.render()` status option support. Closes #425 [thanks aheckmann] 895 * Fixed `res.sendfile()` responding with 403 on malicious path 896 * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_ 897 * Fixed; mounted apps settings now inherit from parent app [aheckmann] 898 * Fixed; stripping Content-Length / Content-Type when 204 899 * Fixed `res.send()` 204. Closes #419 900 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402 901 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo] 902 903 9041.0.0rc2 / 2010-08-17 905================== 906 907 * Added `app.register()` for template engine mapping. Closes #390 908 * Added `res.render()` callback support as second argument (no options) 909 * Added callback support to `res.download()` 910 * Added callback support for `res.sendfile()` 911 * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()` 912 * Added "partials" setting to docs 913 * Added default expresso tests to `express(1)` generated app. Closes #384 914 * Fixed `res.sendfile()` error handling, defer via `next()` 915 * Fixed `res.render()` callback when a layout is used [thanks guillermo] 916 * Fixed; `make install` creating ~/.node_libraries when not present 917 * Fixed issue preventing error handlers from being defined anywhere. Closes #387 918 9191.0.0rc / 2010-07-28 920================== 921 922 * Added mounted hook. Closes #369 923 * Added connect dependency to _package.json_ 924 925 * Removed "reload views" setting and support code 926 development env never caches, production always caches. 927 928 * Removed _param_ in route callbacks, signature is now 929 simply (req, res, next), previously (req, res, params, next). 930 Use _req.params_ for path captures, _req.query_ for GET params. 931 932 * Fixed "home" setting 933 * Fixed middleware/router precedence issue. Closes #366 934 * Fixed; _configure()_ callbacks called immediately. Closes #368 935 9361.0.0beta2 / 2010-07-23 937================== 938 939 * Added more examples 940 * Added; exporting `Server` constructor 941 * Added `Server#helpers()` for view locals 942 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349 943 * Added support for absolute view paths 944 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363 945 * Added Guillermo Rauch to the contributor list 946 * Added support for "as" for non-collection partials. Closes #341 947 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf] 948 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo] 949 * Fixed instanceof `Array` checks, now `Array.isArray()` 950 * Fixed express(1) expansion of public dirs. Closes #348 951 * Fixed middleware precedence. Closes #345 952 * Fixed view watcher, now async [thanks aheckmann] 953 9541.0.0beta / 2010-07-15 955================== 956 957 * Re-write 958 - much faster 959 - much lighter 960 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs 961 9620.14.0 / 2010-06-15 963================== 964 965 * Utilize relative requires 966 * Added Static bufferSize option [aheckmann] 967 * Fixed caching of view and partial subdirectories [aheckmann] 968 * Fixed mime.type() comments now that ".ext" is not supported 969 * Updated haml submodule 970 * Updated class submodule 971 * Removed bin/express 972 9730.13.0 / 2010-06-01 974================== 975 976 * Added node v0.1.97 compatibility 977 * Added support for deleting cookies via Request#cookie('key', null) 978 * Updated haml submodule 979 * Fixed not-found page, now using using charset utf-8 980 * Fixed show-exceptions page, now using using charset utf-8 981 * Fixed view support due to fs.readFile Buffers 982 * Changed; mime.type() no longer accepts ".type" due to node extname() changes 983 9840.12.0 / 2010-05-22 985================== 986 987 * Added node v0.1.96 compatibility 988 * Added view `helpers` export which act as additional local variables 989 * Updated haml submodule 990 * Changed ETag; removed inode, modified time only 991 * Fixed LF to CRLF for setting multiple cookies 992 * Fixed cookie complation; values are now urlencoded 993 * Fixed cookies parsing; accepts quoted values and url escaped cookies 994 9950.11.0 / 2010-05-06 996================== 997 998 * Added support for layouts using different engines 999 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' }) 1000 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml' 1001 - this.render('page.html.haml', { layout: false }) // no layout 1002 * Updated ext submodule 1003 * Updated haml submodule 1004 * Fixed EJS partial support by passing along the context. Issue #307 1005 10060.10.1 / 2010-05-03 1007================== 1008 1009 * Fixed binary uploads. 1010 10110.10.0 / 2010-04-30 1012================== 1013 1014 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s 1015 encoding is set to 'utf8' or 'utf-8'. 1016 * Added "encoding" option to Request#render(). Closes #299 1017 * Added "dump exceptions" setting, which is enabled by default. 1018 * Added simple ejs template engine support 1019 * Added error reponse support for text/plain, application/json. Closes #297 1020 * Added callback function param to Request#error() 1021 * Added Request#sendHead() 1022 * Added Request#stream() 1023 * Added support for Request#respond(304, null) for empty response bodies 1024 * Added ETag support to Request#sendfile() 1025 * Added options to Request#sendfile(), passed to fs.createReadStream() 1026 * Added filename arg to Request#download() 1027 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request 1028 * Performance enhanced by preventing several calls to toLowerCase() in Router#match() 1029 * Changed; Request#sendfile() now streams 1030 * Changed; Renamed Request#halt() to Request#respond(). Closes #289 1031 * Changed; Using sys.inspect() instead of JSON.encode() for error output 1032 * Changed; run() returns the http.Server instance. Closes #298 1033 * Changed; Defaulting Server#host to null (INADDR_ANY) 1034 * Changed; Logger "common" format scale of 0.4f 1035 * Removed Logger "request" format 1036 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found 1037 * Fixed several issues with http client 1038 * Fixed Logger Content-Length output 1039 * Fixed bug preventing Opera from retaining the generated session id. Closes #292 1040 10410.9.0 / 2010-04-14 1042================== 1043 1044 * Added DSL level error() route support 1045 * Added DSL level notFound() route support 1046 * Added Request#error() 1047 * Added Request#notFound() 1048 * Added Request#render() callback function. Closes #258 1049 * Added "max upload size" setting 1050 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254 1051 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js 1052 * Added callback function support to Request#halt() as 3rd/4th arg 1053 * Added preprocessing of route param wildcards using param(). Closes #251 1054 * Added view partial support (with collections etc) 1055 * Fixed bug preventing falsey params (such as ?page=0). Closes #286 1056 * Fixed setting of multiple cookies. Closes #199 1057 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml) 1058 * Changed; session cookie is now httpOnly 1059 * Changed; Request is no longer global 1060 * Changed; Event is no longer global 1061 * Changed; "sys" module is no longer global 1062 * Changed; moved Request#download to Static plugin where it belongs 1063 * Changed; Request instance created before body parsing. Closes #262 1064 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253 1065 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled 1066 * Updated support to node --version 0.1.90 1067 * Updated dependencies 1068 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }}) 1069 * Removed utils.mixin(); use Object#mergeDeep() 1070 10710.8.0 / 2010-03-19 1072================== 1073 1074 * Added coffeescript example app. Closes #242 1075 * Changed; cache api now async friendly. Closes #240 1076 * Removed deprecated 'express/static' support. Use 'express/plugins/static' 1077 10780.7.6 / 2010-03-19 1079================== 1080 1081 * Added Request#isXHR. Closes #229 1082 * Added `make install` (for the executable) 1083 * Added `express` executable for setting up simple app templates 1084 * Added "GET /public/*" to Static plugin, defaulting to <root>/public 1085 * Added Static plugin 1086 * Fixed; Request#render() only calls cache.get() once 1087 * Fixed; Namespacing View caches with "view:" 1088 * Fixed; Namespacing Static caches with "static:" 1089 * Fixed; Both example apps now use the Static plugin 1090 * Fixed set("views"). Closes #239 1091 * Fixed missing space for combined log format 1092 * Deprecated Request#sendfile() and 'express/static' 1093 * Removed Server#running 1094 10950.7.5 / 2010-03-16 1096================== 1097 1098 * Added Request#flash() support without args, now returns all flashes 1099 * Updated ext submodule 1100 11010.7.4 / 2010-03-16 1102================== 1103 1104 * Fixed session reaper 1105 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft) 1106 11070.7.3 / 2010-03-16 1108================== 1109 1110 * Added package.json 1111 * Fixed requiring of haml / sass due to kiwi removal 1112 11130.7.2 / 2010-03-16 1114================== 1115 1116 * Fixed GIT submodules (HAH!) 1117 11180.7.1 / 2010-03-16 1119================== 1120 1121 * Changed; Express now using submodules again until a PM is adopted 1122 * Changed; chat example using millisecond conversions from ext 1123 11240.7.0 / 2010-03-15 1125================== 1126 1127 * Added Request#pass() support (finds the next matching route, or the given path) 1128 * Added Logger plugin (default "common" format replaces CommonLogger) 1129 * Removed Profiler plugin 1130 * Removed CommonLogger plugin 1131 11320.6.0 / 2010-03-11 1133================== 1134 1135 * Added seed.yml for kiwi package management support 1136 * Added HTTP client query string support when method is GET. Closes #205 1137 1138 * Added support for arbitrary view engines. 1139 For example "foo.engine.html" will now require('engine'), 1140 the exports from this module are cached after the first require(). 1141 1142 * Added async plugin support 1143 1144 * Removed usage of RESTful route funcs as http client 1145 get() etc, use http.get() and friends 1146 1147 * Removed custom exceptions 1148 11490.5.0 / 2010-03-10 1150================== 1151 1152 * Added ext dependency (library of js extensions) 1153 * Removed extname() / basename() utils. Use path module 1154 * Removed toArray() util. Use arguments.values 1155 * Removed escapeRegexp() util. Use RegExp.escape() 1156 * Removed process.mixin() dependency. Use utils.mixin() 1157 * Removed Collection 1158 * Removed ElementCollection 1159 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;) 1160 11610.4.0 / 2010-02-11 1162================== 1163 1164 * Added flash() example to sample upload app 1165 * Added high level restful http client module (express/http) 1166 * Changed; RESTful route functions double as HTTP clients. Closes #69 1167 * Changed; throwing error when routes are added at runtime 1168 * Changed; defaulting render() context to the current Request. Closes #197 1169 * Updated haml submodule 1170 11710.3.0 / 2010-02-11 1172================== 1173 1174 * Updated haml / sass submodules. Closes #200 1175 * Added flash message support. Closes #64 1176 * Added accepts() now allows multiple args. fixes #117 1177 * Added support for plugins to halt. Closes #189 1178 * Added alternate layout support. Closes #119 1179 * Removed Route#run(). Closes #188 1180 * Fixed broken specs due to use(Cookie) missing 1181 11820.2.1 / 2010-02-05 1183================== 1184 1185 * Added "plot" format option for Profiler (for gnuplot processing) 1186 * Added request number to Profiler plugin 1187 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8 1188 * Fixed issue with routes not firing when not files are present. Closes #184 1189 * Fixed process.Promise -> events.Promise 1190 11910.2.0 / 2010-02-03 1192================== 1193 1194 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180 1195 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174 1196 * Added expiration support to cache api with reaper. Closes #133 1197 * Added cache Store.Memory#reap() 1198 * Added Cache; cache api now uses first class Cache instances 1199 * Added abstract session Store. Closes #172 1200 * Changed; cache Memory.Store#get() utilizing Collection 1201 * Renamed MemoryStore -> Store.Memory 1202 * Fixed use() of the same plugin several time will always use latest options. Closes #176 1203 12040.1.0 / 2010-02-03 1205================== 1206 1207 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context 1208 * Updated node support to 0.1.27 Closes #169 1209 * Updated dirname(__filename) -> __dirname 1210 * Updated libxmljs support to v0.2.0 1211 * Added session support with memory store / reaping 1212 * Added quick uid() helper 1213 * Added multi-part upload support 1214 * Added Sass.js support / submodule 1215 * Added production env caching view contents and static files 1216 * Added static file caching. Closes #136 1217 * Added cache plugin with memory stores 1218 * Added support to StaticFile so that it works with non-textual files. 1219 * Removed dirname() helper 1220 * Removed several globals (now their modules must be required) 1221 12220.0.2 / 2010-01-10 1223================== 1224 1225 * Added view benchmarks; currently haml vs ejs 1226 * Added Request#attachment() specs. Closes #116 1227 * Added use of node's parseQuery() util. Closes #123 1228 * Added `make init` for submodules 1229 * Updated Haml 1230 * Updated sample chat app to show messages on load 1231 * Updated libxmljs parseString -> parseHtmlString 1232 * Fixed `make init` to work with older versions of git 1233 * Fixed specs can now run independant specs for those who cant build deps. Closes #127 1234 * Fixed issues introduced by the node url module changes. Closes 126. 1235 * Fixed two assertions failing due to Collection#keys() returning strings 1236 * Fixed faulty Collection#toArray() spec due to keys() returning strings 1237 * Fixed `make test` now builds libxmljs.node before testing 1238 12390.0.1 / 2010-01-03 1240================== 1241 1242 * Initial release 1243