date-fns
4.4.0 · 29 May 2026MIT119.2M / weekRepositorynpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 138 releases- 4.x · latest line
4.4.0
29 May 2026- Deprecated
DEPRECATED: The
date-fnsCDN scripts are now deprecated and will be removed in the next major release. Please switch to the new@date-fns/cdnpackage for CDN usage. - Removed
Removed CDN source maps to reduce the package size. If you rely on them, please switch to the new
@date-fns/cdnpackage that still includes them.
This release revisits the approach to CDN usage and introduces a new package,
@date-fns/cdnand deprecates thedate-fnsCDN scripts. It allowed reducing the zipped package size from5.83 MBdown to3.96 MBwithout introducing any breaking changes.In
v5.0.0-alpha.0where CDN scripts are completely removed fromdate-fnsthe change is more significant and brings the zipped package size down to2.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
DEPRECATED: The
date-fnsCDN scripts are now deprecated and will be removed in the next major release. Please switch to the new@date-fns/cdnpackage for CDN usage. - Removed
Removed CDN source maps to reduce the package size. If you rely on them, please switch to the new
@date-fns/cdnpackage that still includes them.
4.3.0
22 May 2026Fixed missing modularized optimization fallback (for Next.js and others). See #4193.
Fixed
ptlocale first day of week to be Sunday. See #4195Fixed
zh-CN,zh-HK, andzh-TWlocale month parsing for October, November, and December. See #4194
Kudos to @ImRodry and @puneetdixit200 for their contributions.
Fixed
Fixed missing modularized optimization fallback (for Next.js and others). See #4193.
Fixed
ptlocale first day of week to be Sunday. See #4195Fixed
zh-CN,zh-HK, andzh-TWlocale month parsing for October, November, and December. See #4194
4.2.1
18 May 2026Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.
Dependency tracking · free for 3 projects
Know when your own dependencies move
This page watches date-fns. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 8 Nov 2026. Releases and advisories last read 8 Nov 2026.