Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.37 KB

CHANGELOG.md

File metadata and controls

45 lines (31 loc) · 2.37 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.0.2] - In development

Changed

  • Session is now generic over SessionParameters instead of a bunch of separate types. (#36)
  • MessageBundle is not generic anymore. (#36)
  • ProcessedArtifact is now also generic on SessionParameters. (#37)
  • Added a Test prefix to testing::Signer/Verifier/Signature/Hasher and renamed TestingSessionParams to TestSessionParams. (#40)
  • SessionId::new() renamed to from_seed(). (#41)
  • FirstRound::new() takes a &[u8] instead of a SessionId object. (#41)
  • The signatures of Round::make_echo_broadcast(), Round::make_direct_message(), and Round::receive_message(), take messages without Options. (#46)
  • Round::make_direct_message_with_artifact() is the method returning an artifact now; Round::make_direct_message() is a shortcut for cases where no artifact is returned. (#46)
  • Artifact::empty() removed, the user should return None instead. (#46)
  • EchoBroadcast and DirectMessage now use ProtocolMessagePart trait for their methods. (#47)
  • Added normal broadcasts support in addition to echo ones; signatures of Round methods changed accordingly; added Round::make_normal_broadcast(). (#47)
  • Serialization format is a part of SessionParameters now; Round and Protocol methods receive dynamic serializers/deserializers. (#33)

Added

  • SerializableMap wrapper for BTreeMap supporting more formats and providing some safety features. (#[32])
  • DirectMessage::assert_is_none() and verify_is_some(), same for EchoBroadcast. Users can now check that a part of the round message (echo or direct) is None as expected, and make a verifiable evidence if it is not. (#46)

0.0.1 - 2024-10-12

Initial release.