tl;dr
- Fix
PathAndQuery::from_static()andfrom_shared()to reject inputs that do not start with/. - Fix
ExtendforHeaderMapto clamp max size hint and not overflow. - Fix
header::IntoIterthat could use-after-free if the generic value type could panic on drop. - Fix
header::{IterMut, ValuesIterMut}to not violate stacked borrows.
What's Changed
- chore(header): fix clippy::assign_op_pattern by @rxc-amzn in #806
- ci: pin itoa in msrv job by @seanmonstar in #813
- Remove unnecessary explicit lifetimes by @jplatte in #815
- chore(ci): update to actions/checkout@v6 by @tottoto in #819
- tests: update to rand 0.10 by @tottoto in #818
- refactor: Remove usage of float instruction by @AurelienFT in #823
- refactor(uri): consolidate PathAndQuery::from_shared and from_static by @seanmonstar in #825
- fix(uri): reject Path::from_shared/from_static if doesn't start with slash by @seanmonstar in #826
- Rephrase comment by @daalfox in #827
- Fix typo in request builder docs by @vleksis in #831
- fix: clamp Extend size hint so HeaderMap reserve cannot overflow by @SAY-5 in #833
- fix(headers): fix stacked borrows for IterMut/ValuesIterMut by @seanmonstar in #837
- fix(header): use a set_len guard in IntoIter drop by @seanmonstar in #838
New Contributors
- @rxc-amzn made their first contribution in #806
- @AurelienFT made their first contribution in #823
- @daalfox made their first contribution in #827
- @vleksis made their first contribution in #831
- @SAY-5 made their first contribution in #833
Full Changelog: v1.4.0...v1.4.1