@@ -15,8 +15,58 @@ To be released.
1515 fetches are retried once, and remaining transport failures are reported as
1616 ` FetchError ` with the original error as the cause. [[ #762 ] , [ #763 ]]
1717
18+ - Fixed a ` TypeError ` thrown when Activity Vocabulary constructors received
19+ a ` Temporal.Instant ` or ` Temporal.Duration ` produced by an implementation
20+ other than the bundled ` @js-temporal/polyfill ` (for example, the native
21+ ` Temporal ` shipped with Node.js 26+). Internal ` instanceof ` checks have
22+ been replaced with ` Symbol.toStringTag ` -based guards so any spec-conformant
23+ Temporal value is accepted. Generated _ \* .d.ts_ declarations no longer
24+ import from ` @js-temporal/polyfill ` ; they reference the ambient ` Temporal `
25+ namespace through the ` esnext.temporal ` lib instead, which removes the
26+ nominal mismatch with native Temporal types. TypeScript 6.0 or later is
27+ required to consume the type declarations. [[ #767 ] , [ #768 ]]
28+
1829[ #762 ] : https://github.com/fedify-dev/fedify/issues/762
1930[ #763 ] : https://github.com/fedify-dev/fedify/pull/763
31+ [ #767 ] : https://github.com/fedify-dev/fedify/issues/767
32+ [ #768 ] : https://github.com/fedify-dev/fedify/pull/768
33+
34+ ### @fedify/vocab-runtime
35+
36+ - Added ` isTemporalInstant() ` and ` isTemporalDuration() ` type guards that
37+ accept both polyfill and native ` Temporal ` values via ` Symbol.toStringTag ` .
38+ [[ #767 ] , [ #768 ]]
39+
40+ - Added the ` @fedify/vocab-runtime/temporal ` subpath export so consumers
41+ can import the new ` Temporal ` type guards without pulling in the rest of
42+ the runtime. [[ #767 ] , [ #768 ]]
43+
44+ ### @fedify/postgres
45+
46+ - Generated _ \* .d.ts_ declarations no longer import from
47+ ` @js-temporal/polyfill ` ; they reference the ambient ` Temporal ` namespace
48+ through the ` esnext.temporal ` lib instead, so ` pollInterval ` and
49+ ` handlerTimeout ` accept native ` Temporal.Duration ` values from Node.js
50+ 26+ without a nominal type mismatch. TypeScript 6.0 or later is
51+ required to consume the type declarations. [[ #767 ] , [ #768 ]]
52+
53+ ### @fedify/redis
54+
55+ - Generated _ \* .d.ts_ declarations no longer import from
56+ ` @js-temporal/polyfill ` ; they reference the ambient ` Temporal ` namespace
57+ through the ` esnext.temporal ` lib instead, so ` pollInterval ` accepts
58+ native ` Temporal.Duration ` values from Node.js 26+ without a nominal type
59+ mismatch. TypeScript 6.0 or later is required to consume the type
60+ declarations. [[ #767 ] , [ #768 ]]
61+
62+ ### @fedify/sqlite
63+
64+ - Generated _ \* .d.ts_ declarations no longer import from
65+ ` @js-temporal/polyfill ` ; they reference the ambient ` Temporal ` namespace
66+ through the ` esnext.temporal ` lib instead, so ` pollInterval ` accepts
67+ native ` Temporal.Duration ` values from Node.js 26+ without a nominal type
68+ mismatch. TypeScript 6.0 or later is required to consume the type
69+ declarations. [[ #767 ] , [ #768 ]]
2070
2171
2272Version 2.0.16
0 commit comments