File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
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
+
1
11
# 1.1.0 (March 4, 2024)
2
12
3
13
* Add methods to allow trying to allocate in the ` HeaderMap ` , returning an error if oversize instead of panicking.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name = "http"
4
4
# - Update html_root_url in lib.rs.
5
5
# - Update CHANGELOG.md.
6
6
# - Create git tag
7
- version = " 1.1 .0"
7
+ version = " 1.2 .0"
8
8
readme = " README.md"
9
9
documentation = " https://docs.rs/http"
10
10
repository = " https://github.com/hyperium/http"
You can’t perform that action at this time.
0 commit comments