Skip to content

deps: bump date-fns from 2.30.0 to 4.4.0 - #3938

Merged
eablack merged 2 commits into
mainfrom
dependabot/npm_and_yarn/date-fns-4.4.0
Sep 23, 2026
Merged

eablack merged 2 commits into
mainfrom
dependabot/npm_and_yarn/date-fns-4.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps date-fns from 2.30.0 to 4.4.0.

Release notes

Sourced from date-fns's releases.

v4.4.0

This release revisits the approach to CDN usage and introduces a new package, @date-fns/cdn and deprecates the date-fns CDN scripts. It allowed reducing the zipped package size from 5.83 MB down to 3.96 MB without introducing any breaking changes.

In v5.0.0-alpha.0 where CDN scripts are completely removed from date-fns the change is more significant and brings the zipped package size down to 2.89 MB.

It is just the first step in optimizing the package size. Expect further size reduction in the future v4 and v5 versions.

Changed

  • DEPRECATED: The date-fns CDN scripts are now deprecated and will be removed in the next major release. Please switch to the new @date-fns/cdn package for CDN usage.

  • Removed CDN source maps to reduce the package size. If you rely on them, please switch to the new @date-fns/cdn package that still includes them.

v4.3.0

Kudos to @​ImRodry and @​puneetdixit200 for their contributions.

Fixed

v4.2.1

Fixed

  • Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.

v4.2.0

This is a minor release in all senses, it only includes documentation updates (first of many) that points to the new You Don't Need date-fns* page.

* Not really

Changed

  • Added Temporal API references to the JSDoc annotations of add, addBusinessDays, and addDays.

v4.1.0

This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.

Make sure also upgrade TZDate to v1.0.2 as it includes a bunch of critical bug fixes.

Fixed

  • Fixed internal constructFrom throwing an exception on null arguments. While null isn't allowed, the functions should rather return Invalid Date or NaN in such cases. See #3885.

Added

... (truncated)

Commits
  • cd53d25 Promote to v4.4.0
  • d948ec1 Preserve but deprecate CDN versions for v4, set up v5 with polyfills
  • ee65753 Add root mise :format task
  • 9f5bdf5 Add positional argument to test/smoke.sh script
  • 651ead6 Split CDN bundles into separate @​date-fns/cdn package
  • 224c1a2 Deprecate type tests as attw hangs on date-fns package
  • 7bb2842 Switch PACKAGE_OUTPUT_PATH to --dist flag in the package build script
  • b6ad5ac Add flags to control package build script
  • 424a783 Fix docs release after moving to monorepo setup
  • f95bcf1 (docs): Add missing tsx dependency
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 20, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 20, 2026 19:04
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Sep 20, 2026
@eablack

eablack commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 4.4.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Commits](date-fns/date-fns@v2.30.0...v4.4.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-version: 4.4.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/date-fns-4.4.0 branch from d49b110 to aa53e11 Compare September 23, 2026 17:38
@github-actions github-actions Bot added the size/XS Extra small PR (code churn < 10) label Sep 23, 2026
Dependabot's date-fns bump re-resolved package-lock.json and dropped the
18 nested @sentry/node -> @opentelemetry/* entries added in #3900,
breaking `npm ci` (package.json/lock out of sync). Regenerated the lock
with `npm install --package-lock-only` to restore them.
@eablack
eablack deployed to AcceptanceTests September 23, 2026 17:45 — with GitHub Actions Active
@eablack
eablack deployed to AcceptanceTests September 23, 2026 17:45 — with GitHub Actions Active
@eablack
eablack deployed to AcceptanceTests September 23, 2026 17:45 — with GitHub Actions Active
@eablack
eablack deployed to AcceptanceTests September 23, 2026 17:45 — with GitHub Actions Active
@eablack
eablack merged commit 9aeab70 into main Sep 23, 2026
20 checks passed
@eablack
eablack deleted the dependabot/npm_and_yarn/date-fns-4.4.0 branch September 23, 2026 18:23

This branch was successfully deployed

1 active deployment
AcceptanceTests — fcf8c05e Deployed Sep 23, 2026 by eablack via acceptance (20.x, ubuntu-latest) #9272
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 size/XS Extra small PR (code churn < 10)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant