Skip to content

v3.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@wojtekmaj wojtekmaj released this 16 Nov 10:15
8dcb6c6

❗️ = breaking change

What's new?

  • ❗️ React-Calendar now ships with ES6 Modules along with CommonJS modules. This allows for Webpack and other bundlers to optimize your code better.
  • React-Calendar can now be used as an uncontrolled component. Simply use defaultValue instead of value. More details in README (#217).
  • Added showDoubleView which causes React-Calendar to show two months/years/… at a time instead of one.
  • Added formatYear prop allows you for custom formatting of year numbers (#241).
  • Added onViewChange callback prop called when the view is changed.
  • Added default color for "now" tile (current day/month/…) (#112).

What's changed?

  • ❗️ React-Calendar no longer supports React versions lower than 16.3 (#219).
  • ❗️ Typings are no longer shipped with React-Calendar package (#272).
  • ❗️ onActiveDateChange is now onActiveStartDateChange.
  • React-Calendar now uses @wojtekmaj/date-utils for date calculations.

Bug fixes

  • Fixed year not properly formatted in th-TH locale (#241).