Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

v0.3.0

Compare
Choose a tag to compare
@Stebalien Stebalien released this 11 Dec 16:10
· 170 commits to master since this release
f7f7248

PeerIDs encoded as CIDs

In order to bring multibase support to peer IDs, we're slowly switching to encoding peer IDs as libp2p-key CIDs when formatted in text. They're currently formatted as raw base58 encoded multihashes.

This release:

  • Adds support for encoding peer IDs as libp2p key CIDs (not used by default).
  • Adds support for decoding libp2p key CIDs as peer IDs (enabled by default).

Go 1.13

This release depends on go 1.13 as it uses go's built-in ed25519 library. If you are unable to upgrade, please work with the go team to address your issues with 1.13 and/or hold off on upgrading this package.

P2P Multiaddrs

We've switched the default libp2p multiaddr format from /ipfs/Qm... to /p2p/Qm... (in text only). All libp2p implementations have supported parsing these addresses for quite a while now so we don't expect any issues.

See https://discuss.libp2p.io/t/multiaddr-format-change-ipfs-p2p/330.

Bug Fixes

As this is a release of the core package, there aren't all that many bug fixes. However:

  • We've fixed an issue in our metrics library that would cause it to report nonsensical bandwidth spikes in some cases (#65)
  • We've regenerated our protobufs to fix some potential parsing issues.
  • We've fixed some potential multiaddr parsing issues.