# date-fns/release
date-fns v5.0.0-alpha.0
importance: highbreakingmigrationprerelease
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
- 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`.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.