|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -### Unreleased |
4 | | - |
| 3 | +### 2.0.0 |
| 4 | + |
| 5 | +- ⚠ Breaking Change! |
| 6 | + - `<Resizable>` used to pass unknown props onto its child. For example: |
| 7 | + ```js |
| 8 | + <Resizable foo="bar"><div /></Resizable> |
| 9 | + ``` |
| 10 | + In this example, when `<Resizable>` wrapped its child `div`, it would pass on `foo="bar"`. This has been removed. |
| 11 | + - I do not expect meaningful breakage in the wild from this change, as the behavior in 1.x was unexpected and not generally useful. |
| 12 | + - If this change breaks your use case, please pass props directly to the child component rather than expecting `<Resizable>` to pass it downward. |
| 13 | + - See [#133](https://github.com/STRML/react-resizable/pull/133) for more details. |
5 | 14 | - 🐛 Bugfix: remove unknown Prop `handle` from div children in Resizable React.CloneElement [124](https://github.com/STRML/react-resizable/issues/124) |
| 15 | +- ✏ Chore: Improved test suite. Please contribute tests for your use cases if you have the time, I would really appreciate it! Thanks very much, @Danielecina |
6 | 16 |
|
7 | 17 | ### 1.10.1 (Nov 25, 2019) |
8 | 18 |
|
9 | 19 | > Note: 1.10.0 was a mis-publish. |
10 | 20 |
|
11 | | -- Feat: Add `transformScale` prop [#115](https://github.com/STRML/react-resizable/pull/115) |
12 | | -- Bugfix: Resolve `getDerivedStateFromProps` dev warning [#117](https://github.com/STRML/react-resizable/pull/117) |
| 21 | +- ➕ Feature: Add `transformScale` prop [#115](https://github.com/STRML/react-resizable/pull/115) |
| 22 | +- 🐛 Bugfix: Resolve `getDerivedStateFromProps` dev warning [#117](https://github.com/STRML/react-resizable/pull/117) |
13 | 23 |
|
14 | 24 | ### 1.9.0 (Oct 24, 2019) |
15 | 25 |
|
16 | | -- Fix resize with north/south handles when `lockAspectRatio=true` [#106](https://github.com/STRML/react-resizable/pull/106) |
17 | | -- Remove deprecated React 16.9 lifecycle methods (`componentWillReceiveProps`) (https://github.com/STRML/react-resizable/pull/112/commits/541dee69b8e45d91a533855609472b481634edee) |
18 | | -- Upgrade to babel 7 |
19 | | -- [Remove unused state inside `<Draggable>`](https://github.com/STRML/react-resizable/pull/112/commits/05693f63d6d221ad652f0f28af024cfb46a5f2df). This has not been needed for quite some time, fixes [some bugs](https://github.com/STRML/react-resizable/issues/99) and improves performance. |
| 26 | +- 🐛 Bugfix: Fix resize with north/south handles when `lockAspectRatio=true` [#106](https://github.com/STRML/react-resizable/pull/106) |
| 27 | +- ✏ Chore: Remove deprecated React 16.9 lifecycle methods (`componentWillReceiveProps`) (https://github.com/STRML/react-resizable/pull/112/commits/541dee69b8e45d91a533855609472b481634edee) |
| 28 | +- ✏ Chore: Upgrade to babel 7 |
| 29 | +- ✏ Chore: [Remove unused state inside `<Draggable>`](https://github.com/STRML/react-resizable/pull/112/commits/05693f63d6d221ad652f0f28af024cfb46a5f2df). This has not been needed for quite some time, fixes [some bugs](https://github.com/STRML/react-resizable/issues/99) and improves performance. |
20 | 30 |
|
21 | 31 | ### 1.8.0 (May 15, 2019) |
22 | 32 |
|
23 | | -- Added support for custom resize handles [#79](https://github.com/STRML/react-resizable/pull/79) |
24 | | -- Added support for resize handles on all corners [#191](https://github.com/STRML/react-resizable/pull/191) |
| 33 | +- ➕ Feature: Added support for custom resize handles [#79](https://github.com/STRML/react-resizable/pull/79) |
| 34 | +- ➕ Feature: Added support for resize handles on all corners [#191](https://github.com/STRML/react-resizable/pull/191) |
25 | 35 |
|
26 | 36 | ### 1.7.5 (Sep 26, 2017) |
27 | 37 |
|
28 | | -- Support for React 16 (no changes required, updated `peerDependencies`) |
29 | | -- Minor dep updates. |
| 38 | +- ✏ Chore: Support for React 16 (no changes required, updated `peerDependencies`) |
| 39 | +- ✏ Chore: Minor dep updates. |
30 | 40 |
|
31 | 41 | ### 1.7.4 (Sep 5, 2017) |
32 | 42 |
|
33 | | -- Minor Flow & dependency updates. |
| 43 | +- ✏ Chore: Minor Flow & dependency updates. |
34 | 44 |
|
35 | 45 | ### 1.7.3 (Aug 31, 2017) |
36 | 46 |
|
37 | | -- Fix React deprecation warnings from `import *` |
| 47 | +- 🐛 Bugfix: React deprecation warnings from `import *` |
38 | 48 | - https://github.com/facebook/react/issues/10583 |
39 | 49 |
|
40 | 50 | ### 1.7.2 (Aug 21, 2017) |
41 | 51 |
|
42 | | -- Pkg: Add `react-draggable@3.0.0` to version range. |
| 52 | +- ✏ Chore: Pkg: Add `react-draggable@3.0.0` to version range. |
43 | 53 | - This package is compatible with both `@2` and `@3` versions. |
44 | 54 |
|
45 | 55 | ### 1.7.1 (May 23, 2017) |
46 | 56 |
|
47 | | -- Bugfix: Some flow types were improperly specified. |
| 57 | +- 🐛 Bugfix: Some flow types were improperly specified. |
48 | 58 |
|
49 | 59 | ### 1.7.0 (May 1, 2017) |
50 | 60 |
|
51 | | -- Deprecation: `React.PropTypes` now deprecated in React 15.5, moved to `prop-types` package |
52 | | -- Internal: Update devDeps, upgrade to webpack 2 |
53 | | -- Internal: Remove babel `stage-1` and `transform-flow-comments`, bring in only selected plugins, makes for leaner dev/build. |
| 61 | +- ⚠ Deprecation: `React.PropTypes` now deprecated in React 15.5, moved to `prop-types` package |
| 62 | +- ✏ Chore: Update devDeps, upgrade to webpack 2 |
| 63 | +- ✏ Chore: Remove babel `stage-1` and `transform-flow-comments`, bring in only selected plugins, makes for leaner dev/build. |
54 | 64 |
|
55 | 65 | ### 1.6.0 (Jan 23, 2017) |
56 | 66 |
|
57 | | -- Feature: Allow restricting by axis. (#40, thanks @dnissley-al) |
| 67 | +- ➕ Feature: Allow restricting by axis. (#40, thanks @dnissley-al) |
58 | 68 |
|
59 | 69 | ### 1.5.0 (Jan 23, 2017) |
60 | 70 |
|
61 | | -- Bugfix: Persist SyntheticEvents when needed (#45, #46) |
62 | | -- Feature: Add componentWillReceiveProps to `<ResizableBox>` (#44, thanks @JoaoMosmann) |
| 71 | +- 🐛 Bugfix: Persist SyntheticEvents when needed (#45, #46) |
| 72 | +- ➕ Feature: Add componentWillReceiveProps to `<ResizableBox>` (#44, thanks @JoaoMosmann) |
63 | 73 |
|
64 | 74 | ### 1.4.6 (Dec 30, 2016) |
65 | 75 |
|
66 | | -- Removed unused ref from `<Resizable>`. |
67 | | -- Added development lockfile. |
| 76 | +- ✏ Chore: Removed unused ref from `<Resizable>`. |
| 77 | +- ✏ Chore: Added development lockfile. |
68 | 78 |
|
69 | 79 | ### 1.4.5 (Sep 30, 2016) |
70 | 80 |
|
71 | | -- Fix bad publish |
| 81 | +- 🐛 Bugfix: Fix bad publish |
72 | 82 |
|
73 | 83 | ### 1.4.4 (Sep 30, 2016) |
74 | 84 |
|
75 | | -- Bugfix: Minor flow errors |
| 85 | +- 🐛 Bugfix: Minor flow errors |
76 | 86 |
|
77 | 87 | ### 1.4.3 (Sep 27, 2016) |
78 | 88 |
|
79 | | -- Bugfix: Don't pass `onResize` in `<ResizableBox>`. |
80 | | -- Bugfix: Fix new Flow errors (type parameters no longer optional). |
| 89 | +- 🐛 Bugfix: Don't pass `onResize` in `<ResizableBox>`. |
| 90 | +- 🐛 Bugfix: Fix new Flow errors (type parameters no longer optional). |
81 | 91 |
|
82 | 92 | ### 1.4.2 (July 1, 2016) |
83 | 93 |
|
84 | | -- Bugfix: Don't pass unknown props to underlying DOM element. Fixes React 15.2.0 warnings. |
| 94 | +- 🐛 Bugfix: Don't pass unknown props to underlying DOM element. Fixes React 15.2.0 warnings. |
85 | 95 |
|
86 | 96 | ### 1.4.1 (May 23, 2016) |
87 | 97 |
|
88 | | -- Bugfix: Resizable handle should have a `key` when injected. Fixes React warnings on custom components. |
| 98 | +- 🐛 Bugfix: Resizable handle should have a `key` when injected. Fixes React warnings on custom components. |
89 | 99 |
|
90 | 100 | ### 1.4.0 (May 20, 2016) |
91 | 101 |
|
92 | | -- Update to React-Draggable v2, which changed callback data structure. |
| 102 | +- ✏ Chore: Update to React-Draggable v2, which changed callback data structure. |
93 | 103 |
|
94 | 104 | ### 1.3.4 (May 17, 2016) |
95 | 105 |
|
96 | | -- Bugfix: Slack was not being reset on resizeStop. Fixes #34, #36. |
97 | | -- Added `flow-bin` to devDeps. |
| 106 | +- 🐛 Bugfix: Slack was not being reset on resizeStop. Fixes #34, #36. |
| 107 | +- ✏ Chore: Added `flow-bin` to devDeps. |
98 | 108 |
|
99 | 109 | ### 1.3.3 (Apr 19, 2016) |
100 | 110 |
|
101 | | -- Enhancement: Add Flow comments. |
| 111 | +- ➕ Feature: Add Flow comments. |
102 | 112 |
|
103 | 113 | ### 1.3.2 (Apr 8, 2016) |
104 | 114 |
|
105 | | -- Bugfix: Prevent `width` and `height` from leaking to the underlying DOM element and being written. |
| 115 | +- 🐛 Bugfix: Prevent `width` and `height` from leaking to the underlying DOM element and being written. |
106 | 116 |
|
107 | 117 | ### 1.3.1 (Apr 8, 2016) |
108 | 118 |
|
109 | | -- Allow React v15 in peerdeps. |
| 119 | +- ✏ Chore: Allow React v15 in peerdeps. |
110 | 120 |
|
111 | 121 | ### 1.3.0 (Mar 11, 2016) |
112 | 122 |
|
113 | | -- Switch to ES2015 Loose Mode to fix IE9/10 issues. |
114 | | -- Flow typing fixes. |
115 | | -- Styling fixes to the demo page. |
| 123 | +- 🐛 Bugfix: Switch to ES2015 Loose Mode to fix IE9/10 issues. |
| 124 | +- 🐛 Bugfix: Flow typing fixes. |
| 125 | +- 🐛 Bugfix: Styling fixes to the demo page. |
116 | 126 |
|
117 | 127 | > Changes before 1.3.0 were not logged. Please see the git commit history. |
0 commit comments