Skip to content

Releases: wojtekmaj/react-calendar

v3.0.0-beta.2

16 Nov 10:16
2c740d7
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

What's new?

  • tileClassName and tileContent now also get activeStartDate in arguments (#257).

What's changed?

  • formatMonthYear is now used on month tiles in YearView.
  • Reduced code duplication (#277).

v3.0.0-beta

16 Nov 10:15
8dcb6c6
Compare
Choose a tag to compare
v3.0.0-beta Pre-release
Pre-release

❗️ = 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).

v2.19.2

06 Sep 10:29
Compare
Choose a tag to compare

Bug fixes

  • Updated Babel to 7.5.5 to fix issue with getOwnPropertyDescriptors on IE11 (#232).

v2.19.1

12 Aug 09:23
aad1b8c
Compare
Choose a tag to compare

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

15 May 17:59
5c1f13d
Compare
Choose a tag to compare

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

v2.18.1

22 Jan 14:26
Compare
Choose a tag to compare

Bug fixes

  • Fixed typings and documentation for formatMonth, formatMonthYear and formatShortWeekday props (#165).

v2.18.0

20 Jan 19:02
Compare
Choose a tag to compare

What's new?

  • Weekdays bar now shows full weekday names for accessibility purposes (#151).

What's changed?

  • React-Calendar now uses Babel 7 for compilation (#124).
  • Number of internal optimizations which improves performance.

Bug fixes

  • Number of accessibility fixes (#150).
  • Fixed accessibility labels ignoring locale prop.
  • Fix rangeStart/rangeEnd class names not appearing when the day is partially covered (#153).

v2.17.5

27 Oct 19:52
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue caused by a change in V8 JS engine which caused date ranges to be returned in reverted order in some cases (affects e.g. Chrome 70).
  • Fixed Navigation bar not updating prev/next buttons on minDate/maxDate change (#142).

v2.17.4

26 Sep 06:47
Compare
Choose a tag to compare

Bug fixes

v2.17.3

11 Sep 16:53
Compare
Choose a tag to compare

What's changed?

  • Updated all dependencies.

Bug fixes

  • Updated get-user-locale dependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.