- Switch from BSD + Patents to MIT license
- Add PropTypes.exact, like PropTypes.shape but warns on extra object keys. (@thejameskyle and @aweary in #41 and #87)
- Add support for .isDefined and .isNotNull to complement .isRequired (@jharris4 in #90)
- Fix a false positive warning when using a production UMD build of a third-party library with a DEV version of React. (@gaearon in #50)
- 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 in #26)
- Critical Bugfix: Fix an accidental breaking change that caused errors in production when used through
React.PropTypes
. (@gaearon in #20) - Improve the size of production UMD build. (@aweary in 38ba18 and 7882a7)
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
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 in 31e9344)
- Remove bad package url. (@ljharb in 158198f)
- Remove the accidentally included typechecking code from the production build.
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
Note: this release has a critical issue and was deprecated. Please update to 15.5.7 or higher.
- Initial release.
PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes see the React change log.