Skip to content

Releases: wojtekmaj/react-datetimerange-picker

v6.0.0

30 Apr 09:45
3530e79
Compare
Choose a tag to compare

❗️ = breaking change

What's new?

  • Added support for React 19.

What's changed?

  • ❗️ 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 using propTypes, we recommend migrating to TypeScript or another type-checking solution.
  • ❗️ Props intended for consumption by React-Calendar and React-Clock should now be passed via the calendarProps and clockProps props respectively. This change was made to avoid conflicts with React-DateTimeRange-Picker's own props and to make customization easier.

Bug fixes

  • Fixed leading zero having different font in certain scenarios. Thanks, @AaronWatson2975!

v5.5.0

09 Dec 21:29
8ebaa22
Compare
Choose a tag to compare

What's new?

  • Improved developer experience by moving prop documentation to JSDoc. This means that you can now see descriptions, default values, and examples for all props in your IDE.
  • Improved documentation.

v5.4.4

18 Oct 13:15
4bdd83f
Compare
Choose a tag to compare

What's new?

v5.4.3

28 Sep 10:56
dc2e228
Compare
Choose a tag to compare

Bug fixes

  • Fixed "Failed prop type: DateTimeRangePicker: prop type portalContainer is invalid" error when using server-side rendering.

v5.4.2

31 Jul 08:18
4c9bbb2
Compare
Choose a tag to compare

Bug fixes

  • Fixed ESM build not working correctly in some environments.

v5.4.1

28 Jul 07:14
ad6bb50
Compare
Choose a tag to compare

Bug fixes

  • Fixed "ReferenceError: HTMLElement is not defined" error when using server-side rendering.

v5.4.0

27 Jul 21:48
f1606e4
Compare
Choose a tag to compare

What's new?

  • Added support for native ESM modules (#227).

What's changed?

  • Improved propTypes.
  • Improved TypeScript types.

Bug fixes

  • Fixed propTypes declared twice in every declaration file.

v5.3.0

21 Jul 19:28
bb44b56
Compare
Choose a tag to compare

What's new?

  • Improved RSC compatibility. You no longer need to add 'use client'; to the parent component for this component to work.

Bug fixes

  • @types/react and @types/react-dom are now optional peerDependencies, which eliminates errors caused by duplicate typings.

v5.2.2

16 Jul 08:28
ca6e73b
Compare
Choose a tag to compare

What's changed?

  • Updated various dependencies to enable ESM support in the near future.

v5.2.1

12 Jul 14:29
8231d63
Compare
Choose a tag to compare

Bug fixes

  • Fixed widgets rendered prematurely when opening the other one.
  • Fixed calendar and clock not switching on focus.