Releases: wojtekmaj/react-calendar
Releases · wojtekmaj/react-calendar
v3.0.0-beta.3
Bug fixes
- Fixed defaultValue, defaultActiveStartDate and defaultView ignored when calculating initial active start date
v3.0.0-beta.2
v3.0.0-beta
❗️ = 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).
v2.19.2
v2.19.1
What's new?
- Documentation in README has now a separate column for default values.
What's changed?
- Syntax optimizations to make Babel output smaller.
- Updated Get-User-Locale. This will result in slightly smaller bundles.
- Optimized hover performance when selectRange is turned on.
Bug fixes
- Fixed some unit tests being parsed by Babel and added to
dist
. - Fixed TypeScript typings for onClickWeekNumber. Thanks, @JamieEgeberg!
- Fixed typo in documentation. Thanks, @MathieuDoyon!
v2.19.0
What's new?
- Major rewrite of React-Calendar's subcomponents resulting in about 20% smaller code (#185).
- Add aria-label props for navigation buttons (#189). Thanks, @anushreepatil!
Bug fixes
- Fix color contrast ratio for month view (#188). Thanks, @anushreepatil!