While most of the public API did not change,
we've re-written a large chunk of the runtime code to support a wider range of use cases.
This is likely to provide more stability, but if 0.4.x works in your setup but 0.5.x doesn't,
please file us an issue - we would love to address it!
The disableRefreshCheck option have been removed (#285).
It has long been effect-less and deprecated since 0.3.x.
The overlay.useLegacyWDSSockets have been removed (#498).
It is aimed to support WDS below 3.6.0 (published in June 2019),
but looking at current usage and download stats,
we've decided it is best to drop support for the old socket format moving forward.
Added documentation on community plugins: react-refresh-typescript and swc (#248, fbe1f27, #450)
0.4.3 (2 November 2020)
Fixes
Fixed Yarn 2 PnP compatibility with absolute react-refresh/runtime imports (#230)
Fixed Webpack 5 compatibility by requiring __webpack_require__ (#233)
Fixed IE 11 compatibility in socket code (4033e6af)
Relaxed peer dependency requirement for react-refresh to allow 0.9.x (747c19ba)
0.4.2 (3 September 2020)
Fixes
Patched loader to use with Node.js global fetch polyfills (#193)
Patched default include and exclude options to be case-insensitive (#194)
0.4.1 (28 July 2020)
Fixes
Fixed accidental use of testing alias webpack.next in published plugin code (#167)
0.4.0 (28 July 2020)
BREAKING
Minimum required Node.js version have been bumped to 10 as Node.js 8 is EOL now.
Minimum required Webpack version is now v4.43.0 or later as we adopted the new module.hot.invalidate API (#89).
The new API enabled us to bail out of the HMR loop less frequently and provide a better experience.
If you really cannot upgrade, you can stay on 0.3.3 for the time being.
While most of our public API did not change, this release is closer to a rewrite than a refactor.
A lot of files have moved to provide easier access for advanced users and frameworks (#122).
You can check the difference in the PR to see what have moved and where they are now.
The useLegacyWDSSockets option is now scoped under the overlay option (#153).
Features
Adopted the module.hot.invalidate() API, which means we will now bail out less often (#89)
Attach runtime on Webpack's global scope instead of window, making the plugin platform-agnostic (#102)
Added stable support for Webpack 5 and beta support for Module Federation (#123, #132, #164)
Socket integration URL detection via document.currentScript (#133)
Relaxed requirements for "required" overlay options to receive false as value (#154)