Skip to content
Myr

Release 3.0.6

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 14fcfde · Browse files · 2 files+95 added−87 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+95 added−87 removed

  • other:+95 added−87 removed

2 files+95 added−87 removed

modified:History.md+94 added-86 removed
123.0.5 / 2012-12-19 23.0.6 / 2013-01-043==================45 * add http verb methods to Router6 * update connect7 * fix mangling of the `res.cookie()` options object8 * fix jsonp whitespace escape. Closes #11329103.0.5 / 2012-12-1911==================1213 * add throwing when a non-function is passed to a route14 * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses15 * revert "add 'etag' option"1693.0.4 / 2012-12-05 173.0.4 / 2012-12-0518==================1920 * add 'etag' option to disable `res.send()` Etags21 * add escaping of urls in text/plain in `res.redirect()`22 for old browsers interpreting as html23 * change crc32 module for a more liberal license24 * update connect25183.0.3 / 2012-11-13 263.0.3 / 2012-11-1327==================2829 * update connect30 * update cookie module31 * fix cookie max-age32253.0.2 / 2012-11-08 333.0.2 / 2012-11-0834==================3536 * add OPTIONS to cors example. Closes #139837 * fix route chaining regression. Closes #139738313.0.1 / 2012-11-01 393.0.1 / 2012-11-0140==================4142 * update connect43363.0.0 / 2012-10-23 443.0.0 / 2012-10-2345==================4647 * add `make clean`48 * add "Basic" check to req.auth
6 unmodified lines
55 * remove non-primitive string support for `res.send()`56 * fix view-locals example. Closes #137057 * fix route-separation example58513.0.0rc5 / 2012-09-18 593.0.0rc5 / 2012-09-1860==================6162 * update connect63 * add redis search example64 * add static-files example65 * add "x-powered-by" setting (`app.disable('x-powered-by')`)66 * add "application/octet-stream" redirect Accept test case. Closes #131767603.0.0rc4 / 2012-08-30 683.0.0rc4 / 2012-08-3069==================7071 * add `res.jsonp()`. Closes #130772 * add "verbose errors" option to error-pages example
4 unmodified lines
77 * fix error-pages 404 status78 * fix jsonp callback char restrictions79 * remove old OPTIONS default response80733.0.0rc3 / 2012-08-13 813.0.0rc3 / 2012-08-1382==================8384 * update connect dep85 * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]86 * fix `res.render()` clobbering of "locals"87803.0.0rc2 / 2012-08-03 883.0.0rc2 / 2012-08-0389==================9091 * add CORS example92 * update connect dep93 * deprecate `.createServer()` & remove old stale examples94 * fix: escape `res.redirect()` link95 * fix vhost example96893.0.0rc1 / 2012-07-24 973.0.0rc1 / 2012-07-2498==================99100 * add more examples to view-locals101 * add scheme-relative redirects (`res.redirect("//foo.com")`) support
2 unmodified lines
104 * update send dep105 * fix `express(1)` -h flag, use -H for hogan. Closes #1245106 * fix `res.sendfile()` socket error handling regression1071003.0.0beta7 / 2012-07-16 1083.0.0beta7 / 2012-07-16109==================110111 * update connect dep for `send()` root normalization regression1121053.0.0beta6 / 2012-07-13 1133.0.0beta6 / 2012-07-13114==================115116 * add `err.view` property for view errors. Closes #1226117 * add "jsonp callback name" setting
1 unmodified line
119 * change `res.sendfile()` to use `send()` module120 * change `res.send` to use "response-send" module121 * remove `app.locals.use` and `res.locals.use`, use regular middleware1221153.0.0beta5 / 2012-07-03 1233.0.0beta5 / 2012-07-03124==================125126 * add "make check" support127 * add route-map example
2 unmodified lines
130 * update connect dep131 * update auth example to utilize cores pbkdf2132 * updated tests to use "supertest"1331263.0.0beta4 / 2012-06-25 1343.0.0beta4 / 2012-06-25135==================136137 * Added `req.auth`138 * Added `req.range(size)`
3 unmodified lines
142 * Added 2xx / 304 check to `req.fresh`143 * Revert "Added + support to the router"144 * Fixed `res.send()` freshness check, respect res.statusCode1451383.0.0beta3 / 2012-06-15 1463.0.0beta3 / 2012-06-15147==================148149 * Added hogan `--hjs` to express(1) [nullfirm]150 * Added another example to content-negotiation151 * Added `fresh` dep152 * Changed: `res.send()` always checks freshness153 * Fixed: expose connects mime module. Cloases #11651541473.0.0beta2 / 2012-06-06 1553.0.0beta2 / 2012-06-06156==================157158 * Added `+` support to the router159 * Added `req.host`160 * Changed `req.param()` to check route first161 * Update connect dep1621553.0.0beta1 / 2012-06-01 1633.0.0beta1 / 2012-06-01164==================165166 * Added `res.format()` callback to override default 406 behaviour167 * Fixed `res.redirect()` 406. Closes #11541681613.0.0alpha5 / 2012-05-30 1693.0.0alpha5 / 2012-05-30170==================171172 * Added `req.ip`173 * Added `{ signed: true }` option to `res.cookie()`174 * Removed `res.signedCookie()`175 * Changed: dont reverse `req.ips`176 * Fixed "trust proxy" setting check for `req.ips`1771703.0.0alpha4 / 2012-05-09 1783.0.0alpha4 / 2012-05-09179==================180181 * Added: allow `[]` in jsonp callback. Closes #1128182 * Added `PORT` env var support in generated template. Closes #1118 [benatkin]183 * Updated: connect 2.2.21841773.0.0alpha3 / 2012-05-04 1853.0.0alpha3 / 2012-05-04186==================187188 * Added public `app.routes`. Closes #887189 * Added _view-locals_ example
6 unmodified lines
196 * Changed connect 2.2.1 dep197 * Changed: `make test` now runs unit / acceptance tests198 * Fixed req/res proto inheritance1991923.0.0alpha2 / 2012-04-26 2003.0.0alpha2 / 2012-04-26201==================202203 * Added `make benchmark` back204 * Added `res.send()` support for `String` objects
7 unmodified lines
212 * Fixed redis session example213 * Fixed session example. Closes #1105214 * Fixed generated express dep. Closes #10782152083.0.0alpha1 / 2012-04-15 2163.0.0alpha1 / 2012-04-15217==================218219 * Added `app.locals.use(callback)`220 * Added `app.locals` object
46 unmodified lines
267 * Removed `app.dynamicHelpers()`268 * Fixed `res.sendfile()` with non-GET. Closes #723269 * Fixed express(1) public dir for windows. Closes #8662702632.5.9/ 2012-04-02 2712.5.9/ 2012-04-02272==================273274 * Added support for PURGE request method [pbuyle]275 * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]2762692.5.8 / 2012-02-08 2772.5.8 / 2012-02-08278==================279280 * Update mkdirp dep. Closes #9912812742.5.7 / 2012-02-06 2822.5.7 / 2012-02-06283==================284285 * Fixed `app.all` duplicate DELETE requests [mscdex]2862792.5.6 / 2012-01-13 2872.5.6 / 2012-01-13288==================289290 * Updated hamljs dev dep. Closes #9532912842.5.5 / 2012-01-08 2922.5.5 / 2012-01-08293==================294295 * Fixed: set `filename` on cached templates [matthewleon]2962892.5.4 / 2012-01-02 2972.5.4 / 2012-01-02298==================299300 * Fixed `express(1)` eol on 0.4.x. Closes #9473012942.5.3 / 2011-12-30 3022.5.3 / 2011-12-30303==================304305 * Fixed `req.is()` when a charset is present3062992.5.2 / 2011-12-10 3072.5.2 / 2011-12-10308==================309310 * Fixed: express(1) LF -> CRLF for windows3113042.5.1 / 2011-11-17 3122.5.1 / 2011-11-17313==================314315 * Changed: updated connect to 1.8.x316 * Removed sass.js support from express(1)3173102.5.0 / 2011-10-24 3182.5.0 / 2011-10-24319==================320321 * Added ./routes dir for generated app by default322 * Added npm install reminder to express(1) app gen323 * Added 0.5.x support324 * Removed `make test-cov` since it wont work with node 0.5.x325 * Fixed express(1) public dir for windows. Closes #8663263192.4.7 / 2011-10-05 3272.4.7 / 2011-10-05328==================329330 * Added mkdirp to express(1). Closes #795331 * Added simple _json-config_ example
2 unmodified lines
334 * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]335 * Fixed `req.flash()`, only escape args336 * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]3373302.4.6 / 2011-08-22 3382.4.6 / 2011-08-22339==================340341 * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]3423352.4.5 / 2011-08-19 3432.4.5 / 2011-08-19344==================345346 * Added support for routes to handle errors. Closes #809347 * Added `app.routes.all()`. Closes #803340 * Added "basepath" setting to work in conjunction with reverse proxies etc. 348 * Added "basepath" setting to work in conjunction with reverse proxies etc.349 * Refactored `Route` to use a single array of callbacks350 * Added support for multiple callbacks for `app.param()`. Closes #801351Closes #805352 * Changed: removed .call(self) for route callbacks353 * Dependency: `qs >= 0.3.1`354 * Fixed `res.redirect()` on windows due to `join()` usage. Closes #8083553482.4.4 / 2011-08-05 3562.4.4 / 2011-08-05357==================358359 * Fixed `res.header()` intention of a set, even when `undefined`360 * Fixed `*`, value no longer required361 * Fixed `res.send(204)` support. Closes #7713623552.4.3 / 2011-07-14 3632.4.3 / 2011-07-14364==================365366 * Added docs for `status` option special-case. Closes #739367 * Fixed `options.filename`, exposing the view path to template engines3683612.4.2. / 2011-07-06 3692.4.2. / 2011-07-06370==================371372 * Revert "removed jsonp stripping" for XSS3733662.4.1 / 2011-07-06 3742.4.1 / 2011-07-06375==================376377 * Added `res.json()` JSONP support. Closes #737378 * Added _extending-templates_ example. Closes #730
3 unmodified lines
382 * Changed: when cookie `path === null` don't default it383 * Changed; default cookie path to "home" setting. Closes #731384 * Removed _pids/logs_ creation from express(1)3853782.4.0 / 2011-06-28 3862.4.0 / 2011-06-28387==================388389 * Added chainable `res.status(code)`390 * Added `res.json()`, an explicit version of `res.send(obj)`391 * Added simple web-service example3923852.3.12 / 2011-06-22 3932.3.12 / 2011-06-22394==================395396 * \#express is now on freenode! come join!397 * Added `req.get(field, param)`
3 unmodified lines
401 * Dependency: connect >= 1.5.1 < 2.0.0402 * Fixed view layout bug. Closes #720403 * Fixed; ignore body on 304. Closes #7014043972.3.11 / 2011-06-04 4052.3.11 / 2011-06-04406==================407408 * Added `npm test`409 * Removed generation of dummy test file from `express(1)`410 * Fixed; `express(1)` adds express as a dep411 * Fixed; prune on `prepublish`4124052.3.10 / 2011-05-27 4132.3.10 / 2011-05-27414==================415416 * Added `req.route`, exposing the current route417 * Added _package.json_ generation support to `express(1)`418 * Fixed call to `app.param()` function for optional params. Closes #6824194122.3.9 / 2011-05-25 4202.3.9 / 2011-05-25421==================422423 * Fixed bug-ish with `../' in `res.partial()` calls424
10 unmodified lines
435 * Removed `app.param()` support for callback with return value436 * Removed module.parent check from express(1) generated app. Closes #670437 * Refactored router. Closes #6394384312.3.6 / 2011-05-20 4392.3.6 / 2011-05-20440==================441442 * Changed; using devDependencies instead of git submodules443 * Fixed redis session example444 * Fixed markdown example445 * Fixed view caching, should not be enabled in development4464392.3.5 / 2011-05-20 4472.3.5 / 2011-05-20448==================449450 * Added export `.view` as alias for `.View`4514442.3.4 / 2011-05-08 4522.3.4 / 2011-05-08453==================454455 * Added `./examples/say`456 * Fixed `res.sendfile()` bug preventing the transfer of files with spaces4574502.3.3 / 2011-05-03 4582.3.3 / 2011-05-03459==================460461 * Added "case sensitive routes" option.462 * Changed; split methods supported per rfc [slaskis]463 * Fixed route-specific middleware when using the same callback function several times4644572.3.2 / 2011-04-27 4652.3.2 / 2011-04-27466==================467468 * Fixed view hints4694622.3.1 / 2011-04-26 4702.3.1 / 2011-04-26471==================472473 * Added `app.match()` as `app.match.all()`474 * Added `app.lookup()` as `app.lookup.all()`
1 unmodified line
476 * Added `app.remove.VERB()`477 * Fixed template caching collision issue. Closes #644478 * Moved router over from connect and started refactor4794722.3.0 / 2011-04-25 4802.3.0 / 2011-04-25481==================482483 * Added options support to `res.clearCookie()`484 * Added `res.helpers()` as alias of `res.locals()`485 * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`486 * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]487 * Renamed "cache views" to "view cache". Closes #628488 * Fixed caching of views when using several apps. Closes #637481 * Fixed gotcha invoking `app.param()` callbacks once per route middleware. 489 * Fixed gotcha invoking `app.param()` callbacks once per route middleware.490Closes #638491 * Fixed partial lookup precedence. Closes #631492Shaw]4934862.2.2 / 2011-04-12 4942.2.2 / 2011-04-12495==================496497 * Added second callback support for `res.download()` connection errors498 * Fixed `filename` option passing to template engine4994922.2.1 / 2011-04-04 5002.2.1 / 2011-04-04501==================502503 * Added `layout(path)` helper to change the layout within a view. Closes #610504 * Fixed `partial()` collection object support.
5 unmodified lines
510 * Performance improved with better view caching511 * Removed `request` and `response` locals512 * Changed; errorHandler page title is now `Express` instead of `Connect`5135062.2.0 / 2011-03-30 5142.2.0 / 2011-03-30515==================516517 * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606518 * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606519 * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.520 * Dependency `connect >= 1.2.0`5215142.1.1 / 2011-03-29 5222.1.1 / 2011-03-29523==================524525 * Added; expose `err.view` object when failing to locate a view526 * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]527 * Fixed; `res.send(undefined)` responds with 204 [aheckmann]5285212.1.0 / 2011-03-24 5292.1.0 / 2011-03-24530==================531532 * Added `<root>/_?<name>` partial lookup support. Closes #447533 * Added `request`, `response`, and `app` local variables
2 unmodified lines
536 * Added `res.send(bool)` support (json response)537 * Fixed stylus example for latest version538 * Fixed; wrap try/catch around `res.render()`5395322.0.0 / 2011-03-17 5402.0.0 / 2011-03-17541==================542543 * Fixed up index view path alternative.544 * Changed; `res.locals()` without object returns the locals5455382.0.0rc3 / 2011-03-17 5462.0.0rc3 / 2011-03-17547==================548549 * Added `res.locals(obj)` to compliment `res.local(key, val)`550 * Added `res.partial()` callback support551 * Fixed recursive error reporting issue in `res.render()`5525452.0.0rc2 / 2011-03-17 5532.0.0rc2 / 2011-03-17554==================555556 * Changed; `partial()` "locals" are now optional557 * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]558 * Fixed .filename view engine option [reported by drudge]559 * Fixed blog example560 * Fixed `{req,res}.app` reference when mounting [Ben Weaver]5615542.0.0rc / 2011-03-14 5622.0.0rc / 2011-03-14563==================564565 * Fixed; expose `HTTPSServer` constructor566 * Fixed express(1) default test charset. Closes #579 [reported by secoif]567 * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]5685612.0.0beta3 / 2011-03-09 5692.0.0beta3 / 2011-03-09570==================571572 * Added support for `res.contentType()` literal573 The original `res.contentType('.json')`,
9 unmodified lines
583 * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]584 * Fixed; default `res.send()` string charset to utf8585 * Removed `Partial` constructor (not currently used)5865792.0.0beta2 / 2011-03-07 5872.0.0beta2 / 2011-03-07588==================589590 * Added res.render() `.locals` support back to aid in migration process591 * Fixed flash example5925852.0.0beta / 2011-03-03 5932.0.0beta / 2011-03-03594==================595596 * Added HTTPS support597 * Added `res.cookie()` maxAge support
24 unmodified lines
622 * Fixed; using _qs_ module instead of _querystring_623 * Fixed; strip unsafe chars from jsonp callbacks624 * Removed "stream threshold" setting6256181.0.8 / 2011-03-01 6261.0.8 / 2011-03-01627==================628629 * Allow `req.query` to be pre-defined (via middleware or other parent app)630 * "connect": ">= 0.5.0 < 1.0.0". Closes #547631 * Removed the long deprecated __EXPRESS_ENV__ support6326251.0.7 / 2011-02-07 6331.0.7 / 2011-02-07634==================635636 * Fixed `render()` setting inheritance.637 Mounted apps would not inherit "view engine"6386311.0.6 / 2011-02-07 6391.0.6 / 2011-02-07640==================641642 * Fixed `view engine` setting bug when period is in dirname6436361.0.5 / 2011-02-05 6441.0.5 / 2011-02-05645==================646647 * Added secret to generated app `session()` call6486411.0.4 / 2011-02-05 6491.0.4 / 2011-02-05650==================651652 * Added `qs` dependency to _package.json_653 * Fixed namespaced `require()`s for latest connect support6546471.0.3 / 2011-01-13 6551.0.3 / 2011-01-13656==================657658 * Remove unsafe characters from JSONP callback names [Ryan Grove]6596521.0.2 / 2011-01-10 6601.0.2 / 2011-01-10661==================662663 * Removed nested require, using `connect.router`6646571.0.1 / 2010-12-29 6651.0.1 / 2010-12-29666==================667668 * Fixed for middleware stacked via `createServer()`669 previously the `foo` middleware passed to `createServer(foo)`670 would not have access to Express methods such as `res.send()`671 or props like `req.query` etc.6726651.0.0 / 2010-11-16 6731.0.0 / 2010-11-16674==================675676 * Added; deduce partial object names from the last segment.677 For example by default `partial('forum/post', postObject)` will
5 unmodified lines
683 providing access to parent template locals.684 * Added _-s, --session[s]_ flag to express(1) to add session related middleware685 * Added _--template_ flag to express(1) to specify the686 template engine to use.679 * Added _--css_ flag to express(1) to specify the 687 * Added _--css_ flag to express(1) to specify the688 stylesheet engine to use (or just plain css by default).689 * Added `app.all()` support [thanks aheckmann]690 * Added partial direct object support.691 You may now `partial('user', user)` providing the "user" local,
4 unmodified lines
696 * Performance; caching view path derived partial object names697 * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454698 * Fixed jsonp support; _text/javascript_ as per mailinglist discussion6996921.0.0rc4 / 2010-10-14 7001.0.0rc4 / 2010-10-14701==================702703 * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0704 * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
10 unmodified lines
715 * Removed _context_ option is no more, use "scope"716 * Fixed; exposing _./support_ libs to examples so they can run without installs717 * Fixed mvc example7187111.0.0rc3 / 2010-09-20 7191.0.0rc3 / 2010-09-20720==================721722 * Added confirmation for `express(1)` app generation. Closes #391723 * Added extending of flash formatters via `app.flashFormatters`
14 unmodified lines
738 * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402739 * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]7407417341.0.0rc2 / 2010-08-17 7421.0.0rc2 / 2010-08-17743==================744745 * Added `app.register()` for template engine mapping. Closes #390746 * Added `res.render()` callback support as second argument (no options)
4 unmodified lines
751 * Added default expresso tests to `express(1)` generated app. Closes #384752 * Fixed `res.sendfile()` error handling, defer via `next()`753 * Fixed `res.render()` callback when a layout is used [thanks guillermo]754 * Fixed; `make install` creating ~/.node_libraries when not present747 * Fixed issue preventing error handlers from being defined anywhere. Closes #387 755 * Fixed issue preventing error handlers from being defined anywhere. Closes #3877567571.0.0rc / 2010-07-28758==================759
9 unmodified lines
769770 * Fixed "home" setting771 * Fixed middleware/router precedence issue. Closes #366772 * Fixed; _configure()_ callbacks called immediately. Closes #368765 7737741.0.0beta2 / 2010-07-23775==================776777 * Added more examples
126 unmodified lines
904 * Updated support to node --version 0.1.90905 * Updated dependencies906 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})907 * Removed utils.mixin(); use Object#mergeDeep()900 9089090.8.0 / 2010-03-19910==================911912 * Added coffeescript example app. Closes #242
58 unmodified lines
971==================972973 * Added seed.yml for kiwi package management support974 * Added HTTP client query string support when method is GET. Closes #205967 975976 * Added support for arbitrary view engines.977 For example "foo.engine.html" will now require('engine'),978 the exports from this module are cached after the first require().971 979980 * Added async plugin support973 981982 * Removed usage of RESTful route funcs as http client983 get() etc, use http.get() and friends976 984985 * Removed custom exceptions9869870.5.0 / 2010-03-10988==================
92 unmodified lines
modified:package.json+1 added-1 removed