unstale

npm / @date-fns/utc

@date-fns/utc

What changed in @date-fns/utc 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 new APIs and options1 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@date-fns/utc 22 changes

New APIs and options 1

  • Adds tz to specify the context for date-fns functions, starting from date-fns@4.

    2.0.0release notes

Behavior and default changes 1

  • The package is now ESM-first; CommonJS remains supported, but this might break in certain environments.

    2.0.0release notes