Skip to content

Commit

Permalink
Release 2.0.0alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 5, 2011
1 parent 6e4c63d commit 635c607
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@

2.0.0alpha1 / 2011-10-05
==================

* Added `next(statusCode)` support
* Added `cookieParser(secret)` support
* Added signed cookie support to `cookieParser()`
* Added support for JSON-serialized cookies
* Added `err.status` support
* Added public `res.headerSent` checking nodes `res._headerSent`
* Changed node dependency to ">= 0.5.0 < 0.7.0"
* Changed: no longer lowercase cookie names
* Changed: `errorHandler()` is now a development only middleware
* Changed middleware to next() errors when possible so applications can unify logging / handling
* Improved handling of __ENAMETOOLONG__ per #369
* Removed `http[s].Server` inheritance (now just a function)
* Removed `.createServer()` (use `connect()`)
* Removed `secret` option from `session()`
* Removed `connect.session.ignore` array support
* Removed `router()` middleware. Closes #262

1.7.1 / 2011-09-12
==================

Expand Down
2 changes: 1 addition & 1 deletion lib/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports = module.exports = createServer;
* Framework version.
*/

exports.version = '1.6.1';
exports.version = '2.0.0alpha1';

/**
* Auto-load middleware getters.
Expand Down
2 changes: 1 addition & 1 deletion lib/proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var env = process.env.NODE_ENV || 'development';
*
* Examples:
*
* var server = connect.createServer();
* var server = connect();
* server.use(connect.favicon());
* server.use(connect.logger());
* server.use(connect.static(__dirname + '/public'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect",
"version": "1.6.1",
"version": "2.0.0alpha1",
"description": "High performance middleware framework",
"keywords": ["framework", "web", "middleware", "connect", "rack"],
"repository": "git://github.com/senchalabs/connect.git",
Expand Down

0 comments on commit 635c607

Please sign in to comment.