Permalink
Browse files

Release 0.9.0

  • Loading branch information...
1 parent 0fef51b commit 125533116008cd7e3a81b339a15f4a2059ae12ae @tj tj committed Apr 14, 2010
Showing with 83 additions and 13 deletions.
  1. +80 −0 History.md
  2. +1 −1 lib/express/core.js
  3. +0 −10 lib/express/plugins/view.js
  4. +1 −1 package.json
  5. +1 −1 seed.yml
View
@@ -1,4 +1,84 @@
+0.9.0 / 2010-04-14
+==================
+
+ * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
+ * Fixed bug preventing falsey params (such as ?page=0). Closes #286
+ * Fixed setting of multiple cookies. Closes #199
+ * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
+ * Changed; session cookie is now httpOnly
+ * Changed; Request is no longer global
+ * Changed; Event is no longer global
+ * Changed; "sys" module is no longer global
+ * Changed; moved Request#download to Static plugin where it belongs
+ * Updated support to node --version 0.1.90
+ * Updated dependencies
+
+ * Added "magic" variables to collection partials (__index__, __length__, __isFirst__, __isLast__). Closes #254
+ * Request instance created before body parsing. Closes #262
+ * Fixed post param issue
+ * Fixed mocks to work with new routing api
+ * .
+ * Docs
+ * Merge branch 'upload-limit'
+ * Added "max upload size" setting
+ * Updated ext. Closes #256
+ * Added Request#render() callback function. Closes #258
+ * Merge branch 'integration'
+ * fn -> callback
+ * Typo
+ * Merge branch 'master' of git://github.com/aheckmann/express into integration
+ * Updated to JSpec 4.0.0
+ * error() is passed the exception
+ * fn -> callback
+ * Added DSL level error() route support
+ * Added DSL level notFound() route support
+ * Added specs for Request#notFound()
+ * More Request#error() specs
+ * Added specs for Request#error()
+ * Merge branch 'errors'
+ * Added publish Request#notFound()
+ * Removed Express.error(), Added public Request#error()
+ * Request#halt() accepts callback function as 3rd/4th arg
+ * Merge branch 'error-handling'
+ * Misc error handling improvements
+ * Removed unused variable
+ * Merge branch 'error-handling'
+ * Caching notFound / showException modules
+ * Express.error() now acts as the core exception handler
+ * request response event is now fired in reverse.
+ * Handle when a plugin response fails
+ * next -> callback
+ * Styling
+ * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
+ * Docs for stable / edge
+ * Merge branch 'route-wildcards'
+ * Added preprocessing of route param wildcards using param(). Closes #251
+ * Added specs for param()
+ * Added more route wildcard specs
+ * Merge branch 'pre-cache-views'
+ * Pre-caching views in memory. Closes #253
+ * Started pre caching of views
+ * Merge branch 'integration'
+ * Added assertion to ensure that partials dir is relative to set("views")
+ * Re-using variables
+ * Using set("views") when setting set("partials")
+ * partialscache -> partials
+ * preload partials add settings bug fix, partial now works when cache view contents is true
+ * add cache view partials
+ * Removed utils.mixin() use Object#mergeDeep()
+ * Merge branch 'partials'
+ * Chat sample app using partials as an example
+ * Added partial "as" option
+ * Partial collection should not introduce newlines
+ * Added partial collection support
+ * Started view partial support
+ * Updated ext submodule
+ * Removed Request#_blendInNodeRequest()
+ * Merge branch 'net2_fixes' of git://github.com/ciaranj/express
+ * Updated support to v0.1.33
+ * Various minor fixes required to make express work post the net2 merge branch
+
0.8.0 / 2010-03-19
==================
View
@@ -300,7 +300,7 @@ Server = new Class({
// --- Express
Express = {
- version: '0.8.0',
+ version: '0.9.0',
config: [],
routes: [],
plugins: [],
@@ -149,16 +149,6 @@ exports.View = Plugin.extend({
options.filename = path
if (set('cache view contents'))
options.cache = true
- // >>> DEPRECATED: remove in 0.9.0
- if (['haml', 'sass', 'ejs'].indexOf(contentType) !== -1) {
- Ext.warn('views now take the form NAME.TYPE.ENGINE such as "page.html.haml" instead of "page.haml.html".' +
- ' Will be removed in 0.9.0')
- var swap = contentType
- contentType = engine
- engine = swap
- path = set(type) + '/' + parts.first + '.' + contentType + '.' + engine
- }
- // <<<
var content = cache[type][path] || fs.readFileSync(path)
options.context = options.context || this
content = (engines[engine] = engines[engine] || require(engine)).render(content, options)
View
@@ -1,7 +1,7 @@
{
"name": "Express",
"description": "Sinatra inspired web development framework",
- "version": "0.8.0",
+ "version": "0.9.0",
"keywords": ["framework", "sinatra", "web", "rest", "restful"],
"directories": {
"lib": "lib"
View
@@ -1,4 +1,4 @@
---
name: Express
description: Sinatra inspired web development framework
- version: 0.8.0
+ version: 0.9.0

5 comments on commit 1255331

Contributor

aheckmann replied Apr 15, 2010

Good timing, the day before I give a talk on Express at the Charlotte JS meetup. :^)
I updated the node compatibility page as well.

Owner

tj replied Apr 15, 2010

awesome! I am writing a big blog post on the features too so just watch for that on twitter :D

Contributor

ciaranj replied Apr 15, 2010

Sweet. Really looking forward to having this auth stuff ready for playing with. Gonna sort out secure session cookies now :) should be ready for a review and discussion end of the week. Well
done for pushing the release. Good timing for jsconf ;)

Contributor

aheckmann replied Apr 15, 2010

BTW, you can update the README again, we're compatible with node v0.1.91 as well. :)

Owner

tj replied Apr 15, 2010

whoop! just installing the new node

Please sign in to comment.