Skip to content

Releases: wojtekmaj/react-calendar

v4.2.0

04 Apr 07:15
f512e14
Compare
Choose a tag to compare

What's new?

  • Allowed array of strings to be passed as value.

v4.1.1

03 Apr 19:37
ba9caa0
Compare
Choose a tag to compare

Bug fixes

  • Fix className and value props unnecessarily too restrictive.

v4.1.0

26 Mar 14:58
7509f57
Compare
Choose a tag to compare

What's new?

  • Converted package to TypeScript (#785).
  • Improved error messages for exceptions.

Bug fixes

v4.0.0

08 Nov 10:22
ac35097
Compare
Choose a tag to compare

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

19 Sep 12:11
f45ecce
Compare
Choose a tag to compare

What's new?

  • Added Navigation to exports list (#594).
  • Added formatWeekday prop (#620).

v3.8.0

06 Sep 09:26
ebf2d84
Compare
Choose a tag to compare

What's new?

  • Added …--weekend class to Weekdays tiles (#490). Thanks, @fffed!
  • Added goToRangeStartOnSelect prop (#639).

v3.7.0

04 Feb 12:01
8f8d0b1
Compare
Choose a tag to compare

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

17 Jan 15:01
7a4af58
Compare
Choose a tag to compare

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

25 Oct 06:49
29574f1
Compare
Choose a tag to compare

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

16 Apr 08:33
4418758
Compare
Choose a tag to compare

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).