Zum Inhalt springen

React DayPicker Release Notes

Einträge
30
Quellen
1
Zuletzt aktualisiert

Folge React DayPicker, um die Release Notes in deinen Feed zu holen.

React DayPicker

React Day Picker v10.0.2: Fokus-Fix und schlankere Locale-Imports

React Day Picker v10.0.2 behebt den verlorenen Fokus, wenn ein gesteuerter Monatswechsel den fokussierten Tag ersetzt, und importiert date-fns-Funktionen sowie DayPicker-Locales aus Subpfaden, sodass beim Import eines Locale-Subpfads nicht mehr alle date-fns-Locales geladen werden.

What's Changed

react-day-picker

  • fix: preserve focus when controlled month changes replace the focused day. #3010 by @gpbl
  • fix: import date-fns functions and DayPicker locales from their subpaths #3020 by @amanokh
  • fix: avoid loading all date-fns locales when importing a locale subpath. #3007 by @huuyafwww

@daypicker/react

  • fix: preserve focus when controlled month changes replace the focused day. #3010 by @gpbl
  • fix: import date-fns functions and DayPicker locales from their subpaths #3020 by @amanokh
  • fix: avoid loading all date-fns locales when importing a locale subpath. #3007 by @huuyafwww

@daypicker/buddhist

  • fix: import date-fns functions and DayPicker locales from their subpaths #3020 by @amanokh

@daypicker/ethiopic …

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker Version 10.0.1

Version 10.0.1 wendet Inline-Styles auf alle Komponenten-Slots an und fügt @types/react als optionale Peer-Dependency hinzu.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v10.0.0...v10.0.1

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker Version 10.0.0

DayPicker v10 entfernt die in v9 veralteten öffentlichen APIs, führt den neuen Paketnamen @daypicker/react ein und veröffentlicht nicht-gregorianische Kalender als eigenständige @daypicker/*-Pakete.

DayPicker v10 removes the public APIs deprecated in v9 and introduces a new @daypicker/react package name. Non-Gregorian calendars are now published as standalone @daypicker/* packages.

If your app already uses the current v9 API, the upgrade should be relatively small. If your app still relies on deprecated v9 APIs, those usages should be updated before upgrading.

See the full v10 changelog, the upgrade guide, and the v10 announcement for questions and upgrade feedback.

Install

npm install react-day-picker@latest

For new projects, prefer the scoped package name:

npm install @daypicker/react@latest
import { DayPicker } from "@daypicker/react";
import "@daypicker/react/style.css";

The react-day-picker package remains available in v10 for compatibility.

Breaking Changes

Deprecated navigation props removed

Removed prop Use instead
fromMonth startMonth
fromYear startMonth={new Date(year, 0)}
toMonth endMonth
toYear endMonth={new Date(year, 11)}
fromDate hidden={{ before: date }} and optionally startMonth
toDate hidden={{ after: date }} and optionally endMonth

Deprecated focus and event props removed

| Removed prop | Use instead | | --- | --- | …

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker Version 8.10.2

Version 8.10.2 erweitert die React-Peer-Dependency um React 19, sodass Projekte mit DayPicker v8 ohne Warnungen neuere React-Versionen nutzen können.

Expands the React peer dependency to include React 19, helping projects still using DayPicker v8 adopt newer React versions without peer dependency warnings.

Upgrading to v9

Please note that DayPicker v8 is in maintenance mode. This release is intended to help existing v8 users stay unblocked, but upgrading to v9 is recommended when possible.

If you are still on v8, review the updated upgrade guide: https://daypicker.dev/upgrading-v8-to-v10

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v8.10.1...v8.10.2

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.14.0: resetOnSelect und Hijri-Kalender

Neue Prop resetOnSelect startet im Range-Modus bei bereits vollständigem Bereich einen neuen Bereich, zudem wird der Hijri-Kalender (Umm al-Qura) über react-day-picker/hijri unterstützt und das DayPicker-Root-Element erhält standardmäßig eine lang-Prop.

This release introduces a new resetOnSelect prop and adds support for the Hijri calendar.

Resetting Selections in Range Mode

When in range selection mode, use the new resetOnSelect prop to start a new range when a full range is already selected.

Hijri Calendar

To use the Hijri (Umm al-Qura) calendar, import DayPicker from react-day-picker/hijri:

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

export function HijriCalendar() {
  return <DayPicker />;
}

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

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.13.2...v9.14.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.13.2

Behebt die Typdeklaration für den style.css-Export und korrigiert Labels für Nordsamisch (se) und japanisches Hiragana (ja-Hira).

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.13.1...v9.13.2

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.13.1

Der persische Kalender erhält ein schmales Wochentagsformat (narrow weekday).

Persian calendar improvements.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.13.0...v9.13.1

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.13.0: experimentelle noonSafe-Prop

Die neue experimentelle Prop noonSafe hilft beim Umgang mit historischen Zeitzonen mit Sekunden-Offsets.

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

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.12.0...v9.13.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.12.0: übersetzte Labels in Locales

Die integrierten Locales enthalten nun übersetzte Labels, sodass die labels-Prop dafür nicht mehr nötig ist, außerdem wurden Probleme mit Date[]-Modifiern und dem hebräischen Kalender behoben.

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: https://github.com/gpbl/react-day-picker/compare/v9.11.3...v9.12.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.11.3: Leerzellen im Raster bei endMonth

Bei gesetztem endMonth enthält das gerenderte HTML nun leere Zellen im Raster und die Regression aus 9.11.2 mit fehlschlagenden JSDOM-Tests beim Fokussieren deaktivierter Tage ist behoben, wobei sich das Grid-Markup geändert hat und Snapshot-Tests oder eigenes CSS angepasst werden müssen.

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: https://github.com/gpbl/react-day-picker/compare/v9.11.2...v9.11.3

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.11.2

Modifier berücksichtigen nun die timeZone-Prop, deaktivierte fokussierte Tage bleiben fokussierbar, und mehrere Leistungsverbesserungen wurden umgesetzt.

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.11.1...v9.11.2

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.11.1

Behebt doppelte Jahre im Dropdown bei einigen Zeitzonen und verhindert Fokusnavigation über deaktivierte Grenzen hinaus.

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.11.0...v9.11.1

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.11.0: Buddhistischer und Hebräischer Kalender

Neu sind der buddhistische und der hebräische Kalender, weitere südostasiatische Ziffernsysteme, die Prop aria-labelledby und verbesserte Monats-/Jahresformatierung für bestimmte Locales sowie Fixes für den äthiopischen Kalender.

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 />;
}
<img width="1898" height="818" alt="Screen Shot 2025-09-20 at 18 19 40" src="https://github.com/user-attachments/assets/d1687521-6c20-424e-a2d2-b106bee22d79" />

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 />;
}
<img width="1898" height="818" alt="Screen Shot 2025-09-20 at 18 19 55" src="https://github.com/user-attachments/assets/5c6c74af-a958-4b6e-888f-0e0db8aa6ed5" />

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

What's Changed …

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.10.0: Äthiopischer Kalender

DayPicker unterstützt nun den Ethiopic-Kalender, der über react-day-picker/ethiopic importiert wird.

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 />;
}
<img width="1846" height="818" alt="Screen Shot 2025-09-14 at 17 54 36" src="https://github.com/user-attachments/assets/0e535e03-d0fd-4ea4-a8a7-03afb89fa456" />

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

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.9.0...v9.10.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.9.0: reverseYears-Prop

Die neue Prop reverseYears zeigt im Dropdown das neueste Jahr zuerst an, zudem gibt es einen Fix für die Bereichsauswahl und einen Build-Fix, bei dem Source Maps und das src-Verzeichnis aus dem Paket entfernt wurden.

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: https://github.com/gpbl/react-day-picker/compare/v9.8.1...v9.9.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.8.1

Die Dokumentation zur captionLayout-Prop wurde verbessert und der Build-Prozess so angepasst, dass Abhängigkeiten nicht mehr fixiert werden.

Improved captionLayout documentation and build process.

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.8.0...v9.8.1

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.8.0: bessere Tastaturnavigation

Mit Shift+Pfeiltasten lässt sich nun zwischen Monaten und Jahren navigieren, und Darstellungsfehler bei defaultMonth sowie numberOfMonths mit endMonth wurden behoben.

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

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.7.0...v9.8.0

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.7.0: navLayout-Prop

Die neue Prop navLayout legt fest, ob die Navigationsbuttons um die Beschriftung herum (around) oder danach (after, WCAG-2.2-konforme Fokusreihenfolge) angezeigt werden, zudem gibt es Verbesserungen bei Zeitzonen und Lokalisierung.

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" />
<p align="center"> <img src="https://github.com/user-attachments/assets/fc7fc9aa-9fdd-4882-8b57-1c4b8b66409a" width="600"> </p>
<DayPicker navLayout="after" />
<p align="center"> <img src="https://github.com/user-attachments/assets/608d6de9-e297-4318-a8c4-7dbe0b9cd0b7" width="600"> </p>

What's Changed

Originalquelle(öffnet in neuem Tab)Problem melden

React DayPicker

React DayPicker 9.6.7

Verbessert die Ausrichtung der Links-/Rechts-Navigationsicons und verhindert, dass die Zeitzone überschrieben wird, wenn initialMonth ein Date ist.

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

What's Changed

New Contributors

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.6.6...v9.6.7

Originalquelle(öffnet in neuem Tab)Problem melden