NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2277 most downloaded on npm
High performance middleware framework
Latest stable
3.7.0
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
234 releases · first in 2010
Drag across the ruler to compare, or tap a release to open it.
Added connect.directory() middleware for serving directory listings
connect.directory() middleware for serving directory listingsFixed connect.static() root with ..
connect.static() root with ..
connect.static() EBADFFixed EBADF in connect.static(). Closes #297
connect.static(). Closes #297Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changed connect.static() to check resolved dirname. Closes #294
connect.static() to check resolved dirname. Closes #294Fixed fd leak in connect.static() when the socket is closed
connect.static() when the socket is closed
bodyParser() ignoring GET/HEAD. Closes #285Fixed stream creation on static() __HEAD__ request. [Andreas Lind Petersen]
devDependencies
static() HEAD request. [Andreas Lind Petersen]static()Added "hidden" option to static(). ignores hidden files by default. Closes * Added; expose connect.static.mime.define(). Closes #251
static(). ignores hidden files by default. Closes * Added; expose connect.static.mime.define(). Closes #251
errorHandler middleware for missing stack traces. [aseemk]
#274Added route-middleware next('route') support to jump passed the route itself
next('route') support to jump passed the route itself
limit()store.generate per requeststatic() does not set Content-Type when explicitly set [nateps]errorHandler() {error} contentsrouter will be removed in 2.0Added router.remove(path[, method]) to remove a route
router.remove(path[, method]) to remove a routeFixed basicAuth realm issue when passing strings. Closes #253
Added basicAuth(username, password) support
basicAuth(username, password) support
errorHandler.title defaulting to "Connect"errorHandler cssFixed logger() https remoteAddress logging [Alexander Simmerl]
logger() https remoteAddress logging [Alexander Simmerl]Added router.lookup(path[, method])
router.lookup(path[, method])
router.match(url[, method])Added; allow logger() callback function to return an empty string to ignore logging
logger() callback function to return an empty string to ignore logging
mime.charsets.lookup() for static(). Closes 245Added logger() support for format function
logger() support for format function
logger() to support mess of writeHead()/progressive api for node 0.4.xChanged; limit() now calls req.destroy()
limit() now calls req.destroy()Added request "limit" event to limit() middleware
limit() middleware
limit() middleware will next(err) on failureFixed session middleware for HTTPS. Closes #241 [reported by mt502]
* Added Session#reload(fn)
Session#reload(fn)Fixed res.setHeader() patch, preserve casing
res.setHeader() patch, preserve casingFixed; logger() using req.originalUrl instead of req.url
logger() using req.originalUrl instead of req.urlAdded conditional sessions example
res.charset
session.ignore to be replaced. Closes #227Cache-Control delimiters. Closes #228Fixed; static.send() invokes callback with connection error
static.send() invokes callback with connection errorFixed exported connect function
Added Session#save(fn). Closes #213
Session#save(fn). Closes #213
connect.static.send() for expressconnect.static.send() "path" optionstatic() for index.htmlAdded stack, message, and dump errorHandler option aliases
stack, message, and dump errorHandler option aliases
req.originalMethod to methodOverridefavicon() maxAge option supportconnect() alternative to connect.createServer()static()cookieParser() will not parse cookies more
than once even when within a mounted server../examples directorystaticProvider to staticbodyDecoder to bodyParsercookieDecoder to cookieParserstatic(). Closes #123Fixed SID space issue. Closes #196
res.end() to commit session datastaticProvider. Closes #198* qs >= 0.0.4
Fixed router race-condition causing possible failure when next()ing to one or more routes with parallel requests
qs dependency
next()ing to one or more routes with parallel
requestsAdded onvhost() call so Express (and others) can know when they are
onvhost() call so Express (and others) can know when they are
Server#listen() to allow regular http.Server#listen() args to work properlyutils.uid() length error [Jxck]
mountedAdded stylus support to compiler
compiler
Changed; using sha256 HMAC instead of md5. [Paul Querna]
Added; throw when router path or callback is missing
next(err) on cookie parse exception instead of ignoringAdded utils.pathname(), memoized url.parse(str).pathname
utils.pathname(), memoized url.parse(str).pathnamesession.id issue. Closes #183staticProvider maxAge to 0 not 1 year. Closes #179Added default __OPTIONS__ support to _router_ middleware
Added req.session.id mirroring req.sessionID
req.session.id mirroring req.sessionID
connect.router.methodsX-Powered-By, Server, etcAdded route segment precondition support and example
Added more HTTP methods to the router middleware
basicAuth middleware
router middlewareAdded connect.utils to expose utils
connect.utils to expose utilsconnect.session.Sessionconnect.session.Storeconnect.session.MemoryStoreconnect.middleware to expose the middleware gettersbuffer option to logger for performance increaseServer instances now have the route property exposed for reflectionServer#use()next(true) in router to bypass match attemptsServer#listen() host supportServer#route when Server#use() is called with a route on a Server instancelifetime option to maxAge in staticProviderObject.prototype forEach() and map() methodsconnect.createApp()res.simpleBody()params.{captures,splat} in router middleware, params is an arrayMemoryStoreServer#use() preventing Server instances as the first argNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added support for _router_ next() to continue calling matched routes
next() to continue calling matched routes
#get(), and #set()utils.find() backAdded calls to Session() casts the given object as a Session instance
Session() casts the given object as a Session instance
next() to router callbacks. Closes #46MemoryStore#destroy() removes req.sessionres.redirect("back") to default to "/" when Referr?er is not presentAccept header check. Closes #43Revamped the api, view the Connect documentation for more info (hover on the right for menu)
connect.Server#use()req.originalUrlreq.url mutation bug when matching connect.Server#use() routesmkdir -p implementation used in bin/connect. Closes #39make install installing lib to $LIB_PREFIX aka $HOME/.node_librariesAdded _static_ middleware usage example
util.merge()Object#forEach() remainsAdded Server#use() which contains the Layer normalization logic
utils.htmlEscape()utils.base64Decode()utils.base64Encode()utils.uid()utils.mime, ex utils.mime.types, and utils.mime.type()Added workerPidfile() to bin/connect
net.Server support to bin/connectenv.pidfileFixed node dependency in package.json, now _">= 0.1.98-0"_ to support __HEAD__
Added -V, --version to bin/connect
-V, --version to bin/connect
utils.parseCookie()utils.serializeCookie()utils.toBoolean()handleError() supportprocess.connectEnv* Initial release
One column per quarter.