Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Dec 3, 2024
1 parent 072fd8a commit a912445
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 1.2.0 (December 3, 2024)

* Add `StatusCode::TOO_EARLY` constant for 425 status.
* Loosen `TryFrom<HashMap>` for `HeaderMap` to work with any state generic.
* Change `Builder` methods to use `TryInto` instead of `TryFrom` arguments.
* Make `StatusCode::as_u16` a `const` function.
* Fix `Method` parsing to allow `#$%&'` characters.
* Fix `HeaderName` parsing to reject `"` characters.
* Fix off by 1 error in `Method::from_bytes` that could cause extra allocations.

# 1.1.0 (March 4, 2024)

* Add methods to allow trying to allocate in the `HeaderMap`, returning an error if oversize instead of panicking.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "http"
# - Update html_root_url in lib.rs.
# - Update CHANGELOG.md.
# - Create git tag
version = "1.1.0"
version = "1.2.0"
readme = "README.md"
documentation = "https://docs.rs/http"
repository = "https://github.com/hyperium/http"
Expand Down

0 comments on commit a912445

Please sign in to comment.