Skip to content

Releases: libp2p/go-libp2p

v0.4.2

21 Nov 18:49
a091bcb
Compare
Choose a tag to compare

This is a patch release. Changes:

  • #748 -- updates go-libp2p-nat to address a potential panic due to a race condition in go-ssdp.
  • #743 -- improves the README.

v0.4.1

05 Nov 12:05
210dcc6
Compare
Choose a tag to compare

This is a patch release, with the following changes:

  • #740 Make activation threshold configurable

v0.4.0

25 Sep 18:55
v0.4.0
c168728
Compare
Choose a tag to compare

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.

v0.3.1

24 Aug 15:28
a3c39ad
Compare
Choose a tag to compare
  • Upgrades go-libp2p-core and go-eventbus dependencies to fix a panic on duplicate host.Close() (now idempotent).
  • Makes the NoSecurity option use the new plaintext/2.0.0 secure channel.

v0.3.0

02 Aug 23:40
071f7de
Compare
Choose a tag to compare

A security-focused release that propagates up the following changes:

  • The minimum allowed strength of RSA keys is now 2048 bits. Any tests that have been written using RSA keys with fewer than 2048 bits will now generate errors upon key generation. go-libp2p-testing has been updated to prefer Ed25519 keys by default, and it's recommended you use that library for libp2p testing needs.
  • Key comparisons are now constant-time.
  • Passing unknown curve types to the elliptic curve key generation functions now returns an error, rather than panicking.
  • The new insecure transport has been released. This should only ever be used in tests. The new insecure transport is not backwards compatible with the old insecure transport.

v0.2.1

22 Jul 11:34
15764f7
Compare
Choose a tag to compare
  • fixes a race in the peerstore when removing protocols (by integrating go-libp2p-peerstore v0.1.2).
  • makes host.Close() idempotent.
  • dev: deflakes several test cases.

v0.2.0

24 Jun 13:50
e69d171
Compare
Choose a tag to compare

This release of go-libp2p adds:

  • support for the local event bus (#653) to the BasicHost and BlankHost.
  • support for the new identify delta protocol (libp2p/specs#176) to propagate dynamic changes in supported protocols to peers with minimal wire overhead.

v0.1.2

24 Jun 13:50
e69d171
Compare
Choose a tag to compare

This release of go-libp2p adds:

  • support for the local event bus (#653) to the BasicHost and BlankHost.
  • support for the new identify delta protocol (libp2p/specs#176) to propagate dynamic changes in supported protocols to peers with minimal wire overhead.

NOTE: This is really a minor release due to API changes, but since the upstream dependencies (go-libp2p-core and go-libp2p-blankhost) were released under patch numbers by mistake, we produce this v0.1.2 to curtail breakage in the v0.1.x lineage.

Release v0.1.1

01 Jun 03:47
d69c889
Compare
Choose a tag to compare

This is a quick bug-fix release to disable write coalescing for the yamux stream multiplexer. See #644 for details.

v0.1.0

26 May 21:56
d87f893
Compare
Choose a tag to compare

🎉 This release applies the core refactor to this module; migrating to the consolidated types under go-libp2p-core. See #602 for more context.