|
| 1 | +## 0.5.0 (14 September 2021) |
| 2 | + |
| 3 | +### BREAKING |
| 4 | + |
| 5 | +- While most of the public API did not change, |
| 6 | + we've re-written a large chunk of the runtime code to support a wider range of use cases. |
| 7 | + This is likely to provide more stability, but if `0.4.x` works in your setup but `0.5.x` doesn't, |
| 8 | + please file us an issue - we would love to address it! |
| 9 | +- The `disableRefreshCheck` option have been removed (#285). |
| 10 | + It has long been effect-less and deprecated since `0.3.x`. |
| 11 | +- The `overlay.useLegacyWDSSockets` have been removed (#498). |
| 12 | + It is aimed to support WDS below `3.6.0` (published in June 2019), |
| 13 | + but looking at current usage and download stats, |
| 14 | + we've decided it is best to drop support for the old socket format moving forward. |
| 15 | +- Handling of port `0` have been removed (#337). |
| 16 | +- `html-entities` have been bumped to `2.x` (#321). |
| 17 | +- `react-refresh` have been bumped to `0.10.0` (#353). |
| 18 | + |
| 19 | +### Features |
| 20 | + |
| 21 | +- Added WDS v4 support with new socket defaults through Webpack config (#241, #286, #392, #413, #479) |
| 22 | +- Added the `overlay.sockProtocol` option (#242) |
| 23 | +- Added monorepo compatibility via the the `library` option (#273) |
| 24 | +- Rewritten URL handling using WHATWG `URL` APIs with automatic pony-filling (#278, #332, #378) |
| 25 | +- Rewritten Webpack 5 compatibility using new APIs and hooks (#319, #372, #434, #483) |
| 26 | +- Rewritten refresh runtime to be fully module system aware (#337, #461, #482, #492) |
| 27 | +- Rewritten Webpack 4 and 5 checks using feature detection on compiler (#415) |
| 28 | +- Added support for `experiments.topLevelAwait` (#435, #447, #493) |
| 29 | +- Added retry logic when socket initialisation fails (#446) |
| 30 | + |
| 31 | +### Fixes |
| 32 | + |
| 33 | +- Relaxed peer dependency requirement on `type-fest` (#257, c02018a, #484) |
| 34 | +- Relaxed requirement on the `overlay` option to accept relative paths (#284) |
| 35 | +- Patched unstable initialisation of global scope across module boundaries (#290, #369, #464, #505) |
| 36 | +- Patched quote escaping in injected runtime code (#306) |
| 37 | +- Invalidate updates outside of Refresh boundary for consistency (#307) |
| 38 | +- Properly throw when an ambiguous entrypoint is received while using Webpack 4 (#320) |
| 39 | +- Fixed overlay script source detection for WDS when no `src` is found (#331) |
| 40 | +- Fixed possible Stack Overflow through self-referencing (#370, #380) |
| 41 | +- Relaxed errors on HMR not found to not crash JS parsing (#371) |
| 42 | +- Ensure overlay code won't run if disabled (#374) |
| 43 | +- Relaxed peer dependency requirement on `@types/webpack` (#414) |
| 44 | +- Fixed compiler error overlay crashes when messages are empty (#462) |
| 45 | +- Swapped `ansi-html` to `ansi-html-community` to fix ReDoS vulnerability (#501) |
| 46 | + |
| 47 | +### Internal |
| 48 | + |
| 49 | +- More stable testing infrastructure (#234) |
| 50 | +- Run tests by default on Webpack 5 (#440) |
| 51 | +- Rewrite documentation and fix outstanding issues (#283, #291, #311, #376, #480, #497, #499) |
| 52 | +- Added documentation on community plugins: `react-refresh-typescript` and `swc` (#248, fbe1f27, #450) |
| 53 | + |
1 | 54 | ## 0.4.3 (2 November 2020) |
2 | 55 |
|
3 | 56 | ### Fixes |
|
25 | 78 | ### BREAKING |
26 | 79 |
|
27 | 80 | - Minimum required Node.js version have been bumped to 10 as Node.js 8 is EOL now. |
28 | | -- Minimum required Webpack version is now `v4.43.0` or later as we adopted the new `module.hot.invalidate` API (#). |
| 81 | +- Minimum required Webpack version is now `v4.43.0` or later as we adopted the new `module.hot.invalidate` API (#89). |
29 | 82 | The new API enabled us to bail out of the HMR loop less frequently and provide a better experience. |
30 | 83 | If you really cannot upgrade, you can stay on `0.3.3` for the time being. |
31 | 84 | - While most of our public API did not change, this release is closer to a rewrite than a refactor. |
32 | | - A lot of files have moved to provide easier access to files for advanced users and frameworks (#122). |
| 85 | + A lot of files have moved to provide easier access for advanced users and frameworks (#122). |
33 | 86 | You can check the difference in the PR to see what have moved and where they are now. |
34 | 87 | - The `useLegacyWDSSockets` option is now scoped under the `overlay` option (#153). |
35 | 88 |
|
|
0 commit comments