Skip to content

Commit a912445

Browse files
committed
v1.2.0
1 parent 072fd8a commit a912445

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 1.2.0 (December 3, 2024)
2+
3+
* Add `StatusCode::TOO_EARLY` constant for 425 status.
4+
* Loosen `TryFrom<HashMap>` for `HeaderMap` to work with any state generic.
5+
* Change `Builder` methods to use `TryInto` instead of `TryFrom` arguments.
6+
* Make `StatusCode::as_u16` a `const` function.
7+
* Fix `Method` parsing to allow `#$%&'` characters.
8+
* Fix `HeaderName` parsing to reject `"` characters.
9+
* Fix off by 1 error in `Method::from_bytes` that could cause extra allocations.
10+
111
# 1.1.0 (March 4, 2024)
212

313
* Add methods to allow trying to allocate in the `HeaderMap`, returning an error if oversize instead of panicking.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "http"
44
# - Update html_root_url in lib.rs.
55
# - Update CHANGELOG.md.
66
# - Create git tag
7-
version = "1.1.0"
7+
version = "1.2.0"
88
readme = "README.md"
99
documentation = "https://docs.rs/http"
1010
repository = "https://github.com/hyperium/http"

0 commit comments

Comments
 (0)