This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
Releases: webpack-contrib/webpack-hot-client
Releases · webpack-contrib/webpack-hot-client
v4.1.1
v4.1.0
v4.0.3
v4.0.2
Bugfixes
- fix: webpack-defaults to devDeps
Updates
- docs: fix missing url references from defaults upgrade
v4.0.1
v4.0.0
Bugfixes
- fix: throw error when HMR plugin exists in config (#66)
- fix: hotClientOptions when autoConfigure: false (#65)
Features
- feat: allEntries applies client entry to all entries (#64)
- Added the ability to pass
host: { client: '*' }
to instruct clientWebSockets
to connect towindow.location.hostname
. - Added the
validTargets
option to allow setting other valid build targets aside from'web'
.
Updates
- Added documentation for Remote Machine Testing options.
- Moved documentation for Communicating with Client WebSockets
Breaking Changes
- The default
port
is now0
, meaning a dynamic, system-assigned port will be used by default. In most cases there is no need to specify a port for theWebSocket
server. - Changed the
hot
option tohmr
as 'hmr' is more semantically correct, and 'hot' is too vague. - The
WHC_TARGET
environment variable now does nothing. Use thevalidTargets
option.
See the README for a revised list of Gotchas
v3.0.0
Bugfixes
- fix: multiple entries, add autoConfigure option (#58)
- fix: duplicate logging in MultiCompilers. fixes #47 (#59)
- fix: strip ansi from warnings, errors. fixes #46 (#57)
Features
Breaking Changes
Possible breaking change in how the client entry script is added to entries. As of v3.0.0 only the first entry in a compiler config will have the client entry script appended to it. That could have been considered a fix, but would produce a breaking change for anyone that was relying on that bug being in place.
In environments which serve multiple bundles to the same page from a single config, webpack-hot-client
will now only allow once instance of the client entry script to run, creating only one WebSocket
, which is all that is needed. That could have been considered a fix, but would produce a breaking change for anyone that was relying on that bug being in place.