Skip to content

chore(deps): update dependency react-datepicker to v9 (next)#1922

Open
renovate[bot] wants to merge 1 commit intonextfrom
renovate/next-react-datepicker-9.x
Open

chore(deps): update dependency react-datepicker to v9 (next)#1922
renovate[bot] wants to merge 1 commit intonextfrom
renovate/next-react-datepicker-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
react-datepicker ^4.2.1^9.0.0 age confidence

Release Notes

Hacker0x01/react-datepicker (react-datepicker)

v9.1.0: 9.1.0

Compare Source

Highlights

This release includes important bug fixes, TypeScript improvements, and a new feature. Most notably, it restores date parsing behavior that was accidentally removed in v8.0.0.

New Feature

Allow onClickOutside to prevent calendar from closing (#​6179)

The onClickOutside callback can now prevent the calendar from closing by calling event.preventDefault(). This is useful when using custom portal-based dropdowns in the calendar header.

  <DatePicker                                                                                                                                                                           
    onClickOutside={(event) => {                                                                                                                                                        
      if (myPortalRef.current?.contains(event.target)) {                                                                                                                                
        event.preventDefault(); // Keeps calendar open                                                                                                                                  
      }                                                                                                                                                                                 
    }}                                                                                                                                                                                  
  />                                                                                                                                                                                    

Full Changelog

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v9.0.0...v9.1.0

v9.0.0: 🎄 React Datepicker v9.0.0 - Holiday Release 🎁

Compare Source

🌟 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: Hacker0x01/react-datepicker@v8.10.0...v9.0.0

v8.10.0: 8.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.9.0...v8.10.0

v8.9.0: 8.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.8.0...v8.9.0

v8.8.0: 8.8.0

Compare Source

What's Changed

Major overhaul to the Docs site with new Typscript examples
Other changes

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.7.0...v8.8.0

v8.7.0: 8.7.0

Compare Source

What's Changed

Full Changelog: Hacker0x01/react-datepicker@v8.6.0...v8.7.0

v8.6.0: 8.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.5.0...v8.6.0

v8.5.0: 8.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.4.0...v8.5.0

v8.4.0: 8.4.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.3.0...v8.4.0

v8.3.0: 8.3.0

Compare Source

What's Changed

Full Changelog: Hacker0x01/react-datepicker@v8.2.1...v8.3.0

v8.2.1: 8.2.1

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.2.0...v8.2.1

v8.2.0: 8.2.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.1.0...v8.2.0

v8.1.0: 8.1.0

Compare Source

What's Changed
  • Fix #​5274: 🐛 Auto refresh the input value with the previously entered valid value if any invalid value is entered (when the open state is closed) by @​balajis-qb in #​5417
  • Fix: Make CalendarIconProps.icon optional to prevent type error by @​jingjing2222 in #​5406
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v8.0.0...v8.1.0

v8.0.0: 8.0.0

Compare Source

Breaking changes
Other changes
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.6.0...v8.0.0

v7.6.0: 7.6.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.5.0...v7.6.0

v7.5.0: 7.5.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.4.0...v7.5.0

v7.4.0: 7.4.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.3.0...v7.4.0

v7.3.0: 7.3.0

Compare Source

What's Changed
New Contributors

Full Changelog: Hacker0x01/react-datepicker@v7.2.0...v7.3.0

v7.2.0: 7.2.0

Compare Source

What's Changed

Full Changelog: Hacker0x01/react-datepicker@v7.1.0...v7.2.0

v7.1.0: 7.1.0

Compare Source

What's Changed

Full Changelog: Hacker0x01/react-datepicker@v7.0.0...v7.1.0

v7.0.0: 7.0.0

Compare Source

Breaking changes

This release includes a Typescript migration. This has been a big overhaul of the code base. This is the biggest release ever with 447 commits and 104 files changed! Massive thanks to @​mirus-ua, @​yuki0410-dev, @​Olenka-Yurchuk, @​alvaromartinez986, and @​ryantanrk. We've done our best to document the breaking changes:

What's Changed

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.

@renovate renovate bot force-pushed the renovate/next-react-datepicker-9.x branch from e7bf451 to b11d7a4 Compare February 17, 2026 18:00
@ThomasAFink
Copy link
Member

@renovate rebase

@ThomasAFink
Copy link
Member

@renovate recreate

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