date-fns
4.4.0 · 29 May 2026MIT126.2M / weekRepositorynpmAtom feed
Upgrading date-fns From 4.0.0 to 4.4.0
5 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 2
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.4.0
- Deprecated4.4.0
Release by release
- Breaking
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. - 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.
- Breaking
- Fixed
Fixed missing modularized optimization fallback (for Next.js and others). See #4193.
- Fixed
Fixed
ptlocale first day of week to be Sunday. See #4195 - Fixed
Fixed
zh-CN,zh-HK, andzh-TWlocale month parsing for October, November, and December. See #4194
- Fixed
- Fixed
Fixed type definitions missing in v4.2.0 due to TypeScript misconfiguration.
- Fixed
- New
Added Temporal API references to the JSDoc annotations of
add,addBusinessDays, andaddDays.
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.