Changes this week:
- Added support for the
EventTarget.addEventListener(), to remove an event listener in response to an
rejectionhandledevents are now supported.
ReadableStreamBYOBReaderconstructors are now supported.
- Added non-standard
.readAtLeast(size, buffer)that can be used to return a buffer with at least
bufferparameter must be an
ArrayBufferView. Behavior is identical to
.read()except that at least
sizebytes are read, only returning fewer if EOF is encountered. One final call to
.readAtLeast()is still needed to get back a
done = truevalue.
- The compatibility flags
durable_object_fetch_requires_full_urlhave been scheduled to be turned on by default as of 2021-11-03, 2021-11-10, and 2021-11-10, respectively. For more details, see: https://developers.cloudflare.com/workers/platform/compatibility-dates