source: frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/CHANGELOG.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 10.3 KB
Line 
1## 0.5.16 (31 Mar 2025)
2
3### Fixes
4
5- Fixed out of order cleanup when using top-level await (#898)
6
7## 0.5.15 (3 Jun 2024)
8
9### Fixes
10
11- Fixed wrong import in error overlay for `ansi-html` (#853)
12
13## 0.5.14 (1 Jun 2024)
14
15### Fixes
16
17- Moved to `ansi-html` `v0.0.9` and `schema-utils` `v4.x` (#848)
18
19### Internal
20
21- Run tests on latest versions of Node.js 18, 20 and 22 (#848)
22- Bumped `jest` to v29 and some other development dependencies (#848)
23- Removed `yalc` (#849)
24
25## 0.5.13 (28 Apr 2024)
26
27### Fixes
28
29- Fixed module system inferring (ESM vs CJS) to start from the point of each file (#771)
30
31## 0.5.12 (27 Apr 2024)
32
33### Fixes
34
35- Fixed incorrect `sockProtocol` override (#835)
36- Relaxed peer dependency requirement on `webpack-dev-server` to allow v5.x (#837)
37
38## 0.5.11 (15 Aug 2023)
39
40### Features
41
42- Added support to exclude dynamically generated modules from other loaders (#769)
43
44### Fixes
45
46- Fixed unnecessary memory leaks due to `prevExports` (#766)
47- Relaxed peer dependency requirement on `type-fest` to allow v4.x (#767)
48- Fixed module type resolution when there is difference across contexts (#768)
49
50## 0.5.10 (24 Nov 2022)
51
52### Fixes
53
54- Bumped `loader-utils` to fix security vulnerability (#700)
55
56## 0.5.9 (10 Nov 2022)
57
58### Fixes
59
60- Bumped `loader-utils` to fix security vulnerability (#685)
61
62## 0.5.8 (9 Oct 2022)
63
64### Fixes
65
66- Fixed performance issue regarding `require.resolve` in loader injection (#669)
67- Bumped `core-js-pure` to not depend on deprecated versions (#674)
68
69## 0.5.7 (23 May 2022)
70
71### Fixes
72
73- Removed debug `console.log` statement (#631)
74
75### Internal
76
77- Run tests on Node.js 18 (#631)
78
79## 0.5.6 (10 May 2022)
80
81### Fixes
82
83- Fixed faulty `this` type import in loader (#624)
84- Made current script detection more robust for edge cases (#630)
85
86### Internal
87
88- Swapped to new `ReactDOM.createRoot` API in examples (#626)
89
90## 0.5.5 (4 April 2022)
91
92### Fixes
93
94- Handle unknown `moduleId` for dynamically generated modules (#547)
95- Handle WDS `auto` value on `port` (#574)
96- Fixed `react-refresh@0.12.0` compatibility (#576)
97- Fixed crash when parsing compile errors in overlay (#577)
98- Respect virtual modules when injecting loader (#593)
99- Allow `port` to be missing for WDS, also some general refactoring (#623)
100
101### Internal
102
103- A couple documentation changes in README (#575, 8c39623, #597)
104- Bumped dependencies for testing infrastructure (#526, #564, #567, #581, #588, #591, #594, #616)
105
106## 0.5.4 (22 December 2021)
107
108### Fixes
109
110- Skip loader injection for files referenced as assets (#545)
111- Changed failures of `exports` capturing to warn instead of throw (#546)
112
113## 0.5.3 (28 November 2021)
114
115### Fixes
116
117- Updated overlay for unsafe area in Safari (#528)
118- Fixed performance in large projects due to memory leak in loader (#537)
119
120## 0.5.2 (19 November 2021)
121
122### Features
123
124- Added support for WDS v4 `client.webSocketURL` (#529)
125
126### Fixes
127
128- Fixed lost module context due to interceptor by always using regular functions (#531)
129- Relaxed peer dependency requirement on `react-refresh` (#534)
130
131## 0.5.1 (15 September 2021)
132
133### Fixes
134
135- Relaxed peer dependency requirement on `type-fest` to allow v2.x (#507, #508)
136
137### Internal
138
139- Fixed typos in README (#509)
140
141## 0.5.0 (14 September 2021)
142
143### BREAKING
144
145- While most of the public API did not change,
146 we've re-written a large chunk of the runtime code to support a wider range of use cases.
147 This is likely to provide more stability, but if `0.4.x` works in your setup but `0.5.x` doesn't,
148 please file us an issue - we would love to address it!
149- The `disableRefreshCheck` option have been removed (#285).
150 It has long been effect-less and deprecated since `0.3.x`.
151- The `overlay.useLegacyWDSSockets` have been removed (#498).
152 It is aimed to support WDS below `3.6.0` (published in June 2019),
153 but looking at current usage and download stats,
154 we've decided it is best to drop support for the old socket format moving forward.
155- Handling of port `0` have been removed (#337).
156- `html-entities` have been bumped to `2.x` (#321).
157- `react-refresh` have been bumped to `0.10.0` (#353).
158
159### Features
160
161- Added WDS v4 support with new socket defaults through Webpack config (#241, #286, #392, #413, #479)
162- Added the `overlay.sockProtocol` option (#242)
163- Added monorepo compatibility via the the `library` option (#273)
164- Rewritten URL handling using WHATWG `URL` APIs with automatic pony-filling (#278, #332, #378)
165- Rewritten Webpack 5 compatibility using new APIs and hooks (#319, #372, #434, #483)
166- Rewritten refresh runtime to be fully module system aware (#337, #461, #482, #492)
167- Rewritten Webpack 4 and 5 checks using feature detection on compiler (#415)
168- Added support for `experiments.topLevelAwait` (#435, #447, #493)
169- Added retry logic when socket initialisation fails (#446)
170
171### Fixes
172
173- Relaxed peer dependency requirement on `type-fest` (#257, c02018a, #484)
174- Relaxed requirement on the `overlay` option to accept relative paths (#284)
175- Patched unstable initialisation of global scope across module boundaries (#290, #369, #464, #505)
176- Patched quote escaping in injected runtime code (#306)
177- Invalidate updates outside of Refresh boundary for consistency (#307)
178- Properly throw when an ambiguous entrypoint is received while using Webpack 4 (#320)
179- Fixed overlay script source detection for WDS when no `src` is found (#331)
180- Fixed possible Stack Overflow through self-referencing (#370, #380)
181- Relaxed errors on HMR not found to not crash JS parsing (#371)
182- Ensure overlay code won't run if disabled (#374)
183- Relaxed peer dependency requirement on `@types/webpack` (#414)
184- Fixed compiler error overlay crashes when messages are empty (#462)
185- Swapped `ansi-html` to `ansi-html-community` to fix ReDoS vulnerability (#501)
186
187### Internal
188
189- More stable testing infrastructure (#234)
190- Run tests by default on Webpack 5 (#440)
191- Rewrite documentation and fix outstanding issues (#283, #291, #311, #376, #480, #497, #499)
192- Added documentation on community plugins: `react-refresh-typescript` and `swc` (#248, fbe1f27, #450)
193
194## 0.4.3 (2 November 2020)
195
196### Fixes
197
198- Fixed Yarn 2 PnP compatibility with absolute `react-refresh/runtime` imports (#230)
199- Fixed Webpack 5 compatibility by requiring `__webpack_require__` (#233)
200- Fixed IE 11 compatibility in socket code (4033e6af)
201- Relaxed peer dependency requirement for `react-refresh` to allow `0.9.x` (747c19ba)
202
203## 0.4.2 (3 September 2020)
204
205### Fixes
206
207- Patched loader to use with Node.js global `fetch` polyfills (#193)
208- Patched default `include` and `exclude` options to be case-insensitive (#194)
209
210## 0.4.1 (28 July 2020)
211
212### Fixes
213
214- Fixed accidental use of testing alias `webpack.next` in published plugin code (#167)
215
216## 0.4.0 (28 July 2020)
217
218### BREAKING
219
220- Minimum required Node.js version have been bumped to 10 as Node.js 8 is EOL now.
221- Minimum required Webpack version is now `v4.43.0` or later as we adopted the new `module.hot.invalidate` API (#89).
222 The new API enabled us to bail out of the HMR loop less frequently and provide a better experience.
223 If you really cannot upgrade, you can stay on `0.3.3` for the time being.
224- While most of our public API did not change, this release is closer to a rewrite than a refactor.
225 A lot of files have moved to provide easier access for advanced users and frameworks (#122).
226 You can check the difference in the PR to see what have moved and where they are now.
227- The `useLegacyWDSSockets` option is now scoped under the `overlay` option (#153).
228
229### Features
230
231- Adopted the `module.hot.invalidate()` API, which means we will now bail out less often (#89)
232- Attach runtime on Webpack's global scope instead of `window`, making the plugin platform-agnostic (#102)
233- Added stable support for **Webpack 5** and beta support for **Module Federation** (#123, #132, #164)
234- Socket integration URL detection via `document.currentScript` (#133)
235- Relaxed requirements for "required" `overlay` options to receive `false` as value (#154)
236- Prefixed all errors thrown by the plugin (#161)
237- Eliminated use of soon-to-be-deprecated `lodash.debounce` package (#163)
238
239### Fixes
240
241- Fixed circular references for `__react_refresh_error_overlay__` and `__react_refresh_utils` (#116)
242- Fixed IE11 compatibility (#106, #121)
243- Rearranged directories to provide more ergonomic imports (#122)
244- Fixed issues with Babel/ESLint/Flow regarding loader ordering and runtime cleanup (#129, #140)
245- Correctly detecting the HMR plugin (#130, #160)
246- Fixed unwanted injection of error overlay in non-browser environment (#146)
247- Scoped the `useLegacyWDSSockets` options under `overlay` to reflect its true use (#153)
248- Fixed non-preserved relative ordering of Webpack entries (#165)
249
250### Internal
251
252- Full HMR test suite - we are confident the plugin works! (#93, #96)
253- Unit tests for all plugin-related Node.js code (#127)
254
255## 0.3.3 (29 May 2020)
256
257### Fixes
258
259- Removed unrecoverable React errors check and its corresponding bail out logic on hot dispose (#104)
260
261## 0.3.2 (22 May 2020)
262
263### Fixes
264
265- Fixed error in overlay when stack trace is unavailable (#91)
266- Fixed IE11 compatibility (#98)
267
268## 0.3.1 (11 May 2020)
269
270### Fixes
271
272- Relaxed peer dependency requirements for `webpack-plugin-serve`
273
274## 0.3.0 (10 May 2020)
275
276### BREAKING
277
278- Deprecated the `disableRefreshCheck` flag (#60)
279
280### Features
281
282- Added custom error overlay support (#44)
283- Added example project to use TypeScript without usual Babel settings (#46)
284- Added custom socket parameters for WDS (#52)
285- Added TypeScript definition files (#65)
286- Added stricter options validation rules (#62)
287- Added option to configure socket runtime to support more hot integrations (#64)
288- Added support for `webpack-plugin-serve` (#74)
289
290### Fixes
291
292- Fixed non-dismissible overlay for build warnings (#57)
293- Fixed electron compatibility (#58)
294- Fixed optional peer dependencies to be truly optional (#59)
295- Fixed compatibility issues caused by `node-url` (#61)
296- Removed check for `react` import for compatibility (#69)
297
298## 0.2.0 (2 March 2020)
299
300### Features
301
302- Added `webpack-hot-middleware` support (#23)
303
304### Fixes
305
306- Fixed dependency on a global `this` variable to better support web workers (#29)
307
308## 0.1.3 (19 December 2019)
309
310### Fixes
311
312- Fixed runtime template injection when the `runtimeChunks` optimization is used in Webpack (#26)
313
314## 0.1.2 (18 December 2019)
315
316### Fixes
317
318- Fixed caching of Webpack loader to significantly improve performance (#22)
319
320## 0.1.1 (13 December 2019)
321
322### Fixes
323
324- Fixed usage of WDS SockJS fallback (#17)
325
326## 0.1.0 (7 December 2019)
327
328- Initial public release
Note: See TracBrowser for help on using the repository browser.