Releases: tower-rs/tower
Releases · tower-rs/tower
tower 0.5.2
tower 0.5.1
- Fix minimum version of
tower-layer
dependency (#787)
tower-layer 0.3.3
tower 0.5.0
Fixed
- util:
BoxService
is nowSync
(#702)
Changed
- util: Removed deprecated
ServiceExt::ready_and
method andReadyAnd
future (#652) - retry: Breaking Change
retry::Policy::retry
now accepts&mut Req
and&mut Res
instead of the previous mutable versions. This
increases the flexibility of the retry policy. To update, update your method signature to includemut
for both parameters. (#584) - retry: Breaking Change Change Policy to accept &mut self (#681)
- retry: Add generic backoff utilities (#685)
- retry: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. (#703)
- reconnect: Breaking Change Remove unused generic parameter from
Reconnect::new
(#755) - ready-cache: Allow iteration over ready services (#700)
- discover: Implement
Clone
for Change (#701) - util: Add a BoxCloneServiceLayer (#708)
- rng: use a simpler random 2-sampler (#716)
- filter: Derive
Clone
forAsyncFilterLayer
(#731) - general: Update IndexMap (#741)
- MSRV: Increase MSRV to 1.63.0 (#741)
tower-layer 0.3.2
Added
- Implement
Layer
for tuples of up to 16 elements (#694)
tower-service 0.3.2
tower 0.4.13
tower 0.4.12
Fixed
- hedge, load, retry: Fix use of
Instant
operations that can panic
on platforms whereInstant
is not monotonic (#633) - Disable
attributes
feature ontracing
dependency (#623) - Remove unused dependencies and dependency features with some feature
combinations (#603, #602) - docs: Fix a typo in the RustDoc for
Buffer
(#622)
Changed
Tower 0.4.11
Added
- util: Add
BoxCloneService
which is aClone + Send
boxedService
(#615) - util: Add
ServiceExt::boxed
andServiceExt::boxed_clone
for applying the
BoxService
andBoxCloneService
middleware (#616) - builder: Add
ServiceBuilder::boxed
andServiceBuilder::boxed_clone
for
applyingBoxService
andBoxCloneService
layers (#616)
Fixed
- util: Remove redundant
F: Clone
bound fromServiceExt::map_request
(#607) - util: Remove unnecessary
Debug
bounds fromimpl Debug for BoxService
(#617) - util: Remove unnecessary
Debug
bounds fromimpl Debug for UnsyncBoxService
(#617) - balance: Remove redundant
Req: Clone
bound fromClone
impls
forMakeBalance
, andMakeBalanceLayer
(#607) - balance: Remove redundant
Req: Debug
bound fromDebug
impls
forMakeBalance
,MakeFuture
,Balance
, andPool
(#607) - ready-cache: Remove redundant
Req: Debug
bound fromDebug
impl
forReadyCache
(#607) - steer: Remove redundant
Req: Debug
bound fromDebug
impl
forSteer
(#607) - docs: Fix
doc(cfg(...))
attributes
ofPeakEwmaDiscover
, andPendingRequestsDiscover
(#610)