unstale

npm / react-calendar

react-calendar

What changed in react-calendar 3 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

10 breaking7 new APIs and options1 performance4 behavior and defaults4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-calendar 62 changes

Breaking changes 1

  • The CommonJS build was dropped, making the package ESM-only; Jest unit tests may encounter issues, and the notes suggest migrating to Vitest.

    6.0.0release notes

Fixes and other changes 1

  • Fixed a TypeError thrown on some browsers when getting the format.

    6.0.1release notes

react-calendar 53 changes

Breaking changes 2

  • Support for deprecated calendarType values was dropped.

    5.0.0release notes

  • propTypes were removed; users are advised to migrate to TypeScript or another type-checking solution.

    5.0.0release notes

Fixes and other changes 1

react-calendar 41 changes

Breaking changes 1

  • React 16.8 is now the minimum supported version; users of older React versions should use react-calendar@^3.0.0.

    4.0.0release notes

react-calendar 320 changes

Breaking changes 6

  • This callback was renamed to onActiveStartDateChange.

    3.0.0release notes

  • This callback replaces onActiveDateChange.

    3.0.0release notes

  • React versions lower than 16.3 are no longer supported.

    3.0.0release notes

  • Backward compatibility for renderChildren was removed.

    3.0.0release notes

  • React-Calendar no longer imports its styles by default; import them separately to continue using them.

    3.0.0release notes

  • Typings are no longer shipped with the React-Calendar package.

    3.0.0release notes

New APIs and options 7

  • Use defaultValue instead of value to use React-Calendar as an uncontrolled component.

    3.0.0release notes

  • React-Calendar now ships ES6 Modules alongside CommonJS modules, allowing Webpack and other bundlers to optimize code better.

    3.0.0release notes

  • This prop lets developers customize the formatting of year numbers.

    3.0.0release notes

  • The arguments now include locale.

    3.0.0release notes

  • A callback prop called when the view changes.

    3.0.0release notes

  • This prop makes React-Calendar show two months, years, or other views at a time instead of one.

    3.0.0release notes

  • The arguments now also include activeStartDate.

    3.0.0release notes

Performance 1

  • Fixed excessive re-rendering caused by callback functions being merged suboptimally.

    3.0.0release notes

Behavior and default changes 4

  • formatMonthYear is now used on month tiles in YearView.

    3.0.0release notes

  • A default color is now provided for the tile representing the current day, month, or other current period.

    3.0.0release notes

  • The event is now exposed in onChange and onClick* functions.

    3.0.0release notes

  • The event is now exposed in onClick* functions.

    3.0.0release notes

Fixes and other changes 2

  • Fixed handling of dates before year 100 so clicking a date no longer jumps to the corresponding year in the 1900s.

    3.0.0release notes

  • Fixed year formatting for the th-TH locale.

    3.0.0release notes