Skip to content

v2.0.0

Compare
Choose a tag to compare
@arthurdenner arthurdenner released this 12 Nov 07:56
· 573 commits to master since this release

2.0.0 (2019-11-12)

Bug Fixes

  • deps: update dependency core-js to v3.2.1 (#61) (cc99dec)
  • deps: update dependency react-fast-compare to v2.0.4 (#63) (5cc68d7)
  • types: add Catalan locale key to options of locale prop (#85) (f72d7ac), closes #80

Features

  • Import locales from JSON files dynamically (#75) (949bc5c)
  • datepicker: Rename props and update onChange signature (#84) (7cbe2f3)
  • deps: update dependency dayzed to v3 (#66) (866851a)
  • locales: add Catalan locale (#80) (d43add5)
  • locales: add Hebrew locale (#102) (3c6661e)
  • locales: add Japanese locale (#87) (0856e86)
  • locales: add Swedish locale (#86) (8c6d9de)
  • package.json: bump React version in peerDependencies (#77) (7583d3f)

BREAKING CHANGES

  • datepicker: onDateChange signature was changed
  • datepicker: onDateChange prop was renamed to onChange
  • datepicker: selected prop was renamed to value
  • package.json: The React version must be at least 16.8.0, which support Hooks
  • The locale prop is now a string and fallbacks to en-US if it has an invalid value