Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2025

Bumps react-datepicker from 7.3.0 to 9.0.0.

Release notes

Sourced from react-datepicker's releases.

🎄 React Datepicker v9.0.0 - Holiday Release 🎁

🌟 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

... (truncated)

Commits
  • 1afdefa 9.0.0
  • fab2eb6 Merge pull request #6114 from Hacker0x01/chore/upgrade-node-versions
  • 7f5a371 chore: upgrade to Node 24.x LTS and fix deprecated set-output
  • 71359df Merge pull request #6068 from Hacker0x01/timezone-support
  • 94457ed test: add edge case test for selectsRange with only end date
  • a59fdee test: add coverage for legacy showTimeSelect with timezone and selectsRange
  • d045955 test: add coverage for timezone with selectsRange in handleTimeChange
  • 1ededb4 Add istanbul ignore comment for untestable catch block
  • 19df127 Add fallback tests for timezone functions when date-fns-tz is not installed
  • df6c89c Add more timezone tests to improve coverage
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 9, 2025
@dependabot dependabot bot requested review from a team as code owners December 9, 2025 10:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 9, 2025
@changeset-bot
Copy link

changeset-bot bot commented Dec 9, 2025

⚠️ No Changeset found

Latest commit: 23ad87f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment on lines +5679 to 5671
resolution: {integrity: sha512-LGzKgBk5NUEcXUeSEJY2ICCCmPusm9UGRkNKRXCPgpUzoMx2CCsa0mOHTyv+itQeW7tR/jgGEpq5q/afZjGEFg==}
peerDependencies:
react: ^16.9.0 || ^17 || ^18
react-dom: ^16.9.0 || ^17 || ^18
date-fns-tz: ^3.0.0
react: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
peerDependenciesMeta:
date-fns-tz:
optional: true

react-dom@18.2.0:
resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Datepicker's custom removeOffset modifier is incompatible with react-datepicker v9.0.0's Floating UI, causing incorrect calendar positioning.
Severity: HIGH | Confidence: High

🔍 Detailed Analysis

The custom removeOffset modifier in the Datepicker component uses Popper.js syntax, which is incompatible with react-datepicker v9.0.0's new Floating UI positioning library. This incompatibility will cause the modifier to be silently ignored, resulting in the calendar popup being positioned 10 pixels closer to the input field than intended, potentially leading to visual overlap and a degraded user experience.

💡 Suggested Fix

Replace the custom removeOffset modifier with Floating UI's built-in offset middleware or consult react-datepicker v9.0.0 documentation for the correct method to achieve the desired offset adjustment.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: pnpm-lock.yaml#L5669-L5689

Potential issue: The custom `removeOffset` modifier in the `Datepicker` component uses
Popper.js syntax, which is incompatible with `react-datepicker` v9.0.0's new Floating UI
positioning library. This incompatibility will cause the modifier to be silently
ignored, resulting in the calendar popup being positioned 10 pixels closer to the input
field than intended, potentially leading to visual overlap and a degraded user
experience.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 6415328

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-datepicker-9.0.0 branch 4 times, most recently from 621dec1 to 7af479f Compare December 12, 2025 00:57
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 7.3.0 to 9.0.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](Hacker0x01/react-datepicker@v7.3.0...v9.0.0)

---
updated-dependencies:
- dependency-name: react-datepicker
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-datepicker-9.0.0 branch from 7af479f to 23ad87f Compare December 16, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant