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

Commit beeb396

Browse files
committed
Bump versions to 2.0.0-next.2, update CHANGELOG.md
1 parent 5ecf7b4 commit beeb396

File tree

22 files changed

+288
-264
lines changed

22 files changed

+288
-264
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# 🚧 Changelog
22

3+
## 2.0.0-next.2
4+
5+
### Fixes
6+
7+
- Added support for the
8+
[`Response#encodeBody` property](https://developers.cloudflare.com/workers/runtime-apis/response#properties).
9+
If this is omitted or set to `auto`, `Response`s with a `Content-Encoding`
10+
header that includes `gzip`, `deflate` or `br` will be automatically encoded.
11+
Closes [issue #72](https://github.com/cloudflare/miniflare/issues/72), thanks
12+
[@SupremeTechnopriest](https://github.com/SupremeTechnopriest).
13+
- Getters on `Request`/`Response` are now enumerable, and headers added to
14+
`Request`/`Response` instances after construction will now be retained if
15+
those instances are used to construct new `Request`/`Response`s. Closes
16+
[issue #73](https://github.com/cloudflare/miniflare/issues/73), thanks
17+
[@maraisr](https://github.com/maraisr) and
18+
[@somebody1234](https://github.com/somebody1234).
19+
- Variables defined in `.env` files now override those in `wrangler.toml`.
20+
Closes [issue #75](https://github.com/cloudflare/miniflare/issues/75), thanks
21+
[@payellodevsupport](https://github.com/payellodevsupport) for the
22+
[PR](https://github.com/cloudflare/miniflare/pull/76).
23+
- `http` and `https` protocols are now required for WebSocket upgrades via
24+
`fetch` as per the workers runtime
25+
- Miniflare-added `CF-*` headers are now included in the HTML error response
26+
327
## 2.0.0-next.1
428

529
Miniflare 2 has been completely redesigned from version 1 with 3 primary design

0 commit comments

Comments
 (0)