Skip to content

Releases: libp2p/go-libp2p

Release v0.0.26

22 May 00:25
535e8b8
Compare
Choose a tag to compare

Changelog:

  • Both stream multiplexers now coalesce small writes to reduce secio/tls overhead and reduce the number of packets sent. This introduces a 100us delay when writing a small amount of data to an otherwise idle connection but this shouldn't be noticeable on a real network.
  • Yamux now correctly implements deadlines so SetDeadline on a yamux stream will now affect an active read/write.
  • The connection manager now trims connections in a background worker instead of trimming every time we receive a new connection. This should make it more reliable. See libp2p/go-libp2p-connmgr#42.
  • The connection manager now uses segmented locking to reduce lock contention when using the UpsertTag function to atomically update tags.
  • Update go-smux-{multistream,multiplex,yamux} to import them into go mod. If you get errors about missing dependencies/tags, please update everything.

v0.0.25

21 May 09:05
Compare
Choose a tag to compare

Changelog:

  • updates go-libp2p-discovery, for a breaking change in the interface
  • updates go-libp2p-peerstore
  • update go-mplex
  • advertises relay services every 30min

Release v0.0.24

17 May 18:18
v0.0.24
aedbb9c
Compare
Choose a tag to compare

Quick release to fix a panic in goprocess.

Release v0.0.23

17 May 18:29
v0.0.23
df15b5b
Compare
Choose a tag to compare

Breaking Changes:

  • github.com/libp2p/go-libp2p/p2p/protocol/ping.Ping now returns a channel of results (PingResult{Error, RTT}) instead of a stream of RTTs and a single error. That way, we can return errors we encounter after we start pinging instead of simply closing the channel.

Features:

  • Libp2p now (optionally) supports using OpenSSL for all RSA operations for a significant performance boost. To enable, build with -tags=openssl.

Bug Fixes:

  • The identify service is now correctly canceled when the host shuts down.

Dependency Updates:

  • Goprocess updated to reduce the number of goroutines it uses.
  • Update go-libp2p-circuit updated to improve performance under heavy load.