-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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 4.15 #3187
Release 4.15 #3187
Conversation
a3708a0
to
44ac899
Compare
0a5919f
to
049259e
Compare
Just raising the question, is it considered non-breaking that the current ETags will be invalidated? This could potentially cause files to be unnecessarily re-downloaded, but maybe that isn't an issue? |
I have the exact same thought, of course. I saw it as a minor, based on (1) we have changed it multiple times throughout 4.x without backlash already (2) we don't actually promise what they look like and (3) semver only really accounts for the API used. I'm open to more discussion on it :) but as for the reason behind the change is that it is actually a bit faster and will work OOB on FIPS Node.js builds now. |
4.9.0, 4.10.0 and 4.13.0 were all releases where the format of the default ETags were altered in some way, FWIW |
Sounds good 👍 Tried google OOB on FIPS but didn't get anything good 😄 mind pointing me in the right direction? |
Sorry, OOB meant "out of the box" and there is a special build of Node.js called FIPS mode that disables things like MD5. |
So just from what's left to do, I'm thinking maybe a good target release frame would be this weekend. After the changes settle down, we can propose a more concrete date, just figured I'd toss out an idea general date. |
I believe that the Release 4.15 is code complete at this point. Please take a look for anything either (a) missing or (b) shouldn't belong. If there are no surfaced issues, I propose a release sometime Feb 28. |
So doing some testing, I noticed that i.m.o the lack of consistency with the responses seems easy enough to just push the release out a day or two to get it fixed up. I'm not going to change anything right now, so if anyone wants to PR a change to any one of the items or say "nope" to this, feel free :) |
So thinking more about it, I'm going to move to just not make any changes and shoot for releasing the existing work as 4.15 Feb 28 in order to get it out and we can always follow up later if necessary :) |
So I'll be publishing this within a couple hours, since I've been made aware that Snyk has published a notice for an issue in one of our dependencies, I am also debating if it would be useful to even bother publishing a 4.14.2 with the patched version and then delaying this release a bit more, but 🤷♂️ |
Ship it and ship a patch if necessary. Life is shorter than software development if we had to plan it perfectly. 🚢 |
Yea, looking at the change, I'm inclined to only ship in 4.15.0, which I am preparing as I type to publish. Just need to add some additional wording after publish to the website regarding the security fix, and that users are not affected, but an updated module is available as part of 4.15.0. /cc @expressjs/express-tc |
THANKS for adding next('router') although undocumented it's very useful |
Hi @techsin it is documented in http://expressjs.com/en/guide/using-middleware.html with the rest of the flow. If you think it should be documented else where or improvements, don't hesitate to make a pull request 👍 |
This is a tracking issue for release 4.15.
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@1.3.0
next("router")
to exit from router Method for bailing out of a router and returning to the previous middleware level #2241 Allow immediate bail in Router #2371router.use
skipped requests routes did not TypeError: res.set is not a function #3037req.url
is not set%o
in path debug to tell types apart*
routereq.ips
performance req.ips: usepop
instead ofslice(1)
. #2723res._headers
private field Fix response headers usage with upcoming node changes #3174debug
module to 2.6.1etag
module to 1.8.0 to bring in OOB FIPS compliancefinalhandler
module to 1.0.0 to bring in full HTML documents and security headersfresh
module to 0.5.0 to bring in bug fixes and perf improvementsqs
module to 6.3.1 to bring in minor bug fixessend
module to 0.15.0 to bring in precondition checksserve-static
module to 1.12.0Object.create
to setup request & response prototypessetprototypeof
module to replace__proto__
setting Why is __proto__ used instead of setPrototypeOf in router/index.js #3164 Issues regarding the use of __proto__ #3103 QUESTION: Why is obj.__proto__=... being used instead of calling Object.create #2613 Heavy use of deprecated __proto__ #1967statuses
instead ofhttp
module for status messages Replace http.STATUS_CODES with the statuses module #3215Testing 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 :)