1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 |
|
5 | <a name="4.8.7"></a>
|
6 | ## [4.8.7](https://github.com/gaearon/react-hot-loader/compare/v4.8.6...v4.8.7) (2019-05-20)
|
7 |
|
8 |
|
9 | ### Bug Fixes
|
10 |
|
11 | * remove checks. fixes [#1252](https://github.com/gaearon/react-hot-loader/issues/1252) ([2b2f733](https://github.com/gaearon/react-hot-loader/commit/2b2f733))
|
12 |
|
13 |
|
14 |
|
15 | <a name="4.8.6"></a>
|
16 | ## [4.8.6](https://github.com/gaearon/react-hot-loader/compare/v4.8.5...v4.8.6) (2019-05-18)
|
17 |
|
18 |
|
19 | ### Bug Fixes
|
20 |
|
21 | * No HMR missing error in SSR ([956e52b](https://github.com/gaearon/react-hot-loader/commit/956e52b))
|
22 | * trailing commas at entrypoints, fixes [#1226](https://github.com/gaearon/react-hot-loader/issues/1226) ([989eebf](https://github.com/gaearon/react-hot-loader/commit/989eebf))
|
23 |
|
24 |
|
25 |
|
26 | <a name="4.8.5"></a>
|
27 | ## [4.8.5](https://github.com/gaearon/react-hot-loader/compare/v4.8.4...v4.8.5) (2019-05-16)
|
28 |
|
29 |
|
30 | ### Bug Fixes
|
31 |
|
32 | * correct memo fiber updater, fixes [#1230](https://github.com/gaearon/react-hot-loader/issues/1230) ([a185494](https://github.com/gaearon/react-hot-loader/commit/a185494))
|
33 | * make API more error prone, fixes [#1228](https://github.com/gaearon/react-hot-loader/issues/1228) ([a6ba488](https://github.com/gaearon/react-hot-loader/commit/a6ba488))
|
34 | * move react-dom notification to AppContainer, fixes [#1227](https://github.com/gaearon/react-hot-loader/issues/1227) ([28bfdd4](https://github.com/gaearon/react-hot-loader/commit/28bfdd4))
|
35 | * update root endpoint, fixes [#1226](https://github.com/gaearon/react-hot-loader/issues/1226), [#1240](https://github.com/gaearon/react-hot-loader/issues/1240) ([608805a](https://github.com/gaearon/react-hot-loader/commit/608805a))
|
36 | * use simpler conditions for index.js, implements [#1244](https://github.com/gaearon/react-hot-loader/issues/1244) ([4811d57](https://github.com/gaearon/react-hot-loader/commit/4811d57))
|
37 | * webpack plugin fails on hot-loader/react-dom, fixes #[#1234](https://github.com/gaearon/react-hot-loader/issues/1234) ([826eee3](https://github.com/gaearon/react-hot-loader/commit/826eee3))
|
38 | * webpack-plugin - use RHL global variable, fixes [#1251](https://github.com/gaearon/react-hot-loader/issues/1251) ([f036d36](https://github.com/gaearon/react-hot-loader/commit/f036d36))
|
39 |
|
40 |
|
41 |
|
42 | <a name="4.8.4"></a>
|
43 | ## [4.8.4](https://github.com/gaearon/react-hot-loader/compare/v4.8.3...v4.8.4) (2019-04-15)
|
44 |
|
45 |
|
46 | ### Bug Fixes
|
47 |
|
48 | * document the importance of import order, fixes [#1209](https://github.com/gaearon/react-hot-loader/issues/1209) ([5f50ee4](https://github.com/gaearon/react-hot-loader/commit/5f50ee4))
|
49 | * dont skip first update or plain components ([432e0f8](https://github.com/gaearon/react-hot-loader/commit/432e0f8))
|
50 | * remove Object.assign, fixes [#1226](https://github.com/gaearon/react-hot-loader/issues/1226) ([c5af009](https://github.com/gaearon/react-hot-loader/commit/c5af009))
|
51 |
|
52 |
|
53 |
|
54 | <a name="4.8.3"></a>
|
55 | ## [4.8.3](https://github.com/gaearon/react-hot-loader/compare/v4.8.2...v4.8.3) (2019-04-05)
|
56 |
|
57 |
|
58 | ### Bug Fixes
|
59 |
|
60 | * Allow refs on lazy components ([798e37f](https://github.com/gaearon/react-hot-loader/commit/798e37f))
|
61 | * invariant violation react 15 ([1351f2d](https://github.com/gaearon/react-hot-loader/commit/1351f2d))
|
62 |
|
63 |
|
64 |
|
65 | <a name="4.8.1"></a>
|
66 | ## [4.8.1](https://github.com/gaearon/react-hot-loader/compare/v4.8.0...v4.8.1) (2019-03-29)
|
67 |
|
68 |
|
69 | ### Bug Fixes
|
70 |
|
71 | * root hot for parcel bundler, fixes [#1082](https://github.com/gaearon/react-hot-loader/issues/1082) ([a16679b](https://github.com/gaearon/react-hot-loader/commit/a16679b))
|
72 |
|
73 |
|
74 |
|
75 | <a name="4.8.0"></a>
|
76 | # [4.8.0](https://github.com/gaearon/react-hot-loader/compare/v4.7.2...v4.8.0) (2019-03-07)
|
77 |
|
78 |
|
79 | ### Features
|
80 |
|
81 | * support 16.8.4 ([38b63cd](https://github.com/gaearon/react-hot-loader/commit/38b63cd))
|
82 |
|
83 |
|
84 |
|
85 | <a name="4.7.2"></a>
|
86 | ## [4.7.2](https://github.com/gaearon/react-hot-loader/compare/v4.7.1...v4.7.2) (2019-03-04)
|
87 |
|
88 |
|
89 | ### Bug Fixes
|
90 |
|
91 | * safer reads from context consumer ([7942d26](https://github.com/gaearon/react-hot-loader/commit/7942d26))
|
92 | * suppress error message on a server side, fixes [#1188](https://github.com/gaearon/react-hot-loader/issues/1188) ([b12b430](https://github.com/gaearon/react-hot-loader/commit/b12b430))
|
93 |
|
94 |
|
95 |
|
96 | <a name="4.7.1"></a>
|
97 | ## [4.7.1](https://github.com/gaearon/react-hot-loader/compare/v4.7.0...v4.7.1) (2019-02-20)
|
98 |
|
99 |
|
100 | ### Bug Fixes
|
101 |
|
102 | * destructed Context.Provider breaking registrations. fixes [#1184](https://github.com/gaearon/react-hot-loader/issues/1184) ([8240111](https://github.com/gaearon/react-hot-loader/commit/8240111))
|
103 | * do not poison memoized props ([9f6ab6e](https://github.com/gaearon/react-hot-loader/commit/9f6ab6e))
|
104 | * rethrow an error is hot comparison is not open ([8befa5a](https://github.com/gaearon/react-hot-loader/commit/8befa5a))
|
105 |
|
106 |
|
107 |
|
108 | <a name="4.7.0"></a>
|
109 | # [4.7.0](https://github.com/gaearon/react-hot-loader/compare/v4.6.5...v4.7.0) (2019-02-18)
|
110 |
|
111 |
|
112 | ### Bug Fixes
|
113 |
|
114 | * complain if hot patches not present, fixes [#1173](https://github.com/gaearon/react-hot-loader/issues/1173) ([efc3d6b](https://github.com/gaearon/react-hot-loader/commit/efc3d6b))
|
115 | * deactivate RHL in dev mode if eval not allowed ([f995b0d](https://github.com/gaearon/react-hot-loader/commit/f995b0d))
|
116 | * disable ErrorBoundaries for a first run, fixes [#1172](https://github.com/gaearon/react-hot-loader/issues/1172) ([2a834c2](https://github.com/gaearon/react-hot-loader/commit/2a834c2))
|
117 | * Support Context.Provider reload and React.memo, fixes [#1169](https://github.com/gaearon/react-hot-loader/issues/1169) ([09e48eb](https://github.com/gaearon/react-hot-loader/commit/09e48eb))
|
118 |
|
119 |
|
120 | ### Features
|
121 |
|
122 | * activate pureRender by default ([4e971b5](https://github.com/gaearon/react-hot-loader/commit/4e971b5))
|
123 | * implement flexible hot injections ([b7e8f5e](https://github.com/gaearon/react-hot-loader/commit/b7e8f5e))
|
124 | * make errors retryable to mitigate hooks update ([9967fde](https://github.com/gaearon/react-hot-loader/commit/9967fde))
|
125 |
|
126 |
|
127 |
|
128 | <a name="4.6.5"></a>
|
129 | ## [4.6.5](https://github.com/gaearon/react-hot-loader/compare/v4.6.4...v4.6.5) (2019-01-31)
|
130 |
|
131 |
|
132 | ### Bug Fixes
|
133 |
|
134 | * babel plugin produces a broken code ([6f8573f](https://github.com/gaearon/react-hot-loader/commit/6f8573f))
|
135 |
|
136 |
|
137 |
|
138 | <a name="4.6.4"></a>
|
139 | ## [4.6.4](https://github.com/gaearon/react-hot-loader/compare/v4.6.3...v4.6.4) (2019-01-31)
|
140 |
|
141 |
|
142 | ### Bug Fixes
|
143 |
|
144 | * do not shadow component name ([4b02767](https://github.com/gaearon/react-hot-loader/commit/4b02767))
|
145 | * do not supress HMR errors ([be79d2f](https://github.com/gaearon/react-hot-loader/commit/be79d2f))
|
146 | * fix wrong react-dom name resolution installation ([6f829a0](https://github.com/gaearon/react-hot-loader/commit/6f829a0))
|
147 | * opt-out for module safety net, fixes [#1102](https://github.com/gaearon/react-hot-loader/issues/1102), [#1159](https://github.com/gaearon/react-hot-loader/issues/1159) ([93d0b1f](https://github.com/gaearon/react-hot-loader/commit/93d0b1f))
|
148 | * remove platform checks from production bundle, fixes [#1162](https://github.com/gaearon/react-hot-loader/issues/1162) ([24d0448](https://github.com/gaearon/react-hot-loader/commit/24d0448))
|
149 | * update fiber cached type, fixes [#1139](https://github.com/gaearon/react-hot-loader/issues/1139) ([35984ff](https://github.com/gaearon/react-hot-loader/commit/35984ff))
|
150 |
|
151 |
|
152 |
|
153 | <a name="4.6.3"></a>
|
154 | ## [4.6.3](https://github.com/gaearon/react-hot-loader/compare/v4.6.2...v4.6.3) (2018-12-19)
|
155 |
|
156 |
|
157 | ### Bug Fixes
|
158 |
|
159 | * context information is not always properly emulated in hot-render, fixes [#1094](https://github.com/gaearon/react-hot-loader/issues/1094) ([100fc9c](https://github.com/gaearon/react-hot-loader/commit/100fc9c))
|
160 | * RHL could update non-relative components ([5d4f226](https://github.com/gaearon/react-hot-loader/commit/5d4f226))
|
161 | * update memo updater and comparator. fix [#1135](https://github.com/gaearon/react-hot-loader/issues/1135) ([826a57c](https://github.com/gaearon/react-hot-loader/commit/826a57c))
|
162 |
|
163 |
|
164 |
|
165 | <a name="4.6.2"></a>
|
166 | ## [4.6.2](https://github.com/gaearon/react-hot-loader/compare/v4.6.1...v4.6.2) (2018-12-18)
|
167 |
|
168 |
|
169 | ### Bug Fixes
|
170 |
|
171 | * allow multiple 'hot' in one file, registering only the first one ([68c2a0a](https://github.com/gaearon/react-hot-loader/commit/68c2a0a))
|
172 | * error overlay initialization prior body, fixes [#1127](https://github.com/gaearon/react-hot-loader/issues/1127) ([9177aba](https://github.com/gaearon/react-hot-loader/commit/9177aba))
|
173 |
|
174 |
|
175 |
|
176 | <a name="4.6.1"></a>
|
177 | ## [4.6.1](https://github.com/gaearon/react-hot-loader/compare/4.6.0...4.6.1) (2018-12-17)
|
178 |
|
179 |
|
180 | ### Bug Fixes
|
181 |
|
182 | * display hmr errors as hmr errors, [#1131](https://github.com/gaearon/react-hot-loader/issues/1131) ([615790f](https://github.com/gaearon/react-hot-loader/commit/615790f))
|
183 | * error overlay is not server side friendly, [#1126](https://github.com/gaearon/react-hot-loader/issues/1126) ([40e3ff2](https://github.com/gaearon/react-hot-loader/commit/40e3ff2))
|
184 | * hmr error detection is flaky ([9d3a2c0](https://github.com/gaearon/react-hot-loader/commit/9d3a2c0))
|
185 | * secure wrapped/uwrapped comparison ([a62bacd](https://github.com/gaearon/react-hot-loader/commit/a62bacd))
|
186 | * webpack plugin outputs es2015 code ([8a66401](https://github.com/gaearon/react-hot-loader/commit/8a66401))
|
187 |
|
188 |
|
189 |
|
190 | <a name="4.6.0"></a>
|
191 | # [4.6.0](https://github.com/gaearon/react-hot-loader/compare/v4.5.3...v4.6.0) (2018-12-13)
|
192 |
|
193 |
|
194 | ### Features
|
195 |
|
196 | * implement flexible error boundaries ([1846019](https://github.com/gaearon/react-hot-loader/commit/1846019))
|
197 | * new root/hot for better error management. Fixes [#1078](https://github.com/gaearon/react-hot-loader/issues/1078), [#1111](https://github.com/gaearon/react-hot-loader/issues/1111) ([3029428](https://github.com/gaearon/react-hot-loader/commit/3029428))
|
198 |
|
199 | <a name="4.5.3"></a>
|
200 | ## [4.5.3](https://github.com/gaearon/react-hot-loader/compare/v4.5.2...v4.5.3) (2018-12-07)
|
201 |
|
202 |
|
203 | ### Bug Fixes
|
204 |
|
205 | * enable class equality, but disable class merge, when not hot ([8d214b3](https://github.com/gaearon/react-hot-loader/commit/8d214b3))
|
206 | * react-dom hot-replacement is too active ([8827a40](https://github.com/gaearon/react-hot-loader/commit/8827a40))
|
207 |
|
208 |
|
209 |
|
210 | <a name="4.5.2"></a>
|
211 | ## [4.5.2](https://github.com/gaearon/react-hot-loader/compare/v4.5.1...v4.5.2) (2018-12-06)
|
212 |
|
213 |
|
214 | ### Bug Fixes
|
215 |
|
216 | * forwardRef to be remounted every frame. React-router to merge components ([3b11866](https://github.com/gaearon/react-hot-loader/commit/3b11866))
|
217 | * React-router to merge components ([f45fee0](https://github.com/gaearon/react-hot-loader/commit/f45fee0))
|
218 | * remove early reject, [#1115](https://github.com/gaearon/react-hot-loader/issues/1115) ([0a28144](https://github.com/gaearon/react-hot-loader/commit/0a28144))
|
219 |
|
220 |
|
221 |
|
222 | <a name="4.5.1"></a>
|
223 | ## [4.5.1](https://github.com/gaearon/react-hot-loader/compare/v4.5.0...v4.5.1) (2018-11-21)
|
224 |
|
225 |
|
226 | ### Bug Fixes
|
227 |
|
228 | * add lodash.merge as dep ([1de55d6](https://github.com/gaearon/react-hot-loader/commit/1de55d6))
|
229 |
|
230 |
|
231 |
|
232 | <a name="4.5.0"></a>
|
233 | # [4.5.0](https://github.com/gaearon/react-hot-loader/compare/v4.4.0...v4.5.0) (2018-11-20)
|
234 |
|
235 |
|
236 | ### Bug Fixes
|
237 |
|
238 | * handle older React versions ([a03c1c3](https://github.com/gaearon/react-hot-loader/commit/a03c1c3))
|
239 | * hot-render forwardRef ([5f362ad](https://github.com/gaearon/react-hot-loader/commit/5f362ad))
|
240 | * IE11 compact, [#1099](https://github.com/gaearon/react-hot-loader/issues/1099) ([f8ef550](https://github.com/gaearon/react-hot-loader/commit/f8ef550))
|
241 |
|
242 |
|
243 | ### Features
|
244 |
|
245 | * webpack patch/inject mode ([42d637b](https://github.com/gaearon/react-hot-loader/commit/42d637b))
|
246 |
|
247 |
|
248 |
|
249 | <a name="4.4.0-1"></a>
|
250 | ## 4.4.0-1 (2018-11-01)
|
251 | ### Bug Fixes
|
252 | - `forwardRef` reconciliation [#1100](https://github.com/gaearon/react-hot-loader/pull/1100)
|
253 |
|
254 | <a name="4.4.0"></a>
|
255 | ## [4.4.0](https://github.com/gaearon/react-hot-loader/compare/v4.3.11...v4.3.12) (2018-11-01)
|
256 |
|
257 |
|
258 | ### Features
|
259 | * React 16.5 and React 16.6 support. forwardRef, memo, lazy [#1084](https://github.com/gaearon/react-hot-loader/pull/1084)
|
260 | * Webpack loader [#1098](https://github.com/gaearon/react-hot-loader/pull/1098)
|
261 | * mark RHL sideEffect-free in production mode [#1096](https://github.com/gaearon/react-hot-loader/pull/1096)
|
262 | * babel plugin will remove `hot` in production [#1091](https://github.com/gaearon/react-hot-loader/pull/1091)
|
263 |
|
264 | ### Bug Fixes
|
265 |
|
266 | * babel plugin will remove calls to `hot` in production mode to remove side-effect on webpack [#1081](https://github.com/gaearon/react-hot-loader/pull/1081)
|
267 | * class methods, deleted on update, will be deleted from proxy [#1091](https://github.com/gaearon/react-hot-loader/pull/1091)
|
268 |
|
269 | <a name="4.3.11"></a>
|
270 | ## [4.3.11](https://github.com/gaearon/react-hot-loader/compare/v4.3.9...v4.3.11) (2018-09-20)
|
271 |
|
272 |
|
273 | ### Bug Fixes
|
274 |
|
275 | * hot fixing ES5 literals in index.js ([80f6b63](https://github.com/gaearon/react-hot-loader/commit/80f6b63))
|
276 |
|
277 |
|
278 |
|
279 | <a name="4.3.10"></a>
|
280 | ## [4.3.10](https://github.com/gaearon/react-hot-loader/compare/v4.3.9...v4.3.10) (2018-09-20)
|
281 |
|
282 | ### Bug Fixes
|
283 |
|
284 | * IE10/CSP compatibility. [#1073](https://github.com/gaearon/react-hot-loader/pull/1073)
|
285 |
|
286 | <a name="4.3.7"></a>
|
287 | ## [4.3.7](https://github.com/gaearon/react-hot-loader/compare/v4.3.6...v4.3.7) (2018-09-13)
|
288 |
|
289 |
|
290 | ### Bug Fixes
|
291 |
|
292 | * babel 7 compatibility. [#1043](https://github.com/gaearon/react-hot-loader/issues/1043) ([acad937](https://github.com/gaearon/react-hot-loader/commit/acad937))
|
293 |
|
294 |
|
295 |
|
296 | <a name="4.3.6"></a>
|
297 | ## [4.3.6](https://github.com/gaearon/react-hot-loader/compare/v4.3.5...v4.3.6) (2018-09-04)
|
298 |
|
299 |
|
300 | ### Bug Fixes
|
301 |
|
302 | * don't inadvertendly call getters ([322e746](https://github.com/gaearon/react-hot-loader/commit/322e746))
|
303 |
|
304 |
|
305 |
|
306 | <a name="4.3.5"></a>
|
307 | ## [4.3.5](https://github.com/gaearon/react-hot-loader/compare/4.3.4...4.3.5) (2018-08-23)
|
308 |
|
309 |
|
310 | ### Bug Fixes
|
311 |
|
312 | * dont hot-swap registered components, [#1050](https://github.com/gaearon/react-hot-loader/issues/1050) ([cf165a6](https://github.com/gaearon/react-hot-loader/commit/cf165a6))
|
313 | * use the same conditions for index and patch ([f67d5b9](https://github.com/gaearon/react-hot-loader/commit/f67d5b9))
|
314 |
|
315 |
|
316 |
|
317 | <a name="4.3.4"></a>
|
318 | ## [4.3.4](https://github.com/gaearon/react-hot-loader/compare/v4.3.3...v4.3.4) (2018-07-25)
|
319 |
|
320 |
|
321 | ### Bug Fixes
|
322 |
|
323 | * element could be double-proxied ([#1033](https://github.com/gaearon/react-hot-loader/pull/1033))
|
324 | * Components, not directly inherited from React.Components, like StyledComponents, are not working ([#1031](https://github.com/gaearon/react-hot-loader/pull/1031))
|
325 |
|
326 |
|
327 |
|
328 | <a name="4.3.3"></a>
|
329 | ## [4.3.3](https://github.com/gaearon/react-hot-loader/compare/4.3.1...4.3.3) (2018-06-15)
|
330 |
|
331 |
|
332 | ### Bug Fixes
|
333 |
|
334 | * add _this to sandbox variables, [#1020](https://github.com/gaearon/react-hot-loader/issues/1020) ([e5284ab](https://github.com/gaearon/react-hot-loader/commit/e5284ab))
|
335 |
|
336 |
|
337 |
|
338 | <a name="4.3.2"></a>
|
339 | ## [4.3.2](https://github.com/gaearon/react-hot-loader/compare/4.3.1...4.3.2) (2018-06-13)
|
340 |
|
341 | ### Bug Fixes
|
342 | * Add cold API to TypeScript definitions
|
343 |
|
344 | <a name="4.3.1"></a>
|
345 | ## [4.3.1](https://github.com/gaearon/react-hot-loader/compare/4.3.0...4.3.1) (2018-06-09)
|
346 |
|
347 |
|
348 | ### Bug Fixes
|
349 |
|
350 | * Preact could pass arguments to the render, fix [#1013](https://github.com/gaearon/react-hot-loader/issues/1013) ([605da10](https://github.com/gaearon/react-hot-loader/commit/605da10))
|
351 | * Support _this10 and over ([bb47ca4](https://github.com/gaearon/react-hot-loader/commit/bb47ca4))
|
352 | * Handle lazy indeterminate static properties(Relay) [#1014](https://github.com/gaearon/react-hot-loader/pull/1014)
|
353 |
|
354 |
|
355 |
|
356 | <a name="4.3.0"></a>
|
357 | # [4.3.0](https://github.com/gaearon/react-hot-loader/compare/v4.2.0...v4.3.0) (2018-06-05)
|
358 |
|
359 |
|
360 | ### Bug Fixes
|
361 |
|
362 | * Context Provider could crash due update, [#944](https://github.com/gaearon/react-hot-loader/issues/944) ([b0e2b5b](https://github.com/gaearon/react-hot-loader/commit/b0e2b5b))
|
363 | * RHL babel plugin will ignore react and react-hot-loader, fixes [#900](https://github.com/gaearon/react-hot-loader/issues/900) ([e90a25c](https://github.com/gaearon/react-hot-loader/commit/e90a25c))
|
364 | * RHL should add new class methods ([111d56e](https://github.com/gaearon/react-hot-loader/commit/111d56e))
|
365 | * Multiple problems with methods update. Revert behavior back to v4.1.2 [#1001](https://github.com/gaearon/react-hot-loader/issues/1001)
|
366 |
|
367 | ### Features
|
368 |
|
369 | * Preact support [#952](https://github.com/gaearon/react-hot-loader/issues/952) ([2b40f57](https://github.com/gaearon/react-hot-loader/commit/2b40f57))
|
370 | * Cold components [#991](https://github.com/gaearon/react-hot-loader/issues/991) ([9bcff36](https://github.com/gaearon/react-hot-loader/commit/9bcff36))
|
371 |
|
372 |
|
373 |
|
374 | <a name="4.2.0"></a>
|
375 | ## [4.2.0](https://github.com/gaearon/react-hot-loader/compare/v4.1.3...v4.2.0) (2018-05-16)
|
376 |
|
377 | ## Changes
|
378 | * Stateless Components will be converted to React.Component ones (as they were prior 4.1.0) [#977](https://github.com/gaearon/react-hot-loader/pull/977)
|
379 |
|
380 | ## Features
|
381 | * Basic support for React 16 Context [#979](https://github.com/gaearon/react-hot-loader/issues/979)
|
382 |
|
383 | ## Bug fixes
|
384 | * pure components wont update [#959](https://github.com/gaearon/react-hot-loader/issues/959), [#944](https://github.com/gaearon/react-hot-loader/issues/944)
|
385 | * better babel compliance ("this5"), [#969](https://github.com/gaearon/react-hot-loader/issues/969)
|
386 | * sideeffect-less updates [#970](https://github.com/gaearon/react-hot-loader/pull/970)
|
387 | * render as a class property [#924](https://github.com/gaearon/react-hot-loader/issues/924)
|
388 | * issues around reactLifecyclesCompat.polyfill [#951](https://github.com/gaearon/react-hot-loader/issues/951)
|
389 | * more examples and test cases
|
390 | * multiple reconsilation related bug fixes
|
391 |
|
392 | <a name="4.1.3"></a>
|
393 | ## [4.1.3](https://github.com/gaearon/react-hot-loader/compare/v4.1.2...v4.1.3) (2018-05-08)
|
394 |
|
395 |
|
396 | ### Bug Fixes
|
397 |
|
398 | * always update bound functions. [#949](https://github.com/gaearon/react-hot-loader/issues/949) ([7819c71](https://github.com/gaearon/react-hot-loader/commit/7819c71))
|
399 | * Fragment with a single element. fixes [#956](https://github.com/gaearon/react-hot-loader/issues/956) ([7e80881](https://github.com/gaearon/react-hot-loader/commit/7e80881))
|
400 | * props merge order. [#967](https://github.com/gaearon/react-hot-loader/issues/967) ([#968](https://github.com/gaearon/react-hot-loader/issues/968)) ([1f8adb9](https://github.com/gaearon/react-hot-loader/commit/1f8adb9))
|
401 |
|
402 |
|
403 |
|
404 | <a name="4.1.2"></a>
|
405 |
|
406 | ## [4.1.2](https://github.com/gaearon/react-hot-loader/compare/4.1.0...4.1.2) (2018-04-24)
|
407 |
|
408 | ### Bug Fixes
|
409 |
|
410 | * condition render in Fragments [#942](https://github.com/gaearon/react-hot-loader/issues/942) ([#943](https://github.com/gaearon/react-hot-loader/issues/943)) ([2549a18](https://github.com/gaearon/react-hot-loader/commit/2549a18))
|
411 |
|
412 | <a name="4.1.1"></a>
|
413 |
|
414 | ## [4.1.1](https://github.com/gaearon/react-hot-loader/compare/4.1.0...4.1.1) (2018-04-24)
|
415 |
|
416 | ### Bug Fixes
|
417 |
|
418 | * Proxy should keep methods own props. [#918](https://github.com/gaearon/react-hot-loader/issues/918) ([a84dcd0](https://github.com/gaearon/react-hot-loader/commit/a84dcd0))
|
419 |
|
420 | <a name="4.1.0"></a>
|
421 |
|
422 | ## [4.1.0](https://github.com/gaearon/react-hot-loader/compare/4.0.1...4.1.0) (2018-04-18)
|
423 |
|
424 | ### Features
|
425 |
|
426 | * 🚀 React 16.3 support ([#918](https://github.com/gaearon/react-hot-loader/issues/918))
|
427 | * 🧙🏻♂️ StatelessFunctionComponents are not wrapped by Stateful components anymore ([#873](https://github.com/gaearon/react-hot-loader/issues/873))
|
428 | * 🧠Improved TypeScript support (no more than documentation) ([#884](https://github.com/gaearon/react-hot-loader/issues/884))
|
429 |
|
430 | ### Bug Fixes
|
431 | * support babel temporal `_this3` ([#928](https://github.com/gaearon/react-hot-loader/issues/928))
|
432 |
|
433 | <a name="4.0.1"></a>
|
434 |
|
435 | ## [4.0.1](https://github.com/gaearon/react-hot-loader/compare/v4.0.0...v4.0.1) (2018-04-01)
|
436 |
|
437 | ### Bug Fixes
|
438 |
|
439 | * fix double proxy registration ([#915](https://github.com/gaearon/react-hot-loader/issues/915)) ([f8532df](https://github.com/gaearon/react-hot-loader/commit/f8532df)), closes [#912](https://github.com/gaearon/react-hot-loader/issues/912)
|
440 | * replace `.includes` by `.indexOf` (IE11 fix) ([#906](https://github.com/gaearon/react-hot-loader/issues/906)) ([87ad586](https://github.com/gaearon/react-hot-loader/commit/87ad586))
|
441 | * break render recursion (MobX fix) ([#889](https://github.com/gaearon/react-hot-loader/issues/889)) ([33f2376](https://github.com/gaearon/react-hot-loader/commit/33f2376))
|
442 |
|
443 | ### Docs
|
444 |
|
445 | * Improve TypeScript documentation ([#914](https://github.com/gaearon/react-hot-loader/issues/914)) ([d3b91de](https://github.com/gaearon/react-hot-loader/commit/d3b91de))
|
446 |
|
447 | <a name="4.0.0"></a>
|
448 |
|
449 | # [4.0.0](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-rc.0...v4.0.0) (2018-02-27)
|
450 |
|
451 | ### Bug Fixes
|
452 |
|
453 | * proper children reconcile for nested tags, fixes [#869](https://github.com/gaearon/react-hot-loader/issues/869) ([#871](https://github.com/gaearon/react-hot-loader/issues/871)) ([2de4e58](https://github.com/gaearon/react-hot-loader/commit/2de4e58))
|
454 |
|
455 | <a name="4.0.0-rc.0"></a>
|
456 |
|
457 | # [4.0.0-rc.0](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.23...v4.0.0-rc.0) (2018-02-19)
|
458 |
|
459 | <a name="4.0.0-beta.23"></a>
|
460 |
|
461 | # [4.0.0-beta.23](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.22...v4.0.0-beta.23) (2018-02-18)
|
462 |
|
463 | ### Bug Fixes
|
464 |
|
465 | * disable RHL when HMR is not activated ([#863](https://github.com/gaearon/react-hot-loader/issues/863)) ([ffe0035](https://github.com/gaearon/react-hot-loader/commit/ffe0035))
|
466 | * fix various bugs ([#857](https://github.com/gaearon/react-hot-loader/issues/857)) ([8fa1d42](https://github.com/gaearon/react-hot-loader/commit/8fa1d42)), closes [#845](https://github.com/gaearon/react-hot-loader/issues/845) [#843](https://github.com/gaearon/react-hot-loader/issues/843)
|
467 | * transfer original prototype methods ([#859](https://github.com/gaearon/react-hot-loader/issues/859)) ([0b7997f](https://github.com/gaearon/react-hot-loader/commit/0b7997f)), closes [#845](https://github.com/gaearon/react-hot-loader/issues/845) [#843](https://github.com/gaearon/react-hot-loader/issues/843) [#858](https://github.com/gaearon/react-hot-loader/issues/858)
|
468 |
|
469 | <a name="4.0.0-beta.22"></a>
|
470 |
|
471 | # [4.0.0-beta.22](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.21...v4.0.0-beta.22) (2018-02-10)
|
472 |
|
473 | ### Bug Fixes
|
474 |
|
475 | * fix reconciler warnings ([#852](https://github.com/gaearon/react-hot-loader/issues/852)) ([963677f](https://github.com/gaearon/react-hot-loader/commit/963677f)), closes [#843](https://github.com/gaearon/react-hot-loader/issues/843)
|
476 |
|
477 | ### Features
|
478 |
|
479 | * ship flat bundles ([#844](https://github.com/gaearon/react-hot-loader/issues/844)) ([7580552](https://github.com/gaearon/react-hot-loader/commit/7580552))
|
480 |
|
481 | <a name="4.0.0-beta.21"></a>
|
482 |
|
483 | # [4.0.0-beta.21](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.20...v4.0.0-beta.21) (2018-02-05)
|
484 |
|
485 | ### Bug Fixes
|
486 |
|
487 | * fix proxy adapter ([#842](https://github.com/gaearon/react-hot-loader/issues/842)) ([9bb8251](https://github.com/gaearon/react-hot-loader/commit/9bb8251))
|
488 |
|
489 | <a name="4.0.0-beta.20"></a>
|
490 |
|
491 | # [4.0.0-beta.20](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.19...v4.0.0-beta.20) (2018-02-04)
|
492 |
|
493 | <a name="4.0.0-beta.19"></a>
|
494 |
|
495 | # [4.0.0-beta.19](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.18...v4.0.0-beta.19) (2018-02-03)
|
496 |
|
497 | ### Bug Fixes
|
498 |
|
499 | * **areComponentsEqual:** fix behaviour ([#829](https://github.com/gaearon/react-hot-loader/issues/829)) ([d4dcd07](https://github.com/gaearon/react-hot-loader/commit/d4dcd07))
|
500 | * **prop-types:** add prop-types as dependency ([#823](https://github.com/gaearon/react-hot-loader/issues/823)) ([c2b7c3c](https://github.com/gaearon/react-hot-loader/commit/c2b7c3c))
|
501 | * regenerate overriden members ([#837](https://github.com/gaearon/react-hot-loader/issues/837)) ([39d4f5b](https://github.com/gaearon/react-hot-loader/commit/39d4f5b)), closes [#836](https://github.com/gaearon/react-hot-loader/issues/836)
|
502 |
|
503 | <a name="4.0.0-beta.18"></a>
|
504 |
|
505 | # [4.0.0-beta.18](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.17...v4.0.0-beta.18) (2018-01-25)
|
506 |
|
507 | ### Bug Fixes
|
508 |
|
509 | * break cyclic dependency ([#822](https://github.com/gaearon/react-hot-loader/issues/822)) ([328d793](https://github.com/gaearon/react-hot-loader/commit/328d793)), closes [#820](https://github.com/gaearon/react-hot-loader/issues/820)
|
510 |
|
511 | <a name="4.0.0-beta.17"></a>
|
512 |
|
513 | # [4.0.0-beta.17](https://github.com/gaearon/react-hot-loader/compare/4.0.0-beta.16...v4.0.0-beta.17) (2018-01-22)
|
514 |
|
515 | ### Features
|
516 |
|
517 | * remove useless dependencies ([e1b83e5](https://github.com/gaearon/react-hot-loader/commit/e1b83e5)), closes [#808](https://github.com/gaearon/react-hot-loader/issues/808)
|
518 |
|
519 | ### Bug Fixes
|
520 |
|
521 | * warn about errors [#814](https://github.com/gaearon/react-hot-loader/issues/814)
|
522 | * handle wrong module [#813](https://github.com/gaearon/react-hot-loader/issues/#813)
|
523 |
|
524 | <a name="4.0.0-beta.16"></a>
|
525 |
|
526 | # [4.0.0-beta.16](https://github.com/theKashey/react-hot-loader/compare/v4.0.0-beta.15-1...v4.0.0-beta.16) (2018-01-21)
|
527 |
|
528 | * **react-hot-loader:** Hard code consts from stand-in [#807](https://github.com/gaearon/react-hot-loader/issues/807))
|
529 | * **react-hot-loader:** Support React 16 Fragments [#799](https://github.com/gaearon/react-hot-loader/issues/799))
|
530 | * **react-hot-loader:** Suppress some warnings [#804](https://github.com/gaearon/react-hot-loader/issues/804))
|
531 | * **react-hot-loader:** Better Electron support [#794](https://github.com/gaearon/react-hot-loader/issues/794))
|
532 |
|
533 | * **react-stand-in:** Fix IE11 regression (again)
|
534 |
|
535 | <a name="4.0.0-beta.15"></a>
|
536 |
|
537 | # [4.0.0-beta.15](https://github.com/theKashey/react-hot-loader/compare/v4.0.0-beta.14...v4.0.0-beta.15) (2018-01-16)
|
538 |
|
539 | * **react-deep-force-update:** remove from the project
|
540 | * **react-stand-in:** fix MobX (Cannot assign to read only property 'render', [#796](https://github.com/gaearon/react-hot-loader/issues/796))
|
541 |
|
542 | <a name="4.0.0-beta.14"></a>
|
543 |
|
544 | # [4.0.0-beta.14](https://github.com/theKashey/react-hot-loader/compare/v4.0.0-beta.13...v4.0.0-beta.14) (2018-01-14)
|
545 |
|
546 | * **react-hot-loader:** support IE11 ([#772](https://github.com/gaearon/react-hot-loader/issues/772))
|
547 | * **react-stand-in:** support Relay Classis/Modern([#775](https://github.com/gaearon/react-hot-loader/issues/775))
|
548 |
|
549 | <a name="4.0.0-beta.13"></a>
|
550 |
|
551 | # [4.0.0-beta.13](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.12...v4.0.0-beta.13) (2018-01-09)
|
552 |
|
553 | ### Features
|
554 |
|
555 | * **react-hot-loader:** detect wrong usage of `hot` ([#766](https://github.com/gaearon/react-hot-loader/issues/766)) ([b9738c7](https://github.com/gaearon/react-hot-loader/commit/b9738c7)), closes [#765](https://github.com/gaearon/react-hot-loader/issues/765)
|
556 |
|
557 | <a name="4.0.0-beta.12"></a>
|
558 |
|
559 | # [4.0.0-beta.12](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.11...v4.0.0-beta.12) (2018-01-02)
|
560 |
|
561 | ### Bug Fixes
|
562 |
|
563 | * target ES5 for production code ([b1d6d05](https://github.com/gaearon/react-hot-loader/commit/b1d6d05)), closes [#758](https://github.com/gaearon/react-hot-loader/issues/758)
|
564 |
|
565 | <a name="4.0.0-beta.11"></a>
|
566 |
|
567 | # [4.0.0-beta.11](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.10...v4.0.0-beta.11) (2017-12-30)
|
568 |
|
569 | ### Bug Fixes
|
570 |
|
571 | * **build:** fix builded files ([f4aa275](https://github.com/gaearon/react-hot-loader/commit/f4aa275))
|
572 |
|
573 | <a name="4.0.0-beta.10"></a>
|
574 |
|
575 | # [4.0.0-beta.10](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.9...v4.0.0-beta.10) (2017-12-30)
|
576 |
|
577 | ### Bug Fixes
|
578 |
|
579 | * **babel:** do not use capital letters ([#754](https://github.com/gaearon/react-hot-loader/issues/754)) ([bf48675](https://github.com/gaearon/react-hot-loader/commit/bf48675)), closes [#753](https://github.com/gaearon/react-hot-loader/issues/753)
|
580 |
|
581 | <a name="4.0.0-beta.9"></a>
|
582 |
|
583 | # [4.0.0-beta.9](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.8...v4.0.0-beta.9) (2017-12-30)
|
584 |
|
585 | ### Bug Fixes
|
586 |
|
587 | * **react-hot-loader:** require `react-hot-loader/patch` in each file ([3038538](https://github.com/gaearon/react-hot-loader/commit/3038538)), closes [#750](https://github.com/gaearon/react-hot-loader/issues/750)
|
588 |
|
589 | <a name="4.0.0-beta.8"></a>
|
590 |
|
591 | # [4.0.0-beta.8](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.7...v4.0.0-beta.8) (2017-12-29)
|
592 |
|
593 | ### Bug Fixes
|
594 |
|
595 | * **react-hot-loader:** fix missing export ([239ca5d](https://github.com/gaearon/react-hot-loader/commit/239ca5d))
|
596 |
|
597 | <a name="4.0.0-beta.7"></a>
|
598 |
|
599 | # [4.0.0-beta.7](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.6...v4.0.0-beta.7) (2017-12-29)
|
600 |
|
601 | ### Bug Fixes
|
602 |
|
603 | * handle async loading of patch ([#739](https://github.com/gaearon/react-hot-loader/issues/739)) ([af8bd4b](https://github.com/gaearon/react-hot-loader/commit/af8bd4b))
|
604 | * **react-hot-loader:** fix componentWillUpdate ([95a9e79](https://github.com/gaearon/react-hot-loader/commit/95a9e79))
|
605 | * use safe defineProperty ([f901192](https://github.com/gaearon/react-hot-loader/commit/f901192))
|
606 |
|
607 | ### Features
|
608 |
|
609 | * replace warnings by `configure({ debug: true })` ([4f079c6](https://github.com/gaearon/react-hot-loader/commit/4f079c6))
|
610 |
|
611 | <a name="4.0.0-beta.6"></a>
|
612 |
|
613 | # [4.0.0-beta.6](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.5...v4.0.0-beta.6) (2017-12-27)
|
614 |
|
615 | Same as 4.0.0-beta.5, fix build problem.
|
616 |
|
617 | <a name="4.0.0-beta.5"></a>
|
618 |
|
619 | # [4.0.0-beta.5](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-beta.4...v4.0.0-beta.5) (2017-12-27)
|
620 |
|
621 | ### Bug Fixes
|
622 |
|
623 | * improve decorators support (autobind)
|
624 | ([56883c9](https://github.com/gaearon/react-hot-loader/commit/56883c9))
|
625 | * support nested children
|
626 | ([#735](https://github.com/gaearon/react-hot-loader/issues/735))
|
627 | ([5c81655](https://github.com/gaearon/react-hot-loader/commit/5c81655))
|
628 |
|
629 | # Manual changelog
|
630 |
|
631 | ### 4.0.0-beta.4
|
632 |
|
633 | * Handle terminal node in stack (#728)
|
634 |
|
635 | ### 4.0.0-beta.3
|
636 |
|
637 | * Use setTimeout to tick (#726)
|
638 |
|
639 | ### 4.0.0-beta.2
|
640 |
|
641 | * Bunch of fixes (#725)
|
642 |
|
643 | ### 4.0.0-beta.1
|
644 |
|
645 | * Remove webpack plugin (#707)
|
646 | * Replace react-proxy by react-stand-in (#707)
|
647 | * Replace react-deep-force-update by reconciler (#703)
|
648 | * Add `hot` HOC (#707)
|
649 | * Add `areComponentsEqual` (#304)
|
650 | * `warnings` flag now controls reconciler, not dev patch.
|
651 |
|
652 | ### 3.1.1
|
653 |
|
654 | * Revert fix arrow function that uses props in constructor (#670)
|
655 | * Remove babel-template dependency (#671)
|
656 |
|
657 | ### 3.1.0
|
658 |
|
659 | * Add an option to disable warnings (#669)
|
660 | * Fix arrow function that uses props in constructor (#670)
|
661 |
|
662 | ### 3.0.0
|
663 |
|
664 | * Add React 16 support (#629, #658)
|
665 | * Remove RedBox as default error catcher (#494)
|
666 |
|
667 | ### 3.0.0-beta.6
|
668 |
|
669 | * Use production versions of `patch` and `AppContainer` if no `module.hot`
|
670 | available, so it doesn't break people using `NODE_ENV=test`. (#398)
|
671 | * Opt out of transforming static class properties. (#381)
|
672 |
|
673 | ### 3.0.0-beta.5
|
674 |
|
675 | * Makes the class properties portion of the Babel plugin work with async
|
676 | functions. (#372)
|
677 | * Change the output of the tagger code in the Babel plugin so that it doesn't
|
678 | break the output of `babel-node`. (#374)
|
679 |
|
680 | ### 3.0.0-beta.4
|
681 |
|
682 | * Extends the Babel plugin to enable hot reloading of class properties. (#322)
|
683 | * Fixes a bug in the Webpack loader from a component importing a module with the
|
684 | same basename. (#347)
|
685 |
|
686 | ### 3.0.0-beta.3
|
687 |
|
688 | * Fixes broken import of RedBox, which led to confusing stack traces when
|
689 | applications threw errors. (#314)
|
690 | * Add `module.hot` checks to conditional `require()`s to remove unnecessary
|
691 | warnings when using server rendering. (#302)
|
692 |
|
693 | ### 3.0.0-beta.2
|
694 |
|
695 | * Patch `React.createFactory` (#287)
|
696 | * Fix props typo (#285)
|
697 |
|
698 | ### 3.0.0-beta.1
|
699 |
|
700 | * Adds complete React Router support. Async routes should work fine now. (#272)
|
701 | * Fixes a nasty bug which caused unwrapped component to render. (#266, #272)
|
702 | * Fixes an issue that caused components with `shouldComponentUpdate`
|
703 | optimizations not getting redrawn (#269,
|
704 | 2a1e384d54e1919117f70f75dd20ad2490b1d9f5)
|
705 | * Internal: a rewrite and much better test coverage.
|
706 |
|
707 | ### 3.0.0-beta.0
|
708 |
|
709 | * Fixes an issue when used in Webpack 2
|
710 | (https://github.com/gaearon/react-hot-loader/issues/263)
|
711 | * **Breaking change:** instead of
|
712 |
|
713 | ```js
|
714 | ;<AppContainer component={App} props={{ prop: val }} />
|
715 | ```
|
716 |
|
717 | ````
|
718 | you now need to write
|
719 |
|
720 | ```js
|
721 | <AppContainer>
|
722 | <App prop={val} />
|
723 | </AppContainer>
|
724 | ````
|
725 |
|
726 | (#250)
|
727 |
|
728 | **See
|
729 | [this commit](https://github.com/gaearon/react-hot-boilerplate/commit/b52c727937a499f3efdc5dceb74ae952aa318c3a)
|
730 | as an update reference!**
|
731 |
|
732 | ### 3.0.0-alpha
|
733 |
|
734 | Big changes both to internals and usage. No docs yet but you can look at
|
735 | https://github.com/gaearon/react-hot-boilerplate/pull/61 for an example.
|
736 |
|
737 | ### 2.0.0-alpha
|
738 |
|
739 | **Experimental release that isn't really representative on what will go in 2.0,
|
740 | but uses the new engine.**
|
741 |
|
742 | Some ideas of what should be possible with the new engine:
|
743 |
|
744 | * There is no requirement to pass `getRootInstances()` anymore, so React Hot
|
745 | Loader doesn't need `react/lib/ReactMount` or walk the tree, which was
|
746 | somewhat fragile and changing between versions
|
747 | * Static methods and properties are now hot-reloaded
|
748 | * Instance getters and setters are now hot reloaded
|
749 | * Static getters and setters are now hot reloaded
|
750 | * Deleted instance methods are now deleted during hot reloading
|
751 | * Single method form of
|
752 | [autobind-decorator](https://github.com/andreypopp/autobind-decorator) is now
|
753 | supported
|
754 |
|
755 | What might get broken:
|
756 |
|
757 | * We no longer overwrite or even touch the original class. Every time makeHot is
|
758 | invoked, it will return a special proxy class. This means a caveat: for
|
759 | example, static methods will only be hot-reloaded if you refer to them as
|
760 | `this.constructor.doSomething()` instead of `FooBar.doSomething()`. This is
|
761 | because React Hot Loader calls `makeHot` right before exporting, so `FooBar`
|
762 | still refers to the original class. Similarly, `this.constructor === App` will
|
763 | be `false` inside `App` unless you call `App = makeHot(App)` manually, which
|
764 | you can't do with React Hot Loader. **I'm not sure how much of a problem this
|
765 | will be, so let me know if it pains you.** In the longer term, we will
|
766 | deprecate React Hot Loader in favor of a Babel plugin which will be able to
|
767 | rewrite class definitions correctly, so it shouldn't be a problem for a long
|
768 | time. If there is demand, we can introduce a mode that rewrites passed
|
769 | classes, too.
|
770 |
|
771 | ### 1.3.1
|
772 |
|
773 | * Fix import for ReactMount to support 15.4.0
|
774 | (**[#430](https://github.com/gaearon/react-hot-loader/pull/430)**)
|
775 |
|
776 | ### 1.3.0
|
777 |
|
778 | * Recover from module errors on module level
|
779 | (**[#187](https://github.com/gaearon/react-hot-loader/pull/187)**)
|
780 |
|
781 | ### 1.2.9
|
782 |
|
783 | * Silently ignore exports that raise an error when accessed (#114)
|
784 | * Update `source-map` dependency
|
785 |
|
786 | ### 1.2.8
|
787 |
|
788 | * Remove React from peerDependencies
|
789 | * Update React Hot API to support React 0.14 beta 1
|
790 |
|
791 | ### 1.2.7
|
792 |
|
793 | * Preserve CommonJS `exports` context in the wrapping closure
|
794 | (**[#124](https://github.com/gaearon/react-hot-loader/issues/124)**)
|
795 |
|
796 | ### 1.2.6
|
797 |
|
798 | * Fix autobinding on newly added methods for `createClass`-style classes
|
799 |
|
800 | ### 1.2.5
|
801 |
|
802 | * Fix “React is not defined” error
|
803 |
|
804 | ### 1.2.4
|
805 |
|
806 | * Avoid updating each class twice in React 0.12
|
807 |
|
808 | ### 1.2.3
|
809 |
|
810 | * Explicitly exclude `react/lib` files from processing. You **should** use
|
811 | `exclude: /node_modules/` in configuration, but at least this doesn't blow up
|
812 | for those who don't.
|
813 |
|
814 | ### 1.2.2
|
815 |
|
816 | * Fix crash on React 0.13. Now compatible!
|
817 |
|
818 | ### 1.2.1
|
819 |
|
820 | * Don't try to flatten inheritance chains, as it causes problems with `super`
|
821 | * Instead, automatically opt custom base classes into hot reloading as long as
|
822 | they descend from `React.Component` (in React 0.13). If your custom base class
|
823 | doesn't do that but you'd still want to have hot reloading, you need to
|
824 | manually opt it in via `module.makeHot` API.
|
825 |
|
826 | ### 1.2.0
|
827 |
|
828 | * Support hot-reloading components without a base class
|
829 | (**[react-hot-api#5](https://github.com/gaearon/react-hot-api/issues/5)**)
|
830 | * Support hot-reloading inheritance chains
|
831 | (**[react-hot-api#10](https://github.com/gaearon/react-hot-api/issues/10)**)
|
832 | * Support using React 0.13 as an external
|
833 |
|
834 | ### 1.1.7
|
835 |
|
836 | * Add React 0.13 RC2 to peerDeps
|
837 |
|
838 | ### 1.1.6
|
839 |
|
840 | * Allow React 0.13 RC1
|
841 | * Better support for ES6 inheritance
|
842 | * Fix reloading for modules with null prototype chain (**#82**)
|
843 |
|
844 | ### 1.1.5
|
845 |
|
846 | * Wrap user code in IEFF to prevent losing `"use strict"`. Fixes #75
|
847 |
|
848 | ### 1.1.4
|
849 |
|
850 | * Fix crash when hot-reloading element factory. (Note: React discourages
|
851 | exporting factories.)
|
852 |
|
853 | ### 1.1.3
|
854 |
|
855 | * Avoid warnings on React 0.13
|
856 |
|
857 | ### 1.1.2
|
858 |
|
859 | * Compatibility with React 0.13.0-beta.1
|
860 |
|
861 | ### 1.1.1
|
862 |
|
863 | * Fix edge cases by requiring `react/lib/ReactMount` in transformed source files
|
864 | * Add a warning if `ReactMount` doesn't return anything useful (e.g. when using
|
865 | external React)
|
866 |
|
867 | ### 1.1.0
|
868 |
|
869 | * Skipping `node_modules` entirely
|
870 | [wasn't](https://github.com/gaearon/react-hot-loader/issues/58)
|
871 | [the best idea](https://github.com/gaearon/react-hot-loader/issues/55).
|
872 | Instead, we now specifically skip `node_modules/react/`,
|
873 | `node_modules/webpack/` and `node_modules/react-hot-loader/`. However you are
|
874 | still **encouraged** to
|
875 | [add `exclude: /node_modules/` to your loader config](https://github.com/gaearon/react-hot-boilerplate/blob/master/webpack.config.js#L24)
|
876 | for best performance.
|
877 | * Now modules that don't export any valid React classes in `module.exports` or
|
878 | any its properties will not be auto-accepted. This prevents hot loader from
|
879 | trying to handle non-React updates and allows changes in plain JS files to
|
880 | propagate to components that can handle them. For example, this allows
|
881 | [react-jss](https://github.com/jsstyles/react-jss) mixin to apply hot updates
|
882 | to JSS styles.
|
883 |
|
884 | ### 1.0.7
|
885 |
|
886 | * Skip `node_modules` entirely. Fixes
|
887 | [#54](https://github.com/gaearon/react-hot-loader/issues/54) on Windows.
|
888 |
|
889 | ### 1.0.6
|
890 |
|
891 | * Add `require('react-hot-loader/Injection')` to override Hot Loader behavior.
|
892 | Now you can supply your own way of getting root component instances, so Hot
|
893 | Loader can also work in environment where `require('react/lib/ReactMount')` is
|
894 | not available (for example,
|
895 | [when React is used as standalone bundle and not NPM package](https://github.com/gaearon/react-hot-loader/issues/53)).
|
896 |
|
897 | ### 1.0.5
|
898 |
|
899 | * Fix stack overflow when hotifying same class twice
|
900 | ([#52](https://github.com/gaearon/react-hot-loader/issues/52))
|
901 |
|
902 | ### 1.0.4
|
903 |
|
904 | * Allow both `module.exports` and its properties be components (Fixes
|
905 | [#50](https://github.com/gaearon/react-hot-loader/issues/50))
|
906 |
|
907 | ### 1.0.3
|
908 |
|
909 | * In addition to hotifying `module.exports` by default, also hotify all its own
|
910 | properties
|
911 |
|
912 | ### 1.0.2
|
913 |
|
914 | * Don't try to hot-replace `module.export`ed `ReactElement`s
|
915 |
|
916 | ### 1.0.1
|
917 |
|
918 | * Delay `require`ing `ReactMount` to avoid circular dependencies
|
919 | * Don't process React or Webpack internals to avoid potential issues
|
920 |
|
921 | ### 1.0.0
|
922 |
|
923 | * Don't rely on `createClass` regex or any other regex
|
924 | * Only `module.exports` is hot by default
|
925 | * Supports ES6 classes when they land in React 0.13
|
926 | * Supports dynamically created classes
|
927 | * Manual mode
|
928 |
|
929 | See
|
930 | [what changed and how to migrate to 1.0](https://github.com/gaearon/react-hot-loader/blob/master/docs/README.md#migrating-to-10).
|
931 |
|
932 | ### 0.5.0
|
933 |
|
934 | * Adds source map support, contributed by
|
935 | [Jake Riesterer](https://github.com/jRiest)
|
936 |
|
937 | ### 0.4.5
|
938 |
|
939 | * Collapse all hot loader code in one line so it doesn't obscure beginning of
|
940 | file.
|
941 |
|
942 | ### 0.4.4
|
943 |
|
944 | * Errors occuring in module definition (such as `ReferenceError`) should not
|
945 | disable further reloading (fixes
|
946 | **[#29](https://github.com/gaearon/react-hot-loader/issues/29)**)
|
947 |
|
948 | ### 0.4.3
|
949 |
|
950 | * Support lowercase `react` reference name and usage with ES6 classes
|
951 | (`createClass(MyComponent.prototype)`) via
|
952 | **[#27](https://github.com/gaearon/react-hot-loader/issues/27)**
|
953 |
|
954 | ### 0.4.2
|
955 |
|
956 | * Catch errors in modules and log them instead of reloading (fixes
|
957 | **[#21](https://github.com/gaearon/react-hot-loader/issues/21)**)
|
958 |
|
959 | ### 0.4.1
|
960 |
|
961 | * Use more precise
|
962 | [`React.createClass` regex](https://github.com/gaearon/react-hot-loader/commit/f71c6785131adcc85b91789da0d0a0b9f1a9713f)
|
963 | to avoid matching own code when hot loader is applied to all JS files.
|
964 |
|
965 | ### 0.4.0
|
966 |
|
967 | * Ignore files that contain no `createClass` calls (fixes
|
968 | **[#17](https://github.com/gaearon/react-hot-loader/issues/17)**)
|
969 | * Remove the need for pitch loader (fixes
|
970 | **[#19](https://github.com/gaearon/react-hot-loader/issues/19)**)
|
971 | * Improve performance by only using one loader instead of two
|
972 | * Now that performance is acceptable, remove desktop notifications and `notify`
|
973 | option
|
974 | * It is now recommended that you use `devtool: 'eval'` because it's much faster
|
975 | and has no downsides anymore
|
976 |
|
977 | ### 0.3.1
|
978 |
|
979 | * Avoid warnings on old browsers with missing `Notification` API
|
980 | * Errors don't cause page reload anymore
|
981 |
|
982 | ### 0.3.0
|
983 |
|
984 | * Use React 0.11
|
985 |
|
\ | No newline at end of file |