Skip to content

Releases: wojtekmaj/react-datetime-picker

v7.0.1

05 Aug 13:42
89b4b0f
Compare
Choose a tag to compare

Bug fixes

  • Fixed build issue.

v7.0.0

05 Aug 13:19
5e9ce36
Compare
Choose a tag to compare

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

v6.0.1

30 Apr 09:34
52441aa
Compare
Choose a tag to compare

Bug fixes

  • Fixed peerDependencies declaration for react and react-dom.

v6.0.0

30 Apr 09:32
299dc26
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-DateTime-Picker's own props and to make customization easier.

Bug fixes

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

v5.6.0

09 Dec 21:29
72746be
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.5.3

18 Oct 13:15
c9d8deb
Compare
Choose a tag to compare

What's new?

v5.5.2

28 Sep 10:53
b78c2fd
Compare
Choose a tag to compare

Bug fixes

  • Fixed "Failed prop type: DateTimePicker: prop type portalContainer is invalid" error when using server-side rendering (#397).

v5.5.1

31 Jul 08:14
4a4a1c1
Compare
Choose a tag to compare

Bug fixes

  • Fixed ESM build not working correctly in some environments (#392).

v5.5.0

28 Jul 07:05
c25d271
Compare
Choose a tag to compare

What's new?

  • Added module format-agnostic exports for internals used by other packages.

Bug fixes

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

v5.4.0

27 Jul 21:44
471dfb1
Compare
Choose a tag to compare

What's new?

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

What's changed?

  • Improved propTypes.
  • Improved TypeScript types.

Bug fixes

  • Fixed propTypes declared twice in every declaration file.