This repository has been archived by the owner on May 26, 2022. It is now read-only.
Releases: libp2p/go-libp2p-swarm
Releases · libp2p/go-libp2p-swarm
v0.11.0
v0.10.0
What's Changed
- add constructor options for timeout, stop using transport.DialTimeout by @marten-seemann in #302
- stop using the deprecated libp2p/go-maddr-filter by @marten-seemann in #303
- speed up the dial tests by @marten-seemann in #301
- increment active dial counter in dial worker loop by @vyzo in #305
- stop using transport.DialTimeout in tests by @marten-seemann in #307
- remove dependency on go-addr-util by @marten-seemann in #300
- use the transport.Upgrader interface by @marten-seemann in #309
- add support for the resource manager by @marten-seemann in #308
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- count the number of streams on a connection for the stats by @marten-seemann in #298
Full Changelog: v0.8.0...v0.9.0
v0.8.0
This release upgrades libp2p dependencies to plumb through datastore interface changes.
v0.6.0
This release contains a few breaking API changes:
- The
Swarm
shutdown logic was cleaned up. We now don't depend on a context any more, but we expose aClose
method (#278) - The
Swarm
constructor to use functional options (#279, #280). There are currently two options you can pass to the constructor:WithConnectionGater
andWithMetrics
. DialSync
is now unexported (#281)
v0.5.1
v0.5.0
release v0.5.0 * Prefer non-transient connections when opening new streams. * Call `Close()` on transports that implement a `Close()` function on swarm close. * Refactor dialing logic: * Avoid canceling concurrent dials to the same peer when canceling the first dial to that peer. * Correctly join multiple dials with different constraints.
v0.4.3
- Support for forcing direct connections for hole punching.