Skip to content

Commit 643dd97

Browse files
committed
chore(changelog): prepare for 1.11.0
Notice we're reverting 2.0.0
1 parent 1a5b0b2 commit 643dd97

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
# Changelog
22

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.
3+
### 1.11.0 (Sep 3, 2020)
4+
5+
- ⚠ Important Notice!
6+
- React-Resizable 2.0.0 was published due to a breaking change in `props` handling. This change ended up actually completely breaking certain workflows, for the dubious benefit of making the code slightly simpler to add to. The breaking change has been reverted, 2.0.0 is now deprecated, and we will continue on the 1.x branch. Future breaking changes to `react-resizable` will upgrade the major version to `3`.
147
- ➕ Feature: `<ResizableBox>` now takes a `style` prop which will be applied on the wrapping `<div>`. `width` and `height` in this prop are ignored.
158
- 🐛 Bugfix: remove unknown Prop `handle` from div children in Resizable `React.cloneElement`. [#124](https://github.com/STRML/react-resizable/issues/124)
169
- 🐛 Bugfix: Fix top and left resizing jerkiness. Thanks @conor-kelleher. [#136](https://github.com/STRML/react-resizable/pull/136)
1710
- ✏ 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
1811
- ✏ Chore: Minor internal refactors and additional tests.
1912
- ✏ Chore: Additional examples.
2013

21-
2214
### 1.10.1 (Nov 25, 2019)
2315

2416
> Note: 1.10.0 was a mis-publish.

0 commit comments

Comments
 (0)