Releases: libp2p/go-libp2p
Releases · libp2p/go-libp2p
v0.4.0
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 globalClientVersion
global variable.- Set the default user-agent to
$repo@$version
(where$repo
is the downstream project importing go-libp2p).
- Set the default user-agent to
- 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
- Upgrades go-libp2p-core and go-eventbus dependencies to fix a panic on duplicate
host.Close()
(now idempotent). - Makes the
NoSecurity
option use the newplaintext/2.0.0
secure channel.
v0.3.0
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 newinsecure
transport is not backwards compatible with the oldinsecure
transport.
v0.2.1
- 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
v0.1.2
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
This is a quick bug-fix release to disable write coalescing for the yamux stream multiplexer. See #644 for details.