Permalink
Browse files

Release 1.0.0

  • Loading branch information...
1 parent a231728 commit ea549b790ae9903f9bf455d0ae4ac31257e89ba1 @tj tj committed Mar 1, 2011
Showing with 36 additions and 1 deletion.
  1. +35 −0 History.md
  2. +1 −1 lib/middleware/methodOverride.js
View
@@ -1,4 +1,39 @@
+1.0.0 / 2011-03-01
+==================
+
+ * Added `stack`, `message`, and `dump` errorHandler option aliases
+ * Added `req.originalMethod` to methodOverride
+ * Added `favicon()` maxAge option support
+ * Added `connect()` alternative to `connect.createServer()`
+ * Added new [documentation](http://senchalabs.github.com/connect)
+ * Added Range support to `static()`
+ * Added HTTPS support
+
+ * Rewrote session middleware. The session API now allows for
+ session-specific cookies, so you may alter each individually.
+ Click to view the new [session api](http://senchalabs.github.com/connect/middleware-session.html).
+
+ * Added middleware self-awareness. This helps prevent
+ middleware breakage when used within mounted servers.
+ For example `cookieParser()` will not parse cookies more
+ than once even when within a mounted server.
+
+ * Added new examples in the `./examples` directory
+
+ * Added [limit()](http://senchalabs.github.com/connect/middleware-limit.html) middleware
+ * Added [profiler()](http://senchalabs.github.com/connect/middleware-profiler.html) middleware
+ * Added [responseTime()](http://senchalabs.github.com/connect/middleware-responseTime.html) middleware
+
+ * Renamed `staticProvider` to `static`
+ * Renamed `bodyDecoder` to `bodyParser`
+ * Renamed `cookieDecoder` to `cookieParser`
+
+ * Fixed ETag quotes. [reported by papandreou]
+ * Fixed If-None-Match comma-delimited ETag support. [reported by papandreou]
+ * Fixed; only set req.originalUrl once. Closes #124
+ * Fixed symlink support for `static()`. Closes #123
+
0.5.10 / 2011-02-14
==================
@@ -21,7 +21,7 @@
module.exports = function methodOverride(key){
key = key || "_method";
return function methodOverride(req, res, next) {
- req.originalMethod = req.method;
+ req.originalMethod = req.originalMethod || req.method;
// req.body
if (req.body && key in req.body) {

0 comments on commit ea549b7

Please sign in to comment.