Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release v0.16.0 #1246

Merged
merged 1 commit into from
Nov 24, 2021
Merged

release v0.16.0 #1246

merged 1 commit into from
Nov 24, 2021

Conversation

marten-seemann
Copy link
Contributor

No description provided.

@github-actions
Copy link

Suggested version: v0.16.0
Comparing to: v0.15.1 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index af8ff272..6de39300 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/libp2p/go-libp2p
 
-go 1.15
+go 1.16
 
 require (
 	github.com/btcsuite/btcd v0.22.0-beta // indirect
@@ -9,42 +9,43 @@ require (
 	github.com/google/uuid v1.3.0 // indirect
 	github.com/huin/goupnp v1.0.2 // indirect
 	github.com/ipfs/go-cid v0.0.7
-	github.com/ipfs/go-datastore v0.4.6
-	github.com/ipfs/go-detect-race v0.0.1
+	github.com/ipfs/go-datastore v0.5.0
 	github.com/ipfs/go-ipfs-util v0.0.2
 	github.com/ipfs/go-log/v2 v2.3.0
-	github.com/jbenet/go-cienv v0.1.0
 	github.com/jbenet/goprocess v0.1.4
 	github.com/klauspost/cpuid/v2 v2.0.9 // indirect
 	github.com/koron/go-ssdp v0.0.2 // indirect
 	github.com/libp2p/go-addr-util v0.1.0
-	github.com/libp2p/go-conn-security-multistream v0.2.1
+	github.com/libp2p/go-buffer-pool v0.0.2
+	github.com/libp2p/go-conn-security-multistream v0.3.0
 	github.com/libp2p/go-eventbus v0.2.1
-	github.com/libp2p/go-libp2p-autonat v0.4.2
+	github.com/libp2p/go-libp2p-asn-util v0.1.0
+	github.com/libp2p/go-libp2p-autonat v0.6.0
 	github.com/libp2p/go-libp2p-blankhost v0.2.0
 	github.com/libp2p/go-libp2p-circuit v0.4.0
-	github.com/libp2p/go-libp2p-core v0.9.0
-	github.com/libp2p/go-libp2p-discovery v0.5.1
+	github.com/libp2p/go-libp2p-core v0.11.0
+	github.com/libp2p/go-libp2p-discovery v0.6.0
 	github.com/libp2p/go-libp2p-mplex v0.4.1
-	github.com/libp2p/go-libp2p-nat v0.0.6
+	github.com/libp2p/go-libp2p-nat v0.1.0
 	github.com/libp2p/go-libp2p-netutil v0.1.0
-	github.com/libp2p/go-libp2p-noise v0.2.2
-	github.com/libp2p/go-libp2p-peerstore v0.2.8
-	github.com/libp2p/go-libp2p-swarm v0.5.3
-	github.com/libp2p/go-libp2p-testing v0.4.2
-	github.com/libp2p/go-libp2p-tls v0.2.0
-	github.com/libp2p/go-libp2p-transport-upgrader v0.4.6
-	github.com/libp2p/go-libp2p-yamux v0.5.4
-	github.com/libp2p/go-msgio v0.0.6
+	github.com/libp2p/go-libp2p-noise v0.3.0
+	github.com/libp2p/go-libp2p-peerstore v0.4.0
+	github.com/libp2p/go-libp2p-quic-transport v0.15.0
+	github.com/libp2p/go-libp2p-swarm v0.8.0
+	github.com/libp2p/go-libp2p-testing v0.5.0
+	github.com/libp2p/go-libp2p-tls v0.3.1
+	github.com/libp2p/go-libp2p-transport-upgrader v0.5.0
+	github.com/libp2p/go-libp2p-yamux v0.6.0
+	github.com/libp2p/go-msgio v0.1.0
 	github.com/libp2p/go-netroute v0.1.6
 	github.com/libp2p/go-stream-muxer-multistream v0.3.0
-	github.com/libp2p/go-tcp-transport v0.2.8
+	github.com/libp2p/go-tcp-transport v0.4.0
 	github.com/libp2p/go-ws-transport v0.5.0
-	github.com/libp2p/zeroconf/v2 v2.1.0
-	github.com/miekg/dns v1.1.43 // indirect
+	github.com/libp2p/zeroconf/v2 v2.1.1
 	github.com/multiformats/go-multiaddr v0.4.0
 	github.com/multiformats/go-multiaddr-dns v0.3.1
 	github.com/multiformats/go-multistream v0.2.2
+	github.com/multiformats/go-varint v0.0.6
 	github.com/prometheus/common v0.30.0 // indirect
 	github.com/prometheus/procfs v0.7.3 // indirect
 	github.com/stretchr/testify v1.7.0
@@ -54,6 +55,7 @@ require (
 	go.uber.org/zap v1.19.0 // indirect
 	golang.org/x/crypto v0.0.0-20210813211128-0a44fdfbc16e // indirect
 	golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
+	golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
 	golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 // indirect
 	golang.org/x/text v0.3.7 // indirect
 	google.golang.org/grpc v1.40.0 // indirectdiff --git a/examples/go.mod b/examples/go.mod
index 29c8b8b8..4938fc36 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -1,22 +1,20 @@
 module github.com/libp2p/go-libp2p/examples
 
-go 1.13
+go 1.16
 
 require (
 	github.com/gogo/protobuf v1.3.2
 	github.com/google/uuid v1.3.0
-	github.com/ipfs/go-datastore v0.4.6
+	github.com/ipfs/go-datastore v0.5.0
 	github.com/ipfs/go-log/v2 v2.3.0
 	github.com/libp2p/go-libp2p v0.14.4
-	github.com/libp2p/go-libp2p-circuit v0.4.0
 	github.com/libp2p/go-libp2p-connmgr v0.2.4
-	github.com/libp2p/go-libp2p-core v0.9.0
-	github.com/libp2p/go-libp2p-discovery v0.5.1
-	github.com/libp2p/go-libp2p-kad-dht v0.13.0
-	github.com/libp2p/go-libp2p-noise v0.2.2
-	github.com/libp2p/go-libp2p-quic-transport v0.11.2
-	github.com/libp2p/go-libp2p-swarm v0.5.3
-	github.com/libp2p/go-libp2p-tls v0.2.0
+	github.com/libp2p/go-libp2p-core v0.11.0
+	github.com/libp2p/go-libp2p-discovery v0.6.0
+	github.com/libp2p/go-libp2p-kad-dht v0.15.0
+	github.com/libp2p/go-libp2p-noise v0.3.0
+	github.com/libp2p/go-libp2p-swarm v0.8.0
+	github.com/libp2p/go-libp2p-tls v0.3.1
 	github.com/multiformats/go-multiaddr v0.4.0
 )
 
diff --git a/examples/ipfs-camp-2019/go.mod b/examples/ipfs-camp-2019/go.mod
index b65e5b85..50b24bc2 100644
--- a/examples/ipfs-camp-2019/go.mod
+++ b/examples/ipfs-camp-2019/go.mod
@@ -1,18 +1,18 @@
 module github.com/libp2p/go-libp2p/examples/ipfs-camp-2019
 
-go 1.12
+go 1.16
 
 require (
 	github.com/gogo/protobuf v1.3.2
 	github.com/libp2p/go-libp2p v0.14.4
-	github.com/libp2p/go-libp2p-core v0.9.0
-	github.com/libp2p/go-libp2p-discovery v0.5.1
-	github.com/libp2p/go-libp2p-kad-dht v0.13.0
+	github.com/libp2p/go-libp2p-core v0.11.0
+	github.com/libp2p/go-libp2p-discovery v0.6.0
+	github.com/libp2p/go-libp2p-kad-dht v0.15.0
 	github.com/libp2p/go-libp2p-mplex v0.4.1
 	github.com/libp2p/go-libp2p-pubsub v0.5.3
-	github.com/libp2p/go-libp2p-tls v0.2.0
-	github.com/libp2p/go-libp2p-yamux v0.5.4
-	github.com/libp2p/go-tcp-transport v0.2.8
+	github.com/libp2p/go-libp2p-tls v0.3.1
+	github.com/libp2p/go-libp2p-yamux v0.6.0
+	github.com/libp2p/go-tcp-transport v0.4.0
 	github.com/libp2p/go-ws-transport v0.5.0
 	github.com/multiformats/go-multiaddr v0.4.0
 )
diff --git a/examples/pubsub/chat/go.mod b/examples/pubsub/chat/go.mod
index e4456460..fff00ac5 100644
--- a/examples/pubsub/chat/go.mod
+++ b/examples/pubsub/chat/go.mod
@@ -1,12 +1,12 @@
 module github.com/libp2p/go-libp2p/examples/pubsub/chat
 
-go 1.14
+go 1.16
 
 require (
 	github.com/gdamore/tcell/v2 v2.1.0
 	github.com/libp2p/go-libp2p v0.14.1
-	github.com/libp2p/go-libp2p-core v0.9.0
-	github.com/libp2p/go-libp2p-pubsub v0.5.3
+	github.com/libp2p/go-libp2p-core v0.11.0
+	github.com/libp2p/go-libp2p-pubsub v0.6.0
 	github.com/rivo/tview v0.0.0-20210125085121-dbc1f32bb1d0
 )
 

gorelease says:

# github.com/libp2p/go-libp2p
## incompatible changes
EnableAutoRelay: changed from func() github.com/libp2p/go-libp2p/config.Option to func(...github.com/libp2p/go-libp2p/p2p/host/autorelay.StaticRelayOption) github.com/libp2p/go-libp2p/config.Option
EnableRelay: changed from func(...github.com/libp2p/go-libp2p-circuit.RelayOpt) github.com/libp2p/go-libp2p/config.Option to func() github.com/libp2p/go-libp2p/config.Option
New: changed from func(context.Context, ...github.com/libp2p/go-libp2p/config.Option) (github.com/libp2p/go-libp2p-core/host.Host, error) to func(...github.com/libp2p/go-libp2p/config.Option) (github.com/libp2p/go-libp2p-core/host.Host, error)
NewWithoutDefaults: changed from func(context.Context, ...github.com/libp2p/go-libp2p/config.Option) (github.com/libp2p/go-libp2p-core/host.Host, error) to func(...github.com/libp2p/go-libp2p/config.Option) (github.com/libp2p/go-libp2p-core/host.Host, error)
Transport: changed from func(interface{}) github.com/libp2p/go-libp2p/config.Option to func(interface{}, ...interface{}) github.com/libp2p/go-libp2p/config.Option
## compatible changes
EnableHolePunching: added
EnableRelayService: added

# github.com/libp2p/go-libp2p/config
## incompatible changes
(*Config).NewNode: changed from func(context.Context) (github.com/libp2p/go-libp2p-core/host.Host, error) to func() (github.com/libp2p/go-libp2p-core/host.Host, error)
Config.RelayOpts: removed
Config.StaticRelays: removed
TransportConstructor: changed from func(interface{}) (TptC, error) to func(interface{}, ...interface{}) (TptC, error)
## compatible changes
Config.EnableHolePunching: added
Config.EnableRelayService: added
Config.HolePunchingOptions: added
Config.RelayServiceOpts: added
Config.StaticRelayOpt: added

# github.com/libp2p/go-libp2p/p2p/discovery/mdns
## incompatible changes
(*mdnsService).RegisterNotifee: removed
(*mdnsService).UnregisterNotifee: removed
NewMdnsService: changed from func(github.com/libp2p/go-libp2p-core/host.Host, string) *mdnsService to func(github.com/libp2p/go-libp2p-core/host.Host, string, Notifee) *mdnsService
Service.RegisterNotifee: removed
Service.Start: added
Service.UnregisterNotifee: removed
## compatible changes
(*mdnsService).Start: added

# github.com/libp2p/go-libp2p/p2p/host/autorelay
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/host/basic
## incompatible changes
(*BasicHost).IDService: changed from func() *github.com/libp2p/go-libp2p/p2p/protocol/identify.IDService to func() github.com/libp2p/go-libp2p/p2p/protocol/identify.IDService
NewHost: changed from func(context.Context, github.com/libp2p/go-libp2p-core/network.Network, *HostOpts) (*BasicHost, error) to func(github.com/libp2p/go-libp2p-core/network.Network, *HostOpts) (*BasicHost, error)
## compatible changes
HostOpts.EnableHolePunching: added
HostOpts.EnableRelayService: added
HostOpts.HolePunchingOptions: added
HostOpts.RelayServiceOpts: added

# github.com/libp2p/go-libp2p/p2p/host/relay
## incompatible changes
package removed

# github.com/libp2p/go-libp2p/p2p/host/relaysvc
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv1/pb
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv1/relay
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/pb
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/proto
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/util
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/holepunch
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/holepunch/pb
## compatible changes
package added

# github.com/libp2p/go-libp2p/p2p/protocol/identify
## incompatible changes
IDService: changed from struct{Host github.com/libp2p/go-libp2p-core/host.Host; UserAgent string; ctx context.Context; ctxCancel context.CancelFunc; closeSync sync.Once; refCount sync.WaitGroup; disableSignedPeerRecord bool; connsMu sync.RWMutex; conns map[github.com/libp2p/go-libp2p-core/network.Conn]chan struct{}; addrMu sync.Mutex; observedAddrs *ObservedAddrManager; emitters struct{evtPeerProtocolsUpdated github.com/libp2p/go-libp2p-core/event.Emitter; evtPeerIdentificationCompleted github.com/libp2p/go-libp2p-core/event.Emitter; evtPeerIdentificationFailed github.com/libp2p/go-libp2p-core/event.Emitter}; addPeerHandlerCh chan addPeerHandlerReq; rmPeerHandlerCh chan rmPeerHandlerReq} to interface{IdentifyConn(github.com/libp2p/go-libp2p-core/network.Conn); IdentifyWait(github.com/libp2p/go-libp2p-core/network.Conn) <-chan struct{}; ObservedAddrsFor(local github.com/multiformats/go-multiaddr.Multiaddr) []github.com/multiformats/go-multiaddr.Multiaddr; OwnObservedAddrs() []github.com/multiformats/go-multiaddr.Multiaddr; io.Closer}
NewIDService: changed from func(github.com/libp2p/go-libp2p-core/host.Host, ...Option) (*IDService, error) to func(github.com/libp2p/go-libp2p-core/host.Host, ...Option) (*idService, error)
NewObservedAddrManager: changed from func(context.Context, github.com/libp2p/go-libp2p-core/host.Host) (*ObservedAddrManager, error) to func(github.com/libp2p/go-libp2p-core/host.Host) (*ObservedAddrManager, error)
## compatible changes
(*ObservedAddrManager).Close: added

# summary
Cannot suggest a release version.
Can only suggest a release version when compared against the most recent version of this major: v0.16.0-dev.

gocompat says:

"github.com/libp2p/go-libp2p/p2p/protocol/identify".NewIDService SignatureChanged
"github.com/libp2p/go-libp2p/p2p/protocol/identify".NewObservedAddrManager SignatureChanged
"github.com/libp2p/go-libp2p/p2p/protocol/identify".IDService TypeChanged
"github.com/libp2p/go-libp2p/p2p/host/basic".NewHost SignatureChanged
"github.com/libp2p/go-libp2p/p2p/host/basic".BasicHost.IDService MethodSignatureChanged
"github.com/libp2p/go-libp2p/p2p/host/relay" PackageDeleted
"github.com/libp2p/go-libp2p/config".Config.RelayOpts FieldDeleted
"github.com/libp2p/go-libp2p/config".Config.StaticRelays FieldDeleted
"github.com/libp2p/go-libp2p/config".Config.NewNode MethodSignatureChanged
"github.com/libp2p/go-libp2p/config".TransportConstructor SignatureChanged
"github.com/libp2p/go-libp2p".EnableRelay SignatureChanged
"github.com/libp2p/go-libp2p".New SignatureChanged
"github.com/libp2p/go-libp2p".NewWithoutDefaults SignatureChanged
"github.com/libp2p/go-libp2p".EnableAutoRelay SignatureChanged
"github.com/libp2p/go-libp2p".Transport SignatureChanged
"github.com/libp2p/go-libp2p/p2p/discovery/mdns".NewMdnsService SignatureChanged
"github.com/libp2p/go-libp2p/p2p/discovery/mdns".Service InterfaceChanged
"github.com/libp2p/go-libp2p/p2p/discovery/mdns_legacy".NewMdnsService SignatureChanged
"github.com/libp2p/go-libp2p/p2p/discovery/mdns_legacy".Service DeclarationTypeChanged

@marten-seemann marten-seemann merged commit 3a71a6d into master Nov 24, 2021
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants