Skip to content
Myr

populate changelog for 2.0.0beta

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 1e392d2 · Browse files · 1 file+33 added−0 removed
This commit

State

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

Diff stats

1 file+33 added−0 removed

  • other:+33 added−0 removed

1 file+33 added−0 removed

modified:History.md+33 added
122.0.0beta / 2011-03-03 3==================45 * Added HTTPS support6 * Added `req.header()` _Referrer_ / _Referer_ special-case, either works7 * Added mount support for `res.redirect()`, now respects the mount-point8 * Added `union()` util, taking place of `merge(clone())` combo9 * Added stylus support to express(1) generated app10 * Added secret to session middleware used in examples and generated app11 * Added `res.local(name, val)` for progressive view locals12 * Added default param support to `req.param(name, default)`13 * Added `app.disabled()` and `app.enabled()`14 * Added `app.register()` support for omitting leading ".", either works15 * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #53916 * Added `app.param()` to map route params to async/sync logic17 * Added; aliased `app.helpers()` as `app.locals()`. Closes #48118 * Added extname with no leading "." support to `res.contentType()`19 * Added `cache views` setting, defaulting to enabled in "production" env20 * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.21 * Added `req.accepts()` support for extensions22 * Changed; `res.download()` and `res.sendfile()` now utilize Connect's23 static file server `connect.static.send()`.24 * Changed; replaced `connect.utils.mime()` with npm _mime_ module25 * Changed; allow `req.query` to be pre-defined (via middleware or other parent26 * Changed view partial resolution, now relative to parent view27 * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.28 * Fixed `req.param()` bug returning Array.prototype methods. Closes #55229 * Fixed; using `Stream#pipe()` instead of `sys.pump()`30app)31 * Fixed; using _qs_ module instead of _querystring_32 * Fixed; strip unsafe chars from jsonp callbacks33 * Removed "stream threshold" setting34351.0.8 / 2011-03-01 36==================3738 * Allow `req.query` to be pre-defined (via middleware or other parent app)
451 unmodified lines