2020/11/13 Workers Runtime Release Notes

Changes over the past week:

  • ReadableStream.cancel() and ReadableStream.getReader().cancel() now take an optional, instead of a mandatory, argument, to conform with the Streams spec.
  • Fixed an error that occurred when a WASM module declared that it wanted to grow larger than 128MB. Instead, the actual memory usage of the module is monitored and an error is thrown if it exceeds 128MB used.

When was this exactly deployed?

It would mean that my issue is probably solved: https://github.com/cloudflare/kv-asset-handler/issues/155

Failed to execute 'cancel' on 'ReadableStream': parameter 1 is not of type 'Value'.

It happened at 2020-11-09T19:14:35.155000Z and 2020-11-09T19:14:35.162000Z

Likely caused by

if (response.body && 'cancel' in Object.getPrototypeOf(response.body)) {

The change was fully deployed by around 2020-11-12 03:00 UTC.

It does seem like this change would solve the issue you reported, which is good. (We probably should have changed that cancel() call in kv-asset-handler, though.)

1 Like