Skip to content

fix(deps): update dependency react-datepicker to v9#2782

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

fix(deps): update dependency react-datepicker to v9#2782
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/react-datepicker-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 5, 2026

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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.

@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.51%. Comparing base (5c1cdcf) to head (0caecea).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2782   +/-   ##
=======================================
  Coverage   95.51%   95.51%           
=======================================
  Files        1329     1329           
  Lines       30544    30544           
  Branches     6941     6924   -17     
=======================================
  Hits        29173    29173           
  Misses       1303     1303           
  Partials       68       68           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 3 times, most recently from dc34bd5 to 5310499 Compare January 9, 2026 00:42
@bradenmacdonald
Copy link
Contributor

This version of the dependency results in a webpack warning showing up in the build: Hacker0x01/react-datepicker#6181

I'm going to wait until that's fixed before we merge this.

@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 9 times, most recently from 1c198f7 to 3a29311 Compare January 15, 2026 14:16
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 7 times, most recently from 5dad3e0 to a10e47b Compare January 23, 2026 23:02
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 9 times, most recently from 799ae5b to fa0b091 Compare January 28, 2026 18:44
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 9 times, most recently from c04e88e to 64c184e Compare February 16, 2026 00:36
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 13 times, most recently from e44e690 to 69c43d6 Compare February 24, 2026 15:15
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch 7 times, most recently from a934534 to df1db02 Compare February 27, 2026 17:16
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