Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2024

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
react-day-picker (source) ^8.10.1^9.13.0 age confidence

Release Notes

gpbl/react-day-picker (react-day-picker)

v9.13.0

Compare Source

This release introduces an experimental noonSafe prop to help deal with historical time zones with second offsets. See https://daypicker.dev/localization/setting-time-zone#noonsafe for more details.

What's Changed
  • feat: add experimental noonSafe prop for timezone offsets by @​gpbl in #​2879

Full Changelog: gpbl/react-day-picker@v9.12.0...v9.13.0

v9.12.0

Compare Source

This release adds translated labels to built-in locales and fixes issues with array modifiers and the Hebrew calendar.

Translated Locales

DayPicker locales now ship with localized labels (e.g., “Go to next month”, “Today”), so you no longer need to supply them via labels. To use a locale:

import { es } from "react-day-picker/locale";
<DayPicker locale={es} /> // Use Spanish locale, now with translated labels.

If you previously set the labels prop for translations, you can remove it. For details on switching locales, see https://daypicker.dev/localization/changing-locale.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.11.3...v9.12.0

v9.11.3

Compare Source

Rendered HTML now includes empty cells in grids when endMonth is set, and fixes the v9.11.2 regression where JSDOM tests could fail when focusing disabled days.

Possible low impact breaking change: The grid markup changed, so brittle snapshot tests or custom CSS that depended on the old structure may need updates. Adjust snapshots/CSS accordingly.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.11.2...v9.11.3

v9.11.2

Compare Source

What's Changed

  • fix: ensure modifiers honor the timeZone prop by @​gpbl in #​2849
  • fix: allow focused disabled days to remain focusable by @​gpbl in #​2851
  • chore(performance): cache resolved today across helpers for better performance by @​gpbl in #​2848
  • chore(performance): memoize calendar and reuse ISO date ids in day rendering by @​gpbl in #​2850

Full Changelog: gpbl/react-day-picker@v9.11.1...v9.11.2

v9.11.1

Compare Source

What's Changed

Full Changelog: gpbl/react-day-picker@v9.11.0...v9.11.1

v9.11.0

Compare Source

This release adds support for Buddhist and Hebrew calendars, introduces new Southeast Asian numeral systems, adds the aria-labelledby prop, and improves month/year formatting for specific locales. It also includes fixes for the recently added Ethiopic calendar.

Buddhist Calendar

To use the Buddhist calendar, import DayPicker from react-day-picker/buddhist.

import { DayPicker } from "react-day-picker/buddhist";

export function BuddhistCalendar() {
  return <DayPicker />;
}
Screen Shot 2025-09-20 at 18 19 40

Read more in the documentation and play with it in playground.

Hebrew Calendar

To switch to the Hebrew calendar, import DayPicker from react-day-picker/hebrew.

import { DayPicker } from "react-day-picker/hebrew";

export function HebrewCalendar() {
  return <DayPicker />;
}
Screen Shot 2025-09-20 at 18 19 55

Read more in the documentation and play with it in playground.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.10.0...v9.11.0

v9.10.0

Compare Source

This release adds support for the Ethiopic calendar.

Ethiopic calendar

To use the Ethiopic calendar, import DayPicker from react-day-picker/ethiopic.

import { DayPicker } from "react-day-picker/ethiopic";

export function EthiopicCalendar() {
  return <DayPicker />;
}
Screen Shot 2025-09-14 at 17 54 36

Read more in the documentation and play with it in playground.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.9.0...v9.10.0

v9.9.0

Compare Source

This release includes a new reverseYears prop, a range selection fix, and a build update to fix issues with source maps.

Reversing the Years in the Dropdown

When using captionLayout='dropdown', set reverseYears to reverse the years listed in the dropdown: the most recent year will appear first.

<DayPicker captionLayout="dropdown" reverseYears />

See it in action in the playground.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.8.1...v9.9.0

v9.8.1

Compare Source

Improved captionLayout documentation and build process.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.8.0...v9.8.1

v9.8.0

Compare Source

DayPicker 9.8 includes better keyboard navigation and resolves edge cases with month and year rendering.

What's Changed

  • feat(accessibility): enable Shift+Arrows to navigate between months/years by @​mhwice in #​2770
  • fix: setting defaultMonth to the next year with the dropdown navigation layout no longer prevents the calendar from rendering by @​rodgobbi in #​2783
  • fix: correctly display the number of months when numberOfMonths and endMonth are set by @​gpbl in #​2784

New Contributors

Full Changelog: gpbl/react-day-picker@v9.7.0...v9.8.0

v9.7.0

Compare Source

DayPicker 9.7 introduces a new navLayout prop to customize the layout of the navigation and includes improvements for time zones and localization.

Navigation Layouts

The navLayout prop allows you to change the layout of the navigation buttons in the calendar:

  • With navLayout="around", navigation buttons are displayed on either side of the caption.
  • With navLayout="after", navigation buttons are displayed after the caption. This layout ensures that the focus order respects the visual order, conforming to the WCAG 2.2 guidelines for accessibility.

For more details, see the Navigation Layouts section in the documentation.

<DayPicker navLayout="around" />

<DayPicker navLayout="after" />

What's Changed

Full Changelog: gpbl/react-day-picker@v9.6.7...v9.7.0

v9.6.7

Compare Source

Improved handling of timezones, fixed alignment with the Left/Right navigation icons.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.6.6...v9.6.7

v9.6.6

Compare Source

Includes a fix for autoFocus prop not correctly autofocusing the selected day.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.6.5...v9.6.6

v9.6.5

Compare Source

Fixed an issue with the Persian calendar.

What's Changed

  • (fix) Persian calendar with enUS locale displaying empty week by @​gpbl in #​2723

Full Changelog: gpbl/react-day-picker@v9.6.4...v9.6.5

v9.6.4

Compare Source

What's Changed

Full Changelog: gpbl/react-day-picker@v9.6.3...v9.6.4

v9.6.3

Compare Source

Improved accessibility, fixed the default locale imports, and added missing files for source maps.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.6.2...v9.6.3

v9.6.2

Compare Source

Fix issues when importing the Persian calendar or the CSS types declaration.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.6.1...v9.6.2

v9.6.1

Compare Source

This release addresses an accessibility issue, adds a new animate prop and fixes other minor bugs.

Possible Breaking Change in Custom Styles

To address a focus lost bug affecting navigation buttons, we updated the buttons to use aria-disabled instead of the disabled attribute.

This change may cause custom styles for those disabled buttons to break. To fix it in your code, update the CSS selector to target [aria-disabled="true"]:

- .rdp-button_next:disabled,
+ .rdp-button_next[aria-disabled="true"] {
  /* your custom CSS */
}
- .rdp-button_previous:disabled,
+ .rdp-button_previous[aria-disabled="true"] {
  /* your custom CSS */
}
Animating Month Transitions

Thanks to the work by @​rodgobbi, we have added animations to DayPicker. The new animate prop enables CSS transitions for captions and weeks when navigating between months:

<DayPicker animate />

Customizing the animation style can be challenging due to the HTML table structure of the grid. We may address this in the future. Please leave your feedback in DayPicker Discussions.

What's Changed

v9.6.1
  • fix(build): add missing .css entries in package.json files by @​gpbl in #​2703

New Contributors

Full Changelog: gpbl/react-day-picker@v9.5.1...v9.6.1

v9.6.0

Compare Source

This release addresses an accessibility issue, adds a new animate prop and fixes other minor bugs.

⚠️ Note v9.6.0 presents a bug when importing style.css. Please upgrade to v9.6.1 for a fix.

v9.5.1

Compare Source

This release fixes the calendar breaking its layout when passing a month not included between startMonth and endMonth props.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.5.0...v9.5.1

v9.5.0

Compare Source

This release adds full support for the Persian calendar and a new numerals prop to set the numbering system.

Breaking Change: Dropdown Formatters

The formatMonthDropdown and formatYearDropdown now receive a Date (instead of a number) as first argument.

<DayPicker formatters={{ 
-     formatMonthDropdown: (month) => format(new Date(month), "mmmm") }} 
+     formatMonthDropdown: (date) => format(date, "mmmm") }} />
-     formatYearDropdown: (year) => format(new Date(year), "yyyy") }} 
+     formatYearDropdown: (date) => format(date, "yyyy") }} />
/>
Persian Calendar

Persian Calendar get fulls support in DayPicker and replaces the previous "Jalali Calendar".

If you were using DayPicker from react-day-picker/jalali, change your imports to react-day-picker/persian:

- import { DayPicker } from  `react-day-picker/jalali`;
+ import { DayPicker } from  `react-day-picker/persian`;

See the Persian calendar documentation for more details about using Persian calendar in DayPicker.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.4.4...v9.5.0

v9.4.4

Compare Source

This release fixes an issue with the month names in the Jalali calendar.

What's Changed

  • fix(jalali): defaults calendar to faIR locale and RTL direction by @​gpbl in #​2624

Full Changelog: gpbl/react-day-picker@v9.4.3...v9.4.4

v9.4.3

Compare Source

This release enhances compatibility with React 19.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.4.2...v9.4.3

v9.4.2

Compare Source

This release addresses some bugs in the dropdown caption layout.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.4.1...v9.4.2

v9.4.1

Compare Source

This release improves support for screen readers and fixes a VoiceOver issue when navigating the calendar.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.4.0...v9.4.1

v9.4.0

Compare Source

This version includes support for broadcast calendars and some style fixes.

What's Changed

  • feat: add support for broadcast calendars by @​Nradar in #​2597
  • fix(styles): dropdown not appearing as focused by @​gpbl in #​2600
  • fix(styles): inconsistent cell size when selection mode is set by @​gpbl in #​2601
    • please note that the CSS variables --rdp-day-height, --rdp-day-width, --rdp-day-button-height, --rdp-day-button-width have been updated to pixel values (44px for day cells and 42px for day buttons).

New Contributors

Full Changelog: gpbl/react-day-picker@v9.3.2...v9.4.0

v9.3.2

Compare Source

Bug fixes.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.3.1...v9.3.2

v9.3.1

Compare Source

Bug fixes.

What's Changed

  • fix: months with 4 weeks not displaying 6 weeks when fixedWeeks is used by @​gpbl in #​2590
  • fix(types): formatMonthDropdown throwing a type error by @​gpbl in #​2584
  • chore(types): added deprecated initialFocus and InternalModifiers types by @​gpbl in #​2582
  • chore: removed not used selectionStates from useGetModifiers() by @​gpbl in #​2586
  • build: update @date-fns/tz package to v1.2.0 by @​gpbl in #​2591

Full Changelog: gpbl/react-day-picker@v9.3.0...v9.3.1

v9.3.0

Compare Source

This release adds the dayPickerProps to the values returned by useDayPicker, enabling access to these props from custom components.

Thanks to the work by @​rodgobbi, we could enhance the performance when selecting a range of days.

We’ve also updated the default style to preserve the font-family inherited from the parent element. To restore the previous behavior, update the .rdp-root CSS class to include font-family: system-ui.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.2.1...v9.3.0

v9.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.2.0...v9.2.1

v9.2.0

Compare Source

This release addresses an issue with localization and applies some fixes for types and CSS exports.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.1.4...v9.2.0

v9.1.4

Compare Source

This release fixes a localization issue and improves export compatibility across various Node.js environments.

What's Changed

  • fix: month not being localized with dropdown-years caption layout by @​gpbl in #​2497
  • build: update exports in package.json for better compatibility by @​gpbl in #​2535

Full Changelog: gpbl/react-day-picker@v9.1.3...v9.1.4

v9.1.3

Compare Source

This release includes some minor build fixes and documentation updates.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.1.2...v9.1.3

v9.1.2

Compare Source

What's Changed

Full Changelog: gpbl/react-day-picker@v9.1.1...v9.1.2

v9.1.1

Compare Source

This release improves reliability for controlled mode and adds experimental support for time zones.

Time Zone Support

By integrating the @​date-fns/tz utilities for handling time zones, we have added a new experimental timeZone prop. Please see the updated docs for more details.

import { DayPicker, TZDate } from 'react-day-picker';
<DayPicker 
    timeZone="Europe/Athens"  // set the time zone
    disabled={TZDate.tz("Europe/Athens")}  // make sure you use `TZDate` to initialize dates
/> 

[!NOTE]
If you were using the experimental react-day-picker/utc module, you can skip now it. Remove the @date-fns/utc package and just pass timeZone="UTC" to <DayPicker />.

What's Changed

Full Changelog: gpbl/react-day-picker@v9.1.0...v9.1.1

v9.1.0

Compare Source

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

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.9...v9.1.0

v9.0.9

Compare Source

This release fixes a regression causing the calendar to reset when selecting the days, improves compatibility with the previous version and fixes some other bugs.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.8...v9.0.9

v9.0.8

Compare Source

This release fixes a regression in v9.0.7 affecting range mode.

What's Changed

  • fix: update the displayed month only if start/end month change by @​gpbl in #​2358

Full Changelog: gpbl/react-day-picker@v9.0.7...v9.0.8

v9.0.7

Compare Source

This release improves compatibility with v8 and fix an issue with the calendar navigation.

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.6...v9.0.7

v9.0.6

Compare Source

This release addresses the failed import of the common-js module for some app builder and add new data- attributes to help the integration with Tailwind. Thanks for your feedback!

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.5...v9.0.6

v9.0.5

Compare Source

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

What's Changed

New Contributors

Full Changelog: gpbl/react-day-picker@v9.0.4...v9.0.5

v9.0.4

Compare Source

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

What's Changed

New Contributors


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Jul 21, 2024

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
dew Error Error Dec 18, 2025 3:02pm

@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from ade4d58 to 5655dbf Compare July 22, 2024 02:33
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 5655dbf to 0ef1140 Compare July 22, 2024 13:41
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 0ef1140 to fbad506 Compare July 23, 2024 02:58
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from fbad506 to 540c418 Compare July 24, 2024 15:30
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 540c418 to 308d3b7 Compare July 30, 2024 04:27
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 308d3b7 to 979bfe5 Compare July 31, 2024 13:10
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 979bfe5 to 2da766c Compare August 5, 2024 00:59
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2da766c to 573fdc2 Compare August 8, 2024 02:19
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 573fdc2 to 2dc8dd6 Compare September 8, 2024 01:49
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2dc8dd6 to 2478f74 Compare September 16, 2024 22:27
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 2478f74 to 592a24d Compare September 17, 2024 13:33
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 592a24d to f41deb1 Compare September 18, 2024 02:01
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from f41deb1 to bb2ce94 Compare September 19, 2024 15:07
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from bb2ce94 to 14ded6f Compare September 23, 2024 01:05
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 540657c to 361f50d Compare May 14, 2025 12:51
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 361f50d to 4f5fc2a Compare July 5, 2025 12:43
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 4f5fc2a to 3a602b5 Compare July 26, 2025 14:08
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 3a602b5 to d0c7ccb Compare August 10, 2025 12:35
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from d0c7ccb to 9252988 Compare August 13, 2025 16:12
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 9252988 to 10226bd Compare August 18, 2025 02:11
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 10226bd to c9490f8 Compare September 15, 2025 00:46
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from c9490f8 to d545bbd Compare September 21, 2025 01:51
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from d545bbd to 4dc9884 Compare October 8, 2025 11:36
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 4dc9884 to 4e4ed5f Compare November 23, 2025 17:38
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 4e4ed5f to fb10415 Compare November 29, 2025 12:44
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from fb10415 to 93ff046 Compare December 3, 2025 18:54
@renovate renovate bot force-pushed the renovate/react-day-picker-9.x branch from 93ff046 to cd96a3a Compare December 6, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant