Skip to content

Releases: gpbl/react-day-picker

v9.0.5

30 Jul 02:04
114f087
Compare
Choose a tag to compare

This release improves the range mode behavior (see the updated docs) and address some styling issues.

What's Changed

  • fix: improved range mode to work with min / required props by @gpbl in #2326
  • fix(style): typo in css rdp-hidden module css breaking CSS builds by @ayuhito in #2307
  • fix(style): borders grid are not collapsed by @gpbl in #2323
  • fix(style): week numbers are now centered by @gpbl in c919ad8

New Contributors

Full Changelog: v9.0.4...v9.0.5

v9.0.4

24 Jul 12:26
5d42b37
Compare
Choose a tag to compare

This release fixes some bugs and improves compatibility with v8.10. Thanks for your feedback and patience! 🤖

What's Changed

  • fix(css): typo in .rdp-range_end by @AlessioDP in #2298
  • fix(css): dropdown is transparent in Windows OS by @gpbl in #2300
  • fix: endMonth date not working as expected by @gpbl in #2301
  • feat: added back onDayMouseEnter and onDayMouseLeave by @gpbl in #2304

New Contributors

Full Changelog: v9.0.3...v9.0.4

v9.0.3

23 Jul 00:16
63a7b3c
Compare
Choose a tag to compare

This release fixes two issues found with the grid style and the range mode.

What's Changed

  • fix: alignment of grid elements by @gpbl in #2294
  • fix: range mode not updating when selected prop changes by @gpbl in #2295

Full Changelog: v9.0.2...v9.0.3

v9.0.2

22 Jul 12:48
57fec63
Compare
Choose a tag to compare

This update improves backward compatibility with v8.10.1 for range selection mode.

What's Changed

  • feat: add excludeDisabled prop for range mode by @gpbl in #2290

Full Changelog: v9.0.1...v9.0.2

v9.0.1

22 Jul 00:41
8bed0e4
Compare
Choose a tag to compare

This update improves backward compatibility with v8.10.1.

What's Changed

  • fix: prop types not being correctly interpreted by TS by @gpbl in #2283
  • feat: add DeprecatedUI enum by @gpbl in #2284

Full Changelog: v9.0.0...v9.0.1

v9.0.0

21 Jul 01:13
bb72e4a
Compare
Choose a tag to compare

DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.

Install the Latest Version

npm install react-day-picker@latest

What’s New

  • Moved date-fns from peer dependencies to dependencies.
  • Added support for UTC dates and Jalali Calendar.
  • Enhanced accessibility to better comply with WCAG 2.1 recommendations.
  • Simplified styles and new CSS variables for easier customization.
  • Improved selection logic for range mode.
  • New dropdown-years and dropdown-months caption layouts.
  • New hideWeekdayRow and hideNavigation props.
  • Updated for a complete custom components support.
  • Improved typings and props for better compatibility in TypeScript strict mode.

Breaking Changes

While we tried to keep the API as stable as possible, some breaking changes were necessary to improve the library:

  • The updated ARIA labels could require new translations or updated unit tests selectors.
  • Custom CSS styles will likely break, due to the updated CSS classes and simplified styles.
  • Custom Components have new API and may break.
  • Some typings have been renamed or deprecated.
  • The useInput hook has been removed. See Input fields guide for more details.
  • onWeekNumberClick has been removed. Use a custom component to handle week number clicks.
  • The updated build system to ESM and CommonJS could break some custom bundler.

Upgrading Guide

We prepared a Upgrading guide for help upgrading your app to v9. We welcome feedback about the upgrade process, to ensure it's smooth for everyone.

Compatibility

DayPicker v9 is compatible with React 16.8+.

Get Support and Report Issues

Get support, report issues, and provide feedback on the Discussion forums. Thanks.

New Contributors

v9.0.0-rc.6

17 Jul 12:08
223e5b6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.0.0-rc.5...v9.0.0-rc.6

v9.0.0-rc.5

14 Jul 23:34
2f3599c
Compare
Choose a tag to compare

What's Changed

  • build: date-fns as regular dependency by @benasher44 in #2249
  • build: Update compatibility with React 16.8 by @gpbl in #2266
  • fix(accessibility): remove aria-controls by @gpbl in 13c56ab
  • fix(accessibility): update labels, add more tests by @gpbl in 3106ed5
  • fix: add focus outline to dropdown selects by @gpbl in 8ef188b
  • fix: add back Root to custom components by @gpbl in 6055e45

New Contributors

Full Changelog: v9.0.0-rc.4...v9.0.0-rc.5

v9.0.0-rc.4

13 Jul 00:29
5fe94f5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.0.0-rc.3...v9.0.0-rc.4

v9.0.0-rc.3

07 Jul 18:39
037691d
Compare
Choose a tag to compare

What's Changed

  • feat: improve focus handling relying on data-attributes
  • feat: merge hooks into one useDayPicker hook
  • feat: rollback to use HTML tables and button elements by @gpbl in #2253
  • deprecate not used onDay* event handlers
  • consolidate use of components - now Is possible to extend all the internal components
  • improve ARIA labels for week number header, today date and selected dates
  • update footer to be an aria-live region
  • fix: range includes disabled days by @gpbl in #2219
  • fix: add type module in package.json by @ArthurGoupil in #2230
  • feat: use back HTML table and Button element a button by @gpbl in #2253

New Contributors

Full Changelog: v9.0.0-rc.2...v9.0.0-rc.3