Skip to content

Releases: wojtekmaj/react-date-picker

v8.0.0

30 Mar 13:40
99cb1ff

Choose a tag to compare

❗️ = breaking change

What's new?

  • Updated React-Calendar to v3.0.0 (#238). This will reduce your bundle size and allow access to new exciting functions.
  • Added closeCalendar prop which, when set to false, will overwrite default behavior of Calendar closing on value selection.
  • Added support for handling dates in year < 1000 (#240).

What's changed?

  • ❗️ React-Date-Picker no longer supports React versions lower than 16.3 (#182).
  • Typings were updated to add missing props (#223, #227). Thanks, @ismaeliberal!

Bug fixes

  • Fixed native form validation triggered on input.

v7.10.0

02 Jan 10:58
4dee73e

Choose a tag to compare

What's new?

  • You can no longer enter numbers longer than maximum number (e.g. if maximum year is 2019, you can't enter 12345) (#187).

What's changed?

  • Default styling was slightly changed to prevent React-Date-Picker from shrinking too much & to expand it correctly when width CSS is applied to .react-date-picker.

Bug fixes

  • Fix focus not jumping to the next field if e.g. "01" was entered in day field (#219).

v7.9.0

28 Nov 20:30

Choose a tag to compare

What's new?

  • Added support for autoFocus prop. More details in README (#208).

What's changed?

  • Remove role="presentation" from DateInput which may have caused accessibility issues. Thanks, @emilyuhde!
  • React-Date-Picker no longer relies on React-Calendar with date calculations. Instead, they both use common shared library: @wojtekmaj/date-utils (#204).
  • Implemented optimizations which should decrease build size (#202).

v7.8.2

19 Sep 18:13
1c09450

Choose a tag to compare

Bug fixes

  • Fixed month dropdown not accepting monthPlaceholder prop properly (#188). Thanks, @linusmarco!
  • Fixed checking if font was loaded if no font was given (#193).

v7.8.1

01 Aug 17:23
24a2419

Choose a tag to compare

Bug fixes

  • Fixed inputs not being measured again after font load .
  • Fixed some unit tests being unnecessarily parsed by Babel for distribution.

v7.8.0

30 Jul 10:34
5244d3e

Choose a tag to compare

What's new?

  • You can replace default placeholders (--) with custom ones using dayPlaceholder, monthPlaceholder, yearPlaceholder props.

v7.7.0

12 Jul 01:32
9b441ac

Choose a tag to compare

What's new?

  • You can now disable the calendar using disableCalendar prop.

v7.6.0

10 Jul 23:05
7a55e90

Choose a tag to compare

What's new?

  • Added support for aria-labels on each input and button. More on that in README (#125).
  • Added support for MMM (short month) and MMMM (long month) in format prop (#83, #172).
  • Automatically jump to the next input if the user can't enter any more digits (#128, #165).

What's changed?

  • Documentation should now be easier to read thanks to improved clarity and default values column (#159). Thanks, @iamdevlinph!
  • Optimized the number of listeners attached by React-Date-Picker.
  • Added more unit tests.

Bug fixes

  • Fixed Calendar not closing in some cases on mobile Safari. Thanks, @victor-cordova!
  • Fixed input value selection immediately un-selecting on non-Chromium versions of Microsoft Edge.
  • Fixed default icon styling affecting custom icons by changing their fill properties (#169).
  • Added missing format prop to TypeScript typings (#166). Thanks, @cvuorinen!

v7.5.1

02 May 13:17

Choose a tag to compare

What's changed?

  • Whitespace in dividers is now automatically preserved.
  • Simplified some internal methods.
  • Added more unit tests.

v7.5.0

31 Mar 11:04

Choose a tag to compare

What's new?

  • Added support for format prop which allows to overwrite default date format determined either from locale prop or automatically. See README for details (#40).

Bug fixes

  • Fixed issues where iterating an HTMLCollection would cause issues in older versions of Edge and IE (#135). Thanks, @mathieumg!
  • Fixed jumping to previous/next input not working if leading zeros were present