Skip to content

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 94.99%. Comparing base (4787490) to head (dc34bd5).

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #2782    +/-   ##
========================================
  Coverage   94.99%   94.99%            
========================================
  Files        1256     1256            
  Lines       28800    28800            
  Branches     6337     6556   +219     
========================================
  Hits        27358    27358            
+ Misses       1384     1371    -13     
- Partials       58       71    +13     

☔ 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 from 95569d0 to ecd7e30 Compare January 6, 2026 13:17
@renovate renovate bot force-pushed the renovate/react-datepicker-9.x branch from ecd7e30 to dc34bd5 Compare January 7, 2026 17:53
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