-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tower: prepare to release 0.4.11 #618
Conversation
Added - **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) - **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the `BoxService` and `CloneBoxService` middleware ([#616]) - **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::clone_boxed` for applying `BoxService` and `CloneBoxService` layers ([#616]) Fixed - **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]) - **util**: Remove redundant `F: Clone` bound from `ServiceExt::map_request` ([#607]) - **docs**: Fix `doc(cfg(...))` attributes of `PeakEwmaDiscover`, and `PendingRequestsDiscover` ([#610]) - **util**: Remove unnecessary `Debug` bounds from `impl Debug for BoxService` ([#617]) - **util**: Remove unnecessary `Debug` bounds from `impl Debug for UnsyncBoxService` ([#617]) [#607]: #607 [#610]: #610 [#616]: #616 [#617]: #617 [#615]: #615
tower/CHANGELOG.md
Outdated
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the | ||
`BoxService` and `CloneBoxService` middleware ([#616]) | ||
- **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::clone_boxed` for | ||
applying `BoxService` and `CloneBoxService` layers ([#616]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know I should have spotted this in #616, but let me revive the naming question before a release goes out... I think think should be called BoxCloneService
(and helper should be boxed_clone
). My reasoning is that this makes the type/method names lexically grouped (i.e in documentation or tab completion). When searching I'll see all the Box*Service
s together.
We can defer this to 0.5, though, I guess, since CloneBoxService
is similar to UnsyncBoxService
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hawkw wondered about that too. I don't feel strongly about it, so think I'll just rename it in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the change notes need to be updated as well, now...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applying `BoxService` and `CloneBoxService` layers ([#616]) | |
applying `BoxService` and `BoxCloneService` layers ([#616]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops! Was a bit too quick with the search and replace. Fixed it!
tower/CHANGELOG.md
Outdated
|
||
- **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) | ||
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the | ||
`BoxService` and `CloneBoxService` middleware ([#616]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`BoxService` and `CloneBoxService` middleware ([#616]) | |
`BoxService` and `BoxCloneService` middleware ([#616]) |
tower/CHANGELOG.md
Outdated
|
||
### Added | ||
|
||
- **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) | |
- **util**: Add `BoxCloneService` which is a `Clone + Send` boxed `Service` ([#615]) |
tower/CHANGELOG.md
Outdated
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the | ||
`BoxService` and `CloneBoxService` middleware ([#616]) | ||
- **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::clone_boxed` for | ||
applying `BoxService` and `CloneBoxService` layers ([#616]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applying `BoxService` and `CloneBoxService` layers ([#616]) | |
applying `BoxService` and `BoxCloneService` layers ([#616]) |
tower/CHANGELOG.md
Outdated
### Added | ||
|
||
- **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) | ||
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the | |
- **util**: Add `ServiceExt::boxed` and `ServiceExt::boxed_clone` for applying the |
tower/CHANGELOG.md
Outdated
- **util**: Add `CloneBoxService` which is a `Clone + Send` boxed `Service` ([#615]) | ||
- **util**: Add `ServiceExt::boxed` and `ServiceExt::clone_boxed` for applying the | ||
`BoxService` and `CloneBoxService` middleware ([#616]) | ||
- **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::clone_boxed` for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::clone_boxed` for | |
- **builder**: Add `ServiceBuilder::boxed` and `ServiceBuilder::boxed_clone` for |
Added
BoxCloneService
which is aClone + Send
boxedService
(#615)ServiceExt::boxed
andServiceExt::boxed_clone
for applying theBoxService
andBoxCloneService
middleware (#616)ServiceBuilder::boxed
andServiceBuilder::boxed_clone
forapplying
BoxService
andBoxCloneService
layers (#616)Fixed
F: Clone
bound fromServiceExt::map_request
(#607)Debug
bounds fromimpl Debug for BoxService
(#617)Debug
bounds fromimpl Debug for UnsyncBoxService
(#617)Req: Clone
bound fromClone
implsfor
MakeBalance
, andMakeBalanceLayer
(#607)Req: Debug
bound fromDebug
implsfor
MakeBalance
,MakeFuture
,Balance
, andPool
(#607)Req: Debug
bound fromDebug
implfor
ReadyCache
(#607)Req: Debug
bound fromDebug
implfor
Steer
(#607)doc(cfg(...))
attributesof
PeakEwmaDiscover
, andPendingRequestsDiscover
(#610)