1 | ## 15.7.2
|
2 | * [Fix] ensure nullish values in `oneOf` do not crash ([#256](https://github.com/facebook/prop-types/issues/256))
|
3 | * [Fix] move `loose-envify` back to production deps, for browerify usage ([#203](https://github.com/facebook/prop-types/issues/203))
|
4 |
|
5 | ## 15.7.1
|
6 | * [Fix] avoid template literal syntax ([#255](https://github.com/facebook/prop-types/issues/255), [#254](https://github.com/facebook/prop-types/issues/254))
|
7 |
|
8 | ## 15.7.0
|
9 | * [New] Add `.elementType` ([#211](https://github.com/facebook/prop-types/pull/211))
|
10 | * [New] add `PropTypes.resetWarningCache` ([#178](https://github.com/facebook/prop-types/pull/178))
|
11 | * `oneOf`: improve warning when multiple arguments are supplied ([#244](https://github.com/facebook/prop-types/pull/244))
|
12 | * Fix `oneOf` when used with Symbols ([#224](https://github.com/facebook/prop-types/pull/224))
|
13 | * Avoid relying on `hasOwnProperty` being present on values' prototypes ([#112](https://github.com/facebook/prop-types/pull/112), [#187](https://github.com/facebook/prop-types/pull/187))
|
14 | * Improve readme ([#248](https://github.com/facebook/prop-types/pull/248), [#233](https://github.com/facebook/prop-types/pull/233))
|
15 | * Clean up mistaken runtime dep, swap envify for loose-envify ([#204](https://github.com/facebook/prop-types/pull/204))
|
16 |
|
17 | ## 15.6.2
|
18 | * Remove the `fbjs` dependency by inlining some helpers from it ([#194](https://github.com/facebook/prop-types/pull/194)))
|
19 |
|
20 | ## 15.6.1
|
21 | * Fix an issue where outdated BSD license headers were still present in the published bundle [#162](https://github.com/facebook/prop-types/issues/162)
|
22 |
|
23 | ## 15.6.0
|
24 |
|
25 | * Switch from BSD + Patents to MIT license
|
26 | * Add PropTypes.exact, like PropTypes.shape but warns on extra object keys. ([@thejameskyle](https://github.com/thejameskyle) and [@aweary](https://github.com/aweary) in [#41](https://github.com/facebook/prop-types/pull/41) and [#87](https://github.com/facebook/prop-types/pull/87))
|
27 |
|
28 | ## 15.5.10
|
29 |
|
30 | * Fix a false positive warning when using a production UMD build of a third-party library with a DEV version of React. ([@gaearon](https://github.com/gaearon) in [#50](https://github.com/facebook/prop-types/pull/50))
|
31 |
|
32 | ## 15.5.9
|
33 |
|
34 | * Add `loose-envify` Browserify transform for users who don't envify globally. ([@mridgway](https://github.com/mridgway) in [#45](https://github.com/facebook/prop-types/pull/45))
|
35 |
|
36 | ## 15.5.8
|
37 |
|
38 | * 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/facebook/prop-types/pull/26))
|
39 |
|
40 | ## 15.5.7
|
41 |
|
42 | * **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/facebook/prop-types/pull/20))
|
43 | * Improve the size of production UMD build. ([@aweary](https://github.com/aweary) in [38ba18](https://github.com/facebook/prop-types/commit/38ba18a4a8f705f4b2b33c88204573ddd604f2d6) and [7882a7](https://github.com/facebook/prop-types/commit/7882a7285293db5f284bcf559b869fd2cd4c44d4))
|
44 |
|
45 | ## 15.5.6
|
46 |
|
47 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
48 |
|
49 | * Fix a markdown issue in README. ([@bvaughn](https://github.com/bvaughn) in [174f77](https://github.com/facebook/prop-types/commit/174f77a50484fa628593e84b871fb40eed78b69a))
|
50 |
|
51 | ## 15.5.5
|
52 |
|
53 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
54 |
|
55 | * Add missing documentation and license files. ([@bvaughn](https://github.com/bvaughn) in [0a53d3](https://github.com/facebook/prop-types/commit/0a53d3a34283ae1e2d3aa396632b6dc2a2061e6a))
|
56 |
|
57 | ## 15.5.4
|
58 |
|
59 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
60 |
|
61 | * Reduce the size of the UMD Build. ([@acdlite](https://github.com/acdlite) in [31e9344](https://github.com/facebook/prop-types/commit/31e9344ca3233159928da66295da17dad82db1a8))
|
62 | * Remove bad package url. ([@ljharb](https://github.com/ljharb) in [158198f](https://github.com/facebook/prop-types/commit/158198fd6c468a3f6f742e0e355e622b3914048a))
|
63 | * Remove the accidentally included typechecking code from the production build.
|
64 |
|
65 | ## 15.5.3
|
66 |
|
67 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
68 |
|
69 | * Remove the accidentally included React package code from the UMD bundle. ([@acdlite](https://github.com/acdlite) in [df318bb](https://github.com/facebook/prop-types/commit/df318bba8a89bc5aadbb0292822cf4ed71d27ace))
|
70 |
|
71 | ## 15.5.2
|
72 |
|
73 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
74 |
|
75 | * Remove dependency on React for CommonJS entry point. ([@acdlite](https://github.com/acdlite) in [cae72bb](https://github.com/facebook/prop-types/commit/cae72bb281a3766c765e3624f6088c3713567e6d))
|
76 |
|
77 |
|
78 | ## 15.5.1
|
79 |
|
80 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
81 |
|
82 | * Remove accidental uncompiled ES6 syntax in the published package. ([@acdlite](https://github.com/acdlite) in [e191963](https://github.com/facebook/react/commit/e1919638b39dd65eedd250a8bb649773ca61b6f1))
|
83 |
|
84 | ## 15.5.0
|
85 |
|
86 | **Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.**
|
87 |
|
88 | * Initial release.
|
89 |
|
90 | ## Before 15.5.0
|
91 |
|
92 | 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)
|