Releases: webpack/webpack-dev-middleware
Releases · webpack/webpack-dev-middleware
v1.12.1
v1.12.0
Updates
- Test updates for Node 8 and Sinon
Features
- Added optional time output for logging
Bugfixes
- Stop serving index.html if options.index is falsy
- Use querystring.unescape to fallback to safer equivalent that does not throw on malformed URIs
v1.11.0
Updates
- Webpack@3 Support
- Koa@2 Support
Features
- add
mimeTypes
option
Bugfixes
- Use options.log, warn and error for messages
- serverSideRendering example corrected
- added support for multi-compiler configuration
v1.10.2
Security fix:
This version contains a security fix, which is also breaking change if you have an insecure configuration.
We are releasing this breaking change as patch version to protect you from attacks.
Sorry if this breaks your setup, but the fix is easy.
We removed setting Access-Control-Allow-Origin
to *
be default. This allowed evil websites to access your assets.
Instead we ask you to set Access-Control-Allow-Origin
manually to your host if required in your setup.
Use the headers
option to do so.
middleware(compiler, {
headers: {
"Access-Control-Allow-Origin": "your-host"
}
})
Read more about CORS here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
Bugfixes:
- Remove
Access-Control-Allow-Origin
=*
default
v1.10.1
v1.10.0
v1.9.0
v1.8.4
v1.8.3
The last few releases had a few bugs in them that shouldn't have reached stable. We're working hard on adding enough tests to prevent these kind of failures.