Skip to content
Myr

History.md

This file

Path

History.md

325 lines · 12.4 KiB · Markdown

Last changed by

Release 1.0.0rcTj Holowaychukbefore adoptionaaa5deb

History of this file

Take it

The walk stopped after 200 commits: lines older than 63d02f1 point at it.

Release 1.0.0rcTj Holowaychukbefore adoptionaaa5deb

lines 1–17why, one step back
1
21.0.0rc / 2010-07-283==================45 * Added mounted hook. Closes #3696 * Added connect dependency to _package.json_78 * Removed "reload views" setting and support code9 development env never caches, production always caches.1011 * Removed _param_ in route callbacks, signature is now12 simply (req, res, next), previously (req, res, params, next).13 Use _req.params_ for path captures, _req.query_ for GET params.1415 * Fixed "home" setting16 * Fixed middleware/router precedence issue. Closes #36617 * Fixed; _configure()_ callbacks called immediately. Closes #368

Release 1.0.0beta2Tj Holowaychukbefore adoptiona947064

lines 18–29why, one step back
18
191.0.0beta2 / 2010-07-2320==================2122 * Added more examples23 * Added; exporting `Server` constructor24 * Added `Server#helpers()` for view locals25 * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #34926 * Added support for absolute view paths27 * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #36328 * Added Guillermo Rauch to the contributor list29 * Added support for "as" for non-collection partials. Closes #341

Fixed changelog typoTj Holowaychukbefore adoption929b43e

line 30why, one step back
30 * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]

Release 1.0.0beta2Tj Holowaychukbefore adoptiona947064

lines 31–35why, one step back
31 * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
32 * Fixed instanceof `Array` checks, now `Array.isArray()`33 * Fixed express(1) expansion of public dirs. Closes #34834 * Fixed middleware precedence. Closes #34535 * Fixed view watcher, now async [thanks aheckmann]

Install docsTj Holowaychukbefore adoption63d02f1

line 36why, one step back
36

Updated historyTj Holowaychukbefore adoption2798af1

lines 37–39why, one step back
371.0.0beta / 2010-07-15
38==================39

Updated history some moreTj Holowaychukbefore adoption83f1ccb

lines 40–43why, one step back
40 * Re-write
41 - much faster42 - much lighter43 - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs

Updated historyTj Holowaychukbefore adoption2798af1

line 44why, one step back
44

Install docsTj Holowaychukbefore adoption63d02f1

lines 45–325why, one step back
450.14.0 / 2010-06-15
46==================4748 * Utilize relative requires49 * Added Static bufferSize option [aheckmann]50 * Fixed caching of view and partial subdirectories [aheckmann]51 * Fixed mime.type() comments now that ".ext" is not supported52 * Updated haml submodule53 * Updated class submodule54 * Removed bin/express55560.13.0 / 2010-06-0157==================5859 * Added node v0.1.97 compatibility60 * Added support for deleting cookies via Request#cookie('key', null)61 * Updated haml submodule62 * Fixed not-found page, now using using charset utf-863 * Fixed show-exceptions page, now using using charset utf-864 * Fixed view support due to fs.readFile Buffers65 * Changed; mime.type() no longer accepts ".type" due to node extname() changes66670.12.0 / 2010-05-2268==================6970 * Added node v0.1.96 compatibility71 * Added view `helpers` export which act as additional local variables72 * Updated haml submodule73 * Changed ETag; removed inode, modified time only74 * Fixed LF to CRLF for setting multiple cookies75 * Fixed cookie complation; values are now urlencoded76 * Fixed cookies parsing; accepts quoted values and url escaped cookies77780.11.0 / 2010-05-0679==================8081 * Added support for layouts using different engines82 - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })83 - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'84 - this.render('page.html.haml', { layout: false }) // no layout85 * Updated ext submodule86 * Updated haml submodule87 * Fixed EJS partial support by passing along the context. Issue #30788890.10.1 / 2010-05-0390==================9192 * Fixed binary uploads.93940.10.0 / 2010-04-3095==================9697 * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s98 encoding is set to 'utf8' or 'utf-8'.99 * Added "encoding" option to Request#render(). Closes #299100 * Added "dump exceptions" setting, which is enabled by default.101 * Added simple ejs template engine support102 * Added error reponse support for text/plain, application/json. Closes #297103 * Added callback function param to Request#error()104 * Added Request#sendHead()105 * Added Request#stream()106 * Added support for Request#respond(304, null) for empty response bodies107 * Added ETag support to Request#sendfile()108 * Added options to Request#sendfile(), passed to fs.createReadStream()109 * Added filename arg to Request#download()110 * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request111 * Performance enhanced by preventing several calls to toLowerCase() in Router#match()112 * Changed; Request#sendfile() now streams113 * Changed; Renamed Request#halt() to Request#respond(). Closes #289114 * Changed; Using sys.inspect() instead of JSON.encode() for error output115 * Changed; run() returns the http.Server instance. Closes #298116 * Changed; Defaulting Server#host to null (INADDR_ANY)117 * Changed; Logger "common" format scale of 0.4f118 * Removed Logger "request" format119 * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found120 * Fixed several issues with http client121 * Fixed Logger Content-Length output122 * Fixed bug preventing Opera from retaining the generated session id. Closes #2921231240.9.0 / 2010-04-14125==================126127 * Added DSL level error() route support128 * Added DSL level notFound() route support129 * Added Request#error()130 * Added Request#notFound()131 * Added Request#render() callback function. Closes #258132 * Added "max upload size" setting133 * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254134 * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js135 * Added callback function support to Request#halt() as 3rd/4th arg136 * Added preprocessing of route param wildcards using param(). Closes #251137 * Added view partial support (with collections etc)138 * Fixed bug preventing falsey params (such as ?page=0). Closes #286139 * Fixed setting of multiple cookies. Closes #199140 * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)141 * Changed; session cookie is now httpOnly142 * Changed; Request is no longer global143 * Changed; Event is no longer global144 * Changed; "sys" module is no longer global145 * Changed; moved Request#download to Static plugin where it belongs146 * Changed; Request instance created before body parsing. Closes #262147 * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253148 * Changed; Pre-caching view partials in memory when "cache view partials" is enabled149 * Updated support to node --version 0.1.90150 * Updated dependencies151 * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})152 * Removed utils.mixin(); use Object#mergeDeep()153 1540.8.0 / 2010-03-19155==================156157 * Added coffeescript example app. Closes #242158 * Changed; cache api now async friendly. Closes #240159 * Removed deprecated 'express/static' support. Use 'express/plugins/static'1601610.7.6 / 2010-03-19162==================163164 * Added Request#isXHR. Closes #229165 * Added `make install` (for the executable)166 * Added `express` executable for setting up simple app templates167 * Added "GET /public/*" to Static plugin, defaulting to <root>/public168 * Added Static plugin169 * Fixed; Request#render() only calls cache.get() once170 * Fixed; Namespacing View caches with "view:"171 * Fixed; Namespacing Static caches with "static:"172 * Fixed; Both example apps now use the Static plugin173 * Fixed set("views"). Closes #239174 * Fixed missing space for combined log format175 * Deprecated Request#sendfile() and 'express/static'176 * Removed Server#running1771780.7.5 / 2010-03-16179==================180181 * Added Request#flash() support without args, now returns all flashes182 * Updated ext submodule1831840.7.4 / 2010-03-16185==================186187 * Fixed session reaper188 * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)1891900.7.3 / 2010-03-16191==================192193 * Added package.json194 * Fixed requiring of haml / sass due to kiwi removal1951960.7.2 / 2010-03-16197==================198199 * Fixed GIT submodules (HAH!)2002010.7.1 / 2010-03-16202==================203204 * Changed; Express now using submodules again until a PM is adopted205 * Changed; chat example using millisecond conversions from ext2062070.7.0 / 2010-03-15208==================209210 * Added Request#pass() support (finds the next matching route, or the given path)211 * Added Logger plugin (default "common" format replaces CommonLogger)212 * Removed Profiler plugin213 * Removed CommonLogger plugin2142150.6.0 / 2010-03-11216==================217218 * Added seed.yml for kiwi package management support219 * Added HTTP client query string support when method is GET. Closes #205220 221 * Added support for arbitrary view engines.222 For example "foo.engine.html" will now require('engine'),223 the exports from this module are cached after the first require().224 225 * Added async plugin support226 227 * Removed usage of RESTful route funcs as http client228 get() etc, use http.get() and friends229 230 * Removed custom exceptions2312320.5.0 / 2010-03-10233==================234235 * Added ext dependency (library of js extensions)236 * Removed extname() / basename() utils. Use path module237 * Removed toArray() util. Use arguments.values238 * Removed escapeRegexp() util. Use RegExp.escape()239 * Removed process.mixin() dependency. Use utils.mixin()240 * Removed Collection241 * Removed ElementCollection242 * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)2432440.4.0 / 2010-02-11245==================246247 * Added flash() example to sample upload app248 * Added high level restful http client module (express/http)249 * Changed; RESTful route functions double as HTTP clients. Closes #69250 * Changed; throwing error when routes are added at runtime251 * Changed; defaulting render() context to the current Request. Closes #197252 * Updated haml submodule2532540.3.0 / 2010-02-11255==================256257 * Updated haml / sass submodules. Closes #200258 * Added flash message support. Closes #64259 * Added accepts() now allows multiple args. fixes #117260 * Added support for plugins to halt. Closes #189261 * Added alternate layout support. Closes #119262 * Removed Route#run(). Closes #188263 * Fixed broken specs due to use(Cookie) missing2642650.2.1 / 2010-02-05266==================267268 * Added "plot" format option for Profiler (for gnuplot processing)269 * Added request number to Profiler plugin270 * Fixed binary encoding for multi-part file uploads, was previously defaulting to UTF8271 * Fixed issue with routes not firing when not files are present. Closes #184272 * Fixed process.Promise -> events.Promise2732740.2.0 / 2010-02-03275==================276277 * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180278 * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174279 * Added expiration support to cache api with reaper. Closes #133280 * Added cache Store.Memory#reap()281 * Added Cache; cache api now uses first class Cache instances282 * Added abstract session Store. Closes #172283 * Changed; cache Memory.Store#get() utilizing Collection284 * Renamed MemoryStore -> Store.Memory285 * Fixed use() of the same plugin several time will always use latest options. Closes #1762862870.1.0 / 2010-02-03288==================289290 * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context291 * Updated node support to 0.1.27 Closes #169292 * Updated dirname(__filename) -> __dirname293 * Updated libxmljs support to v0.2.0294 * Added session support with memory store / reaping295 * Added quick uid() helper296 * Added multi-part upload support297 * Added Sass.js support / submodule298 * Added production env caching view contents and static files299 * Added static file caching. Closes #136300 * Added cache plugin with memory stores301 * Added support to StaticFile so that it works with non-textual files.302 * Removed dirname() helper303 * Removed several globals (now their modules must be required)3043050.0.2 / 2010-01-10306==================307308 * Added view benchmarks; currently haml vs ejs309 * Added Request#attachment() specs. Closes #116310 * Added use of node's parseQuery() util. Closes #123311 * Added `make init` for submodules312 * Updated Haml313 * Updated sample chat app to show messages on load314 * Updated libxmljs parseString -> parseHtmlString315 * Fixed `make init` to work with older versions of git316 * Fixed specs can now run independant specs for those who cant build deps. Closes #127317 * Fixed issues introduced by the node url module changes. Closes 126.318 * Fixed two assertions failing due to Collection#keys() returning strings319 * Fixed faulty Collection#toArray() spec due to keys() returning strings320 * Fixed `make test` now builds libxmljs.node before testing3213220.0.1 / 2010-01-03323==================324325 * Initial release