Permalink
Browse files

Release 0.5.1

  • Loading branch information...
1 parent 74c1396 commit 644d19050634c79f9349907f80a89a75bfdf1748 @tj tj committed Dec 28, 2010
Showing with 15 additions and 1 deletion.
  1. +8 −0 History.md
  2. +7 −1 lib/connect/middleware/router.js
View
@@ -1,4 +1,12 @@
+0.5.1 / 2010-12-28
+==================
+
+ * Added `req.session.id` mirroring `req.sessionID`
+ * Refactored router, exposing `connect.router.methods`
+ * Exclude non-lib files from npm
+ * Removed imposed headers `X-Powered-By`, `Server`, etc
+
0.5.0 / 2010-12-06
==================
@@ -12,6 +12,12 @@
var parse = require('url').parse
, querystring = require('querystring');
+/**
+ * Expose router.
+ */
+
+exports = module.exports = router;
+
/**
* Supported HTTP / WebDAV methods.
*/
@@ -57,7 +63,7 @@ var _methods = exports.methods = [
* @api public
*/
-module.exports = function router(fn){
+function router(fn){
var self = this
, methods = {}
, routes = {}

0 comments on commit 644d190

Please sign in to comment.