stack.pulse
#stacks/date-fns/library

date-fns release notes, breaking changes, and upgrade notes.

Modern JavaScript date utility library StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.

releases
5
breaking
1
security
0
deprecated
1
migrations
2

Get source-linked upgrade notes and occasional sponsor recommendations. No GitHub login required.

what stackpulse tracks

date-fns releases from GitHub

StackPulse watches date-fns release notes and keeps the original source link close to every summary.

upgrade risk

Breaking changes and deprecations

Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.

migration notes

Source-backed next steps

Migration steps and recommended actions are only shown when the upstream release notes support them.

# latest_releases

source-backed
v5.0.0-alpha.0highbreakingmigrationprereleaseMay 29, 2026

v5.0.0-alpha.0

This release focuses on reducing the package size of date-fns, cutting the zipped size from 5.83 MB to 2.89 MB. CDN scripts have been moved to a separate `@date-fns/cdn` package.

affected

Users relying on CDN scripts are affected and need to update their script URLs.

action

Update CDN script references to use the new `@date-fns/cdn` package URL.

release_signals
-CDN scripts are now available via the `@date-fns/cdn` npm package instead of `date-fns`. Users relying on the CDN URL will be served a polyfill that redirects to the new URL.
migration_steps1 steps
  1. 01Update CDN script references from `https://cdn.jsdelivr.net/npm/date-fns/cdn.min.js` to `https://cdn.jsdelivr.net/npm/@date-fns/cdn/cdn.min.js`.
view source on github->
v4.4.0mediumdeprecationmigrationfeatureMay 29, 2026

v4.4.0

This release introduces a new `@date-fns/cdn` package and deprecates the `date-fns` CDN scripts, reducing the zipped package size from 5.83 MB to 3.96 MB without breaking changes.

affected

Users relying on the `date-fns` CDN scripts are affected.

action

Migrate to the new `@date-fns/cdn` package for CDN usage.

release_signals
!The `date-fns` CDN scripts are deprecated and will be removed in the next major release
+Introduced `@date-fns/cdn` package for CDN usage
migration_steps1 steps
  1. 01Switch to the new `@date-fns/cdn` package for CDN usage
view source on github->
v4.3.0mediumfeatureMay 22, 2026

v4.3.0

This release focuses on bug fixes, including improvements to locale handling and modularized optimization fallback for frameworks like Next.js.

affected

Users relying on specific locale configurations (e.g., `pt`, `zh-CN`, `zh-HK`, `zh-TW`) or using modularized imports in frameworks like Next.js may be affected.

action

Update to v4.3.0 to benefit from locale fixes and modularized optimization improvements.

view source on github->
v4.2.1mediumfeatureMay 18, 2026

v4.2.1

This release fixes missing type definitions in v4.2.0 caused by a TypeScript misconfiguration.

affected

Users relying on TypeScript type definitions in v4.2.0 are affected.

action

Upgrade to v4.2.1 to restore missing type definitions.

view source on github->
v4.2.0lowfeatureMay 18, 2026

v4.2.0

This minor release focuses on documentation updates, including references to the Temporal API in JSDoc annotations for specific functions.

affected

Developers using `add`, `addBusinessDays`, and `addDays` functions may benefit from updated JSDoc annotations.

action

Review the updated documentation and JSDoc annotations for improved clarity.

view source on github->
date-fns release notes, breaking changes, and upgrade notes · StackPulse