Skip to content

Releases: maidsafe/qp2p

v0.22.2

13 Oct 06:05
Compare
Choose a tag to compare

0.22.2 (2021-10-13)

Features

  • add a counter for opened connections to Endpoint (c6a9a42)

v0.22.1

27 Sep 12:09
Compare
Choose a tag to compare

0.22.1 (2021-09-27)

v0.22.0

27 Sep 08:51
Compare
Choose a tag to compare

0.22.0 (2021-09-27)

⚠ BREAKING CHANGES

  • IncomingConnections::next now returns
    Option<Connection<I>>. IncomingMessages::next now returns
    Option<(Connection<I>, Bytes)>.

  • Endpoint::try_send_message and
    Endpoint::try_send_message_with have been removed. Use
    Endpoint::get_connection_by_addr and Connection::send_* instead.

  • remove Endpoint::try_send_* (3e1bff4)

  • yield Connections from Incoming* streams (60dd829)

v0.21.0

24 Sep 05:50
Compare
Choose a tag to compare

0.21.0 (2021-09-24)

⚠ BREAKING CHANGES

  • Endpoint::send_message and
    Endpoint::send_message_with have been removed. Use
    Endpoint::connect_to in combination with Connection::send or
    Connection::send_with instead.

  • The Endpoint::send_message_with and
    Endpoint::try_send_message_with methods now take retries as an
    Option<&RetryConfig>, rather than Option<RetryConfig>.

  • move Endpoint::send_* to Connection (0f95b8a)

  • use &RetryConfig for retry overrides (70835ed)

v0.20.0

21 Sep 09:12
Compare
Choose a tag to compare

0.20.0 (2021-09-21)

⚠ BREAKING CHANGES

  • Endpoint::get_connection_id and
    Endpoint::get_socket_addr_by_id have been removed.
    Endpoint::get_connection_by_addr and Endpoint::get_connection_by_id
    can be used instead to get a Connection, from which the id or
    remote_address can be retrieved.
  • Endpoint::new, Endpoint::connect_to, and
    Endpoint::connect_to_any now use Connection<I> instead of
    SocketAddr in their return type.

Features

  • return Connection from Endpoint::connect_* (9ce6947)

  • replace Endpoint addr/id getters (c2ab8a1)

v0.19.0

14 Sep 11:23
Compare
Choose a tag to compare

0.19.0 (2021-09-14)

⚠ BREAKING CHANGES

  • retries: Removal of Eq and PartialEq derivations on config.

Features

  • config: nest retry config (edc5493)
  • retries: extend send msg api with retry cfg (af6fe59)

v0.18.0

10 Sep 18:52
Compare
Choose a tag to compare

0.18.0 (2021-09-10)

⚠ BREAKING CHANGES

  • The port_forward field on Config is only present
    with the igd feature enabled (default).

  • The no-igd feature has been removed.

  • Make Config::port_forward depend on igd feature (ce3e602)

  • Remove no-igd feature (b5e2938)

v0.17.4

07 Sep 12:37
Compare
Choose a tag to compare

0.17.4 (2021-09-07)

Bug Fixes

  • Don't report an error on benign end of stream (d1b4e22)

v0.17.3

02 Sep 11:58
Compare
Choose a tag to compare

0.17.3 (2021-09-02)

v0.17.2

01 Sep 13:31
Compare
Choose a tag to compare

0.17.2 (2021-09-01)

Features

  • derive debug for public channels (4d262de)