UNPKG

30.3 kBMarkdownView Raw
1# Change Log
2
3All 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.5.2"></a>
6## [4.5.2](https://github.com/gaearon/react-hot-loader/compare/v4.5.1...v4.5.2) (2018-12-06)
7
8
9### Bug Fixes
10
11* forwardRef to be remounted every frame. React-router to merge components ([3b11866](https://github.com/gaearon/react-hot-loader/commit/3b11866))
12* React-router to merge components ([f45fee0](https://github.com/gaearon/react-hot-loader/commit/f45fee0))
13* remove early reject, [#1115](https://github.com/gaearon/react-hot-loader/issues/1115) ([0a28144](https://github.com/gaearon/react-hot-loader/commit/0a28144))
14
15
16
17<a name="4.5.1"></a>
18## [4.5.1](https://github.com/gaearon/react-hot-loader/compare/v4.5.0...v4.5.1) (2018-11-21)
19
20
21### Bug Fixes
22
23* add lodash.merge as dep ([1de55d6](https://github.com/gaearon/react-hot-loader/commit/1de55d6))
24
25
26
27<a name="4.5.0"></a>
28# [4.5.0](https://github.com/gaearon/react-hot-loader/compare/v4.4.0...v4.5.0) (2018-11-20)
29
30
31### Bug Fixes
32
33* handle older React versions ([a03c1c3](https://github.com/gaearon/react-hot-loader/commit/a03c1c3))
34* hot-render forwardRef ([5f362ad](https://github.com/gaearon/react-hot-loader/commit/5f362ad))
35* IE11 compact, [#1099](https://github.com/gaearon/react-hot-loader/issues/1099) ([f8ef550](https://github.com/gaearon/react-hot-loader/commit/f8ef550))
36
37
38### Features
39
40* webpack patch/inject mode ([42d637b](https://github.com/gaearon/react-hot-loader/commit/42d637b))
41
42
43
44<a name="4.4.0-1"></a>
45## 4.4.0-1 (2018-11-01)
46### Bug Fixes
47- `forwardRef` reconciliation [#1100](https://github.com/gaearon/react-hot-loader/pull/1100)
48
49<a name="4.4.0"></a>
50## [4.4.0](https://github.com/gaearon/react-hot-loader/compare/v4.3.11...v4.3.12) (2018-11-01)
51
52
53### Features
54* React 16.5 and React 16.6 support. forwardRef, memo, lazy [#1084](https://github.com/gaearon/react-hot-loader/pull/1084)
55* Webpack loader [#1098](https://github.com/gaearon/react-hot-loader/pull/1098)
56* mark RHL sideEffect-free in production mode [#1096](https://github.com/gaearon/react-hot-loader/pull/1096)
57* babel plugin will remove `hot` in production [#1091](https://github.com/gaearon/react-hot-loader/pull/1091)
58
59### Bug Fixes
60
61* 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)
62* class methods, deleted on update, will be deleted from proxy [#1091](https://github.com/gaearon/react-hot-loader/pull/1091)
63
64<a name="4.3.11"></a>
65## [4.3.11](https://github.com/gaearon/react-hot-loader/compare/v4.3.9...v4.3.11) (2018-09-20)
66
67
68### Bug Fixes
69
70* hot fixing ES5 literals in index.js ([80f6b63](https://github.com/gaearon/react-hot-loader/commit/80f6b63))
71
72
73
74<a name="4.3.10"></a>
75## [4.3.10](https://github.com/gaearon/react-hot-loader/compare/v4.3.9...v4.3.10) (2018-09-20)
76
77### Bug Fixes
78
79* IE10/CSP compatibility. [#1073](https://github.com/gaearon/react-hot-loader/pull/1073)
80
81<a name="4.3.7"></a>
82## [4.3.7](https://github.com/gaearon/react-hot-loader/compare/v4.3.6...v4.3.7) (2018-09-13)
83
84
85### Bug Fixes
86
87* babel 7 compatibility. [#1043](https://github.com/gaearon/react-hot-loader/issues/1043) ([acad937](https://github.com/gaearon/react-hot-loader/commit/acad937))
88
89
90
91<a name="4.3.6"></a>
92## [4.3.6](https://github.com/gaearon/react-hot-loader/compare/v4.3.5...v4.3.6) (2018-09-04)
93
94
95### Bug Fixes
96
97* don't inadvertendly call getters ([322e746](https://github.com/gaearon/react-hot-loader/commit/322e746))
98
99
100
101<a name="4.3.5"></a>
102## [4.3.5](https://github.com/gaearon/react-hot-loader/compare/4.3.4...4.3.5) (2018-08-23)
103
104
105### Bug Fixes
106
107* 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))
108* use the same conditions for index and patch ([f67d5b9](https://github.com/gaearon/react-hot-loader/commit/f67d5b9))
109
110
111
112<a name="4.3.4"></a>
113## [4.3.4](https://github.com/gaearon/react-hot-loader/compare/v4.3.3...v4.3.4) (2018-07-25)
114
115
116### Bug Fixes
117
118* element could be double-proxied ([#1033](https://github.com/gaearon/react-hot-loader/pull/1033))
119* Components, not directly inherited from React.Components, like StyledComponents, are not working ([#1031](https://github.com/gaearon/react-hot-loader/pull/1031))
120
121
122
123<a name="4.3.3"></a>
124## [4.3.3](https://github.com/gaearon/react-hot-loader/compare/4.3.1...4.3.3) (2018-06-15)
125
126
127### Bug Fixes
128
129* 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))
130
131
132
133<a name="4.3.2"></a>
134## [4.3.2](https://github.com/gaearon/react-hot-loader/compare/4.3.1...4.3.2) (2018-06-13)
135
136### Bug Fixes
137* Add cold API to TypeScript definitions
138
139<a name="4.3.1"></a>
140## [4.3.1](https://github.com/gaearon/react-hot-loader/compare/4.3.0...4.3.1) (2018-06-09)
141
142
143### Bug Fixes
144
145* 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))
146* Support _this10 and over ([bb47ca4](https://github.com/gaearon/react-hot-loader/commit/bb47ca4))
147* Handle lazy indeterminate static properties(Relay) [#1014](https://github.com/gaearon/react-hot-loader/pull/1014)
148
149
150
151<a name="4.3.0"></a>
152# [4.3.0](https://github.com/gaearon/react-hot-loader/compare/v4.2.0...v4.3.0) (2018-06-05)
153
154
155### Bug Fixes
156
157* 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))
158* 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))
159* RHL should add new class methods ([111d56e](https://github.com/gaearon/react-hot-loader/commit/111d56e))
160* Multiple problems with methods update. Revert behavior back to v4.1.2 [#1001](https://github.com/gaearon/react-hot-loader/issues/1001)
161
162### Features
163
164* Preact support [#952](https://github.com/gaearon/react-hot-loader/issues/952) ([2b40f57](https://github.com/gaearon/react-hot-loader/commit/2b40f57))
165* Cold components [#991](https://github.com/gaearon/react-hot-loader/issues/991) ([9bcff36](https://github.com/gaearon/react-hot-loader/commit/9bcff36))
166
167
168
169<a name="4.2.0"></a>
170## [4.2.0](https://github.com/gaearon/react-hot-loader/compare/v4.1.3...v4.2.0) (2018-05-16)
171
172## Changes
173 * 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)
174
175## Features
176 * Basic support for React 16 Context [#979](https://github.com/gaearon/react-hot-loader/issues/979)
177
178## Bug fixes
179 * pure components wont update [#959](https://github.com/gaearon/react-hot-loader/issues/959), [#944](https://github.com/gaearon/react-hot-loader/issues/944)
180 * better babel compliance ("this5"), [#969](https://github.com/gaearon/react-hot-loader/issues/969)
181 * sideeffect-less updates [#970](https://github.com/gaearon/react-hot-loader/pull/970)
182 * render as a class property [#924](https://github.com/gaearon/react-hot-loader/issues/924)
183 * issues around reactLifecyclesCompat.polyfill [#951](https://github.com/gaearon/react-hot-loader/issues/951)
184 * more examples and test cases
185 * multiple reconsilation related bug fixes
186
187<a name="4.1.3"></a>
188## [4.1.3](https://github.com/gaearon/react-hot-loader/compare/v4.1.2...v4.1.3) (2018-05-08)
189
190
191### Bug Fixes
192
193* always update bound functions. [#949](https://github.com/gaearon/react-hot-loader/issues/949) ([7819c71](https://github.com/gaearon/react-hot-loader/commit/7819c71))
194* 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))
195* 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))
196
197
198
199<a name="4.1.2"></a>
200
201## [4.1.2](https://github.com/gaearon/react-hot-loader/compare/4.1.0...4.1.2) (2018-04-24)
202
203### Bug Fixes
204
205* 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))
206
207<a name="4.1.1"></a>
208
209## [4.1.1](https://github.com/gaearon/react-hot-loader/compare/4.1.0...4.1.1) (2018-04-24)
210
211### Bug Fixes
212
213* 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))
214
215<a name="4.1.0"></a>
216
217## [4.1.0](https://github.com/gaearon/react-hot-loader/compare/4.0.1...4.1.0) (2018-04-18)
218
219### Features
220
221* 🚀 React 16.3 support ([#918](https://github.com/gaearon/react-hot-loader/issues/918))
222* 🧙🏻‍♂️ StatelessFunctionComponents are not wrapped by Stateful components anymore ([#873](https://github.com/gaearon/react-hot-loader/issues/873))
223* 🧠Improved TypeScript support (no more than documentation) ([#884](https://github.com/gaearon/react-hot-loader/issues/884))
224
225### Bug Fixes
226* support babel temporal `_this3` ([#928](https://github.com/gaearon/react-hot-loader/issues/928))
227
228<a name="4.0.1"></a>
229
230## [4.0.1](https://github.com/gaearon/react-hot-loader/compare/v4.0.0...v4.0.1) (2018-04-01)
231
232### Bug Fixes
233
234* 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)
235* 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))
236* 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))
237
238### Docs
239
240* Improve TypeScript documentation ([#914](https://github.com/gaearon/react-hot-loader/issues/914)) ([d3b91de](https://github.com/gaearon/react-hot-loader/commit/d3b91de))
241
242<a name="4.0.0"></a>
243
244# [4.0.0](https://github.com/gaearon/react-hot-loader/compare/v4.0.0-rc.0...v4.0.0) (2018-02-27)
245
246### Bug Fixes
247
248* 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))
249
250<a name="4.0.0-rc.0"></a>
251
252# [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)
253
254<a name="4.0.0-beta.23"></a>
255
256# [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)
257
258### Bug Fixes
259
260* 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))
261* 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)
262* 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)
263
264<a name="4.0.0-beta.22"></a>
265
266# [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)
267
268### Bug Fixes
269
270* 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)
271
272### Features
273
274* ship flat bundles ([#844](https://github.com/gaearon/react-hot-loader/issues/844)) ([7580552](https://github.com/gaearon/react-hot-loader/commit/7580552))
275
276<a name="4.0.0-beta.21"></a>
277
278# [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)
279
280### Bug Fixes
281
282* fix proxy adapter ([#842](https://github.com/gaearon/react-hot-loader/issues/842)) ([9bb8251](https://github.com/gaearon/react-hot-loader/commit/9bb8251))
283
284<a name="4.0.0-beta.20"></a>
285
286# [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)
287
288<a name="4.0.0-beta.19"></a>
289
290# [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)
291
292### Bug Fixes
293
294* **areComponentsEqual:** fix behaviour ([#829](https://github.com/gaearon/react-hot-loader/issues/829)) ([d4dcd07](https://github.com/gaearon/react-hot-loader/commit/d4dcd07))
295* **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))
296* 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)
297
298<a name="4.0.0-beta.18"></a>
299
300# [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)
301
302### Bug Fixes
303
304* 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)
305
306<a name="4.0.0-beta.17"></a>
307
308# [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)
309
310### Features
311
312* remove useless dependencies ([e1b83e5](https://github.com/gaearon/react-hot-loader/commit/e1b83e5)), closes [#808](https://github.com/gaearon/react-hot-loader/issues/808)
313
314### Bug Fixes
315
316* warn about errors [#814](https://github.com/gaearon/react-hot-loader/issues/814)
317* handle wrong module [#813](https://github.com/gaearon/react-hot-loader/issues/#813)
318
319<a name="4.0.0-beta.16"></a>
320
321# [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)
322
323* **react-hot-loader:** Hard code consts from stand-in [#807](https://github.com/gaearon/react-hot-loader/issues/807))
324* **react-hot-loader:** Support React 16 Fragments [#799](https://github.com/gaearon/react-hot-loader/issues/799))
325* **react-hot-loader:** Suppress some warnings [#804](https://github.com/gaearon/react-hot-loader/issues/804))
326* **react-hot-loader:** Better Electron support [#794](https://github.com/gaearon/react-hot-loader/issues/794))
327
328* **react-stand-in:** Fix IE11 regression (again)
329
330<a name="4.0.0-beta.15"></a>
331
332# [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)
333
334* **react-deep-force-update:** remove from the project
335* **react-stand-in:** fix MobX (Cannot assign to read only property 'render', [#796](https://github.com/gaearon/react-hot-loader/issues/796))
336
337<a name="4.0.0-beta.14"></a>
338
339# [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)
340
341* **react-hot-loader:** support IE11 ([#772](https://github.com/gaearon/react-hot-loader/issues/772))
342* **react-stand-in:** support Relay Classis/Modern([#775](https://github.com/gaearon/react-hot-loader/issues/775))
343
344<a name="4.0.0-beta.13"></a>
345
346# [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)
347
348### Features
349
350* **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)
351
352<a name="4.0.0-beta.12"></a>
353
354# [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)
355
356### Bug Fixes
357
358* 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)
359
360<a name="4.0.0-beta.11"></a>
361
362# [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)
363
364### Bug Fixes
365
366* **build:** fix builded files ([f4aa275](https://github.com/gaearon/react-hot-loader/commit/f4aa275))
367
368<a name="4.0.0-beta.10"></a>
369
370# [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)
371
372### Bug Fixes
373
374* **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)
375
376<a name="4.0.0-beta.9"></a>
377
378# [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)
379
380### Bug Fixes
381
382* **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)
383
384<a name="4.0.0-beta.8"></a>
385
386# [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)
387
388### Bug Fixes
389
390* **react-hot-loader:** fix missing export ([239ca5d](https://github.com/gaearon/react-hot-loader/commit/239ca5d))
391
392<a name="4.0.0-beta.7"></a>
393
394# [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)
395
396### Bug Fixes
397
398* 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))
399* **react-hot-loader:** fix componentWillUpdate ([95a9e79](https://github.com/gaearon/react-hot-loader/commit/95a9e79))
400* use safe defineProperty ([f901192](https://github.com/gaearon/react-hot-loader/commit/f901192))
401
402### Features
403
404* replace warnings by `configure({ debug: true })` ([4f079c6](https://github.com/gaearon/react-hot-loader/commit/4f079c6))
405
406<a name="4.0.0-beta.6"></a>
407
408# [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)
409
410Same as 4.0.0-beta.5, fix build problem.
411
412<a name="4.0.0-beta.5"></a>
413
414# [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)
415
416### Bug Fixes
417
418* improve decorators support (autobind)
419 ([56883c9](https://github.com/gaearon/react-hot-loader/commit/56883c9))
420* support nested children
421 ([#735](https://github.com/gaearon/react-hot-loader/issues/735))
422 ([5c81655](https://github.com/gaearon/react-hot-loader/commit/5c81655))
423
424# Manual changelog
425
426### 4.0.0-beta.4
427
428* Handle terminal node in stack (#728)
429
430### 4.0.0-beta.3
431
432* Use setTimeout to tick (#726)
433
434### 4.0.0-beta.2
435
436* Bunch of fixes (#725)
437
438### 4.0.0-beta.1
439
440* Remove webpack plugin (#707)
441* Replace react-proxy by react-stand-in (#707)
442* Replace react-deep-force-update by reconciler (#703)
443* Add `hot` HOC (#707)
444* Add `areComponentsEqual` (#304)
445* `warnings` flag now controls reconciler, not dev patch.
446
447### 3.1.1
448
449* Revert fix arrow function that uses props in constructor (#670)
450* Remove babel-template dependency (#671)
451
452### 3.1.0
453
454* Add an option to disable warnings (#669)
455* Fix arrow function that uses props in constructor (#670)
456
457### 3.0.0
458
459* Add React 16 support (#629, #658)
460* Remove RedBox as default error catcher (#494)
461
462### 3.0.0-beta.6
463
464* Use production versions of `patch` and `AppContainer` if no `module.hot`
465 available, so it doesn't break people using `NODE_ENV=test`. (#398)
466* Opt out of transforming static class properties. (#381)
467
468### 3.0.0-beta.5
469
470* Makes the class properties portion of the Babel plugin work with async
471 functions. (#372)
472* Change the output of the tagger code in the Babel plugin so that it doesn't
473 break the output of `babel-node`. (#374)
474
475### 3.0.0-beta.4
476
477* Extends the Babel plugin to enable hot reloading of class properties. (#322)
478* Fixes a bug in the Webpack loader from a component importing a module with the
479 same basename. (#347)
480
481### 3.0.0-beta.3
482
483* Fixes broken import of RedBox, which led to confusing stack traces when
484 applications threw errors. (#314)
485* Add `module.hot` checks to conditional `require()`s to remove unnecessary
486 warnings when using server rendering. (#302)
487
488### 3.0.0-beta.2
489
490* Patch `React.createFactory` (#287)
491* Fix props typo (#285)
492
493### 3.0.0-beta.1
494
495* Adds complete React Router support. Async routes should work fine now. (#272)
496* Fixes a nasty bug which caused unwrapped component to render. (#266, #272)
497* Fixes an issue that caused components with `shouldComponentUpdate`
498 optimizations not getting redrawn (#269,
499 2a1e384d54e1919117f70f75dd20ad2490b1d9f5)
500* Internal: a rewrite and much better test coverage.
501
502### 3.0.0-beta.0
503
504* Fixes an issue when used in Webpack 2
505 (https://github.com/gaearon/react-hot-loader/issues/263)
506* **Breaking change:** instead of
507
508 ```js
509 ;<AppContainer component={App} props={{ prop: val }} />
510 ```
511
512````
513 you now need to write
514
515 ```js
516 <AppContainer>
517 <App prop={val} />
518 </AppContainer>
519````
520
521(#250)
522
523**See
524[this commit](https://github.com/gaearon/react-hot-boilerplate/commit/b52c727937a499f3efdc5dceb74ae952aa318c3a)
525as an update reference!**
526
527### 3.0.0-alpha
528
529Big changes both to internals and usage. No docs yet but you can look at
530https://github.com/gaearon/react-hot-boilerplate/pull/61 for an example.
531
532### 2.0.0-alpha
533
534**Experimental release that isn't really representative on what will go in 2.0,
535but uses the new engine.**
536
537Some ideas of what should be possible with the new engine:
538
539* There is no requirement to pass `getRootInstances()` anymore, so React Hot
540 Loader doesn't need `react/lib/ReactMount` or walk the tree, which was
541 somewhat fragile and changing between versions
542* Static methods and properties are now hot-reloaded
543* Instance getters and setters are now hot reloaded
544* Static getters and setters are now hot reloaded
545* Deleted instance methods are now deleted during hot reloading
546* Single method form of
547 [autobind-decorator](https://github.com/andreypopp/autobind-decorator) is now
548 supported
549
550What might get broken:
551
552* We no longer overwrite or even touch the original class. Every time makeHot is
553 invoked, it will return a special proxy class. This means a caveat: for
554 example, static methods will only be hot-reloaded if you refer to them as
555 `this.constructor.doSomething()` instead of `FooBar.doSomething()`. This is
556 because React Hot Loader calls `makeHot` right before exporting, so `FooBar`
557 still refers to the original class. Similarly, `this.constructor === App` will
558 be `false` inside `App` unless you call `App = makeHot(App)` manually, which
559 you can't do with React Hot Loader. **I'm not sure how much of a problem this
560 will be, so let me know if it pains you.** In the longer term, we will
561 deprecate React Hot Loader in favor of a Babel plugin which will be able to
562 rewrite class definitions correctly, so it shouldn't be a problem for a long
563 time. If there is demand, we can introduce a mode that rewrites passed
564 classes, too.
565
566### 1.3.1
567
568* Fix import for ReactMount to support 15.4.0
569 (**[#430](https://github.com/gaearon/react-hot-loader/pull/430)**)
570
571### 1.3.0
572
573* Recover from module errors on module level
574 (**[#187](https://github.com/gaearon/react-hot-loader/pull/187)**)
575
576### 1.2.9
577
578* Silently ignore exports that raise an error when accessed (#114)
579* Update `source-map` dependency
580
581### 1.2.8
582
583* Remove React from peerDependencies
584* Update React Hot API to support React 0.14 beta 1
585
586### 1.2.7
587
588* Preserve CommonJS `exports` context in the wrapping closure
589 (**[#124](https://github.com/gaearon/react-hot-loader/issues/124)**)
590
591### 1.2.6
592
593* Fix autobinding on newly added methods for `createClass`-style classes
594
595### 1.2.5
596
597* Fix “React is not defined” error
598
599### 1.2.4
600
601* Avoid updating each class twice in React 0.12
602
603### 1.2.3
604
605* Explicitly exclude `react/lib` files from processing. You **should** use
606 `exclude: /node_modules/` in configuration, but at least this doesn't blow up
607 for those who don't.
608
609### 1.2.2
610
611* Fix crash on React 0.13. Now compatible!
612
613### 1.2.1
614
615* Don't try to flatten inheritance chains, as it causes problems with `super`
616* Instead, automatically opt custom base classes into hot reloading as long as
617 they descend from `React.Component` (in React 0.13). If your custom base class
618 doesn't do that but you'd still want to have hot reloading, you need to
619 manually opt it in via `module.makeHot` API.
620
621### 1.2.0
622
623* Support hot-reloading components without a base class
624 (**[react-hot-api#5](https://github.com/gaearon/react-hot-api/issues/5)**)
625* Support hot-reloading inheritance chains
626 (**[react-hot-api#10](https://github.com/gaearon/react-hot-api/issues/10)**)
627* Support using React 0.13 as an external
628
629### 1.1.7
630
631* Add React 0.13 RC2 to peerDeps
632
633### 1.1.6
634
635* Allow React 0.13 RC1
636* Better support for ES6 inheritance
637* Fix reloading for modules with null prototype chain (**#82**)
638
639### 1.1.5
640
641* Wrap user code in IEFF to prevent losing `"use strict"`. Fixes #75
642
643### 1.1.4
644
645* Fix crash when hot-reloading element factory. (Note: React discourages
646 exporting factories.)
647
648### 1.1.3
649
650* Avoid warnings on React 0.13
651
652### 1.1.2
653
654* Compatibility with React 0.13.0-beta.1
655
656### 1.1.1
657
658* Fix edge cases by requiring `react/lib/ReactMount` in transformed source files
659* Add a warning if `ReactMount` doesn't return anything useful (e.g. when using
660 external React)
661
662### 1.1.0
663
664* Skipping `node_modules` entirely
665 [wasn't](https://github.com/gaearon/react-hot-loader/issues/58)
666 [the best idea](https://github.com/gaearon/react-hot-loader/issues/55).
667 Instead, we now specifically skip `node_modules/react/`,
668 `node_modules/webpack/` and `node_modules/react-hot-loader/`. However you are
669 still **encouraged** to
670 [add `exclude: /node_modules/` to your loader config](https://github.com/gaearon/react-hot-boilerplate/blob/master/webpack.config.js#L24)
671 for best performance.
672* Now modules that don't export any valid React classes in `module.exports` or
673 any its properties will not be auto-accepted. This prevents hot loader from
674 trying to handle non-React updates and allows changes in plain JS files to
675 propagate to components that can handle them. For example, this allows
676 [react-jss](https://github.com/jsstyles/react-jss) mixin to apply hot updates
677 to JSS styles.
678
679### 1.0.7
680
681* Skip `node_modules` entirely. Fixes
682 [#54](https://github.com/gaearon/react-hot-loader/issues/54) on Windows.
683
684### 1.0.6
685
686* Add `require('react-hot-loader/Injection')` to override Hot Loader behavior.
687 Now you can supply your own way of getting root component instances, so Hot
688 Loader can also work in environment where `require('react/lib/ReactMount')` is
689 not available (for example,
690 [when React is used as standalone bundle and not NPM package](https://github.com/gaearon/react-hot-loader/issues/53)).
691
692### 1.0.5
693
694* Fix stack overflow when hotifying same class twice
695 ([#52](https://github.com/gaearon/react-hot-loader/issues/52))
696
697### 1.0.4
698
699* Allow both `module.exports` and its properties be components (Fixes
700 [#50](https://github.com/gaearon/react-hot-loader/issues/50))
701
702### 1.0.3
703
704* In addition to hotifying `module.exports` by default, also hotify all its own
705 properties
706
707### 1.0.2
708
709* Don't try to hot-replace `module.export`ed `ReactElement`s
710
711### 1.0.1
712
713* Delay `require`ing `ReactMount` to avoid circular dependencies
714* Don't process React or Webpack internals to avoid potential issues
715
716### 1.0.0
717
718* Don't rely on `createClass` regex or any other regex
719* Only `module.exports` is hot by default
720* Supports ES6 classes when they land in React 0.13
721* Supports dynamically created classes
722* Manual mode
723
724See
725[what changed and how to migrate to 1.0](https://github.com/gaearon/react-hot-loader/blob/master/docs/README.md#migrating-to-10).
726
727### 0.5.0
728
729* Adds source map support, contributed by
730 [Jake Riesterer](https://github.com/jRiest)
731
732### 0.4.5
733
734* Collapse all hot loader code in one line so it doesn't obscure beginning of
735 file.
736
737### 0.4.4
738
739* Errors occuring in module definition (such as `ReferenceError`) should not
740 disable further reloading (fixes
741 **[#29](https://github.com/gaearon/react-hot-loader/issues/29)**)
742
743### 0.4.3
744
745* Support lowercase `react` reference name and usage with ES6 classes
746 (`createClass(MyComponent.prototype)`) via
747 **[#27](https://github.com/gaearon/react-hot-loader/issues/27)**
748
749### 0.4.2
750
751* Catch errors in modules and log them instead of reloading (fixes
752 **[#21](https://github.com/gaearon/react-hot-loader/issues/21)**)
753
754### 0.4.1
755
756* Use more precise
757 [`React.createClass` regex](https://github.com/gaearon/react-hot-loader/commit/f71c6785131adcc85b91789da0d0a0b9f1a9713f)
758 to avoid matching own code when hot loader is applied to all JS files.
759
760### 0.4.0
761
762* Ignore files that contain no `createClass` calls (fixes
763 **[#17](https://github.com/gaearon/react-hot-loader/issues/17)**)
764* Remove the need for pitch loader (fixes
765 **[#19](https://github.com/gaearon/react-hot-loader/issues/19)**)
766* Improve performance by only using one loader instead of two
767* Now that performance is acceptable, remove desktop notifications and `notify`
768 option
769* It is now recommended that you use `devtool: 'eval'` because it's much faster
770 and has no downsides anymore
771
772### 0.3.1
773
774* Avoid warnings on old browsers with missing `Notification` API
775* Errors don't cause page reload anymore
776
777### 0.3.0
778
779* Use React 0.11
780
\No newline at end of file