github Hacker0x01/react-datepicker v9.0.0
๐ŸŽ„ React Datepicker v9.0.0 - Holiday Release ๐ŸŽ

4 hours ago

๐ŸŒŸ Major New Features

๐ŸŒ Timezone Support (Finally!)

The most requested feature is here! Add the timeZone prop to display and handle dates in any timezone. Works with date-fns-tz as an optional peer dependency. <DatePicker timeZone="America/New_York" />

โฐ Time Selection with Date Ranges

showTimeSelect and showTimeInput now work beautifully with selectsRange! Select time for both start and end dates independently. ๐ŸŽ‰

๐ŸŽ New Props Under the Tree

  • ๐ŸŽฏ popperTargetRef - Custom popper positioning for advanced layouts
  • ๐Ÿ“ monthHeaderPosition - Control month header placement (top, middle, bottom)
  • ๐Ÿ—“๏ธ renderCustomDayName - Customize weekday header rendering
  • ๐Ÿ“ formatMultipleDates - Custom formatting for multi-select dates
  • โ™ฟ aria-label - Better accessibility support

๐Ÿ”ง Bug Fixes & Improvements

  • ๐ŸŽฏ Navigate calendar view when typing partial dates
  • ๐Ÿ“… Calendar view updates when selected/startDate props change programmatically
  • ๐Ÿ• Fixed infinite height growth in time picker
  • ๐Ÿ—“๏ธ Fixed month view jump when selecting from second calendar in range mode
  • โœ๏ธ Allow typing dates before 1800 when minDate permits
  • ๐ŸŒ Parse holiday date strings as local time (no more timezone shifts!)
  • ๐Ÿ“ Use em units internally - easily inherit font size from parent!
  • ๐ŸŽจ Fixed in-selecting-range highlight for days outside current month
  • ๐Ÿ”— Hiding popper arrow now properly removes offset
  • ๐Ÿ”„ Fixed preSelection updates for selectsRange input changes
  • ๐Ÿ“Š Improved source maps (no more Webpack warnings!)
  • ๐Ÿท๏ธ Better TypeScript discriminated union type inference

๐Ÿ› ๏ธ Under the Hood

  • ๐Ÿš€ Node 24.x LTS - Upgraded CI to latest LTS
  • ๐Ÿ“ฆ Updated dependencies across the board
  • ๐Ÿงช Significantly improved test coverage
  • ๐Ÿ“š New timezone documentation

๐Ÿ’ซ Happy Holidays!

Thank you to all contributors who made this release possible! May your dates always be in the right timezone! ๐ŸŽ…๐ŸŽ„


What's Changed

New Contributors

Full Changelog: v8.10.0...v9.0.0

Don't miss a new react-datepicker release

NewReleases is sending notifications on new releases.