❗️ = 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 ofvalue
. 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 nowonActiveStartDateChange
. - React-Calendar now uses @wojtekmaj/date-utils for date calculations.
Bug fixes
- Fixed year not properly formatted in
th-TH
locale (#241).