Releases: wojtekmaj/react-calendar
Releases · wojtekmaj/react-calendar
v6.0.0
❗️ = breaking change
What's new?
- ❗️ Dropped CommonJS build, making the package ESM-only. Chances are you're not going to be affected by this change at all, as all common bundlers support ESM out of the box.
- However, you may encounter issues running unit tests using Jest. Consider migrating to Vitest.
v5.1.0
v5.0.0
❗️ = breaking change
What's changed?
- Added support for React 19.
- ❗️ New JSX transform is now required. Most likely, you’re already using it, but if you’re not, you’ll need to enable it by following the instructions in the linked blog post.
- ❗️
propTypes
were removed. If you’re usingpropTypes
, we recommend migrating to TypeScript or another type-checking solution. - ❗️ Dropped support for deprecated
calendarType
values. If you're running React-Calendar v4.4.0 or newer, and followed documentation and deprecation warnings, you should be fine.
v4.8.0
v4.7.0
v4.6.1
What's new?
- Package is now published with npm provenance statements.
- Exported
OnArgs
type to make it easier to create customon…
callbacks (#897). Thanks, @meszaros-lajos-gyorgy! - Exported
TileArgs
type to make it easier to create customtileClassName
,tileContent
,tileDisabled
functions.
Bug fixes
v4.6.0
v4.5.0
v4.4.0
What's new?
NavigationLabelFunc
,OnClickFunc
,OnClickWeekNumberFunc
,TileClassNameFunc
,TileContentFunc
andTileDisabledFunc
types are now exported for your convenience.
What's changed?
- Renamed calendar types passed to
calendarType
prop to matchIntl.Locale.calendar
. Thanks to this change, we will be able to support many more calendar types in the near future! Don't worry - old values are still supported, but will be deprecated in the future. - Updated
clsx
dependency to2.0.0
to enable ESM support in the near future.