-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: bump to express 5 #5564
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
base: next
Are you sure you want to change the base?
feat: bump to express 5 #5564
Conversation
|
I still need to investigate why some content-types are not being changed, since JavaScript files are now "text/javascript", but somewhere that content-type is still not being updated, and also run the allowed-host tests. |
Can you provide where? It can be a problem in |
7f7aa4e to
6254bed
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## next #5564 +/- ##
===========================================
- Coverage 83.57% 69.29% -14.28%
===========================================
Files 11 11
Lines 1966 1954 -12
Branches 735 729 -6
===========================================
- Hits 1643 1354 -289
- Misses 290 515 +225
- Partials 33 85 +52 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6254bed to
07cc1f0
Compare
|
Okay, the content-type issue was coming from webpack-dev-middleware, updating it fixed everything. |
|
Okay, after #5626 , I’ll debug this since there will be fewer tests to run. |
Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
…ot for response headers
9629630 to
7fd9f76
Compare
alexander-akait
left a comment
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.
Feel free to merge when CI will be green
|
Okay, the proxy-related tests are failing, so I’m going to look into the reason edit: I found a small issue in the loggers, since they changed the system, so I’m working on updating it |
86d311b to
7fd9f76
Compare
|
Even though it does respect level logger, it still calls the function, so I’ll need to use snapshots instead of checking whether the function was called like the current tests do. This happens when the logger is set to none, it doesn’t show the message, probably due to webpack’s internal logic, but it still calls it. |
1dbf2ab to
ae3a81b
Compare
ae3a81b to
ef8353d
Compare
For Bugs and Features; did you add new tests?
Motivation / Use-Case
Breaking Changes
Additional Info
While with Express there are hardly any changes other than adding support for some encodings or changing the regex path match, so nothing in the Express code will change for now. However, it is necessary to update
http-proxy-middleware, since in version 2 they have a resolution to use Express 4, whereas version 3 of that package already allows a different version of Express and other packages. :)