From 89ce543fe61593cadb790d2e397f5fce26abcdfa Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Wed, 26 Apr 2017 11:25:03 -0700 Subject: [PATCH 1/4] Update Changelog for v15.5.1-15.5.4 This could really use extra code review attention since the history of these changes was a bit convoluted to follow. After talking to @bvaughn and @acdlite, we thought it might make sense to put the 'add-ons' changes in a separate change log. The other option, of including them in the main React change log, seemed the more confusing of the two. Also this commit is related to and somewhat blocked by https://github.com/reactjs/prop-types/pull/40 **what is the change?:** Adding the change log for recent patch versions of React. **why make this change?:** We missed this step in the flurry of releasing patches, and it's useful for folks who want info about what version to use. **test plan:** Visual inspection of the change log. **issue:** https://github.com/facebook/react/issues/9443 --- ADD-ONS-CHANGELOG.md | 59 ++++++++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 18 ++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 ADD-ONS-CHANGELOG.md diff --git a/ADD-ONS-CHANGELOG.md b/ADD-ONS-CHANGELOG.md new file mode 100644 index 0000000000000..e8e38c2208faf --- /dev/null +++ b/ADD-ONS-CHANGELOG.md @@ -0,0 +1,59 @@ +# React Add-Ons Change Log + +As of React v15.5.0 we discontinued active maintenance of the React Addons +packages. In previous versions of React we kept the version numbers of +these packages in sync with the React version, and included updates to +them in the main React `CHANGELOG.md`. + +Since the release versions of these packages are now out of sync with React, +and we are no longer including them as a supported part of React, we have split +out the latest changes into this separate change log. + +## Create Fragment + +### 15.5.3 + +* Fix react-addons-create-fragment package to export correct thing. [See #9383](https://github.com/facebook/react/pull/9383). +* Envify and collapse create-fragment UMD. [See #9383](https://github.com/facebook/react/pull/9383). + +## Create-React-Class + +### 15.5.2 + +* Fix devDeps. [See #9383](https://github.com/facebook/react/pull/9383). +* Add missing object-assign dependency. [See #9383](https://github.com/facebook/react/pull/9383). +* Envify and collapse create-react-class UMD. [See #9383](https://github.com/facebook/react/pull/9383). + +## CSS Transition Group & Transition Group + +## Linked State Mixin + +### 15.5.2 + +* Envify and collapse LinkedStateMixin UMD. [See #9383](https://github.com/facebook/react/pull/9383). + +## Linked Input + +### 15.5.1 + +* Remove unused prop-types dep. [See #9383](https://github.com/facebook/react/pull/9383). +* Fix change handling. [See #9383](https://github.com/facebook/react/pull/9383). +* Fix and collapse LinkedInput UMD. [See #9383](https://github.com/facebook/react/pull/9383). + +## Pure Render Mixin + +### 15.5.2 +* No significant changes + +## Shallow Compare + +### 15.5.2 + +* Uninline shallowEqual in shallowCompare. [See #9385](https://github.com/facebook/react/pull/9385). + +## Test Utils + +### 15.5.1 + +* No significant changes + diff --git a/CHANGELOG.md b/CHANGELOG.md index 3765106bc4ccc..9ba9b891a3db2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## 15.5.4 (April 11, 2017) + +* Fix compatibility with Enzyme by exposing `batchedUpdates` on shallow renderer. [See #9382](https://github.com/facebook/react/commit/69933e25c37cf5453a9ef132177241203ee8d2fd). +* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). + +## 15.5.3 (April 7, 2017) + +* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). + +## 15.5.2 (April 7, 2017) + +* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). + +## 15.5.1 (April 7, 2017) + +* Fix erroneous PropTypes access warning ([see this commit](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) +* Fix bug in `prop-types` - [see PropTypes changelog](https://github.com/reactjs/prop-types/blob/master/CHANGELOG.md). + ## 15.5.0 (April 7, 2017) ### React From c4d1a2098cf4425d1dc95c471e7b809818170a29 Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Thu, 27 Apr 2017 09:49:22 -0700 Subject: [PATCH 2/4] Further improve CHANGELOG entries for v15.5.1-15.5.4 **what is the change?:** - Use the '[@author] in [#PR/commit]' format for annotations - Make annotations less technical, more clear - Move 'React Addons' updates into main changelog - Remove separate 'React Addons' changelog **why make this change?:** These changes each make things more clear and accurate. **test plan:** Visual inspection **issue:** --- ADD-ONS-CHANGELOG.md | 59 -------------------------------------------- CHANGELOG.md | 19 ++++++++++---- 2 files changed, 14 insertions(+), 64 deletions(-) delete mode 100644 ADD-ONS-CHANGELOG.md diff --git a/ADD-ONS-CHANGELOG.md b/ADD-ONS-CHANGELOG.md deleted file mode 100644 index e8e38c2208faf..0000000000000 --- a/ADD-ONS-CHANGELOG.md +++ /dev/null @@ -1,59 +0,0 @@ -# React Add-Ons Change Log - -As of React v15.5.0 we discontinued active maintenance of the React Addons -packages. In previous versions of React we kept the version numbers of -these packages in sync with the React version, and included updates to -them in the main React `CHANGELOG.md`. - -Since the release versions of these packages are now out of sync with React, -and we are no longer including them as a supported part of React, we have split -out the latest changes into this separate change log. - -## Create Fragment - -### 15.5.3 - -* Fix react-addons-create-fragment package to export correct thing. [See #9383](https://github.com/facebook/react/pull/9383). -* Envify and collapse create-fragment UMD. [See #9383](https://github.com/facebook/react/pull/9383). - -## Create-React-Class - -### 15.5.2 - -* Fix devDeps. [See #9383](https://github.com/facebook/react/pull/9383). -* Add missing object-assign dependency. [See #9383](https://github.com/facebook/react/pull/9383). -* Envify and collapse create-react-class UMD. [See #9383](https://github.com/facebook/react/pull/9383). - -## CSS Transition Group & Transition Group - -## Linked State Mixin - -### 15.5.2 - -* Envify and collapse LinkedStateMixin UMD. [See #9383](https://github.com/facebook/react/pull/9383). - -## Linked Input - -### 15.5.1 - -* Remove unused prop-types dep. [See #9383](https://github.com/facebook/react/pull/9383). -* Fix change handling. [See #9383](https://github.com/facebook/react/pull/9383). -* Fix and collapse LinkedInput UMD. [See #9383](https://github.com/facebook/react/pull/9383). - -## Pure Render Mixin - -### 15.5.2 -* No significant changes - -## Shallow Compare - -### 15.5.2 - -* Uninline shallowEqual in shallowCompare. [See #9385](https://github.com/facebook/react/pull/9385). - -## Test Utils - -### 15.5.1 - -* No significant changes - diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ba9b891a3db2..2f3136435dbc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,29 @@ ## 15.5.4 (April 11, 2017) +### React Test Renderer + * Fix compatibility with Enzyme by exposing `batchedUpdates` on shallow renderer. [See #9382](https://github.com/facebook/react/commit/69933e25c37cf5453a9ef132177241203ee8d2fd). -* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). + ## 15.5.3 (April 7, 2017) -* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). +### React Addons + +* Fix react-addons-create-fragment package to export correct thing. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) ## 15.5.2 (April 7, 2017) -* Updates to add-ons - [see add-ons changelog](https://github.com/facebook/react/blob/master/ADD-ONS-CHANGELOG.md). +### React Addons + +* Fix the production single-file builds to not include the development code ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Apply better minification to production single-file builds ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Add missing and remove unnecessary dependencies to packages ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) ## 15.5.1 (April 7, 2017) -* Fix erroneous PropTypes access warning ([see this commit](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) -* Fix bug in `prop-types` - [see PropTypes changelog](https://github.com/reactjs/prop-types/blob/master/CHANGELOG.md). +### React + +* Fix erroneous PropTypes access warning ([@acdlite](https://github.com/acdlite) in ([ec97ebb](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) ## 15.5.0 (April 7, 2017) From a6534a6a606de35ed87f70ea3086db750599b6cb Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Fri, 28 Apr 2017 09:20:55 -0700 Subject: [PATCH 3/4] Fix final nits in CHANGELOG **what is the change?:** - Put backticks around package names - Reformat link to to commit in '([@user](...) in [#NNNN](...))' format - Remove newlines after subheaders; in the past we sometimes have included a newline after the subheader, but most recently it looks like we do not. - Add some missing punctuation. **why make this change?:** Consistency and aesthetics **test plan:** Visual inspection **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f3136435dbc8..77f4d7ab70d59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,29 @@ ## 15.5.4 (April 11, 2017) ### React Test Renderer - -* Fix compatibility with Enzyme by exposing `batchedUpdates` on shallow renderer. [See #9382](https://github.com/facebook/react/commit/69933e25c37cf5453a9ef132177241203ee8d2fd). +* Fix compatibility with Enzyme by exposing `batchedUpdates` on shallow renderer. ([@gaearon](https://github.com/gaearon) in [#9382](https://github.com/facebook/react/commit/69933e25c37cf5453a9ef132177241203ee8d2fd). ## 15.5.3 (April 7, 2017) ### React Addons - -* Fix react-addons-create-fragment package to export correct thing. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Fix `react-addons-create-fragment` package to export correct thing. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) ## 15.5.2 (April 7, 2017) ### React Addons - -* Fix the production single-file builds to not include the development code ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) -* Apply better minification to production single-file builds ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) -* Add missing and remove unnecessary dependencies to packages ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Fix the production single-file builds to not include the development code. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Apply better minification to production single-file builds. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) +* Add missing and remove unnecessary dependencies to packages. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) ## 15.5.1 (April 7, 2017) ### React - -* Fix erroneous PropTypes access warning ([@acdlite](https://github.com/acdlite) in ([ec97ebb](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) +* Fix erroneous PropTypes access warning. ([@acdlite](https://github.com/acdlite) in ([ec97ebb](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) ## 15.5.0 (April 7, 2017) ### React - * Added a deprecation warning for `React.createClass`. Points users to create-react-class instead. ([@acdlite](https://github.com/acdlite) in [d9a4fa4](https://github.com/facebook/react/commit/d9a4fa4f51c6da895e1655f32255cf72c0fe620e)) * Added a deprecation warning for `React.PropTypes`. Points users to prop-types instead. ([@acdlite](https://github.com/acdlite) in [043845c](https://github.com/facebook/react/commit/043845ce75ea0812286bbbd9d34994bb7e01eb28)) * Fixed an issue when using `ReactDOM` together with `ReactDOMServer`. ([@wacii](https://github.com/wacii) in [#9005](https://github.com/facebook/react/pull/9005)) @@ -37,17 +32,14 @@ * Added component stack info to invalid element type warning. ([@n3tr](https://github.com/n3tr) in [#8495](https://github.com/facebook/react/pull/8495)) ### React DOM - * Fixed Chrome bug when backspacing in number inputs. ([@nhunzaker](https://github.com/nhunzaker) in [#7359](https://github.com/facebook/react/pull/7359)) * Added `react-dom/test-utils`, which exports the React Test Utils. ([@bvaughn](https://github.com/bvaughn)) ### React Test Renderer - * Fixed bug where `componentWillUnmount` was not called for children. ([@gre](https://github.com/gre) in [#8512](https://github.com/facebook/react/pull/8512)) * Added `react-test-renderer/shallow`, which exports the shallow renderer. ([@bvaughn](https://github.com/bvaughn)) ### React Addons - * Last release for addons; they will no longer be actively maintained. * Removed `peerDependencies` so that addons continue to work indefinitely. ([@acdlite](https://github.com/acdlite) and [@bvaughn](https://github.com/bvaughn) in [8a06cd7](https://github.com/facebook/react/commit/8a06cd7a786822fce229197cac8125a551e8abfa) and [67a8db3](https://github.com/facebook/react/commit/67a8db3650d724a51e70be130e9008806402678a)) * Updated to remove references to `React.createClass` and `React.PropTypes` ([@acdlite](https://github.com/acdlite) in [12a96b9](https://github.com/facebook/react/commit/12a96b94823d6b6de6b1ac13bd576864abd50175)) @@ -56,20 +48,17 @@ ## 15.4.2 (January 6, 2017) ### React - * Fixed build issues with the Brunch bundler. ([@gaearon](https://github.com/gaearon) in [#8686](https://github.com/facebook/react/pull/8686)) * Improved error messages for invalid element types. ([@spicyj](https://github.com/spicyj) in [#8612](https://github.com/facebook/react/pull/8612)) * Removed a warning about `getInitialState` when `this.state` is set. ([@bvaughn](https://github.com/bvaughn) in [#8594](https://github.com/facebook/react/pull/8594)) * Removed some dead code. ([@diegomura](https://github.com/diegomura) in [#8050](https://github.com/facebook/react/pull/8050), [@dfrownfelter](https://github.com/dfrownfelter) in [#8597](https://github.com/facebook/react/pull/8597)) ### React DOM - * Fixed a decimal point issue on uncontrolled number inputs. ([@nhunzaker](https://github.com/nhunzaker) in [#7750](https://github.com/facebook/react/pull/7750)) * Fixed rendering of textarea placeholder in IE11. ([@aweary](https://github.com/aweary) in [#8020](https://github.com/facebook/react/pull/8020)) * Worked around a script engine bug in IE9. ([@eoin](https://github.com/eoin) in [#8018](https://github.com/facebook/react/pull/8018)) ### React Addons - * Fixed build issues in RequireJS and SystemJS environments. ([@gaearon](https://github.com/gaearon) in [#8686](https://github.com/facebook/react/pull/8686)) * Added missing package dependencies. ([@kweiberth](https://github.com/kweiberth) in [#8467](https://github.com/facebook/react/pull/8467)) From c414e77770369ebb3d4151c8719aaf3706b0345b Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Mon, 1 May 2017 08:49:13 -0700 Subject: [PATCH 4/4] Add deprecation notice to v15.5.0-15.5.3 **what is the change?:** Adding deprecation notice to some recent React versions. **why make this change?:** These versions of React use a version of `prop-types` that had a critical bug. We updated the dependency in React 15.5.4, and hopefully people will see this notice and update. **test plan:** Visual inspection **issue:** https://github.com/facebook/react/pull/9537 --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f4d7ab70d59..6d1a78fc975c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,16 @@ ## 15.5.4 (April 11, 2017) +### React Addons +* **Critical Bugfix:** Update the version of `prop-types` to fix critical bug. ([@gaearon](https://github.com/gaearon) in [#545c87f](https://github.com/facebook/react/commit/545c87fdc348f82eb0c3830bef715ed180785390)) + ### React Test Renderer * Fix compatibility with Enzyme by exposing `batchedUpdates` on shallow renderer. ([@gaearon](https://github.com/gaearon) in [#9382](https://github.com/facebook/react/commit/69933e25c37cf5453a9ef132177241203ee8d2fd). ## 15.5.3 (April 7, 2017) +**Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.** + ### React Addons * Fix `react-addons-create-fragment` package to export correct thing. ([@gaearon](https://github.com/gaearon) in [#9385](https://github.com/facebook/react/pull/9383)) @@ -18,11 +23,15 @@ ## 15.5.1 (April 7, 2017) +**Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.** + ### React * Fix erroneous PropTypes access warning. ([@acdlite](https://github.com/acdlite) in ([ec97ebb](https://github.com/facebook/react/commit/ec97ebbe7f15b58ae2f1323df39d06f119873344)) ## 15.5.0 (April 7, 2017) +**Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.** + ### React * Added a deprecation warning for `React.createClass`. Points users to create-react-class instead. ([@acdlite](https://github.com/acdlite) in [d9a4fa4](https://github.com/facebook/react/commit/d9a4fa4f51c6da895e1655f32255cf72c0fe620e)) * Added a deprecation warning for `React.PropTypes`. Points users to prop-types instead. ([@acdlite](https://github.com/acdlite) in [043845c](https://github.com/facebook/react/commit/043845ce75ea0812286bbbd9d34994bb7e01eb28))