Skip to content

Commit 94b8b26

Browse files
12wrigjaptomato
authored andcommitted
Release 0.4.3
1 parent 9bab0eb commit 94b8b26

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# 0.4.3
2+
3+
Bug fixes:
4+
- Fix an off-by-one error when dates in the Hebrew calenar were created using
5+
`monthCode`, the year was a leap year, and the month was after the leap
6+
month ([f3d0ca9f])
7+
- Fix addition of months and years for lunisolar calendars ([4f8b04c1])
8+
- Fix the ISO8601 representation of years between 1 BCE and 999 BCE ([b251dc0e]).
9+
- Fix a bug causing time to appear to go backwards for a small number of
10+
milliseconds ([bb59ca97])
11+
- Always validate ISO8601 time components as well as date components
12+
([34662a05])
13+
- Fix comparison of dates that might have a differing number of hours in their
14+
respective days ([a4c60241])
15+
- Include calendar reference information when `calendarName='always'` is passed
16+
to various Temporal toString method's options bags ([54fcc4f3])
17+
- Fix a nonconformant use of the `relativeTo` property bag ([9992f9b1])
18+
- Fix ZonedDateTime.prototype.withPlainTime(null) to throw a TypeError, instead
19+
of treating it as midnight ([ec2b0546])
20+
- Fix parsing of some valid Instant strings when they would be out of range
21+
before considering the UTC offset ([d9de9e74])
22+
- Bail out early in non-ISO calendar implementations to avoid an infinte loop
23+
when calculating the duration between two identical dates. ([6f3c42c9])
24+
- Fix type resolution when using TypeScript Node16 and transpiling to CJS ([9bab0eb5], see
25+
also the [relevant TypeScript issue](https://github.com/microsoft/TypeScript/issues/49160))
26+
27+
Non-breaking changes:
28+
- Consistently call observable operations with undefined options arguments,
29+
instead of empty objects ([297b8f38])
30+
131
# 0.4.2
232

333
This version is a patch version enabling TypeScript Node16 support for this
@@ -100,6 +130,19 @@ Other:
100130
- The polyfill's source was ported to TypeScript ([12e4d529], [ac78fd9d], [53f32e0f], [06b806c9], [66fdc765], [50b1c34b], [4724b017], [947a8a5e], [fdbf7e01], [fa60af6a], [da753f2f], [f4db8b0b], [4a38420d])
101131
- Document the release process for this polyfill ([c55818b6])
102132

133+
[f3d0ca9f]: https://github.com/js-temporal/temporal-polyfill/commit/f3d0ca9f2f32beb071a7d25c9732bd38784b3e6d
134+
[4f8b04c1]: https://github.com/js-temporal/temporal-polyfill/commit/4f8b04c1caba0360a527cbe8c8d95e2a8642ab6e
135+
[b251dc0e]: https://github.com/js-temporal/temporal-polyfill/commit/b251dc0ef48cd7b2edee2f6541ce0cfb6d019e08
136+
[bb59ca97]: https://github.com/js-temporal/temporal-polyfill/commit/bb59ca970b1c0cb70bdafd2896814076c11edd07
137+
[34662a05]: https://github.com/js-temporal/temporal-polyfill/commit/34662a05cfe50e17a02356cbc55ff0ca2365e888
138+
[a4c60241]: https://github.com/js-temporal/temporal-polyfill/commit/a4c602410bb5b711683918cd414568e19c594499
139+
[54fcc4f3]: https://github.com/js-temporal/temporal-polyfill/commit/54fcc4f34b6ce87d15d3df9359bb538766c562ef
140+
[9992f9b1]: https://github.com/js-temporal/temporal-polyfill/commit/9992f9b1137ff52cc427bc0c96504dca387d267b
141+
[ec2b0546]: https://github.com/js-temporal/temporal-polyfill/commit/ec2b0546dd68718c6645713512753570eccf0ba6
142+
[d9de9e74]: https://github.com/js-temporal/temporal-polyfill/commit/d9de9e74d0cba630b3480b31964362f82c435992
143+
[6f3c42c9]: https://github.com/js-temporal/temporal-polyfill/commit/6f3c42c90460fa0917e228b5724d7b462c052fd8
144+
[9bab0eb5]: https://github.com/js-temporal/temporal-polyfill/commit/9bab0eb586a8db13081a51e81fd0f6f2518d041a
145+
[297b8f38]: https://github.com/js-temporal/temporal-polyfill/commit/297b8f385e5a146ad9c97ce3a9865a654999a713
103146
[304c86dd]: https://github.com/js-temporal/temporal-polyfill/commit/304c86dd61e7107095ed42149e85d919e3a6cac8
104147
[b733c213]: https://github.com/js-temporal/temporal-polyfill/commit/b733c213cba462f79eb9ee3a084661ea5344d9ea
105148
[670cda6b]: https://github.com/js-temporal/temporal-polyfill/commit/670cda6bd269db66c8ce97eb73f941b20abb92ec

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@js-temporal/polyfill",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Polyfill for Tc39 Stage 3 proposal Temporal (https://github.com/tc39/proposal-temporal)",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)