NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1087 most downloaded on npm
Simple middleware-style router
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.6 years
Some releases are documented
notes for 18 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
68 releases · first in 2011
feat: deprecate non-native Promises by @jonkoops in #154
after by @Phillip9587 in #145setImmediate support check by @Phillip9587 in #144safe-buffer by @Phillip9587 in #140finalhandler to 2.1.0 by @jonkoops in #153Full Changelog: v2.1.0...v2.2.0
One column per quarter.
Use Array.flat instead of array-flatten package by @Phillip9587 in #126
Array.flat instead of array-flatten package by @Phillip9587 in #126methods dependency with standard library by @jonkoops in #127methods imports everywhere by @jonkoops in #130utils-merge dependency with Object.assign() by @jonkoops in #138Full Changelog: v2.0.0...v2.1.0
Nothing published for this version
Nothing published for this version
This incorporates all changes after 1.3.3 up to 1.3.5.
This incorporates all changes after 1.3.3 up to 1.3.5.
router.process_params methoddebug dependency?, *, and + parameter modifiers(*) is no longer valid and must be written as (.*), for example.req.params.
/:foo(.*) only captures as req.params.foo and not available as
req.params[0]./\\d+ is no longer valid and must be written as /(\\d+).* path segment behavior removed.
/foo/*/bar will match a literal * as the middle segment.Add basic support for returned, rejected Promises
next(error)DEBUG_HIDE_DATE environment variableDEBUG_FD environment variable supportFix routing requests without method
Fix hanging on large stack of sync routes
Fix handling very large stacks of sync middleware
Fix incorrect middleware execution with unanchored RegExps
RegExps
* deps: array-flatten@3.0.0 * deps: parseurl@~1.3.3 * deps: setprototypeof@1.2.0
Fix JSDoc for Router constructor
Router constructorperf: reduce overhead for full URLs
RegExp* deps: debug@2.6.8 - Fix DEBUG_MAX_ARRAY_LENGTH - deps: ms@2.0.0
DEBUG_MAX_ARRAY_LENGTHAdd next("router") to exit from router
next("router") to exit from routerrouter.use skipped requests routes did not%o in path debug to tell types apart* routeDeprecated DEBUG_FD environment variable set to 3 or higher
req.url is not setDEBUG_FD environment variable set to 3 or higherFix using fallback even when native method exists
- deps: array-flatten@2.0.0 - deps: methods@~1.1.2 - perf: enable strict mode - deps: parseurl@~1.3.1 - perf: enable strict mode
Nothing published for this version
Fix hiding platform issues with decodeURIComponent
decodeURIComponent
URIErrors are a 400* before params in routesFix issue where next('route') in app.param would incorrectly skip values
next('route') in app.param would incorrectly skip valuesUse setprototypeof instead of __proto__
setprototypeof instead of __proto__Fix crash from error within OPTIONS response handler
OPTIONS response handlerFix duplicate methods appearing in OPTIONS responses
router.param(name, fn)Match routes iteratively to prevent stack overflows
Initial release ported from Express 4.x
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
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
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
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
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
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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →