|
1 | 1 | # 🚧 Changelog |
2 | 2 |
|
| 3 | +## 2.3.0 |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +- Route `/cdn-cgi/mf/scheduled` requests based on mount routes. Closes |
| 8 | + [issue #163](https://github.com/cloudflare/miniflare/issues/163), thanks |
| 9 | + [@jed](https://github.com/jed). |
| 10 | +- Add clear error if a Durable Object class is missing a `fetch` handler. Closes |
| 11 | + [issue #164](https://github.com/cloudflare/miniflare/issues/164), thanks |
| 12 | + [@aboodman](https://github.com/aboodman). |
| 13 | +- Upgrade [`undici`](https://github.com/nodejs/undici) to |
| 14 | + [`4.13.0`](https://github.com/nodejs/undici/releases/tag/v4.13.0) |
| 15 | + |
| 16 | +### Fixes |
| 17 | + |
| 18 | +- Fix `instanceof` when subclassing `Error`. Subclasses of `Error` were |
| 19 | + previously treated as `Error`s themselves in `instanceof` checks. Closes |
| 20 | + [issue #159](https://github.com/cloudflare/miniflare/issues/159), thanks |
| 21 | + [@valeriangalliat](https://github.com/valeriangalliat). |
| 22 | +- Return `null` bodies when `fetch`ing `Response`s with a null status. Closes |
| 23 | + [issue #165](https://github.com/cloudflare/miniflare/issues/165), thanks |
| 24 | + [@lukaszczerpak](https://github.com/lukaszczerpak) for reporting this and |
| 25 | + [@GregBrimble](https://github.com/GregBrimble) for |
| 26 | + [the PR](https://github.com/cloudflare/miniflare/pull/172). |
| 27 | +- Clone `ArrayBuffer` bodies when constructing `Request`/`Response`s. Closes |
| 28 | + [issue #171](https://github.com/cloudflare/miniflare/issues/171), thanks |
| 29 | + [@segator](https://github.com/segator) and |
| 30 | + [@leader22](https://github.com/leader22). |
| 31 | +- Watch `index.js` by default in `type = "webpack"` projects |
| 32 | +- Throw `TypeError`s instead of `string`s on `HTMLRewriter` parser errors |
| 33 | +- Disable nested mounts via `Miniflare#getMount().setOptions()` |
| 34 | + |
3 | 35 | ## 2.2.0 |
4 | 36 |
|
5 | 37 | ### Features |
|
0 commit comments