Skip to content

Releases: tower-rs/tower

tower 0.5.1

05 Sep 12:32
7155101
Compare
Choose a tag to compare
tower 0.5.1 Pre-release
Pre-release
  • Fix minimum version of tower-layer dependency (#787)

tower-layer 0.3.3

13 Aug 16:50
fec9e55
Compare
Choose a tag to compare

Added

  • builder,util: add convenience methods for boxing services (#616)
  • all: new functions const when possible (#760)

tower 0.5.0

13 Aug 16:50
fec9e55
Compare
Choose a tag to compare

Fixed

  • util: BoxService is now Sync (#702)

Changed

  • util: Removed deprecated ServiceExt::ready_and method and ReadyAnd
    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 include mut 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 for AsyncFilterLayer (#731)
  • general: Update IndexMap (#741)
  • MSRV: Increase MSRV to 1.63.0 (#741)

tower-layer 0.3.2

10 Oct 18:29
8b84b98
Compare
Choose a tag to compare

Added

  • Implement Layer for tuples of up to 16 elements (#694)

tower-service 0.3.2

17 Jun 19:46
04527ae
Compare
Choose a tag to compare

Added

  • docs: Clarify subtlety around cloning and readiness in the
    Service docs (#548)
  • docs: Clarify details around shared resource consumption in
    poll_ready() (#662)

tower 0.4.13

17 Jun 19:48
04527ae
Compare
Choose a tag to compare

Added

  • load_shed: Public constructor for Overloaded error (#661)

Fixed

  • util: Fix hang with call_all when the Stream of requests is pending
    (#656)
  • ready_cache: Ensure cancelation is observed by pending services (#668,
    fixes #415)
  • docs: Fix a missing section header due to a typo (#646)
  • docs: Fix broken links to Service trait (#659)

tower 0.4.12

16 Feb 23:00
12a0603
Compare
Choose a tag to compare

Fixed

  • hedge, load, retry: Fix use of Instant operations that can panic
    on platforms where Instant is not monotonic (#633)
  • Disable attributes feature on tracing 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

  • Updated minimum supported Rust version (MSRV) to 1.49.0.
  • hedge: Updated hdrhistogram dependency to v7.0 (#602)
  • Updated tokio-util dependency to v0.7 (#638)

Tower 0.4.11

18 Nov 19:41
7674109
Compare
Choose a tag to compare

Added

  • util: Add BoxCloneService which is a Clone + Send boxed Service (#615)
  • util: Add ServiceExt::boxed and ServiceExt::boxed_clone for applying the
    BoxService and BoxCloneService middleware (#616)
  • builder: Add ServiceBuilder::boxed and ServiceBuilder::boxed_clone for
    applying BoxService and BoxCloneService layers (#616)

Fixed

  • util: Remove redundant F: Clone bound from ServiceExt::map_request (#607)
  • util: Remove unnecessary Debug bounds from impl Debug for BoxService (#617)
  • util: Remove unnecessary Debug bounds from impl Debug for UnsyncBoxService (#617)
  • balance: Remove redundant Req: Clone bound from Clone impls
    for MakeBalance, and MakeBalanceLayer (#607)
  • balance: Remove redundant Req: Debug bound from Debug impls
    for MakeBalance, MakeFuture, Balance, and Pool (#607)
  • ready-cache: Remove redundant Req: Debug bound from Debug impl
    for ReadyCache (#607)
  • steer: Remove redundant Req: Debug bound from Debug impl
    for Steer (#607)
  • docs: Fix doc(cfg(...)) attributes
    of PeakEwmaDiscover, and PendingRequestsDiscover (#610)

Tower 0.4.10

19 Oct 19:57
d486564
Compare
Choose a tag to compare
  • Fix accidental breaking change when using the
    rustdoc::broken_intra_doc_links lint (#605)
  • Clarify that tower's minimum supported rust version is 1.46 (#605)

Tower 0.4.9

14 Oct 07:13
62e0902
Compare
Choose a tag to compare
  • Migrate to pin-project-lite (#595)
  • builder: Implement Layer for ServiceBuilder (#600)
  • builder: Add ServiceBuilder::and_then analogous to
    ServiceExt::and_then (#601)