-
-
Notifications
You must be signed in to change notification settings - Fork 124
Releases: pillarjs/router
Releases · pillarjs/router
v2.2.0
@UlisesGascon
UlisesGascon
e6d6b60
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's Changed
- docs: remove security file by @bjohansebas in #152
- fix: restore 'debug' logs by @dpopp07 in #151
- chore: upgrade scorecard workflow pinned action versions by @carpasse in #150
- cleanup: remove unused devDependency
afterby @Phillip9587 in #145 - cleanup: remove
setImmediatesupport check by @Phillip9587 in #144 - cleanup: remove promise support check from tests by @Phillip9587 in #141
- cleanup: remove devDependency
safe-bufferby @Phillip9587 in #140 - 'continue' is unnecessary as the last statement in while loop by @raksbisht in #107
- chore: upgrade
finalhandlerto 2.1.0 by @jonkoops in #153 - feat: deprecate non-native Promises by @jonkoops in #154
- Release 2.2.0 by @UlisesGascon in #157
New Contributors
- @bjohansebas made their first contribution in #152
- @dpopp07 made their first contribution in #151
- @raksbisht made their first contribution in #107
Full Changelog: v2.1.0...v2.2.0
Contributors
jonkoops, carpasse, and 5 other contributors
Assets 2
v2.1.0
What's Changed
- Use
Array.flatinstead ofarray-flattenpackage by @Phillip9587 in #126 - Remove Object.setPrototypeOf polyfill by @Phillip9587 in #125
- refactor: replace
methodsdependency with standard library by @jonkoops in #127 - fix: replace
methodsimports 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-mergedependency 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
Contributors
jonkoops, wesleytodd, and 4 other contributors
Assets 2
1.3.8
- Fix routing requests without method
Assets 2
3 people reacted
1.3.7
- Fix hanging on large stack of sync routes
Assets 2
1.3.6
- Fix handling very large stacks of sync middleware
- deps: safe-buffer@5.2.1
Assets 2
2.0.0-beta.1
2.0.0-beta.1
Pre-release
Pre-release
This incorporates all changes after 1.3.3 up to 1.3.5.
- Internalize private
router.process_paramsmethod - Remove
debugdependency - deps: array-flatten@3.0.0
- deps: parseurl@~1.3.3
- deps: path-to-regexp@3.2.0
- 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.fooand 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/*/barwill match a literal*as the middle segment.
- Add new
- deps: setprototypeof@1.2.0
Assets 2
1.3.5
- Fix incorrect middleware execution with unanchored
RegExps - perf: use plain object for internal method map
Assets 2
1.3.4
- deps: array-flatten@3.0.0
- deps: parseurl@~1.3.3
- deps: setprototypeof@1.2.0
Assets 2
2.0.0-alpha.1
2.0.0-alpha.1
Pre-release
Pre-release
- 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: debug@3.1.0
- Add
DEBUG_HIDE_DATEenvironment variable - Change timer to per-namespace instead of global
- Change non-TTY date format
- Remove
DEBUG_FDenvironment variable support - Support 256 namespace colors
- Add
Assets 2
1.3.3
- Fix JSDoc for
Routerconstructor