@js-temporal/polyfill
Advanced tools
Changelog
0.4.3
Bug fixes:
monthCode
, the year was a leap year, and the month was after the leap
month ([f3d0ca9f])calendarName='always'
is passed
to various Temporal toString method's options bags ([54fcc4f3])relativeTo
property bag ([9992f9b1])Non-breaking changes:
Changelog
0.4.2
This version is a patch version enabling TypeScript Node16 support for this package.
Bug Fixes:
Changelog
0.4.1
This version is a patch version enabling polyfill compatibility with Safari versions <15.1 (October 2021 and earlier).
Bug fixes:
Changelog
0.4.0
This version roughly corresponds with all the changes made to the Temporal polyfill as of the January 2022 TC39 Plenary meeting.
Breaking changes:
Bug fixes:
Non-breaking changes:
valueOf
in the Temporal.Duration type ([b1dd7eb3])Array
, not an Iterable
([3145c6c4], see also Spec PR)Other:
Changelog
0.3.0
This version roughly corresponds with all the changes made to the Temporal polyfill as of the October 2021 TC39 Plenary meeting.
Breaking changes:
getOffsetNanosecondsFor
method, and no longer fall back to the intrinsic definition (previously provided by Temporal.Timezone#getOffsetNanosecondsFor
) if not provided. ([08346dc5], see also proposal-temporal polyfill PR)Bug fixes:
day
outside current JPN era ([6d3588c3], see also proposal-temporal polyfill PR)getPossibleInstantsFor
in InterpretISODateTimeOffset
([5448e59f], see also Spec PR)CalendarEquals
correctly ([07ea694e], see also proposal-temporal polyfill PR)Non-breaking changes:
#round
and #total
methods now accept string parameters or options bags. Strings are interpreted as the smallestUnit
option (or unit
for Temporal.Duration#total
). ([068e801f], see also Spec PR)Other: