Releases: pillarjs/router
Releases · pillarjs/router
v2.1.0
What's Changed
- Use
Array.flat
instead ofarray-flatten
package by @Phillip9587 in #126 - Remove Object.setPrototypeOf polyfill by @Phillip9587 in #125
- refactor: replace
methods
dependency with standard library by @jonkoops in #127 - fix: replace
methods
imports everywhere by @jonkoops in #130 - fix engines field for 2.0.0 by @ctcpip in #131
- deps: parseurl@^1.3.3 by @wesleytodd in #133
- ci: updated github actions ci workflow by @Phillip9587 in #143
- chore: replace
utils-merge
dependency withObject.assign()
by @jonkoops in #138 - deps: ispromise@^4.0.0 by @raiandexter0607 in #135
- Release: 2.1.0 by @UlisesGascon in #139
New Contributors
- @Phillip9587 made their first contribution in #126
- @jonkoops made their first contribution in #127
- @ctcpip made their first contribution in #131
- @raiandexter0607 made their first contribution in #135
- @UlisesGascon made their first contribution in #139
Full Changelog: v2.0.0...v2.1.0
1.3.8
- Fix routing requests without method
1.3.7
- Fix hanging on large stack of sync routes
1.3.6
- Fix handling very large stacks of sync middleware
- deps: [email protected]
2.0.0-beta.1
This incorporates all changes after 1.3.3 up to 1.3.5.
- Internalize private
router.process_params
method - Remove
debug
dependency - deps: [email protected]
- deps: parseurl@~1.3.3
- deps: [email protected]
- Add new
?
,*
, and+
parameter modifiers - Matching group expressions are only RegExp syntax.
(*)
is no longer valid and must be written as(.*)
, for example. - Named matching groups no longer available by position in
req.params
.
/:foo(.*)
only captures asreq.params.foo
and not available as
req.params[0]
. - Regular expressions can only be used in a matching group.
/\\d+
is no longer valid and must be written as/(\\d+)
. - Special
*
path segment behavior removed.
/foo/*/bar
will match a literal*
as the middle segment.
- Add new
- deps: [email protected]
1.3.5
- Fix incorrect middleware execution with unanchored
RegExp
s - perf: use plain object for internal method map
1.3.4
- deps: [email protected]
- deps: parseurl@~1.3.3
- deps: [email protected]
2.0.0-alpha.1
- Add basic support for returned, rejected Promises
- Rejected Promises from middleware functions
next(error)
- Rejected Promises from middleware functions
- Drop support for Node.js below 0.10
- deps: [email protected]
- Add
DEBUG_HIDE_DATE
environment variable - Change timer to per-namespace instead of global
- Change non-TTY date format
- Remove
DEBUG_FD
environment variable support - Support 256 namespace colors
- Add
1.3.3
- Fix JSDoc for
Router
constructor
1.3.2
- deps: [email protected]
- deps: parseurl@~1.3.2
- perf: reduce overhead for full URLs
- perf: unroll the "fast-path"
RegExp
- deps: [email protected]
- deps: [email protected]