Skip to content

Releases: tower-rs/tower

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)

Tower 0.4.8

28 May 20:21
b5d2c8f
Compare
Choose a tag to compare

Added

  • builder: Add ServiceBuilder::map_result analogous to
    ServiceExt::map_result (#583)
  • limit: Add GlobalConcurrencyLimitLayer to allow reusing a concurrency
    limit across multiple services (#574)

Tower 0.4.6

27 Feb 13:07
4fb257c
Compare
Choose a tag to compare

Deprecated

  • util: Deprecated ServiceExt::ready_and (renamed to
    ServiceExt::ready). (#567)
  • util: Deprecated ReadyAnd future (renamed to Ready). (#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 applying Layers to
    an async function using util::service_fn. (#564)
  • util: Add example for service_fn. (#563)
  • util: Add BoxLayer for creating boxed Layer trait objects.
    (#569)

Tower 0.4.5

27 Feb 13:06
ba3d431
Compare
Choose a tag to compare

Added

  • util: Add ServiceExt::map_future. (#542)
  • builder: Add ServiceBuilder::option_layer to optionally add a layer. (#555)
  • make: Add Shared which lets you implement MakeService by cloning a
    service. (#533)

Fixed

  • util: Make combinators that contain closures implement Debug. They
    previously wouldn't since closures never implement Debug. (#552)
  • steer: Implement Clone for Steer. (#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)