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#encodeBody
property. If this is omitted or set toauto
,Response
s with aContent-Encoding
header that includesgzip
,deflate
orbr
will be automatically encoded. Closes issue #72, thanks @SupremeTechnopriest. - Getters on
Request
/Response
are now enumerable, and headers added toRequest
/Response
instances after construction will now be retained if those instances are used to construct newRequest
/Response
s. Closes issue #73, thanks @maraisr and @somebody1234. - Variables defined in
.env
files now override those inwrangler.toml
. Closes issue #75, thanks @payellodevsupport for the PR. http
andhttps
protocols are now required for WebSocket upgrades viafetch
as per the workers runtime- Miniflare-added
CF-*
headers are now included in the HTML error response