Releases: wojtekmaj/react-calendar
Releases · wojtekmaj/react-calendar
v4.2.0
What's new?
- Allowed array of strings to be passed as value.
v4.1.1
Bug fixes
- Fix
className
and value
props unnecessarily too restrictive.
v4.1.0
What's new?
- Converted package to TypeScript (#785).
- Improved error messages for exceptions.
Bug fixes
v4.0.0
Note: React <16.8 is not supported. If you're still using React older than 16.8, please use react-calendar@^3.0.0 instead.
❗️ = breaking change
What's changed?
- ❗️ Minimum React version is now 16.8.
- Replaced
merge-class-names
with clsx
.
v3.9.0
What's new?
- Added
Navigation
to exports list (#594).
- Added
formatWeekday
prop (#620).
v3.8.0
What's new?
- Added
…--weekend
class to Weekdays tiles (#490). Thanks, @fffed!
- Added
goToRangeStartOnSelect
prop (#639).
v3.7.0
What's new?
- Added support for React 18.
What's changed?
- Improved performance of date formatters (#180).
Bug fixes
- Fixed
tileContent
not updating on activeStartDate
change (#576).
v3.6.0
What's new?
- Allow
showFixedNumberOfWeeks
to be explicitly defined even when showDoubleView
is true (#413). Thanks, @frankleng!
Bug fixes
- Fixed calendar tiles and week number misaligned (#412).
- Fixed week numbers wrongly calculated for Arabic and Hebrew calendars in some cases (#578).
New contributors
v3.5.0
What's new?
- Added
action
to onActiveStartDateChange
and onViewChange
callbacks (#367, #474).
- Added
navigationAriaLive
prop (#538). Thanks, @gabe-lingco!
What's changed?
- Improved documentation on
hover
and onActiveStartDateChange
(#458, #495).
- Removed inline styles from Navigation component, which should make Navigation easier to style.
Bug fixes
- Fixed hover classes applied even before the first value was selected (#505).
- Fixed next and next2 buttons disabled if
maxDate
was set to the 1st millisecond of nextActiveStartDate
or nextActiveStartDate2
respectively (#485, #431).
v3.4.0
What's new?
- Added
formatDay
prop which allows you to customize formatting of day numbers.
Bug fixes
- Fixed day tile numbers not taking
locale
into account when formatting (#508).