ipfs / go-bitswap

The golang implementation of the bitswap protocol
MIT License
216 stars 112 forks source link

chore: update dependencies to avoid indirect go-libp2p-core dependency #595

Closed marten-seemann closed 1 year ago

marten-seemann commented 1 year ago

go-libp2p-core is deprecated, and updating to the upcoming go-libp2p v0.24.0 will break the build.

github-actions[bot] commented 1 year ago

Suggested version: v0.11.0 Comparing to: v0.10.2 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 7a63d7c..6577959 100644
--- a/go.mod
+++ b/go.mod
@@ -6,25 +6,25 @@ require (
    github.com/gogo/protobuf v1.3.2
    github.com/google/uuid v1.3.0
    github.com/ipfs/go-block-format v0.0.3
-   github.com/ipfs/go-cid v0.2.0
-   github.com/ipfs/go-datastore v0.5.1
+   github.com/ipfs/go-cid v0.3.2
+   github.com/ipfs/go-datastore v0.6.0
    github.com/ipfs/go-detect-race v0.0.1
    github.com/ipfs/go-ipfs-blockstore v1.2.0
    github.com/ipfs/go-ipfs-blocksutil v0.0.1
    github.com/ipfs/go-ipfs-delay v0.0.1
    github.com/ipfs/go-ipfs-exchange-interface v0.2.0
-   github.com/ipfs/go-ipfs-routing v0.2.1
+   github.com/ipfs/go-ipfs-routing v0.3.0
    github.com/ipfs/go-ipfs-util v0.0.2
    github.com/ipfs/go-ipld-format v0.3.0
    github.com/ipfs/go-log v1.0.5
    github.com/ipfs/go-metrics-interface v0.0.1
-   github.com/ipfs/go-peertaskqueue v0.7.0
+   github.com/ipfs/go-peertaskqueue v0.8.0
    github.com/jbenet/goprocess v0.1.4
    github.com/libp2p/go-buffer-pool v0.1.0
    github.com/libp2p/go-libp2p v0.22.0
    github.com/libp2p/go-libp2p-testing v0.12.0
    github.com/libp2p/go-msgio v0.2.0
-   github.com/multiformats/go-multiaddr v0.6.0
+   github.com/multiformats/go-multiaddr v0.7.0
    github.com/multiformats/go-multistream v0.3.3
    github.com/stretchr/testify v1.8.0
    go.opentelemetry.io/otel v1.7.0
@@ -51,7 +51,6 @@ require (
    github.com/koron/go-ssdp v0.0.3 // indirect
    github.com/libp2p/go-cidranger v1.1.0 // indirect
    github.com/libp2p/go-libp2p-asn-util v0.2.0 // indirect
-   github.com/libp2p/go-libp2p-core v0.20.0 // indirect
    github.com/libp2p/go-libp2p-record v0.2.0 // indirect
    github.com/libp2p/go-nat v0.1.0 // indirect
    github.com/libp2p/go-netroute v0.2.0 // indirect

gorelease says:

# summary
Suggested version: v0.11.0

gocompat says:

(empty)
Jorropo commented 1 year ago

Macos and windows are failing on master too, merging as-is.