NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
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.
Set stricter Content-Security-Policy header
Content-Security-Policy headerUse res.headersSent when available
res.headersSent when available* deps: debug@2.6.9 * deps: finalhandler@1.0.6 - deps: debug@2.6.9
Your coding agent can read these notes before it upgrades. Set up the MCP server →
perf: reduce overhead for full URLs
RegExp* deps: debug@2.6.8 * deps: finalhandler@1.0.4 - deps: debug@2.6.8
* deps: finalhandler@1.0.3 - deps: debug@2.6.7 * deps: debug@2.6.7 - deps: ms@2.0.0
* deps: debug@2.6.3 - Fix DEBUG_MAX_ARRAY_LENGTH * deps: finalhandler@1.0.1 - Fix missing in HTML document - deps: debug@2.6.3
DEBUG_MAX_ARRAY_LENGTH</html> in HTML documentDeprecated DEBUG_FD environment variable set to 3 or higher
DEBUG_FD environment variable set to 3 or highererr cannot be converted to a stringContent-Security-Policy: default-src 'self' headerFix exception when err.headers is not an object
err.headers is not an objectChange invalid or non-numeric status code to 500
err.statusCode if err.status is invaliderr.headers objectstatuses instead of http module for status messages* deps: finalhandler@0.4.1 - deps: escape-html@~1.0.3 * deps: parseurl@~1.3.1 - perf: enable strict mode
Fix a false-positive when unpiping in Node.js 0.8
statusCode property on Error objectsunpipe module for unpiping requestsFix high intensity foreground color for bold
* deps: debug@~2.1.1 * deps: finalhandler@0.3.3 - deps: debug@~2.1.1 - deps: on-finished@~2.2.0
Correctly invoke async callback asynchronously
Fix handling of URLs containing :// in the path
:// in the path* deps: finalhandler@0.3.2 - deps: on-finished@~2.1.1
Implement DEBUG_FD env variable support
DEBUG_FD env variable supporton-finished to determine request statusSet X-Content-Type-Options: nosniff header
X-Content-Type-Options: nosniff header* deps: parseurl@~1.3.0
Respond after request fully read
RegExptry blockAdd support for multiple wildcards in namespaces
use finalhandler for final response handling
finalhandler for final response handling
* No changes
Call error stack even when response has been sent
proto exportmove middleware to separate repos
connect.createServer() methodconnect.utils functions* deps: body-parser@~1.13.3 - deps: type-is@~1.6.6 * deps: compression@~1.5.2 - deps: accepts@~1.2.12 - deps: compressible@~2.0.5 - deps: vary@~1.0.1
Fix dropping parameters like hasOwnProperty
hasOwnPropertyAdd statusCode property on Errors, in addition to status
statusCode property on Errors, in addition to statustype default to application/json for JSON parsertype default to application/x-www-form-urlencoded for urlencoded parserrequire analysishttp-errors module to generate errors.end and .write after endContent-LengthsessionKey optionContent-Type headerstatusCode property on Error objectssecret option for key rotationstatusCode property on Error objectsunpipe module for unpiping requestsETag matching supportmorgan.compile(format) exportdev formatresponse-time token to not include response latencystatus token incorrectly displaying before response in dev formatundefined or a stringreq and res tokensres.getHeader in res tokendev formatskip optionOPTIONSfunction value for template optionOPTIONSDate.prototype.toLocaleDateString to format datefallthrough optionnext() instead of 400Slight efficiency improvement when not debugging
constructorFix error when code calls res.end(str, encoding)
res.end(str, encoding)hasOwnProperty is presentUse content-type to parse Content-Type headers
content-type to parse Content-Type headers
debug messagestype optionextended: true depth limit infinitycontent-type to parse Content-Type headersgzip over deflate on the serverCSRF-Token and XSRF-Token request headerscookie.path to '/', if using cookiescreateErrorname property on constructed errorshasBody Transfer-Encoding check*/*)* deps: compression@~1.3.1 - deps: accepts@~1.2.3 - deps: compressible@~2.0.2 * deps: csurf@~1.6.6 - deps: csrf@~2.0.5 * deps: errorhandler@~1.3.3 - d
Fix redirect loop in Node.js 0.11.14
* deps: csurf@~1.6.5 - deps: csrf@~2.0.4 * deps: express-session@~1.10.1 - deps: uid-safe@~1.0.2
Make internal extended: true array limit dynamic
extended: true array limit dynamicfilter function for wrappinglog optionstore.touch interface for session storesMemoryStore expiration with resave: falseclf, iso, and webbuffer optioncommon and combined formats"* deps: serve-index@~1.5.3 - deps: accepts@~1.1.4 - deps: http-errors@~1.2.8 - deps: mime-types@~2.0.4
Fix error when req.sessionID contains a non-string value
.end to only proxy to .endreq.sessionID contains a non-string valuearguments.callee usageAvoid errors from enumerables on Object.prototype
arrayLimit behaviorObject.prototypeCorrectly invoke async callback asynchronously
Fix handling of URLs containing :// in the path
:// in the path
Remove unnecessary empty write call
Use http-errors module for creating errors
http-errors module for creating errors
utils-merge module for merging objectshttp-errorsDEBUG_FD env variable supporton-finished to determine request statusdebug messagesheader option for custom header namesuffix optiondigits argument to an options argumentdir argument to filter functionhttp-errorsfix cookie name when using cookie: true
cookie: trueFix accepting non-object arguments to logger
logger
Fix req.ip integration when immediate: false
req.ip integration when immediate: falsefix content encoding to be case-insensitive
Fix issue with object keys starting with numbers truncated
Use crc instead of buffer-crc32 for speed
crc instead of buffer-crc32 for speedbytes dependencyadd parameterLimit option to urlencoded parser
parameterLimit option to urlencoded parserurlencoded extended array limit to 100parameterLimit in urlencodedignoreMethods optioncode property on CSRF token errorsutil.inspect if no other representationX-Content-Type-Options: nosniff headerformat is not a function or stringmaxAge (converted by ms)etag to generate ETag headerdebug messageslastModified optionhasbody to be true for content-length: 0* deps: serve-static@~1.5.4 - deps: send@0.8.5
* deps: body-parser@~1.6.7 - deps: qs@2.2.2 * deps: qs@2.2.2
* deps: body-parser@~1.6.6 - deps: qs@2.2.0 * deps: csurf@~1.4.1 * deps: qs@2.2.0 - Array parsing fix - Performance improvements
Fix exception on res.end(null) calls
res.end(null) calls* deps: body-parser@~1.6.4 - deps: qs@1.2.2 * deps: qs@1.2.2 * deps: serve-static@~1.5.2 - deps: send@0.8.2
Fix backwards compatibility in logger
loggerFix query middleware breaking with argument
query middleware breaking with argument
req.originalUrl values* deps: multiparty@3.3.2 - Fix potential double-callback
* deps: body-parser@~1.6.2 - deps: qs@1.2.0 * deps: qs@1.2.0 - Fix parsing array of objects
Accept urlencoded square brackets
One column per quarter.