Skip to content

Commit e97d16c

Browse files
committed
Bump to v3.0.0.
The two preceding commits added public fields to `MemorySettings` and `Settings`, externally-constructible structs without `#[non_exhaustive]`. `cargo-semver-checks` flags this as requiring a major version bump. Also bumps `js-api` to match. `lol_html_c_api` keeps its own version cadence; the maintainer can bump it separately if desired.
1 parent 31ed2fa commit e97d16c

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## v3.0.0
44

55
- Added `MemorySettings::graceful_bail_out_on_memory_limit_exceeded`: when set, the rewriter
66
flushes every input byte it has received but not yet emitted to the sink (as-is) before
@@ -10,6 +10,8 @@
1010
above, but for `RewritingError::ContentHandlerError`. When set, the rewriter flushes
1111
remaining input bytes before propagating a handler error, preserving the response.
1212
Currently exposed via the Rust API only; the C API still uses the original behavior.
13+
- Adding new fields to `MemorySettings` and `Settings` is a SemVer-breaking change for
14+
existing struct-literal construction, hence the major version bump.
1315

1416
## v2.9.0
1517

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lol_html"
3-
version = "2.9.0"
3+
version = "3.0.0"
44
authors = ["Ivan Nikulin <inikulin@cloudflare.com, ifaaan@gmail.com>"]
55
license = "BSD-3-Clause"
66
description = "Streaming HTML rewriter/parser with CSS selector-based API"

c-api/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js-api/Cargo.lock

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

js-api/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "lol-html"
33
description = "Streaming HTML rewriter/parser with CSS selector-based API"
44
license = "BSD-3-Clause"
5-
version = "2.9.0"
5+
version = "3.0.0"
66
authors = ["Ivan Nikulin <inikulin@cloudflare.com>", "Gus Caplan <me@gus.host>"]
77
repository = "https://github.com/cloudflare/lol-html"
88
edition = "2024"
@@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"]
1414

1515
[dependencies]
1616
js-sys = "0.3.97"
17-
lol_html_native = { package = "lol_html", path = "../", version = "2.9.0" }
17+
lol_html_native = { package = "lol_html", path = "../", version = "3.0.0" }
1818
serde = { version = "1.0.228", features = ["derive"] }
1919
encoding_rs = "0.8.35"
2020
serde-wasm-bindgen = "0.6.5"

0 commit comments

Comments
 (0)