Releases: maidsafe/qp2p
v0.22.2
v0.22.1
v0.22.0
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
andConnection::send_*
instead. -
remove
Endpoint::try_send_*
(3e1bff4) -
yield
Connection
s fromIncoming*
streams (60dd829)
v0.21.0
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 withConnection::send
or
Connection::send_with
instead. -
The
Endpoint::send_message_with
and
Endpoint::try_send_message_with
methods now takeretries
as an
Option<&RetryConfig>
, rather thanOption<RetryConfig>
. -
move
Endpoint::send_*
toConnection
(0f95b8a) -
use
&RetryConfig
for retry overrides (70835ed)
v0.20.0
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
andEndpoint::get_connection_by_id
can be used instead to get aConnection
, from which theid
or
remote_address
can be retrieved.Endpoint::new
,Endpoint::connect_to
, and
Endpoint::connect_to_any
now useConnection<I>
instead of
SocketAddr
in their return type.