1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 00:01:11 +01:00
actix-net/actix-service/CHANGES.md
2019-02-22 12:44:37 -08:00

1.4 KiB

Changes

[0.3.0] - 2019-02-xx

Changed

  • Added Config argument to NewService trait.

[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

[0.2.1] - 2019-02-03

Changed

  • Generalize .apply combinator with Transform trait

[0.2.0] - 2019-02-01

Changed

  • Use associated type instead of generic for Service definition.

    • Before:

      impl Service<Request> for Client {
          type Response = Response;
          // ...
      }
      
    • After:

      impl Service for Client {
          type Request = Request;
          type Response = Response;
          // ...
      }
      

[0.1.6] - 2019-01-24

Changed

  • Use FnMut instead of Fn for .apply() and .map() combinators and FnService type

  • Change .apply() error semantic, new service's error is From<Self::Error>

[0.1.5] - 2019-01-13

Changed

  • Make Out::Error convertable from T::Error for apply combinator

[0.1.4] - 2019-01-11

Changed

  • Use FnMut instead of Fn for FnService

[0.1.3] - 2018-12-12

Changed

  • Split service combinators to separate trait

[0.1.2] - 2018-12-12

Fixed

  • Release future early for .and_then() and .then() combinators

[0.1.1] - 2018-12-09

Added

  • Added Service impl for Box<S: Service>

[0.1.0] - 2018-12-09

  • Initial import