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
Fixes
- Added support for the
Response#encodeBodyproperty. If this is omitted or set toauto,Responses with aContent-Encodingheader that includesgzip,deflateorbrwill be automatically encoded. Closes issue #72, thanks @SupremeTechnopriest. - Getters on
Request/Responseare now enumerable, and headers added toRequest/Responseinstances after construction will now be retained if those instances are used to construct newRequest/Responses. Closes issue #73, thanks @maraisr and @somebody1234. - Variables defined in
.envfiles now override those inwrangler.toml. Closes issue #75, thanks @payellodevsupport for the PR. httpandhttpsprotocols are now required for WebSocket upgrades viafetchas per the workers runtime- Miniflare-added
CF-*headers are now included in the HTML error response