-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Throw on invalid status codes #4212
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
I realized after opening this that Node.js does not throw on inputs like |
@jonchurch - my assertion is that |
Yea, I don't have any issues with this throwing on a float; we want to throw on whatever Node.js throws on as the minimum bar. If we can also help the users by also throwing on definitely nonsensical inputs (like status codes with fractions) that makes sense of course :) ! |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
as per the TC discussion, this is ready to merge, who is going to do that? @dougwilson , I see your red-X on this - is that still valid, or you are going to remove it and land? |
Thinking more about this and something bothers me. I took the approach the previous PR did, since it had been reviewed, but now I'm questioning the use of If someone monkey-patches My question has two parts:
See an example of the change in the diff: https://github.com/expressjs/express/pull/4212/files#diff-d86a59ede7d999db4b7bc43cb25a1c11L137-R142 |
Yes, as stated in #4223 (comment) , but this PR is already a breaking change, right? So I'm not sure if it's super relevant. The change itself makes sense to make, just like we call
I'm not really following on what this part of the question really is. The main reason the internals use Express' own API is especially useful for AOP type of design patterns, if the user so chooses to do them. The Node.js HTTP APIs do the same patterns as well, AFAIK. |
I wasn't clear. Re: breaking, I meant that someone's v4 You've answered my second question I believe. We aren't interested in making some methods private and off limits to users. Thanks, I wanted to bring up this point (re: effects of monkey-patching res.status with these changes) just so someone else could check it. Realizing that we use a lot of these helper methods internally would indicate that this change is not out of step with what is standard. |
Just read that linked comment and saw you did directly address the concern already 👍 |
Yep! I did, though, not directly address the monkey patching messing something up; that is indeed the case, but I don't think any more so than other aspects of Node.js and Javascript. I think that it is going to be possible for users to override something and cause a breakage, but I'm not sure that the effort in order to prevent such a thing is really worth it. From support experience, I think it is extremely rare for such an issue to really show up, haha. |
eb10dba
to
340be0f
Compare
I think this PR should target branch https://github.com/expressjs/express/tree/5.0 and not master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the comments are unaddressed, so didn't want to approve, but I think once those are addressed this looks good.
Co-authored-by: Chris de Almeida <ctcpip@users.noreply.github.com>
I am landing this despite the pending 22 test and the coverage report. I think we agree it is good and if we have to fix CI we can do it along with dropping node 18. I am getting to the point where I think we should merge all these pending ones and live with 5.0 being broken until we land the node@18 change anyway. |
![snyk-io[bot]](https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=)   [<img width="16" alt="Powered by Pull Request Badge" src="https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)<!-- PR-BADGE: PLEASE DO NOT REMOVE THIS COMMENT -->  <h3>Snyk has created this PR to upgrade express from 4.21.2 to 5.0.1.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> ⚠️ **Warning:** This PR contains major version upgrade(s), and may be a breaking change. - The recommended version is **13 versions** ahead of your current version. - The recommended version was released **6 months ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>express</b></summary> <ul> <li> <b>5.0.1</b> - <a href="https://github.com/expressjs/express/releases/tag/5.0.1">2024-10-08</a></br><h2>What's Changed</h2> <ul> <li>remove --bail from test script by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2526648661" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5962" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5962/hovercard" href="https://github.com/expressjs/express/pull/5962">#5962</a></li> <li>Nominate <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bjohansebas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bjohansebas">@ bjohansebas</a> to the triage team by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2560137262" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/6009" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/6009/hovercard" href="https://github.com/expressjs/express/pull/6009">#6009</a></li> <li>Link and update captains by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2565070330" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/6013" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/6013/hovercard" href="https://github.com/expressjs/express/pull/6013">#6013</a></li> <li>Update <code>cookie</code> semver lock to address <a title="CVE-2024-47764" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-pxg6-pf52-xh8x/hovercard" href="https://github.com/advisories/GHSA-pxg6-pf52-xh8x">CVE-2024-47764</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joshbuker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joshbuker">@ joshbuker</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2567442990" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/6017" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/6017/hovercard" href="https://github.com/expressjs/express/pull/6017">#6017</a></li> <li>Release: 5.0.1 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2572756405" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/6032" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/6032/hovercard" href="https://github.com/expressjs/express/pull/6032">#6032</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/expressjs/express/compare/v5.0.0...5.0.1"><tt>v5.0.0...5.0.1</tt></a></p> </li> <li> <b>5.0.0</b> - <a href="https://github.com/expressjs/express/releases/tag/v5.0.0">2024-09-10</a></br><h1>Express v5.0.0</h1> <p>🎉 <strong>Express v5 is finally here!</strong> 🎉</p> <p>After years of development, the long-awaited Express v5 has been officially released. This version focuses on simplifying the codebase, improving security, and dropping support for older Node.js versions to enable better performance and maintainability.</p> <p>For detailed information, please check out the official <a href="https://expressjs.com/2024/10/15/v5-release.html" rel="nofollow">Express v5 release blog post</a>.</p> <h2>Most relevant details</h2> <h3>Major Changes in v5</h3> <ul> <li><strong>Node.js version support</strong>: Dropped support for Node.js versions before v18.</li> <li><strong>Routing changes</strong>: Updated to <code>path-to-regexp@8.x</code>, removing sub-expression regex patterns for security reasons (ReDoS mitigation).</li> <li><strong>Promise support</strong>: Middleware can now return rejected promises, caught by the router as errors.</li> <li><strong><code>body-parser</code> changes</strong>: Several improvements including the ability to customize <code>urlencoded</code> body depth and defaulting <code>extended</code> to <code>false</code>.</li> <li><strong>Deprecated API methods removed</strong>: Removed old, deprecated API method signatures from Express v3/v4.</li> </ul> <p>For a complete list of breaking changes and API deprecations, see the <a href="https://expressjs.com/en/guide/migrating-5.html" rel="nofollow">migration guide</a>.</p> <h3>Security Updates</h3> <p>This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for <a title="CVE-2024-45590" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-qwcr-r2fm-qrc7/hovercard" href="https://github.com/advisories/GHSA-qwcr-r2fm-qrc7">CVE-2024-45590</a>. Full details can be found in the <a href="https://expressjs.com/2024/09/29/security-releases.html" rel="nofollow">security release notes</a>.</p> <h3>Migration</h3> <p>Be sure to check out our <a href="https://expressjs.com/en/guide/migrating-5.html" rel="nofollow">migration guide</a> for instructions on how to update your applications from Express v4 to v5.</p> <h3>Security Guidance</h3> <p>For best practices, we recommend reviewing the <a href="https://github.com/expressjs/security-wg/blob/main/docs/ThreatModel.md">Threat Model</a> which outlines Express' approach to securing your applications, including tips for user input validation and other critical aspects.</p> <h2>What's Changed</h2> <ul> <li>4.19.2 Staging by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2205894842" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5561" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5561/hovercard" href="https://github.com/expressjs/express/pull/5561">#5561</a></li> <li>remove duplicate location test for data uri by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2205975737" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5562" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5562/hovercard" href="https://github.com/expressjs/express/pull/5562">#5562</a></li> <li>feat: document beta releases expectations by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/marco-ippolito/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/marco-ippolito">@ marco-ippolito</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2208001883" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5565" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5565/hovercard" href="https://github.com/expressjs/express/pull/5565">#5565</a></li> <li>Cut down on duplicated CI runs by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2207118561" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5564" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5564/hovercard" href="https://github.com/expressjs/express/pull/5564">#5564</a></li> <li>Add a Threat Model by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2177843627" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5526" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5526/hovercard" href="https://github.com/expressjs/express/pull/5526">#5526</a></li> <li>Assign captain of encodeurl by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2223845100" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5579" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5579/hovercard" href="https://github.com/expressjs/express/pull/5579">#5579</a></li> <li>Nominate jonchurch as repo captain for <code>http-errors</code>, <code>expressjs.com</code>, <code>morgan</code>, <code>cors</code>, <code>body-parser</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2231178518" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5587" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5587/hovercard" href="https://github.com/expressjs/express/pull/5587">#5587</a></li> <li>docs: update Security.md by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/inigomarquinez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/inigomarquinez">@ inigomarquinez</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2234869052" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5590" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5590/hovercard" href="https://github.com/expressjs/express/pull/5590">#5590</a></li> <li>docs: update triage nomination policy by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2244760866" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5600" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5600/hovercard" href="https://github.com/expressjs/express/pull/5600">#5600</a></li> <li>Add CodeQL (SAST) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2115231904" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5433" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5433/hovercard" href="https://github.com/expressjs/express/pull/5433">#5433</a></li> <li>docs: add UlisesGascon as triage initiative captain by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2248177333" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5605" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5605/hovercard" href="https://github.com/expressjs/express/pull/5605">#5605</a></li> <li>Use object with null prototype for various app properties by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EvanHahn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EvanHahn">@ EvanHahn</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1172638935" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4861" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4861/hovercard" href="https://github.com/expressjs/express/pull/4861">#4861</a></li> <li>deps: encodeurl@~2.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2214379084" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5569" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5569/hovercard" href="https://github.com/expressjs/express/pull/5569">#5569</a></li> <li>skip QUERY method test by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2269795354" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5628" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5628/hovercard" href="https://github.com/expressjs/express/pull/5628">#5628</a></li> <li>ignore ETAG query test on 21 and 22, reuse skip util by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2279211376" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5639" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5639/hovercard" href="https://github.com/expressjs/express/pull/5639">#5639</a></li> <li>add support Node.js@22 in the CI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mertcanaltin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mertcanaltin">@ mertcanaltin</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2269736399" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5627" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5627/hovercard" href="https://github.com/expressjs/express/pull/5627">#5627</a></li> <li>doc: add table of contents, tc/triager lists to readme by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mertcanaltin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mertcanaltin">@ mertcanaltin</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2258340754" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5619" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5619/hovercard" href="https://github.com/expressjs/express/pull/5619">#5619</a></li> <li>List and sort all projects, add captains by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2290514703" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5653" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5653/hovercard" href="https://github.com/expressjs/express/pull/5653">#5653</a></li> <li>Call callback once on listen error by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="209006038" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/3216" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/3216/hovercard" href="https://github.com/expressjs/express/pull/3216">#3216</a></li> <li>docs: add <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> as captain for cookie-parser by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2298511253" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5666" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5666/hovercard" href="https://github.com/expressjs/express/pull/5666">#5666</a></li> <li>✨ bring back query tests for node 21 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctcpip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctcpip">@ ctcpip</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2328258862" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5690" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5690/hovercard" href="https://github.com/expressjs/express/pull/5690">#5690</a></li> <li>[v4] Deprecate <code>res.clearCookie</code> accepting <code>options.maxAge</code> and <code>options.expires</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2304188499" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5672" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5672/hovercard" href="https://github.com/expressjs/express/pull/5672">#5672</a></li> <li>skip QUERY tests for Node 21 only, still not supported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2336975002" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5695" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5695/hovercard" href="https://github.com/expressjs/express/pull/5695">#5695</a></li> <li>📝 update people, add ctcpip to TC by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctcpip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctcpip">@ ctcpip</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2316076288" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5683" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5683/hovercard" href="https://github.com/expressjs/express/pull/5683">#5683</a></li> <li>remove minor version pinning from ci by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2371080121" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5722" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5722/hovercard" href="https://github.com/expressjs/express/pull/5722">#5722</a></li> <li>Fix link variable use in attribution section of CODE OF CONDUCT by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IamLizu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IamLizu">@ IamLizu</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2408094055" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5762" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5762/hovercard" href="https://github.com/expressjs/express/pull/5762">#5762</a></li> <li>Replace Appveyor windows testing with GHA by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2242043679" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5599" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5599/hovercard" href="https://github.com/expressjs/express/pull/5599">#5599</a></li> <li>Add OSSF Scorecard badge by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2115320741" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5436" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5436/hovercard" href="https://github.com/expressjs/express/pull/5436">#5436</a></li> <li>Throw on invalid status codes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="578302890" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4212" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4212/hovercard" href="https://github.com/expressjs/express/pull/4212">#4212</a></li> <li>Use Array.flat instead of array-flatten by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/almic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/almic">@ almic</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2306241102" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5677" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5677/hovercard" href="https://github.com/expressjs/express/pull/5677">#5677</a></li> <li>Adopt Node@18 as the minimum supported version by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2444687615" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5803" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5803/hovercard" href="https://github.com/expressjs/express/pull/5803">#5803</a></li> <li>Ignore <code>expires</code> and <code>maxAge</code> in <code>res.clearCookie()</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2433658069" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5792" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5792/hovercard" href="https://github.com/expressjs/express/pull/5792">#5792</a></li> <li>send@1.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2431127851" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5786" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5786/hovercard" href="https://github.com/expressjs/express/pull/5786">#5786</a></li> <li>chore: upgrade <code>debug</code> dep from 3.10 to 4.3.6 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carpasse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carpasse">@ carpasse</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2469563724" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5829" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5829/hovercard" href="https://github.com/expressjs/express/pull/5829">#5829</a></li> <li>refactor: replace 'path-is-absolute' dep with node:path isAbsolute method by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carpasse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carpasse">@ carpasse</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2469592902" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5830" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5830/hovercard" href="https://github.com/expressjs/express/pull/5830">#5830</a></li> <li>update scorecard link by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bjohansebas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bjohansebas">@ bjohansebas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2454720797" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5814" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5814/hovercard" href="https://github.com/expressjs/express/pull/5814">#5814</a></li> <li>Nominate <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IamLizu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IamLizu">@ IamLizu</a> to the triage team by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2472072832" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5836" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5836/hovercard" href="https://github.com/expressjs/express/pull/5836">#5836</a></li> <li>deps: path-to-regexp@0.1.8 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2246904258" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5603" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5603/hovercard" href="https://github.com/expressjs/express/pull/5603">#5603</a></li> <li>docs: specify new instructions for <code>question</code> and <code>discuss</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IamLizu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IamLizu">@ IamLizu</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2472042002" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5835" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5835/hovercard" href="https://github.com/expressjs/express/pull/5835">#5835</a></li> <li>5.x: Upgrading <code>merge-descriptors</code> with allowing minors by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RobinTail/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RobinTail">@ RobinTail</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2423855305" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5782" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5782/hovercard" href="https://github.com/expressjs/express/pull/5782">#5782</a></li> <li>4.x: Upgrade <code>merge-descriptors</code> dependency by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RobinTail/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RobinTail">@ RobinTail</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2423774144" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5781" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5781/hovercard" href="https://github.com/expressjs/express/pull/5781">#5781</a></li> <li>WIP: serve-static@2 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2433072311" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5790" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5790/hovercard" href="https://github.com/expressjs/express/pull/5790">#5790</a></li> <li>chore: upgrade qs dp from 6.11.0 to 6.13.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carpasse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carpasse">@ carpasse</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2482362516" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5847" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5847/hovercard" href="https://github.com/expressjs/express/pull/5847">#5847</a></li> <li>Upgrade cookie signature by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IamLizu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IamLizu">@ IamLizu</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2471624195" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5833" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5833/hovercard" href="https://github.com/expressjs/express/pull/5833">#5833</a></li> <li>accepts@2 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2498915428" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5881" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5881/hovercard" href="https://github.com/expressjs/express/pull/5881">#5881</a></li> <li>mime-types@3 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2498922174" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5882" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5882/hovercard" href="https://github.com/expressjs/express/pull/5882">#5882</a></li> <li>type-is@^2.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2498967512" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5883" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5883/hovercard" href="https://github.com/expressjs/express/pull/5883">#5883</a></li> <li>content-disposition@^1.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2498986731" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5884" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5884/hovercard" href="https://github.com/expressjs/express/pull/5884">#5884</a></li> <li>fix(deps): finalhandler@^2.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2501445898" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5899" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5899/hovercard" href="https://github.com/expressjs/express/pull/5899">#5899</a></li> <li>path-to-regexp@0.1.10 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2503773452" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5902" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5902/hovercard" href="https://github.com/expressjs/express/pull/5902">#5902</a></li> <li>update to <code>fresh@^2.0.0</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2511330397" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5916" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5916/hovercard" href="https://github.com/expressjs/express/pull/5916">#5916</a></li> <li>router@^2.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wesleytodd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wesleytodd">@ wesleytodd</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2501251355" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5885" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5885/hovercard" href="https://github.com/expressjs/express/pull/5885">#5885</a></li> <li>Adopt Node@18 as the minimum supported version by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2238210214" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5595" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5595/hovercard" href="https://github.com/expressjs/express/pull/5595">#5595</a></li> <li>master -> 5.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctcpip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctcpip">@ ctcpip</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2430969909" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5785" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5785/hovercard" href="https://github.com/expressjs/express/pull/5785">#5785</a></li> <li>🔧 update CI, remove unsupported versions, clean up by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctcpip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctcpip">@ ctcpip</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2515267811" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5931" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5931/hovercard" href="https://github.com/expressjs/express/pull/5931">#5931</a></li> <li>Delete <code>back</code> as a magic string by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/blakeembrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/blakeembrey">@ blakeembrey</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2515306738" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5933" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5933/hovercard" href="https://github.com/expressjs/express/pull/5933">#5933</a></li> <li>Release 5.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dougwilson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dougwilson">@ dougwilson</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="37802617" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/2237" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/2237/hovercard" href="https://github.com/expressjs/express/pull/2237">#2237</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/marco-ippolito/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/marco-ippolito">@ marco-ippolito</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2208001883" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5565" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5565/hovercard" href="https://github.com/expressjs/express/pull/5565">#5565</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/inigomarquinez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/inigomarquinez">@ inigomarquinez</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2234869052" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5590" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5590/hovercard" href="https://github.com/expressjs/express/pull/5590">#5590</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mertcanaltin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mertcanaltin">@ mertcanaltin</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2269736399" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5627" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5627/hovercard" href="https://github.com/expressjs/express/pull/5627">#5627</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctcpip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctcpip">@ ctcpip</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2328258862" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5690" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5690/hovercard" href="https://github.com/expressjs/express/pull/5690">#5690</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IamLizu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IamLizu">@ IamLizu</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2408094055" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5762" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5762/hovercard" href="https://github.com/expressjs/express/pull/5762">#5762</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/almic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/almic">@ almic</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2306241102" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5677" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5677/hovercard" href="https://github.com/expressjs/express/pull/5677">#5677</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carpasse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carpasse">@ carpasse</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2469563724" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5829" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5829/hovercard" href="https://github.com/expressjs/express/pull/5829">#5829</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bjohansebas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bjohansebas">@ bjohansebas</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2454720797" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5814" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5814/hovercard" href="https://github.com/expressjs/express/pull/5814">#5814</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RobinTail/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RobinTail">@ RobinTail</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2423855305" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/5782" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/5782/hovercard" href="https://github.com/expressjs/express/pull/5782">#5782</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/expressjs/express/compare/v5.0.0-beta.3...v5.0.0"><tt>v5.0.0-beta.3...v5.0.0</tt></a></p> </li> <li> <b>5.0.0-beta.3</b> - <a href="https://github.com/expressjs/express/releases/tag/v5.0.0-beta.3">2024-03-25</a></br><p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/expressjs/express/compare/5.0.0-beta.2...v5.0.0-beta.3"><tt>5.0.0-beta.2...v5.0.0-beta.3</tt></a></p> </li> <li> <b>5.0.0-beta.2</b> - <a href="https://github.com/expressjs/express/releases/tag/5.0.0-beta.2">2024-03-21</a></br><h2>What's Changed</h2> <ul> <li>lib: fix typo ocurred -> occurred by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/caioagiani/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/caioagiani">@ caioagiani</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1123757434" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4805" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4805/hovercard" href="https://github.com/expressjs/express/pull/4805">#4805</a></li> <li>examples: defend from privilege elevation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/KoyamaSohei/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/KoyamaSohei">@ KoyamaSohei</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="535938691" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4120" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4120/hovercard" href="https://github.com/expressjs/express/pull/4120">#4120</a></li> <li>replace "replaces" with "replacer" in jsdoc by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/apeltop/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/apeltop">@ apeltop</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1153756164" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4843" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4843/hovercard" href="https://github.com/expressjs/express/pull/4843">#4843</a></li> <li>Add install size badge to README by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/styfle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/styfle">@ styfle</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="349250921" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/3710" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/3710/hovercard" href="https://github.com/expressjs/express/pull/3710">#3710</a></li> <li>Replace deprecated String.prototype.substr() by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/CommanderRoot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/CommanderRoot">@ CommanderRoot</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1172290113" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4860" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4860/hovercard" href="https://github.com/expressjs/express/pull/4860">#4860</a></li> <li>fix: remove deprecated html attribute by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hashen110/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hashen110">@ Hashen110</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1174567818" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4866" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4866/hovercard" href="https://github.com/expressjs/express/pull/4866">#4866</a></li> <li>fix: parameter index is not described in JSDoc by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hashen110/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hashen110">@ Hashen110</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1174571934" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4867" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4867/hovercard" href="https://github.com/expressjs/express/pull/4867">#4867</a></li> <li>fix: continue is unnecessary as the last statement in a loop by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hashen110/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hashen110">@ Hashen110</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1174589566" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4868" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4868/hovercard" href="https://github.com/expressjs/express/pull/4868">#4868</a></li> <li>Deprecate non integer status codes in v4 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jonchurch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jonchurch">@ jonchurch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="585580647" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4223" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4223/hovercard" href="https://github.com/expressjs/express/pull/4223">#4223</a></li> <li>Add root support in res.download() by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mmito/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mmito">@ mmito</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1168263086" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4855" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4855/hovercard" href="https://github.com/expressjs/express/pull/4855">#4855</a></li> <li>res.format(): call default using <code>obj</code> as the context by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shesek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shesek">@ shesek</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="304642922" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/3587" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/3587/hovercard" href="https://github.com/expressjs/express/pull/3587">#3587</a></li> <li>Feature/4171 depd by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/UlisesGascon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/UlisesGascon">@ UlisesGascon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="560513070" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4174" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4174/hovercard" href="https://github.com/expressjs/express/pull/4174">#4174</a></li> <li>Validate <code>maxAge</code> appropriateness before use by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cjbarth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cjbarth">@ cjbarth</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434758205" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/3936" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/3936/hovercard" href="https://github.com/expressjs/express/pull/3936">#3936</a></li> <li>deps: statuses@2.0.1 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/3imed-jaberi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/3imed-jaberi">@ 3imed-jaberi</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="650321394" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4336" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4336/hovercard" href="https://github.com/expressjs/express/pull/4336">#4336</a></li> <li>test: fix typo by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hashen110/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hashen110">@ Hashen110</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1196232076" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4882" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4882/hovercard" href="https://github.com/expressjs/express/pull/4882">#4882</a></li> <li>docs: fix typo: http -> HTTP by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ghousemohamed/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ghousemohamed">@ ghousemohamed</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1182180834" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4872" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4872/hovercard" href="https://github.com/expressjs/express/pull/4872">#4872</a></li> <li>Update Security.md by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/netcode/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/netcode">@ netcode</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1199640976" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4890" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4890/hovercard" href="https://github.com/expressjs/express/pull/4890">#4890</a></li> <li>examples: add missing associated labels by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hashen110/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hashen110">@ Hashen110</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1196261871" data-permission-text="Title is private" data-url="https://github.com/expressjs/express/issues/4884" data-hovercard-type="pull_request" data-hovercard-url="/expressjs/express/pull/4884/hovercard" href="https://github.com/expressjs/express/pull/4884">#4884</a></li> <li>Increase timeout for mocha to 750…
Closes #3143
Will throw a
RangeError
if status code:This aligns with Node.js' behavior of throwing if given something outside that range
Will throw a
TypeError
if status code is:This is a choice we are making to limit the acceptable input.
Use
res.status
internally when setting status codesthe PR also ensures we use
res.status
internally when setting status codes, to allow us to use the validation logic internally.Test changes
I cleaned up the tests to test acceptable range, and invalid codes, and removed the
iojs
logic as its not supported in v5.TODO:
500.5
, but allows500.00
bc it is the same to JS), throws a RangeError if we get a status code outside 1xx to 9xx rangerelated: expressjs/discussions#233