Releases: maidsafe/sn_routing
v0.39.3
v0.39.2
v0.39.1
v0.39.0
0.39.0 (2020-12-02)
⚠ BREAKING CHANGES
-
- remove `Routing::secret_key_share` (use `Routing::sign_with_secret_key_share` instead).
- Rename
Error::InvalidElderDkgResult
toError::MissingSecretKeyShare
Routing::public_key_set
andRouting::our_index
now returnMissingSecretKeyShare
instead ofInvalidState
on error.
- Rename
Features
- do not expose BLS secret key share (e8fa12e)
v0.38.0
0.38.0 (2020-11-30)
⚠ BREAKING CHANGES
- use
use sn_routing::Event;
instead ofuse sn_routing::event::Event;
. Event
changes:
- Remove
Event::Connected
- not needed becauseRouting::new
now returns fully connected routing instance. - Add
Event::Relocated
- replacesEvent::Connected(Connected::Relocate)
- Remove
Event::InfantJoined
- merged withMemberJoined
- Change
Event::MemberJoined::previous_name
toOption
to allow distinguishing between new and relocated peers.
- remove size fields within routing::Config
- remove NetworkParams
- some methods of
Routing
that previosuly returnedOption<T>
orResult<T>
now return just T. - rename Instance to Routing
Node
andNodeConfig
are part of the public API.
Features
- add bootstrap message backlog (75f0a5c)
- allow rejoin with same name (ded038d)
- cancel running timers on drop (d8f420f)
- expose
Event
directly, hideevent
module (d940b77) - implement DKG message bouncing (551c427)
- implement lost peer detection (cbc57ba)
- implement message resending (cc2fcbd)
- implement proper node termination (0fbced8)
- improve Comm api and documentation (9ecfe8a)
- joins_allowed flag to toggle accept new node or not (5def794)
- make the log identifier work again (48d7ce7)
- make the resend delay configurable (8a0d043)
- minor changes to the Event enum (56e658f)
- notify when key got changed during relocation (2540a27)
- ping peers on connection loss to detect if they went offline (d6be64f)
- relocate all joining infants during startup phase (492f4d7)
- relocate one infant with age increased by one when set joins_allowed flag (03d9827)
- age: add age getter API (07430a0)
- comm: detect lost connections (f4e9e3a)
- remove resend delay (9b0971e)
- remove Variant::Ping (18a9d40)
- start the first node with higher age (d23914e)
- upnp: use new version of qp2p with UPnP and echo service (afb609e)
- relocate only the oldest peers that pass the relocation check (d7855b5)
- remove join timeout - to be handled by the upper layers instead (cb4f6fe)
- use unbounded channel for Events (fb5a3aa)
- api: expose an async event stream API, and adapt node module to use qp2p async API (a42b065)
- node: cache Connections to nodes (a78c305)
Bug Fixes
-
prevent losing incoming messages during bootstrapping (3c9357e)
-
dkg: backlog messages with unknown DKG key (03873c1)
-
dkg: handle delayed DKG outcome (c58611b)
-
dkg: handle DKG with single participant (00c2efa)
-
bounce DKG message only if node has no ongoing session (350b75d)
-
clear peer_mgr candidate post pfx change. (57cd490)
-
don't ack hop messages in Client state (9539c05)
-
expand ConnInfoReq handling conditions. (d081800)
-
handle invalid bootstrap response by retuning error (d5ee338)
-
lost peer handling (1d95194)
-
no longer use serde macro derive (2116420)
-
Remove old compatible neighbour pfx not restricted to a strict parent/child prefix in Chain on updating neighbour_infos. (#1579) (6d23fa3)
-
rename mock/quick_p2p to mock/quic_p2p (067fab0)
-
resolve clippy errors of non-mock tests (94eda60)
-
resolve failing example (121ce95)
-
send Event::Connected only after transition to Approved (dbe0593)
-
take ages into account when calculating DkgKey (824d229)
-
comm: try to re-connect after previously failed send (08d9410)
-
event: export qp2p SendStream and RecvStream for consumers to use (65af16f)
-
use the latest section key when updating non-elders (219f98d)
-
vote for sibling knowledge after parsec reset (090663f)
-
remove the Routing state machine (cfa19ff)
-
rename Instance to Routing (a227e3f)
-
rename Node to Instance and NodeConfig to Config (d8d6314)