mirror of
https://github.com/tower-rs/tower.git
synced 2026-04-18 20:56:13 +00:00
tower: prepare to releasse v0.4.3 (#528)
I also fixed up the changelog entries for v0.4.2 while I was here. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
@@ -3,12 +3,39 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
# 0.4.3 (January 13, 2021)
|
||||
|
||||
### Added
|
||||
|
||||
- **filter**: `Filter::check` and `AsyncFilter::check` methods which check a
|
||||
request against the filter's `Predicate` ([#521])
|
||||
- **filter**: Added `get_ref`, `get_mut`, and `into_inner` methods to `Filter`
|
||||
and `AsyncFilter`, allowing access to the wrapped service ([#522])
|
||||
- **util**: Added `layer` associated function to `AndThen`, `Then`,
|
||||
`MapRequest`, `MapResponse`, and `MapResult` types. These return a `Layer`
|
||||
that produces middleware of that type, as a convenience to avoid having to
|
||||
import the `Layer` type separately. ([#524])
|
||||
- **util**: Added missing `Clone` impls to `AndThenLayer`, `MapRequestLayer`,
|
||||
and `MapErrLayer`, when the mapped function implements `Clone` ([#525])
|
||||
- **util**: Added `FutureService::new` constructor, with less restrictive bounds
|
||||
than the `future_service` free function ([#523])
|
||||
|
||||
[#521]: https://github.com/tower-rs/tower/pull/521
|
||||
[#522]: https://github.com/tower-rs/tower/pull/522
|
||||
[#523]: https://github.com/tower-rs/tower/pull/523
|
||||
[#524]: https://github.com/tower-rs/tower/pull/524
|
||||
[#525]: https://github.com/tower-rs/tower/pull/525
|
||||
|
||||
# 0.4.2 (January 11, 2021)
|
||||
|
||||
- Fix missing `Sync` implementation for `Buffer` and `ConcurrencyLimit` ([#518])
|
||||
### Added
|
||||
|
||||
- Export `layer_fn` and `LayerFn` from the `tower::layer` module. ([#516])
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix missing `Sync` implementation for `Buffer` and `ConcurrencyLimit` ([#518])
|
||||
|
||||
[#518]: https://github.com/tower-rs/tower/pull/518
|
||||
[#516]: https://github.com/tower-rs/tower/pull/516
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@ name = "tower"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "vX.X.X" git tag.
|
||||
version = "0.4.2"
|
||||
version = "0.4.3"
|
||||
authors = ["Tower Maintainers <team@tower-rs.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/tower-rs/tower"
|
||||
homepage = "https://github.com/tower-rs/tower"
|
||||
documentation = "https://docs.rs/tower/0.4.2"
|
||||
documentation = "https://docs.rs/tower/0.4.3"
|
||||
description = """
|
||||
Tower is a library of modular and reusable components for building robust
|
||||
clients and servers.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tower/0.4.2")]
|
||||
#![doc(html_root_url = "https://docs.rs/tower/0.4.3")]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
|
||||
Reference in New Issue
Block a user