Releases: libp2p/go-libp2p
Releases · libp2p/go-libp2p
Release v0.0.26
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
Release v0.0.24
Quick release to fix a panic in goprocess.
Release v0.0.23
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.