npm / dayjs
dayjs
What changed in dayjs 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 deprecations1 performance7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdayjs 19 changes
Deprecations 1
Usage warnings were added for diff.
Performance 1
Arabic locale functions no longer instantiate regexes, avoiding performance overhead.
Fixes and other changes 7
The timezone plugin no longer throws a RangeError for invalid Day.js values.
Fixes timezone offset computation for instance tz() without relying on host DST.
Unsupported year tokens are now preserved in format output.
The Khmer locale now supports meridiem.
The updateLocale plugin merges nested object properties instead of replacing them.
The Belarusian locale was updated with relative time.
The Italian locale phrase “un' ora fa” was replaced with “un'ora fa”.