Changes this week:
- A new compatibility flag has been introduced,
minimal_subrequests
, which removes some features that were unintentionally being applied to same-zonefetch()
calls. The flag will default to enabled on Tuesday, 2022-04-05, and is described in [Workers] Document `minimal_subrequests` compatibility flag by harrishancock · Pull Request #3814 · cloudflare/cloudflare-docs · GitHub. - When creating a
Response
with JavaScript-backed ReadableStreams, theBody
mixin functions (e.g.await response.text()
) are now implemented. - The
IdentityTransformStream
creates a byte-orientedTransformStream
implementation that simply passes bytes through unmodified. The readable half of theTransformStream
supports BYOB-reads. It is important to note thatIdentityTransformStream
is identical to the current non-spec compliantTransformStream
implementation, which will be updated soon to conform to the WHATWG Stream Standard. All current uses ofnew TransformStream()
should be replaced withnew IdentityTransformStream()
to avoid potentially breaking changes later.