|
1 | 1 | ### Next
|
2 | 2 |
|
| 3 | +- [UPGRADE] Remove the use of `componentWillMount` which is unsafe. |
| 4 | +- [DEPENDENCY] Remove the `warning` dependency since function refs are now standard practice. |
| 5 | +- [CHORE] Switch to a monorepo for the lib and demo and use CRA for the demo app. |
| 6 | +- [CHORE] Use Prettier. |
3 | 7 |
|
4 | 8 | ### v3.0.3 (25 April 2017)
|
5 | 9 |
|
6 |
| -* [UPGRADE] Update dependencies to latest stable versions. |
7 |
| -* [ENHANCEMENT] Remove the `react-transition-group` dependency. (#56) |
| 10 | +- [UPGRADE] Update dependencies to latest stable versions. |
| 11 | +- [ENHANCEMENT] Remove the `react-transition-group` dependency. (#56) |
8 | 12 |
|
9 | 13 | ### v3.0.2 (7 October 2017)
|
10 | 14 |
|
11 |
| -* [BUGFIX] Fix updating children when the current child re-renders itself. (#53) |
| 15 | +- [BUGFIX] Fix updating children when the current child re-renders itself. (#53) |
12 | 16 |
|
13 | 17 | ### v2.2.2 (6 October 2017)
|
14 | 18 |
|
15 |
| -* [UPGRADE] Support React 16 in v2. (#55 thanks @GeKrom) |
| 19 | +- [UPGRADE] Support React 16 in v2. (#55 thanks @GeKrom) |
16 | 20 |
|
17 | 21 | ### v3.0.1 (2 October 2017)
|
18 | 22 |
|
19 |
| -* [BUGFIX] Prevent animating child selection with CSS rather than clearing with JS so form inputs don't lose focus on each update. (#50) |
20 |
| -* [BUGFIX] Switch the container to relative positioning on the render before the transitions start to avoid the glitch |
21 |
| - in Edge without using permanent relative positioning which is not an option. (#52) |
22 |
| -* [DOCS] Add an example where the height transition is delayed until after the leave transition. (#43) |
| 23 | +- [BUGFIX] Prevent animating child selection with CSS rather than clearing with JS so form inputs don't lose focus on each update. (#50) |
| 24 | +- [BUGFIX] Switch the container to relative positioning on the render before the transitions start to avoid the glitch |
| 25 | + in Edge without using permanent relative positioning which is not an option. (#52) |
| 26 | +- [DOCS] Add an example where the height transition is delayed until after the leave transition. (#43) |
23 | 27 |
|
24 | 28 | ### v3.0.0 (27 August 2017)
|
25 | 29 |
|
26 | 30 | ##### Breaking change
|
27 | 31 |
|
28 |
| -* [FEATURE] The `isLeaving` prop is only added to children if opted in with `notifyLeaving={true}` since it's |
29 |
| - a departure from `react-transition-group` features. |
| 32 | +- [FEATURE] The `isLeaving` prop is only added to children if opted in with `notifyLeaving={true}` since it's |
| 33 | + a departure from `react-transition-group` features. |
30 | 34 |
|
31 | 35 | ##### Non-breaking changes
|
32 | 36 |
|
33 |
| -* [ENHANCEMENT] Treat a child rendering `null` as if there is no child; specifically helps avoid errors with RR4. |
34 |
| -* [ENHANCEMENT] Maintain component callback refs by not overwriting with string refs similar to `react-transition-group`. |
35 |
| -* [ENHANCEMENT] Use `requestAnimationFrame` to queue the height transition rather than a timeout. |
36 |
| -* [ENHANCEMENT] Handle the enter and leave animation of changes due to successive child updates before the current transition ends. |
37 |
| -* [ENHANCEMENT] Clear the selection after transitions to avoid the child being selected after multiple clicks. |
38 |
| -* [ENHANCEMENT] Entering child renders with absolute positioning since switching from relative to abs on a premature leave cancels the active enter animation. |
39 |
| -* [ENHANCEMENT] Fix enter animation of absolutely positioned elements in Chrome not working by skipping one animation frame in the Child component. |
40 |
| -* [ENHANCEMENT] Fix Edge glitch when render starts by always applying container `position`, `display` (use a `div`) and `overflow` styles. |
| 37 | +- [ENHANCEMENT] Treat a child rendering `null` as if there is no child; specifically helps avoid errors with RR4. |
| 38 | +- [ENHANCEMENT] Maintain component callback refs by not overwriting with string refs similar to `react-transition-group`. |
| 39 | +- [ENHANCEMENT] Use `requestAnimationFrame` to queue the height transition rather than a timeout. |
| 40 | +- [ENHANCEMENT] Handle the enter and leave animation of changes due to successive child updates before the current transition ends. |
| 41 | +- [ENHANCEMENT] Clear the selection after transitions to avoid the child being selected after multiple clicks. |
| 42 | +- [ENHANCEMENT] Entering child renders with absolute positioning since switching from relative to abs on a premature leave cancels the active enter animation. |
| 43 | +- [ENHANCEMENT] Fix enter animation of absolutely positioned elements in Chrome not working by skipping one animation frame in the Child component. |
| 44 | +- [ENHANCEMENT] Fix Edge glitch when render starts by always applying container `position`, `display` (use a `div`) and `overflow` styles. |
41 | 45 |
|
42 | 46 | ### v2.2.1 (29 April 2017)
|
43 | 47 |
|
44 |
| -* [UPGRADE] Add a `yarn` lock file. |
45 |
| -* [UPGRADE] Use `prop-types` instead of `React.PropTypes` for React `15.5.0`. |
46 |
| -* [UPGRADE] Use `react-transition-group/CSSTransitionGroup` instead of `react-addons...` (thanks @ali) (#45) |
| 48 | +- [UPGRADE] Add a `yarn` lock file. |
| 49 | +- [UPGRADE] Use `prop-types` instead of `React.PropTypes` for React `15.5.0`. |
| 50 | +- [UPGRADE] Use `react-transition-group/CSSTransitionGroup` instead of `react-addons...` (thanks @ali) (#45) |
47 | 51 |
|
48 | 52 | ### v2.2.0 (27 February 2017)
|
49 | 53 |
|
50 |
| -* [FEATURE] Remove element at once when transitionLeave is false. (thanks @wifilinker) (#34) |
51 |
| -* [FEATURE] Use next component sizes when current does not exist. (thanks @wifilinker) (#34) |
52 |
| -* [BUGFIX] Avoid silencing transition when this.state.nextChild exists. (thanks @wifilinker) (#34) |
53 |
| -* [FEATURE] Add class with `-height-active` suffix when transitioning. (thanks @wifilinker) (#34) |
54 |
| -* [BUGFIX] Exclude `gh-pages` from the npm package. (#37) |
55 |
| -* [BUGFIX] Remove comma dangle after rest property. (#39) |
| 54 | +- [FEATURE] Remove element at once when transitionLeave is false. (thanks @wifilinker) (#34) |
| 55 | +- [FEATURE] Use next component sizes when current does not exist. (thanks @wifilinker) (#34) |
| 56 | +- [BUGFIX] Avoid silencing transition when this.state.nextChild exists. (thanks @wifilinker) (#34) |
| 57 | +- [FEATURE] Add class with `-height-active` suffix when transitioning. (thanks @wifilinker) (#34) |
| 58 | +- [BUGFIX] Exclude `gh-pages` from the npm package. (#37) |
| 59 | +- [BUGFIX] Remove comma dangle after rest property. (#39) |
56 | 60 |
|
57 | 61 | ### v2.1.0 (6 December 2016)
|
58 | 62 |
|
59 |
| -* [FEATURE] Add the `changeWidth` prop to have the container width animated along with the height. (thanks @wifilinker) (#31) |
60 |
| -* [UPGRADE] Upgrade dev dependencies to latest versions; `react-bootstrap@0.30.5` fixes the demo unknown props warnings. |
| 63 | +- [FEATURE] Add the `changeWidth` prop to have the container width animated along with the height. (thanks @wifilinker) (#31) |
| 64 | +- [UPGRADE] Upgrade dev dependencies to latest versions; `react-bootstrap@0.30.5` fixes the demo unknown props warnings. |
61 | 65 |
|
62 | 66 | ### v2.0.1 (14 September 2016)
|
63 | 67 |
|
64 |
| -* [DOCUMENTATION] Minor grammar improvement in the README. |
| 68 | +- [DOCUMENTATION] Minor grammar improvement in the README. |
65 | 69 |
|
66 | 70 | ### v2.0.0 (14 September 2016)
|
67 | 71 |
|
68 |
| -* [ENHANCEMENT] Add support for IE<=11 (thanks @le0nik) (#22, #23) |
69 |
| -* [ENHANCEMENT] Provide an `isLeaving` prop on the current child component while it is leaving. (thanks @le0nik) |
70 |
| -* [ENHANCEMENT] Add ability to provide custom `height` className (useful for `css-modules`) (thanks @le0nik) (#20, #21) |
71 |
| -* [BUGFIX] Fix multiple remounts of children (thanks @le0nik) (#24) |
72 |
| -* [BUGFIX] Allow the child, that is leaving, to be `null` (thanks @le0nik) |
| 72 | +- [ENHANCEMENT] Add support for IE<=11 (thanks @le0nik) (#22, #23) |
| 73 | +- [ENHANCEMENT] Provide an `isLeaving` prop on the current child component while it is leaving. (thanks @le0nik) |
| 74 | +- [ENHANCEMENT] Add ability to provide custom `height` className (useful for `css-modules`) (thanks @le0nik) (#20, #21) |
| 75 | +- [BUGFIX] Fix multiple remounts of children (thanks @le0nik) (#24) |
| 76 | +- [BUGFIX] Allow the child, that is leaving, to be `null` (thanks @le0nik) |
73 | 77 |
|
74 | 78 | ### v1.3.0 (9 July 2016)
|
75 | 79 |
|
76 |
| -* [ENHANCEMENT] When removing an element just added to an empty container transitions are reset to avoid getting stuck. |
77 |
| -* [ENHANCEMENT] When starting a height transition and the entering element hasn't rendered wait another tick. (#6,#10) |
78 |
| -* [ENHANCEMENT] Don't pass non-standard DOM props to the component as required by `react 15.2.0`. (#17) |
79 |
| -* [UPGRADE] Use `react@15.2.0` and upgraded dev dependencies. (Should still work with `react@0.14` with `npm` warnings) |
80 |
| -* [ENHANCEMENT] Use the spread operator rather than `object-assign`. (#16) |
| 80 | +- [ENHANCEMENT] When removing an element just added to an empty container transitions are reset to avoid getting stuck. |
| 81 | +- [ENHANCEMENT] When starting a height transition and the entering element hasn't rendered wait another tick. (#6,#10) |
| 82 | +- [ENHANCEMENT] Don't pass non-standard DOM props to the component as required by `react 15.2.0`. (#17) |
| 83 | +- [UPGRADE] Use `react@15.2.0` and upgraded dev dependencies. (Should still work with `react@0.14` with `npm` warnings) |
| 84 | +- [ENHANCEMENT] Use the spread operator rather than `object-assign`. (#16) |
81 | 85 |
|
82 | 86 | ### v1.2.0-beta (18 April 2016)
|
83 | 87 |
|
84 |
| -* [UPGRADE] Add peer dependency `react@15.0.1`. |
85 |
| -* [ENHANCEMENT] Add a `displayName` field. |
| 88 | +- [UPGRADE] Add peer dependency `react@15.0.1`. |
| 89 | +- [ENHANCEMENT] Add a `displayName` field. |
86 | 90 |
|
87 | 91 | ### v1.1.2 (9 April 2016)
|
88 | 92 |
|
89 |
| -* [UPGRADE] Use the `object-assign` lib, as [React 15 does](https://github.com/facebook/react/pull/6376), rather |
90 |
| - than `react/lib/Object.assign` which has been removed. (#14) |
| 93 | +- [UPGRADE] Use the `object-assign` lib, as [React 15 does](https://github.com/facebook/react/pull/6376), rather |
| 94 | + than `react/lib/Object.assign` which has been removed. (#14) |
91 | 95 |
|
92 | 96 | ### v1.1.1 (4 April 2016)
|
93 | 97 |
|
94 |
| -* [BUGFIX] Corrected the file name in the `main` field of package.json. (#13) |
95 |
| -* [BUGFIX] Allow prop `transitionName` to be of type `object`. (#9,#12) |
96 |
| -* [DOCUMENTATION] Added a Hardware Acceleration example to the README. (#8) |
97 |
| -* [DOCUMENTATION] Add a note that `transitionAppear` is also supported. (#7) |
| 98 | +- [BUGFIX] Corrected the file name in the `main` field of package.json. (#13) |
| 99 | +- [BUGFIX] Allow prop `transitionName` to be of type `object`. (#9,#12) |
| 100 | +- [DOCUMENTATION] Added a Hardware Acceleration example to the README. (#8) |
| 101 | +- [DOCUMENTATION] Add a note that `transitionAppear` is also supported. (#7) |
98 | 102 |
|
99 | 103 | ### v1.1.0 (24 November 2015)
|
100 | 104 |
|
101 |
| -* [ENHANCEMENT] The entering component, which is absolutely positioned, is not only positioned with `top:0` and `left:0` |
102 |
| - styles, but also `right:0` and `bottom:0` so smaller content fills the entire container. |
| 105 | +- [ENHANCEMENT] The entering component, which is absolutely positioned, is not only positioned with `top:0` and `left:0` |
| 106 | + styles, but also `right:0` and `bottom:0` so smaller content fills the entire container. |
103 | 107 |
|
104 | 108 | ### v1.0.1 (24 November 2015)
|
105 | 109 |
|
106 |
| -* [ENHANCEMENT] Support no children so the child component can be removed / added. (#4) |
107 |
| -* [ENHANCEMENT] Added an add/remove content section to the demo and docs. |
| 110 | +- [ENHANCEMENT] Support no children so the child component can be removed / added. (#4) |
| 111 | +- [ENHANCEMENT] Added an add/remove content section to the demo and docs. |
108 | 112 |
|
109 | 113 | ### v1.0.0 (8 November 2015)
|
110 | 114 |
|
111 |
| -* [ENHANCEMENT] Publish the demo page on [`gh-pages`](http://marnusw.github.io/react-css-transition-replace/). |
112 |
| -* [ENHANCEMENT] Added a demo page; to view run `npm install` and `gulp demo`. |
113 |
| -* [ENHANCEMENT] Allow in place transitions fully configurable in CSS. |
114 |
| -* [ENHANCEMENT] Use `ReactCSSTransitionGroupChild` rather than defining yet another child wrapper. |
115 |
| -* [ENHANCEMENT] More stable implementation which does not call `setState` in `componentDidUpdate` among other improvements. |
116 |
| - |
| 115 | +- [ENHANCEMENT] Publish the demo page on [`gh-pages`](http://marnusw.github.io/react-css-transition-replace/). |
| 116 | +- [ENHANCEMENT] Added a demo page; to view run `npm install` and `gulp demo`. |
| 117 | +- [ENHANCEMENT] Allow in place transitions fully configurable in CSS. |
| 118 | +- [ENHANCEMENT] Use `ReactCSSTransitionGroupChild` rather than defining yet another child wrapper. |
| 119 | +- [ENHANCEMENT] More stable implementation which does not call `setState` in `componentDidUpdate` among other improvements. |
| 120 | + |
117 | 121 | ### v0.2.1 (26 October 2015)
|
118 | 122 |
|
119 |
| -* [UPGRADE] Upgrade React.js to v0.14.0. |
120 |
| - |
| 123 | +- [UPGRADE] Upgrade React.js to v0.14.0. |
| 124 | + |
121 | 125 | ### v0.2.0 (28 September 2015)
|
122 | 126 |
|
123 |
| -* [DEPENDENCY] Removed the `classnames` dependency. |
124 |
| -* [ENHANCEMENT] The `${transitionName}-height` class is only added while the height transition is active. |
125 |
| -* [ENHANCEMENT] The `ReactCSSTransitionReplace` component require `transitionEnterTimeout` etc. props like `ReactCSSTransitionGroup`. |
126 |
| -* [UPGRADE] Upgrade React.js to v0.14.0-rc1. |
| 127 | +- [DEPENDENCY] Removed the `classnames` dependency. |
| 128 | +- [ENHANCEMENT] The `${transitionName}-height` class is only added while the height transition is active. |
| 129 | +- [ENHANCEMENT] The `ReactCSSTransitionReplace` component require `transitionEnterTimeout` etc. props like `ReactCSSTransitionGroup`. |
| 130 | +- [UPGRADE] Upgrade React.js to v0.14.0-rc1. |
127 | 131 |
|
128 | 132 | ### v0.1.4 (9 September 2015)
|
129 | 133 |
|
130 |
| -* [BUGFIX] Using React's `object.assign` method to be ES5 compatible which was the intent. (#2) |
| 134 | +- [BUGFIX] Using React's `object.assign` method to be ES5 compatible which was the intent. (#2) |
131 | 135 |
|
132 | 136 | ### v0.1.3 (12 August 2015)
|
133 | 137 |
|
134 |
| -* [BUGFIX] Added the `classnames` dependency to `package.json`. (#1) |
135 |
| -* [ENHANCEMENT] The `style` prop rules are maintained while animating, only overriding the necessary style rules. |
136 |
| -* [ENHANCEMENT] Stricter and fully configured linting rules. |
137 |
| -* [DOCUMENTATION] Fixed a typo. |
| 138 | +- [BUGFIX] Added the `classnames` dependency to `package.json`. (#1) |
| 139 | +- [ENHANCEMENT] The `style` prop rules are maintained while animating, only overriding the necessary style rules. |
| 140 | +- [ENHANCEMENT] Stricter and fully configured linting rules. |
| 141 | +- [DOCUMENTATION] Fixed a typo. |
138 | 142 |
|
139 | 143 | ### v0.1.2 (10 August 2015)
|
140 | 144 |
|
|
0 commit comments