Skip to content

v0.4.0

Choose a tag to compare

@Stebalien Stebalien released this 25 Sep 18:55
v0.4.0
c168728

This release is mostly a bugfix release but it gets a major version bump as it introduces two new features.

Features:

  • Add a UserAgent option to libp2p for specifying the libp2p user-agent. Previously, this was specified using a global ClientVersion global variable.
    • Set the default user-agent to $repo@$version (where $repo is the downstream project importing go-libp2p).
  • Add a Filters option to the constructor for specifying an address filter. This can be used to restrict which peers libp2p will connect to by IP/port/transport.

Bug Fixes:

  • Update multiple deps
    • websocket (bug fixes)
    • sha256-simd (arm build fix)
    • mdns (race conditions)
  • Update for go-multiaddr protocol definition refactor. Multiaddr protocols have been moved out of libp2p transports into go-multiaddr itself.
  • Fix some issues with non-constant time operations involving libp2p secret keys.