Skip to content

Releases: wojtekmaj/react-date-picker

v12.0.1

05 Aug 13:27
6d3a5fd
Compare
Choose a tag to compare

Bug fixes

  • Fixed build issue.

v12.0.0

05 Aug 13:05
f097224
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.

v11.0.0

30 Apr 09:16
005911c
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 should now be passed via the calendarProps prop. This change was made to avoid conflicts with React-Date-Picker's own props and to make customization easier (#400).

Bug fixes

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

v10.6.0

09 Dec 21:28
2c5d343
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.

v10.5.2

18 Oct 13:15
7ad3809
Compare
Choose a tag to compare

What's new?

v10.5.1

28 Sep 10:43
f530fd1
Compare
Choose a tag to compare

Bug fixes

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

v10.5.0

28 Jul 06:45
1ed5cda
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.

v10.4.1

27 Jul 21:35
7c5734a
Compare
Choose a tag to compare

Bug fixes

  • Fixed backwards compatibility with legacy module resolution.

v10.4.0

27 Jul 21:25
f1d5c2e
Compare
Choose a tag to compare

What's new?

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

What's changed?

  • Improved propTypes.
  • Improved TypeScript types.

Bug fixes

  • Fixed propTypes declared twice in every declaration file.

v10.3.0

21 Jul 19:25
6e35e30
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.