Skip to content

v0.1.1

Choose a tag to compare

@Pyr33x Pyr33x released this 15 Nov 06:35
· 12 commits to master since this release

Fixes

  • Gateway crashed on every request with 1101 (Illegal invocation, then Cannot read properties of undefined (reading 'body')).
    The internal HTTP client called fetch and setTimeout as methods of js.Global(), which in a goflare Worker is a Proxy over globalThis; workerd rejects that this, and the thrown error killed the Go instance for the whole isolate.
    The wasm transport now invokes the runtime's fetch directly and times out with AbortSignal.timeout. webtyp.com/fetch is no longer compiled into the Workers.

Tests

  • Regression test: the URL client must call fetch without a this and pass its timeout as an AbortSignal.

Full Changelog: v0.1.0...v0.1.1