Changes this week:
- A new compatibility flag has been introduced,
minimal_subrequests, which removes some features that were unintentionally being applied to same-zone
fetch()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
Bodymixin functions (e.g.
await response.text()) are now implemented.
IdentityTransformStreamcreates a byte-oriented
TransformStreamimplementation that simply passes bytes through unmodified. The readable half of the
TransformStreamsupports BYOB-reads. It is important to note that
IdentityTransformStreamis identical to the current non-spec compliant
TransformStreamimplementation, which will be updated soon to conform to the WHATWG Stream Standard. All current uses of
new TransformStream()should be replaced with
new IdentityTransformStream()to avoid potentially breaking changes later.