Update Rust crate tower-http to v0.6.11 #20
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/navinote!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/tower-http-0.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.6.8→0.6.11Release Notes
tower-rs/tower-http (tower-http)
v0.6.11Compare Source
Added
set-header: addSetMultipleResponseHeadersLayerandSetMultipleResponseHeaderfor setting multiple response headers at once.Supports
overriding,appending, andif_not_presentmodes. Headervalues can be fixed or computed dynamically via closures (#672)
set-header: addSetMultipleRequestHeadersLayerandSetMultipleRequestHeadersfor setting multiple request headers at once,mirroring the response-side API (#677)
classify: addFrom<i32>andFrom<NonZeroI32>impls forGrpcCode.Unrecognized status codes map to
GrpcCode::Unknown(#506)Changed
compression: compressapplication/grpc-webresponses. Previously allapplication/grpc*content types were excluded from compression; now onlyapplication/grpc(non-web) is excluded (#408)Fixed
fs: fixServeDirreturning 500 instead of 405 for non-GET/HEAD requestswhen
call_fallback_on_method_not_allowedis enabled but no fallback serviceis configured (#587)
fs: remove duplicatecfgattribute onis_reserved_dos_name(#675)All PRs
New Contributors
Full Changelog: https://github.com/tower-rs/tower-http/compare/tower-http-0.6.10...tower-http-0.6.11
v0.6.10Compare Source
Added
follow-redirect: exposeAttempt::method()andAttempt::previous_method()so redirect policies can react to method changes across redirects (e.g.
POST to GET on 301/303) (#559)
Fixed
tokioandasync-compressionas no-op features. These will beremoved next breaking release (#667)
What's Changed
New Contributors
Full Changelog: https://github.com/tower-rs/tower-http/compare/tower-http-0.6.9...tower-http-0.6.10
v0.6.9Compare Source
Added:
on-early-drop: middleware that detects when a response future or responsebody is dropped before completion (#636)
Two events get hooks: the response future being dropped before
the inner service produces a response, and the response body being
dropped before reaching end-of-stream.
Install custom callbacks with
OnEarlyDropLayer::builder():Or route both events through a
trace::OnFailurehook withEarlyDropsAsFailures. Place this layer inside aTraceLayerso theemitted events inherit the request span:
fs: makeAsyncReadBody::with_capacitypublic (#415)Changed:
async-compressionfeature is removed (#642)tokiofeature is removed (#628)fs: no longer auto-enables thetracingcrate feature; enabletracingexplicitly to restore error logging on
ServeDirIO failures (#614)Fixed
trace: restore failure classification at end-of-stream (#483)follow-redirect: support unicode URLs (swapsiri-stringdep forurl) (#646)fs: reject reserved Windows DOS device names (CON,COM1, etc.) inServeDir(#663)All the PRs
New Contributors
Full Changelog: https://github.com/tower-rs/tower-http/compare/tower-http-0.6.8...tower-http-0.6.9
Configuration
📅 Schedule: (UTC)
* 8-9 * * 1,4)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.