Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

v2.0.0-next.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mrbbot mrbbot released this 30 Oct 12:45
· 547 commits to v2 since this release

Fixes

  • Added support for the Response#encodeBody property. If this is omitted or set to auto, Responses with a Content-Encoding header that includes gzip, deflate or br will be automatically encoded. Closes issue #72, thanks @SupremeTechnopriest.
  • Getters on Request/Response are now enumerable, and headers added to Request/Response instances after construction will now be retained if those instances are used to construct new Request/Responses. Closes issue #73, thanks @maraisr and @somebody1234.
  • Variables defined in .env files now override those in wrangler.toml. Closes issue #75, thanks @payellodevsupport for the PR.
  • http and https protocols are now required for WebSocket upgrades via fetch as per the workers runtime
  • Miniflare-added CF-* headers are now included in the HTML error response