ipfs / go-bitswap

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

Version 0.5.0 #540

Closed guseggert closed 3 years ago

github-actions[bot] commented 3 years ago

Suggested version: v0.5.0 Comparing to: v0.4.0 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 91467c66..8bda8eff 100644
--- a/go.mod
+++ b/go.mod
@@ -7,17 +7,17 @@ require (
    github.com/google/uuid v1.2.0
    github.com/ipfs/go-block-format v0.0.3
    github.com/ipfs/go-cid v0.0.7
-   github.com/ipfs/go-datastore v0.4.5
+   github.com/ipfs/go-datastore v0.5.0
    github.com/ipfs/go-detect-race v0.0.1
-   github.com/ipfs/go-ipfs-blockstore v0.1.6
+   github.com/ipfs/go-ipfs-blockstore v0.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.0.1
-   github.com/ipfs/go-ipfs-routing v0.1.0
+   github.com/ipfs/go-ipfs-exchange-interface v0.1.0
+   github.com/ipfs/go-ipfs-routing v0.2.0
    github.com/ipfs/go-ipfs-util v0.0.2
    github.com/ipfs/go-log v1.0.5
    github.com/ipfs/go-metrics-interface v0.0.1
-   github.com/ipfs/go-peertaskqueue v0.4.0
+   github.com/ipfs/go-peertaskqueue v0.7.0
    github.com/jbenet/goprocess v0.1.4
    github.com/libp2p/go-buffer-pool v0.0.2
    github.com/libp2p/go-libp2p v0.14.3
@@ -32,4 +32,4 @@ require (
    go.uber.org/zap v1.16.0
 )

-go 1.15
+go 1.16

gorelease says:

# github.com/ipfs/go-bitswap
## incompatible changes
(*Bitswap).HasBlock: changed from func(github.com/ipfs/go-block-format.Block) error to func(context.Context, github.com/ipfs/go-block-format.Block) error
Bitswap: old is comparable, new is not
DisableWireTap: removed
EnableWireTap: removed
WireTap: removed
## compatible changes
TaskComparator: added
TaskInfo: added
Tracer: added
WithTaskComparator: added
WithTracer: added

# github.com/ipfs/go-bitswap/wantlist
## incompatible changes
SortEntries: removed

# summary
Suggested version: v0.5.0

gocompat says:

"github.com/ipfs/go-bitswap/wantlist".SortEntries TopLevelDeclarationDeleted
"github.com/ipfs/go-bitswap/internal/decision".NewEngine SignatureChanged
"github.com/ipfs/go-bitswap".Bitswap.HasBlock MethodSignatureChanged
"github.com/ipfs/go-bitswap".WireTap TopLevelDeclarationDeleted
"github.com/ipfs/go-bitswap".EnableWireTap TopLevelDeclarationDeleted
"github.com/ipfs/go-bitswap".DisableWireTap TopLevelDeclarationDeleted