Skip to content

Latest commit

 

History

History
240 lines (104 loc) · 8.96 KB

CHANGELOG.md

File metadata and controls

240 lines (104 loc) · 8.96 KB

3.1.2 (2022-05-24)

Bug Fixes

  • deprecated: show warning only if prop is populated (#289) (1417bda)

3.1.1 (2022-05-24)

Bug Fixes

3.1.0 (2022-05-24)

Features

3.0.0 (2021-09-30)

Bug Fixes

  • publish codemod and add migration docs (#260) (7a0fc61)

Code Refactoring

  • only export custom prop-type functions (#254) (c2262e0)

BREAKING CHANGES

  • prop-types from the props-types package are no longer re-exported from @dhis2/prop-types
  • @dhis2/prop-types no longer exports a default, the DHIS2 custom prop-types are only available as named imports

3.0.0-beta.2 (2021-09-29)

Bug Fixes

  • publish codemod and add migration docs (#260) (7a0fc61)

3.0.0-beta.1 (2021-09-19)

Code Refactoring

  • only export custom prop-type functions (#254) (c2262e0)

BREAKING CHANGES

  • prop-types from the props-types package are no longer re-exported from @dhis2/prop-types
  • @dhis2/prop-types no longer exports a default, the DHIS2 custom prop-types are only available as named imports

2.0.4 (2021-09-09)

Bug Fixes

  • required-if: mention condition in error message (e9f40cd)

2.0.3 (2020-12-04)

Bug Fixes

  • remove unnecessary react peerDependency (#213) (9c761c7)

2.0.2 (2020-11-02)

Bug Fixes

2.0.1 (2020-10-27)

Bug Fixes

2.0.0 (2020-04-28)

Features

  • update the export style (decd522)

BREAKING CHANGES

  • this changes the re-export style for the prop-types lib. Instead of mixing our custom and the upstream prop-types, now the upstream lib is namespaced under the 'PropTypes' named export.

1.6.4 (2020-04-02)

Bug Fixes

  • export named exports as well (4030de5)

1.6.3 (2020-04-02)

Bug Fixes

  • move all prop-types to default export (08eb729)

1.6.2 (2020-04-01)

Bug Fixes

  • conditional: correct typo in assignment in index.js (d6c54f6)

1.6.1 (2020-03-31)

Bug Fixes

  • conditional: expose prop type publicly (9439a60)

1.6.0 (2020-03-27)

Features

  • add conditional propType (e859fff)

1.5.0 (2019-12-04)

Bug Fixes

  • array with length: check prop type correctly & fix error message (c465743)
  • required if: remove duplicate prop name from error message (f9f44b0)

Features

  • instance of component: display name instead of the function body (ede4312)

1.4.0 (2019-11-21)

Features

  • index js: add requiredIf to named exports (#75) (cf6697e)

1.3.0 (2019-11-07)

Features

1.2.2 (2019-11-05)

Bug Fixes

  • remove object rest/spread syntax because this breaks Edge (#65) (b84e654)

1.2.1 (2019-10-14)

Bug Fixes

  • improve instanceOfComponent robustness and remove incorrect logic (#60) (7273d7b)

1.2.0 (2019-10-07)

Features

  • messages and instanceOfComponent when wrapped in arrayOf (#56) (e7a2355)

1.1.1 (2019-09-24)

Bug Fixes

1.1.0 (2019-09-11)

Features

  • add custom prop types to propTypes object (#39) (e23ffb7)

1.0.4 (2019-08-25)

Bug Fixes

1.0.3 (2019-07-29)

Bug Fixes

1.0.2 (2019-07-17)

Bug Fixes

  • un-ignore the build folder for publishing (#22) (bd839b8)

1.0.1 (2019-07-15)

Bug Fixes

  • update the publish configuration (6c5a584)

1.0.0 (2019-07-15)

chore

Features

  • add array with length prop type validator (61bcf81)

BREAKING CHANGES

  • Release 1.0.0 of @dhis2/prop-types