Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: senchalabs/connect
head fork: senchalabs/connect
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Jul 19, 2011
@tj tj qs >= 0.3.0 04af2c6
Commits on Jul 20, 2011
@tj tj Added response "header" event allowing augmentation
this will be used in the session middleware, and could
be used elsewhere. Ideally Node would provide a hook for us...
Commits on Aug 02, 2011
@tj tj Added `getOnly` option to `connect.static.send()` ef0f070
Commits on Aug 03, 2011
@tj tj Allow retval `== null` from logger callback 07753e7
@tj tj Release 1.6.1 26478d1
Commits on Aug 05, 2011
@tj tj Changed: 301 redirect in `static()` to postfix "/" on directory. Closes bb1662f
Commits on Aug 11, 2011
@tj tj Fixed `connect.static()` vulernability, now stripping nullbytes f467170
@tj tj treat null bytes as bad requests for directory/static 3cc6be9
@tj tj Release 1.6.2 a2f8de5
@tj tj Added "immediate" option to `logger()`. Closes #321 5f600e9
Commits on Aug 15, 2011
@tj tj merged conditional header fields from master 06cbd48
Commits on Aug 17, 2011
@tj tj qs >= 0.3.1 fda5b8d
Commits on Aug 26, 2011
@tj tj Added double-next reporting 4046ad0
@tj tj Release 1.6.3 9d78e88
@tj tj Revert "Added double-next reporting"
This reverts commit 4046ad0.
@tj tj Release 1.6.4 2d1fdc2
Commits on Aug 27, 2011
@tj tj Added public `res.headerSent` checking nodes `res._headerSent` 06b3e32
@tj tj Changed: dispatcher errors after header is sent destroy the sock
for example:

    .use(function(req, res){
      res.setHeader(Content-Type, text/plain);
@tj tj Changed: ignore error handling middleware when header is sent
until we come up with a better solution
either this or every error-handling middleware
needs to check res.headerSent
Commits on Aug 31, 2011
@tj tj Added `staticCache()` middleware
this cache layer is ~29% faster than node-static
plus we have more features :) so there is very
little reason to it now
Commits on Sep 01, 2011
@tj tj removed meta.json fe68f9f
@tj tj todo 173a5d0
@tj tj Release 1.7.0 142bf02
Commits on Sep 02, 2011
@tj tj Added backpressure support to `staticCache()` 4123b0d
Commits on Sep 05, 2011
@tj tj Added session `Store#load(sess, fn)` to fetch a `Session` instance 4e2feea
Commits on Sep 08, 2011
@tj tj Added: make `Store` inherit from `EventEmitter` 1d97319
Commits on Sep 12, 2011
@tj tj Changed res.socket.destroy() to req.socket.destroy() 64cfa31
@tj tj Release 1.7.1 9d547d8
@ryanrolds ryanrolds Fixed race condition causing errors reported in #329. 6993a5d
Commits on Sep 25, 2011
@tj tj Removed compiler tests 861d0b1
@tj tj Fixed mime definition test b51b0df
@tj tj backport staticCache from master 34b9052
@tj tj backport more complete parseCacheControl() util from master df45c12
Commits on Oct 02, 2011
@tj tj Changed `limit()`: respond with 413 when content-length exceeds the l…

we could do this with chunked as well
although you would be stuck waiting for a
potentially _massive_ body
@ryanrolds ryanrolds statiCache no longer tries to handle range requests, typos, hit uses …
…date header for freshness
@tj tj backport tests b7f5857
@ryanrolds ryanrolds Doh, missed some changes 93257b0
@tj tj comment broken assertion for now 99089b6
@ryanrolds ryanrolds headers, conditional range requests, tests 468fcfe
Commits on Oct 07, 2011
@tj tj Removed favicon from ignore paths ed55162
Commits on Oct 12, 2011
@tj tj removed a nested assert.response test 1ade9b6
@tj tj Removed `make test-cov` as it will no work with node 0.5.x fe27550
@tj tj upgraded expresso f9da31f
@tj tj Fixed path matching test 470cfc2
Commits on Oct 16, 2011
@tj tj Fixed `staticCache()` Age header field 9319760
Commits on Oct 19, 2011
@tj tj backport c388999 3680edc
Commits on Oct 24, 2011
@tj tj Added `static()` redirect option. Closes #398 71d2f3c
@tj tj update should dev dep 8d217c9
@tj tj Removed socket error listener in static(). Closes #389
you will have to handle this yourself if you
are interested.
@tj tj Removed staticCache tests for now
nested assert.responses fail hard on node 0.5.x

this is not really a "bug" in expresso since
it was never designed to work with nested
responses, but I will fix this asap
@tj tj comment out session tests due to 0.5.x compat
same assert.response issue
@tj tj Revert "Removed staticCache tests for now"
This reverts commit 2c93ba9.
@tj tj comment out staticCache tests for 0.5.x (for now) 67b6ef0
@tj tj blank test in staticCache.test.js to trick expresso
otherwise tests will hang since it waits for exports
@tj tj "node": ">= 0.4.1 < 0.7.0" 86f3370
@tj tj Release 1.7.2 289db14
Commits on Oct 25, 2011
@tj tj Fixed HEAD support for 404s and 500s f097591
Commits on Nov 11, 2011
@tj tj backport req.body default fix from master a13145a
@tj tj Release 1.7.3 c804019
Commits on Nov 17, 2011
@tj tj Added multipart/form-data support to `bodyParser()` 78773bf
@tj tj flag error since formidable still emits "end" e1de4f8
@tj tj Added bodyParser example 1141370
@tj tj todo df577b4
@tj tj fixed bodyParser test due to recent changes edf4c37
@tj tj Release 1.8.0 b613cbb
@tj tj todo 5be1d7d
Commits on Nov 22, 2011
@tj tj backport bodyParser changes from master 5157c63
@tj tj Release 1.8.1 1f61892
Commits on Nov 24, 2011
@tj tj Backport compress() middleware f7fc88b
@tj tj Revert "Backport compress() middleware"
This reverts commit f7fc88b.
Commits on Dec 02, 2011
@tj tj note about formidable 23f6bd7
@tj tj docs 4e30994
Commits on Dec 03, 2011
@tj tj backport fix for #431 6c32544
@tj tj Release 1.8.2 b0d7d85
@tj tj docs 8f623c6
@tj tj docs 92fad34
Commits on Dec 16, 2011
@tj tj backport windows index.html fix 8390428
@tj tj Merge branch '1.x' of into 1.x b410255
@tj tj Release 1.8.3 7fbb358
Commits on Dec 19, 2011
@tj tj qs 0.4.x 2a9a26d
Commits on Dec 22, 2011
@tj tj Changed: allow empty body for json/urlencoded requests. Backport for #… 1e68a3c
@tj tj Release 1.8.4 a5c257a
@tj tj Fixed: actually allow empty body for json :) 90d566f
@tj tj Release 1.8.5 307009c
@tj tj indeed a bug 0c0fee9
Commits on Dec 30, 2011
@tj tj misc b315bea
@tj tj Merge branch '1.x' of into 1.x dbbc923
Commits on Mar 14, 2012
@tj tj session: removed UA fingerprinting b6f2f0b
@tj tj Release 1.8.6 6f4e0d4
Commits on Apr 17, 2012
@tj tj backport rescaping of 404 response 0acdfe0
@tj tj Release 1.8.7 f6f1728
@tj tj fixed utils require efdd1c7
Commits on Apr 18, 2012
Nebojsa Sabovic Backported compress middleware to 1.x. 5c3269f
Commits on Apr 20, 2012
@tj tj add publishConfig. Closes #540 18517c3
Commits on Jun 19, 2012
@tj tj Merge pull request #543 from nsabovic/compress
@tj tj Release 1.9.0 3c649ff
Commits on Jun 25, 2012
@tj tj remove engines... 38dbe3f
@tj tj Release 1.9.1 4a1b268
Commits on Jul 09, 2012
@freewil freewil ignore HEAD and OPTIONS in 1.x csrf middleware 004557e
@tj tj Merge pull request #627 from freewil/ignore-head-options-1.x
Ignore head options 1.x
@tj tj Release 1.9.2 6122f3e
Commits on Sep 24, 2012
@fengmk2 fengmk2 handle ENOTDIR error like ENOENT in static middleware 4720aac
@tj tj Merge pull request #660 from fengmk2/ENOTDIR-hotfix
[hotfix]handle ENOTDIR error like ENOENT in static middleware (connect@1.x)