Releases: tower-rs/tower
Releases · tower-rs/tower
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)
Tower 0.4.10
Tower 0.4.9
Tower 0.4.8
Tower 0.4.6
Deprecated
- util: Deprecated
ServiceExt::ready_and
(renamed to
ServiceExt::ready
). (#567) - util: Deprecated
ReadyAnd
future (renamed toReady
). (#567)
Added
- builder: Add
ServiceBuilder::layer_fn
to add a layer built from
a function. (#560) - builder: Add
ServiceBuilder::map_future
for transforming the
futures produced by a service. (#559) - builder: Add
ServiceBuilder::service_fn
for applyingLayer
s to
an async function usingutil::service_fn
. (#564) - util: Add example for
service_fn
. (#563) - util: Add
BoxLayer
for creating boxedLayer
trait objects.
(#569)
Tower 0.4.5
Added
- util: Add
ServiceExt::map_future
. (#542) - builder: Add
ServiceBuilder::option_layer
to optionally add a layer. (#555) - make: Add
Shared
which lets you implementMakeService
by cloning a
service. (#533)
Fixed
- util: Make combinators that contain closures implement
Debug
. They
previously wouldn't since closures never implementDebug
. (#552) - steer: Implement
Clone
forSteer
. (#554) - spawn-ready: SpawnReady now propagates the current
tracing
span to
spawned tasks (#557) - Only pull in
tracing
for the features that need it. (#551)