webpack-dev-server icon indicating copy to clipboard operation
webpack-dev-server copied to clipboard

feat: bump to express 5

Open bjohansebas opened this issue 5 months ago • 2 comments

  • [ ] This is a bugfix
  • [x] This is a feature
  • [ ] This is a code refactor
  • [ ] This is a test update
  • [ ] This is a docs update
  • [x] This is a metadata update

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. :)

bjohansebas avatar Aug 14 '25 18:08 bjohansebas

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.

bjohansebas avatar Aug 14 '25 22:08 bjohansebas

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 webpack-dev-middleware

alexander-akait avatar Aug 15 '25 12:08 alexander-akait