diff --git a/CHANGELOG.md b/CHANGELOG.md index ee8f5eb7..3bafce6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v2.1.0 + +- Added streaming handlers. +- Only allow changing the charset once with the `` tag, in accordance with the HTML spec. +- Fixed parsing of invalid elements in `` and ``. + ## v2.0.0 - Added the ability for the rewriter to be [`Send`](https://doc.rust-lang.org/std/marker/trait.Send.html). diff --git a/Cargo.toml b/Cargo.toml index 5e9bb96b..066a0856 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,8 @@ mime = "0.3.16" [dev-dependencies] criterion = "0.5.1" -clap = { version = "*", features = ["help"] } # for criterion <= v0.5.1 +# Needed for criterion <= v0.5.1. See https://github.com/bheisler/criterion.rs/pull/703. +clap = { version = "4.5.21", features = ["help"] } glob = "0.3.0" html5ever = "0.26.0" markup5ever_rcdom = "0.2.0" diff --git a/c-api/Cargo.lock b/c-api/Cargo.lock index 004024d8..25f79330 100644 --- a/c-api/Cargo.lock +++ b/c-api/Cargo.lock @@ -177,7 +177,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lol_html" -version = "2.0.0" +version = "2.1.0" dependencies = [ "bitflags 2.6.0", "cfg-if",