- [New] add
integer
- [Dev Deps] update
eslint
,rimraf
- [New] add
numericString
- [New] add
explicitNull
- [Dev Deps] update
airbnb-js-shims
,babel-cli
,babel-register
,eslint-plugin-react
- [Fix]
childrenOfType
: improve the error message - [Dev Deps] update
eslint
,eslint-config-airbnb
,eslint-plugin-jsx-a11y
- [New] add
mutuallyExclusiveTrueProps
- [Dev Deps] update
babel-cli
,babel-preset-airbnb
,babel-register
,eslint
- [Fix] ensure production mocks have
.isRequired
- [breaking] when
NODE_ENV
isproduction
, export mocks instead of real validators - [new] add mocks
- [New] add
uniqueArray
/uniqueArrayOf
- [New] add
withShape
- [Breaking] ensure every export is a function that returns a validator, for consistency (
restrictedProp
) - [Deps] move
safe-publish-latest
to devDeps - [Dev Deps] update
eslint
,eslint-config-airbnb
,eslint-plugin-import
,eslint-plugin-react
,eslint-plugin-jsx-a11y
,mocha
,react
; add missingbabel-register
- [Tests] on
node
v7
- [enhancement]
forbidExtraProps
: add the componentName into the error message
- [Fix]
forbidPropTypes
: allow propTypes to be processed multiple times - [Fix]
forbidPropTypes
: fix unknown props error message
- [New] add
forbidExtraProps
- [Dev Deps] update
babel-cli
- [New] add
and
combinator - [New] add
isRequired
tononNegativeInteger
- [Dev Deps] update
eslint-plugin-react
,mocha
- [Fix]
mutuallyExclusiveProps
: include the “current” prop in the exclusives list
- [Fix] [New] add
isRequired
tomutuallyExclusiveProps
; ensuremutuallyExclusiveProps
is not required by default - [Fix] [New] add
isRequired
tocomponentWithName
; ensurecomponentWithName
is not required by default - [Deps] update
safe-publish-latest
- Initial release.