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

Commit 3e9e9ad

Browse files
committed
Bump versions to 2.2.0, update CHANGELOG.md and docs
1 parent b3cd7d1 commit 3e9e9ad

File tree

23 files changed

+335
-306
lines changed

23 files changed

+335
-306
lines changed

docs/CHANGELOG.md

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

3+
## 2.2.0
4+
5+
### Features
6+
7+
- Add support for the `HTMLRewriter`
8+
[`Element#onEndTag(handler)`](https://github.com/cloudflare/workers-types/blob/17d21e9ae7cfee0c5d6ca4bf247978e5618c0386/index.d.ts#L466-L474)
9+
[method](https://community.cloudflare.com/t/2022-01-17-workers-runtime-release-notes/346596)
10+
- Add support for the
11+
[`html_rewriter_treats_esi_include_as_void_tag`](https://developers.cloudflare.com/workers/platform/compatibility-dates#htmlrewriter-handling-of-esiinclude)
12+
compatibility flag
13+
- Make the error message when attempting to import Node.js built-in modules more
14+
helpful
15+
16+
### Fixes
17+
18+
- Fix `instanceof` checks with `null` values. Closes issues
19+
[#152](https://github.com/cloudflare/miniflare/issues/152) and
20+
[#154](https://github.com/cloudflare/miniflare/issues/154). Thanks
21+
[@Cerberus](https://github.com/Cerberus) for
22+
[the PR](https://github.com/cloudflare/miniflare/pull/155), and
23+
[@bduff9](https://github.com/bduff9), [@huw](https://github.com/huw) &
24+
[@g45t345rt](https://github.com/g45t345rt) for reporting this.
25+
- Fix subdirectory watching on Linux. Closes
26+
[issue #153](https://github.com/cloudflare/miniflare/issues/153), thanks
27+
[@huw](https://github.com/huw) for reporting this.
28+
- Throw a `TypeError` instead of a `string` when the parameter passed to a
29+
`HTMLRewriter` handler is used outside the handler
30+
331
## 2.1.0
432

533
### Features

docs/src/content/core/compatibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ Specifically Miniflare supports the following flags:
7272
- [`durable_object_fetch_requires_full_url`/`durable_object_fetch_allows_relative_url`](https://developers.cloudflare.com/workers/platform/compatibility-dates#durable-object-stubfetch-requires-a-full-url)
7373
- [`fetch_refuses_unknown_protocols`/`fetch_treats_unknown_protocols_as_http`](https://developers.cloudflare.com/workers/platform/compatibility-dates#fetch-improperly-interprets-unknown-protocols-as-http)
7474
- [`formdata_parser_supports_files`/`formdata_parser_converts_files_to_strings`](https://developers.cloudflare.com/workers/platform/compatibility-dates#formdata-parsing-supports-file)
75+
- [`html_rewriter_treats_esi_include_as_void_tag`](https://developers.cloudflare.com/workers/platform/compatibility-dates#htmlrewriter-handling-of-esiinclude)

0 commit comments

Comments
 (0)