Releases: tower-rs/tower-http
Releases · tower-rs/tower-http
tower-http-0.6.2
Changed:
CompressionBody<B>
now propagatesB
's size hint in itshttp_body::Body
implementation, if compression is disabled (#531)- this allows a
content-length
to be included in an HTTP message with this
body for those cases
- this allows a
New Contributors
- @musicinmybrain made their first contribution in #524
- @SabrinaJewson made their first contribution in #531
Full Changelog: tower-http-0.6.1...tower-http-0.6.2
v0.6.1
Fixed
- decompression: reuse scratch buffer to significantly reduce allocations and improve performance (#521)
New Contributors
- @magurotuna made their first contribution in #521
v0.6.0
v0.5.2
Added:
- compression: Will now send a
vary: accept-encoding
header on compressed responses (#399) - compression: Support
x-gzip
as equivalent togzip
inaccept-encoding
request header (#467)
Fixed
- compression: Skip compression for range requests (#446)
- compression: Skip compression for SSE responses by default (#465)
- cors: Actually keep Vary headers set by the inner service when setting response headers (#473)
- Version 0.5.1 intended to ship this, but the implementation was buggy and didn't actually do anything
v0.5.1
v0.5.0
Changed
- Bump Minimum Supported Rust Version to 1.66 (#433)
- Update to http-body 1.0 (#348)
- Update to http 1.0 (#348)
- Preserve service error type in RequestDecompression (#368)
Fixed
- Accepts range headers with ranges where the end of range goes past the end of the document by bumping
http-range-header to0.4
v0.4.4
- trace: Default implementations for trace bodies.
v0.4.3
Fixed
- compression: Fix accidental breaking change in 0.4.2.