Releases: webpack/webpack-dev-server
Releases · webpack/webpack-dev-server
v2.1.0-beta.3
- Breaking change: removed overriding
output.path
to"/"
in the webpack config when using the CLI (#337). Note thatoutput.path
needs to be an absolute path! - Breaking change: removed
contentBase
as a proxy feature (deprecated since 1.x). - Limit websocket retries when the server can't be reached (#589).
- Improve detection for getting the server URL in the client (#496).
- Add
clientLogLevel
(--client-log-level
for CLI) option. It controls the log messages shown in the browser. Available levels areerror
,warning
,info
ornone
(#579). - Allow using no content base with the
--no-content-base
flag (previously it always defaulted to the working directory). - Use stronger certs for the
https
modus, to prevent browsers from complaining about it (#572).
v2.1.0-beta.2
- Breaking change: Only compatible with webpack v2.
- Breaking change:
--inline
is enabled by default now. - Add compatibility for web workers (#298).
- Convert to
yargs
to handle command line options. - Allow a
Promise
instead of a config object in the CLI (#419). - Add
--hot-only
flag, a shortcut that addswebpack/hot/only-dev-server
inentry
in the webpack config (#439).
v1.15.1
v1.15.0
- Use http-proxy-middleware instead of http-proxy. This fixes compatibility with native web sockets (#359).
- Properly close the server, which fixes issues with the port not freeing up (#357).
- Add
--stdin
flag, to close the dev server on process exit (#352). - Fix issues with incorrect socket urls (#338, #443, #447).
- Add
--open
flag to open a browser pointing to the server (#329). - Add
--public
flag to override the url used for connecting to the web socket (#368). - Allow array for
options.contentBase
, so multiple sources are allowed (#374). - Add
options.staticOptions
to allow passing through Express static options (#385). - Update self-signed certs (#436).
- Don't reload the app upon proxy errors (#478).
- Allow running dev-server behind https proxy (#470).
- Set headers on all requests to support e.g. CORS (#499).
- Fix
--cacert
flag not doing anything (#532). - Allow using Express middleware (#537).