diff --git a/src/workerd/io/compatibility-date.capnp b/src/workerd/io/compatibility-date.capnp index cf9dae5dc92..48ce0b2089c 100644 --- a/src/workerd/io/compatibility-date.capnp +++ b/src/workerd/io/compatibility-date.capnp @@ -1229,7 +1229,8 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef { fetchIterableTypeSupport @146 :Bool $compatEnableFlag("fetch_iterable_type_support") - $compatDisableFlag("no_fetch_iterable_type_support"); + $compatDisableFlag("no_fetch_iterable_type_support") + $compatEnableDate("2026-02-19"); # Enables passing sync and async iterables as the body of fetch Request or Response. # Previously, sync iterables like Arrays would be accepted but stringified, and async # iterables would be treated as regular objects and not iterated over at all. With this @@ -1239,6 +1240,7 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef { # that allows this behavior and allows sync Generator and AsyncGenerator objects to be # included in kj::OneOf declarations safely with strings and other types. When enabled, # strings are ignored but Arrays will be treated as iterables and not stringified as before. + # Also see fetchIterableTypeSupportOverrideAdjustment. envModuleNullableSupport @147 :Bool $compatEnableFlag("env_module_nullable_support") diff --git a/types/generated-snapshot/latest/index.d.ts b/types/generated-snapshot/latest/index.d.ts index 7f817123e7b..97003099dfa 100755 --- a/types/generated-snapshot/latest/index.d.ts +++ b/types/generated-snapshot/latest/index.d.ts @@ -1913,7 +1913,9 @@ type BodyInit = | ArrayBufferView | Blob | URLSearchParams - | FormData; + | FormData + | Iterable + | AsyncIterable; declare abstract class Body { /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */ get body(): ReadableStream | null; diff --git a/types/generated-snapshot/latest/index.ts b/types/generated-snapshot/latest/index.ts index 1d06a2d4f15..8954e60d829 100755 --- a/types/generated-snapshot/latest/index.ts +++ b/types/generated-snapshot/latest/index.ts @@ -1918,7 +1918,9 @@ export type BodyInit = | ArrayBufferView | Blob | URLSearchParams - | FormData; + | FormData + | Iterable + | AsyncIterable; export declare abstract class Body { /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */ get body(): ReadableStream | null;