Skip to content

v9.1.0

Compare
Choose a tag to compare
@gpbl gpbl released this 18 Sep 00:54
· 92 commits to main since this release
fa8fa6e

Thank you for using and helping improve DayPicker. Here are the notable changes in this release:

  • Updated to date-fns v4.
    • Please update @date-fns/utc if you are using react-day-picker/utc.
  • Introduced new custom components for dropdowns and navigation buttons.
  • Fixed issues with controlled vs. uncontrolled selections not working as expected.

What's Changed

  • build: update to date-fns@4 by @gpbl in #2466
  • feat: add PreviousMonthButton and NextMonthButton to custom components by @gpbl in #2437
  • feat: add MonthsDropdown and YearsDropdown custom components by @gpbl in #2454
  • feat(types): remove restrictions on components and classNames prop types by @gpbl in #2452
  • feat(types): add OnSelectHandler type by @gpbl in #2436
  • fix: controlled vs. uncontrolled selections by @gpbl in #2462
  • fix: use correct month to disable Chevron of NextMonthButton by @qgadrian in #2449
  • fix(types): add missing ClassNames types for dropdowns by @hsnaydd in #2441
  • chore: remove unnecessary labelOptions from labelNext and labelPrevious by @gpbl in #2434
  • chore: move Nav to its own component by @gpbl in #2435
  • chore(types): deprecate Button in CustomComponents by @gpbl in #2439

New Contributors

Full Changelog: v9.0.9...v9.1.0