Skip to content

Commit 4821111

Browse files
committed
Bump version to 0.4.0
1 parent d7112ad commit 4821111

File tree

3 files changed

+33
-114
lines changed

3 files changed

+33
-114
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# 🚧 Changelog
22

3+
## 0.4.0
4+
5+
- Add support for `Element#onEndTag`
6+
- Add support for the
7+
[`html_rewriter_treats_esi_include_as_void_tag`](https://developers.cloudflare.com/workers/platform/compatibility-dates#htmlrewriter-handling-of-esiinclude)
8+
compatibility flag
9+
- Throw a `TypeError` instead of a `string` when a content token is used outside
10+
the relevant content handler
11+
312
## 0.3.3
413

514
- Make `Promise` detection for async handlers stricter
@@ -12,7 +21,7 @@
1221

1322
## 0.3.1
1423

15-
- Change the return type of `Element.attributes` to `IterableIterator`
24+
- Change the return type of `Element#attributes` to `IterableIterator`
1625
- Bind handlers' `this` in Rust
1726

1827
## 0.3.0

package-lock.json

Lines changed: 22 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-rewriter-wasm",
3-
"version": "0.3.3",
3+
"version": "0.4.0",
44
"description": "WebAssembly version of HTMLRewriter",
55
"main": "dist/html_rewriter.js",
66
"types": "dist/html_rewriter.d.ts",

0 commit comments

Comments
 (0)