unstale

npm / temporal-polyfill

temporal-polyfill

What changed in temporal-polyfill 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

1 performance8 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

temporal-polyfill 19 changes

Performance 1

  • Tree-shakeable API imports are 27.30% smaller on average after minification and gzip.

    1.0.5release notes

Fixes and other changes 8

  • Disallowed duration units now produce a clearer error, naming the invalid unit and the allowed range.

    1.0.6release notes

  • Fixes a load-time ReferenceError under ESM loaders that wrap modules, such as OpenTelemetry's import-in-the-middle.

    1.0.6release notes

  • Preserves transitions at epoch nanoseconds 0n instead of returning null in both class-based and tree-shakeable APIs.

    1.0.5release notes

  • Sub-hour difference functions preserve fractional precision and return positive zero for results that round to zero.

    1.0.5release notes

  • Improves parity with class-based APIs for year, month, week, and day differences, including rounding, validation, precision, and range handling.

    1.0.5release notes

  • Tree-shakeable helpers now use correct non-ISO calendar boundaries instead of mixing calendar year/month values with ISO fields.

    1.0.5release notes

  • The /full entrypoint now defers to native Temporal.

    1.0.4release notes

  • The tree-shakeable API is now CJS-friendly for require(esm).

    1.0.4release notes