-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.0 #60
Release 2.0 #60
Conversation
Once the other two pending PR's are done I will do the final one "Use standard style". Can we look at setting a date as a goal to get out 2.0 on this? |
@dougwilson @wesleytodd Is there anything I can do to help move this forward? |
I'm looking forward to the new release with promise support. |
Would it be useful to explicitly test I know there are many places where we test directly returning For example all of these should be treated in the exact same way: async function middleware1(req, res, next) {
await Promise.reject(new Error("ok bye"));
}
async function middleware2(req, res, next) {
throw new Error("ok bye");
}
function middleware3(req, res, next) {
return Promise.reject(new Error("ok bye"));
}
function middleware4(req, res, next) {
throw new Error("ok bye");
} There are a few ways you can detect Happy to file a follow on PR with these tests as well. |
Hey, if there's anything I can help with to move this forward, I would love to contribute, but don't really know how 😄 (been using express since 2014, pretty familiar with how it works, happy to write some code or contribute in any other way). Is the checklist in the original description accurate, or is there more to do? |
This commit on |
This one is also looking to not be ported over and so failing the tests. Same as above, going to disable to get the branches synced up. Then I can port these here, publish a new router prerelease and then port it back to the other branch. Just going to edit this now that there are more: |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/[email protected]), npm/[email protected]) |
This is a tracking issue for release 2.0.
Try the latest beta with
npm install [email protected]
Please keep feature requests in their own issues
If you want to make a comment on a particular change, please make the comment in the "Files changed" tab so comments are not lost during a rebase.
List of changes for release:
router.param
Handle rejected promises fromrouter.param
#92debug
dependencypath-to-regexp
to 3.x Updated to [email protected] #42path-to-regexp
to 8.x (path-to-regexp@^8.0.0 #117)List of things to refactor:
Testing this release
If you want to try out this release, you can install it with the following commands:
Owners/collaborators: please do not merge this PR :)