From 07d6f5ade8a8d6ba0a98a42cdc6e248a7c90acb3 Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Wed, 26 Apr 2017 19:36:09 -0700 Subject: [PATCH 1/6] Add CHANGELOG **what is the change?:** Adding a `CHANGELOG.md` **why make this change?:** Since this package is out of sync from React, and is more of a stand-alone module now, we should put records of the changes in it's own change log. **test plan:** visual inspection **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..db9f349 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,14 @@ +## 15.5.4 +* Fix UMD Build. [See this commit](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8). +* Remove dependencies on React in `package.json`. [See this commit](https://github.com/reactjs/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a). + +## 15.5.3 +* Inlined 'React.isValidElement' to eliminate dependency on React. [See #9371](https://github.com/facebook/react/issues/9371#issuecomment-292685424) + and [this commit](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace). + +## 15.5.2 +* Fix bug where `prop-types` module was built with const instead of var `lib/ReactPropTypesSecret.js`. [See #9370](https://github.com/facebook/react/issues/9370) and [this commit](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1). + +## Before 15.5.2 + +PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/master/CHANGELOG.md) From f433938d6686de4b9c7b866740baa48a7c76af8c Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Thu, 27 Apr 2017 08:10:56 -0700 Subject: [PATCH 2/6] Improve `CHANGELOG` entries **what is the change?:** - reformat using '[@author] in [#PR/commit]' - Make annotations less technical and more correct **why make this change?:** To improve readability and consistency. **test plan:** Visual inspection **issue:** facebook/react#9443 --- CHANGELOG.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db9f349..1c22d15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,12 @@ ## 15.5.4 -* Fix UMD Build. [See this commit](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8). -* Remove dependencies on React in `package.json`. [See this commit](https://github.com/reactjs/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a). +* Fix UMD Build. ([@acdlite](https://github.com/acdlite) in [31e9344](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8)) +* Remove bad package url. ([@ljharb](https://github.com/ljharb) in [158198f](https://github.com/reactjs/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a)) ## 15.5.3 -* Inlined 'React.isValidElement' to eliminate dependency on React. [See #9371](https://github.com/facebook/react/issues/9371#issuecomment-292685424) - and [this commit](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace). +* Remove the dependency on the `react` package. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace)) ## 15.5.2 -* Fix bug where `prop-types` module was built with const instead of var `lib/ReactPropTypesSecret.js`. [See #9370](https://github.com/facebook/react/issues/9370) and [this commit](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1). +* Remove accidental uncompiled ES6 syntax in the published package. ([@acdlite](https://github.com/acdlite) in [e191963](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1)) ## Before 15.5.2 From 112f708320b0aaf59ab605179da0b389fcaa9267 Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Fri, 28 Apr 2017 08:55:20 -0700 Subject: [PATCH 3/6] Further corrections to CHANGELOG **what is the change?:** - Add deprecation warning to all versions pre 15.5.7. - Move 'React package inclusion fix' annotation from 15.5.3 to 15.5.2 - Improved wording of 'Reduce size of UMD build' in 15.5.4 - Add note about 'Remove the accidentally included typechecking code...' in 15.5.4 (what commit did this?) - Move 'Remove accidental uncompiled ES6' annotation to 15.5.1 - That leaves no changes under 15.5.3; maybe we released this in an effort to keep this in sync with the main React package? Follow up commit adds annotations for 15.5.4-15.5.8. **why make this change?:** To be more accurate. **test plan:** Visual inspection. **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c22d15..36e1d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,29 @@ ## 15.5.4 -* Fix UMD Build. ([@acdlite](https://github.com/acdlite) in [31e9344](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8)) + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* Reduce the size of the UMD Build. ([@acdlite](https://github.com/acdlite) in [31e9344](https://github.com/reactjs/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8)) * Remove bad package url. ([@ljharb](https://github.com/ljharb) in [158198f](https://github.com/reactjs/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a)) +* Remove the accidentally included typechecking code from the production build. ## 15.5.3 -* Remove the dependency on the `react` package. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace)) + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* No significant changes ## 15.5.2 + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* Remove the accidentally included React package code from the UMD bundle. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace)) + +## 15.5.1 + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + * Remove accidental uncompiled ES6 syntax in the published package. ([@acdlite](https://github.com/acdlite) in [e191963](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1)) -## Before 15.5.2 +## Before 15.5.1 PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/master/CHANGELOG.md) From 78393c7b685b696df3a4daf8e988623a6a31b937 Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Fri, 28 Apr 2017 09:02:01 -0700 Subject: [PATCH 4/6] Add change log for v15.5.4-15.5.8 - credit to @gaearon **what is the change?:** See title. **why make this change?:** To provide information about the version history, and to get people updated to the latest version of this package. **test plan:** Visual inspection. **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36e1d67..5988ab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## 15.5.8 + +* Limit the manual PropTypes call warning count because it has false positives with React versions earlier than 15.2.0 in the 15.x branch and 0.14.9 in the 0.14.x branch. ([@gaearon](https://github.com/gaearon) in [#26](https://github.com/reactjs/prop-types/pull/26)) + +## 15.5.7 + +* **Critical Bugfix:** Fix an accidental breaking change that caused errors in production when used through `React.PropTypes`. ([@gaearon](https://github.com/gaearon) in [#20](https://github.com/reactjs/prop-types/pull/20)) +* Improve the size of production UMD build. ([@aweary](https://github.com/aweary) in [38ba18](https://github.com/reactjs/prop-types/commit/38ba18a4a8f705f4b2b33c88204573ddd604f2d6) and [7882a7](https://github.com/reactjs/prop-types/commit/7882a7285293db5f284bcf559b869fd2cd4c44d4)) + +## 15.5.6 + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* Fix a markdown issue in README. ([@bvaughn](https://github.com/bvaughn) in [174f77](https://github.com/reactjs/prop-types/commit/174f77a50484fa628593e84b871fb40eed78b69a) + +## 15.5.5 + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* Add missing documentation and license files. ([@bvaughn](https://github.com/bvaughn) in [0a53d3](https://github.com/reactjs/prop-types/commit/0a53d3a34283ae1e2d3aa396632b6dc2a2061e6a) + ## 15.5.4 **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** From 019a3a98cdcba67824dfa671aa11fa40ced8675b Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Mon, 1 May 2017 07:16:55 -0700 Subject: [PATCH 5/6] Move annotations for v15.5.1-3 around in change log **what is the change?:** Another correction to the change log, based on helpful comments from @gaeaeron. **why make this change?:** Accuracy **test plan:** Visual inspection **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5988ab5..ec56393 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,13 +31,14 @@ **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** -* No significant changes +* Remove the accidentally included React package code from the UMD bundle. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace)) ## 15.5.2 **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** -* Remove the accidentally included React package code from the UMD bundle. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/reactjs/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace)) +* Remove dependency on React for CommonJS entry point. ([@acdlite](https://github.com/acdlite) in [cae72bb](https://github.com/reactjs/prop-types/commit/cae72bb281a3766c765e3624f6088c3713567e6d)) + ## 15.5.1 From 4da3fa94330166fc97645129290ac995b39c93bf Mon Sep 17 00:00:00 2001 From: Flarnie Marchan Date: Tue, 2 May 2017 13:35:46 -0700 Subject: [PATCH 6/6] Final nit fixes to CHANGELOG **what is the change?:** Adding two missing parens and a note about the initial release version. **why make this change?:** Clarity/consistency **test plan:** Visual inspection **issue:** https://github.com/facebook/react/issues/9443 --- CHANGELOG.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec56393..57acec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,13 +11,13 @@ **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** -* Fix a markdown issue in README. ([@bvaughn](https://github.com/bvaughn) in [174f77](https://github.com/reactjs/prop-types/commit/174f77a50484fa628593e84b871fb40eed78b69a) +* Fix a markdown issue in README. ([@bvaughn](https://github.com/bvaughn) in [174f77](https://github.com/reactjs/prop-types/commit/174f77a50484fa628593e84b871fb40eed78b69a)) ## 15.5.5 **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** -* Add missing documentation and license files. ([@bvaughn](https://github.com/bvaughn) in [0a53d3](https://github.com/reactjs/prop-types/commit/0a53d3a34283ae1e2d3aa396632b6dc2a2061e6a) +* Add missing documentation and license files. ([@bvaughn](https://github.com/bvaughn) in [0a53d3](https://github.com/reactjs/prop-types/commit/0a53d3a34283ae1e2d3aa396632b6dc2a2061e6a)) ## 15.5.4 @@ -46,6 +46,12 @@ * Remove accidental uncompiled ES6 syntax in the published package. ([@acdlite](https://github.com/acdlite) in [e191963](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1)) -## Before 15.5.1 +## 15.5.0 + +**Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.** + +* Initial release. + +## Before 15.5.0 PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/master/CHANGELOG.md)