Skip to content

Latest commit

 

History

History
103 lines (66 loc) · 3.03 KB

CHANGELOG.md

File metadata and controls

103 lines (66 loc) · 3.03 KB

0.2.9

  • Add rand feature gate to ecdsa methods requiring a random number generator. See PR 5212.

0.2.8

  • Bump ring to `0.17.5. See PR 4779.

0.2.7

  • Add rand feature to gate methods requiring a random number generator, enabling use in restricted environments (e.g. smartcontracts). This feature is not enabled by default. See PR 4349.

0.2.6

  • Make PeerId::to_bytes and PeerId::to_base58 take self by value to follow Rust convention of Copy types. See PR 4653.

0.2.5

  • Fix usage of HKDF within Keypair::derive_secret. See PR 4554.

0.2.4

  • Implement Keypair::derive_secret, to deterministically derive a new secret from the embedded secret key. See PR 4554.

0.2.3

0.2.2

  • Implement from_protobuf_encoding for RSA Keypair. See PR 4193.

0.2.1

  • Expose KeyType for PublicKey and Keypair. See PR 4107.

0.2.0

  • Raise MSRV to 1.65. See PR 3715.

  • Add support for exporting and importing ECDSA keys via the libp2p protobuf format. See PR 3863.

  • Make Keypair and PublicKey opaque. See PR 3866.

  • Remove identity::secp256k1::SecretKey::sign_hash and make identity::secp256k1::SecretKey::sign infallible. See PR 3850.

  • Remove deprecated items. See PR 3928.

  • Remove PeerId::try_from_multiaddr. multiaddr::Protocol::P2p is now type-safe and contains a PeerId directly, rendering this function obsolete. See PR 3656.

  • Remove PeerId::is_public_key because it is unused and can be implemented externally. See PR 3656.

0.1.2

  • Add impl From<ed25519::PublicKey> for PublicKey so that PublicKey::from(ed25519::PublicKey) works. See PR 3805.
  • Follow Rust naming conventions for conversion methods. See PR 3775.

0.1.1

  • Add From impl for specific keypairs. See PR 3626.