unstale

npm / react-day-picker

react-day-picker

What changed in react-day-picker 8 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

81 breaking9 deprecations18 new APIs and options5 behavior and defaults1 tooling17 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-day-picker 1072 changes

Breaking changes 58

Deprecations 1

  • The package name remains available for compatibility, but new projects and upgraded imports should use @daypicker/react.

    10.0.0upgrade guide

New APIs and options 5

  • Non-Gregorian Buddhist calendar support is now published as a standalone package.

    10.0.0release notes

  • Non-Gregorian Hebrew calendar support is now published as a standalone package.

    10.0.0release notes

  • Non-Gregorian Hijri calendar support is now published as a standalone package.

    10.0.0release notes

  • Introduced the preferred scoped package name for new projects, including its style sheet import.

    10.0.0release notesupgrade guide

  • Locale objects can be imported from this package subpath instead of date-fns/locale.

    10.0.0upgrade guide

Behavior and default changes 2

  • The next-month accessible label changed; update label overrides, translations, and tests.

    10.0.0upgrade guide

  • When passing selected, handle selection changes with onSelect; use custom modifiers instead when only marking days visually.

    10.0.0upgrade guide

Fixes and other changes 6

  • Date-fns functions and DayPicker locales are imported from subpaths.

    10.0.2release notes

  • Importing a locale subpath no longer loads all date-fns locales.

    10.0.2release notes

  • Focus is preserved when controlled month changes replace the focused day.

    10.0.2release notes

  • Inline styles now apply to all component slots.

    10.0.1release notes

  • Adds @types/react as an optional peer dependency.

    10.0.1release notes

  • Fixed multi-month dropdown navigation so changing month or year shows the expected month.

    10.0.0release notes

react-day-picker 953 changes

Breaking changes 21

  • Calendars now render empty grid cells when endMonth clips the calendar; brittle snapshots or custom CSS depending on the old markup may need updates.

    9.11.3release notes

  • The custom component slot is renamed to MonthCaption.

    9.0.0upgrade guide

  • Navigation button class name keys are now button_previous and button_next.

    9.0.0upgrade guide

  • The day class name key now targets the day cell; use day_button for the day button.

    9.0.0upgrade guide

  • The day_hidden class name key is renamed to hidden.

    9.0.0upgrade guide

  • The caption class name key is renamed to month_caption.

    9.0.0upgrade guide

  • The day_outside class name key is renamed to outside.

    9.0.0upgrade guide

  • The day_range_end class name key is renamed to range_end.

    9.0.0upgrade guide

  • The day_range_middle class name key is renamed to range_middle.

    9.0.0upgrade guide

  • The day_range_start class name key is renamed to range_start.

    9.0.0upgrade guide

  • The day_today class name key is renamed to today.

    9.0.0upgrade guide

  • Styles were simplified and CSS classes updated, so custom CSS styles will likely break; new CSS variables are available for customization.

    9.0.0release notes

  • Custom components now have a new API, which may break existing implementations; support was updated.

    9.0.0release notes

  • date-fns can be removed if it was installed only because v8 required it as a peer dependency.

    9.0.0upgrade guiderelease notes

  • DayContent is removed; use formatDay for text content or customize DayButton.

    9.0.0upgrade guide

  • The build system was updated to ESM and CommonJS, which could break some custom bundlers.

    9.0.0release notes

  • The bundled stylesheet import moves from react-day-picker/dist/style.css to react-day-picker/style.css.

    9.0.0upgrade guide

  • The CSS module import moves from react-day-picker/dist/style.module.css to react-day-picker/style.module.css.

    9.0.0upgrade guide

  • When selected is supplied, selection changes must be handled with onSelect; this also applies to multiple and range modes.

    9.0.0upgrade guide

  • Removed the useInput hook; consult the Input fields guide for alternatives.

    9.0.0release notes

  • Replace useNavigation with useDayPicker.

    9.0.0upgrade guide

Deprecations 8

  • Replace the deprecated type name with PropsMulti.

    9.0.0upgrade guide

  • Replace the deprecated type name with PropsRange.

    9.0.0upgrade guide

  • Replace the deprecated type name with PropsSingle.

    9.0.0upgrade guide

  • Deprecated in v9; use startMonth instead.

    9.0.0upgrade guide

  • Deprecated in v9; use startMonth with the first month of that year.

    9.0.0upgrade guide

  • Replace this deprecated utility alias with dateMatchModifiers.

    9.0.0upgrade guide

  • Deprecated in v9; use endMonth instead.

    9.0.0upgrade guide

  • Deprecated in v9; use endMonth with the last month of that year.

    9.0.0upgrade guide

New APIs and options 12

  • The DayPicker root element receives a default lang prop.

    9.14.0release notes

  • Range mode can start a new range when a full range is already selected.

    9.14.0release notes

  • A Hijri (Umm al-Qura) calendar is available through a dedicated import path.

    9.14.0release notes

  • Persian calendars now support narrow weekday formatting.

    9.13.1release notes

  • Adds an experimental prop to help deal with historical time zones with second offsets.

    9.13.0release notes

  • Adds an experimental prop that keeps calendar math at noon in the chosen time zone to avoid historical drift and duplicate or missing days.

    9.13.0release notes

  • Added a caption layout named dropdown-months.

    9.0.0release notes

  • Added a caption layout named dropdown-years.

    9.0.0release notes

  • Added the hideNavigation prop.

    9.0.0release notes

  • Added the hideWeekdayRow prop.

    9.0.0release notes

  • Added support for the Jalali Calendar.

    9.0.0release notes

  • Added support for UTC dates.

    9.0.0release notes

Behavior and default changes 2

  • Built-in locales now provide translated labels, so developers no longer need to supply translated labels through the labels prop.

    9.12.0release notes

  • Accessibility was enhanced to better comply with WCAG 2.1 recommendations; updated ARIA labels may require new translations or test selectors.

    9.0.0release notes

Fixes and other changes 10

  • Corrects Japanese Hiragana locale labels.

    9.13.2release notes

  • Corrects Northern Sami locale labels.

    9.13.2release notes

  • Adds the correct type declaration for the style.css export, improving type-safe usage of the stylesheet export.

    9.13.2release notes

  • Array modifiers now match dates by day, correcting modifier matching behavior.

    9.12.0release notes

  • Hebrew date conversion now handles timezones correctly.

    9.12.0release notes

  • Disabled focused days can no longer be selected, fixing the v9.11.2 regression affecting JSDOM tests.

    9.11.3release notes

  • Focused disabled days remain focusable instead of losing keyboard focusability.

    9.11.2release notes

  • Modifiers now honor the timeZone prop, producing timezone-aware modifier behavior.

    9.11.2release notes

  • Selection logic for range mode was improved.

    9.0.0release notes

  • Typings and props were improved for better compatibility with TypeScript strict mode; some typings were renamed or deprecated.

    9.0.0release notes

react-day-picker 86 changes

Breaking changes 2

  • The DayPickerInput component is replaced by the useInput hook.

    8.0.0release notes

  • The useInput hook replaces the DayPickerInput component.

    8.0.0release notes

New APIs and options 1

  • Selection modes are added for single, multiple, and range selection.

    8.0.0release notes

Behavior and default changes 1

Tooling 1

Fixes and other changes 1

  • React 19 is now supported in v8, helping projects adopt newer React versions without peer dependency warnings.

    8.10.2release notes