2018-12-09 18:14:08 +00:00
|
|
|
# Changes
|
|
|
|
|
2019-05-12 13:03:50 +00:00
|
|
|
## [0.4.0] - 2019-05-11
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Use associated type for `NewService` config
|
|
|
|
|
|
|
|
* Change `apply_cfg` function
|
|
|
|
|
|
|
|
* Renamed helper functions
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `NewService::map_config` and `NewService::unit_config` combinators
|
|
|
|
|
|
|
|
|
2019-04-08 03:48:40 +00:00
|
|
|
## [0.3.6] - 2019-04-07
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Poll boxed service call result immediately
|
|
|
|
|
|
|
|
|
2019-03-29 18:16:40 +00:00
|
|
|
## [0.3.5] - 2019-03-29
|
2019-03-29 17:21:17 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `impl<S: Service> Service for Rc<RefCell<S>>`
|
|
|
|
|
|
|
|
|
2019-03-12 19:53:08 +00:00
|
|
|
## [0.3.4] - 2019-03-12
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `Transform::from_err()` combinator
|
|
|
|
|
2019-03-12 23:32:10 +00:00
|
|
|
* Add `apply_fn` helper
|
|
|
|
|
|
|
|
* Add `apply_fn_factory` helper
|
2019-03-12 19:53:08 +00:00
|
|
|
|
|
|
|
* Add `apply_transform` helper
|
|
|
|
|
2019-03-12 23:32:10 +00:00
|
|
|
* Add `apply_cfg` helper
|
|
|
|
|
2019-03-12 19:53:08 +00:00
|
|
|
|
2019-03-09 22:10:02 +00:00
|
|
|
## [0.3.3] - 2019-03-09
|
2019-03-05 05:24:47 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Add `ApplyTransform` new service for transform and new service.
|
|
|
|
|
2019-03-09 22:10:02 +00:00
|
|
|
* Add `NewService::apply_cfg()` combinator, allows to use
|
2019-03-09 17:01:02 +00:00
|
|
|
nested `NewService` with different config parameter.
|
|
|
|
|
2019-03-05 05:35:47 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Revert IntoFuture change
|
|
|
|
|
2019-03-05 05:24:47 +00:00
|
|
|
|
2019-03-05 04:29:35 +00:00
|
|
|
## [0.3.2] - 2019-03-04
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Change `NewService::Future` and `Transform::Future` to the `IntoFuture` trait.
|
|
|
|
|
|
|
|
* Export `AndThenTransform` type
|
|
|
|
|
|
|
|
|
2019-03-05 03:38:11 +00:00
|
|
|
## [0.3.1] - 2019-03-04
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Simplify Transform trait
|
|
|
|
|
|
|
|
|
2019-03-02 22:22:03 +00:00
|
|
|
## [0.3.0] - 2019-03-02
|
2019-02-22 20:44:37 +00:00
|
|
|
|
2019-02-23 02:20:54 +00:00
|
|
|
## Added
|
|
|
|
|
|
|
|
* Added boxed NewService and Service.
|
|
|
|
|
2019-02-22 20:44:37 +00:00
|
|
|
## Changed
|
|
|
|
|
2019-03-02 22:22:03 +00:00
|
|
|
* Added `Config` parameter to `NewService` trait.
|
|
|
|
|
|
|
|
* Added `Config` parameter to `NewTransform` trait.
|
2019-02-22 20:44:37 +00:00
|
|
|
|
|
|
|
|
2019-02-19 19:31:54 +00:00
|
|
|
## [0.2.2] - 2019-02-19
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Added `NewService` impl for `Rc<S> where S: NewService`
|
|
|
|
|
|
|
|
* Added `NewService` impl for `Arc<S> where S: NewService`
|
|
|
|
|
|
|
|
|
2019-02-03 21:32:51 +00:00
|
|
|
## [0.2.1] - 2019-02-03
|
2019-02-03 18:42:27 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Generalize `.apply` combinator with Transform trait
|
|
|
|
|
|
|
|
|
2019-02-02 03:53:13 +00:00
|
|
|
## [0.2.0] - 2019-02-01
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Use associated type instead of generic for Service definition.
|
|
|
|
|
|
|
|
* Before:
|
|
|
|
|
|
|
|
```rust
|
|
|
|
impl Service<Request> for Client {
|
|
|
|
type Response = Response;
|
|
|
|
// ...
|
|
|
|
}
|
|
|
|
```
|
|
|
|
* After:
|
|
|
|
|
|
|
|
```rust
|
|
|
|
impl Service for Client {
|
|
|
|
type Request = Request;
|
|
|
|
type Response = Response;
|
|
|
|
// ...
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2019-01-25 04:42:30 +00:00
|
|
|
## [0.1.6] - 2019-01-24
|
2019-01-16 03:25:49 +00:00
|
|
|
|
2019-01-16 23:33:33 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Use `FnMut` instead of `Fn` for .apply() and .map() combinators and `FnService` type
|
2019-01-16 03:25:49 +00:00
|
|
|
|
2019-01-25 03:19:44 +00:00
|
|
|
* Change `.apply()` error semantic, new service's error is `From<Self::Error>`
|
|
|
|
|
|
|
|
|
2019-01-14 06:58:23 +00:00
|
|
|
## [0.1.5] - 2019-01-13
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
* Make `Out::Error` convertable from `T::Error` for apply combinator
|
|
|
|
|
|
|
|
|
2019-01-12 05:39:58 +00:00
|
|
|
## [0.1.4] - 2019-01-11
|
|
|
|
|
2019-01-12 05:42:13 +00:00
|
|
|
### Changed
|
2019-01-12 05:39:58 +00:00
|
|
|
|
|
|
|
* Use `FnMut` instead of `Fn` for `FnService`
|
|
|
|
|
|
|
|
|
2018-12-13 02:32:19 +00:00
|
|
|
## [0.1.3] - 2018-12-12
|
|
|
|
|
2019-01-12 05:42:13 +00:00
|
|
|
### Changed
|
2018-12-13 02:32:19 +00:00
|
|
|
|
|
|
|
* Split service combinators to separate trait
|
|
|
|
|
|
|
|
|
2018-12-13 02:00:35 +00:00
|
|
|
## [0.1.2] - 2018-12-12
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
* Release future early for `.and_then()` and `.then()` combinators
|
|
|
|
|
|
|
|
|
2018-12-09 18:14:08 +00:00
|
|
|
## [0.1.1] - 2018-12-09
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
* Added Service impl for Box<S: Service>
|
|
|
|
|
|
|
|
|
|
|
|
## [0.1.0] - 2018-12-09
|
|
|
|
|
|
|
|
* Initial import
|