From d233a737b39953a3375ec1b1069f6936a45febb0 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Thu, 5 Aug 2021 06:27:28 -0700 Subject: [PATCH] release: 0.6.8 --- CHANGELOG.md | 75 +++++++++++++++++++- requestmanager/requestmanager.go | 3 +- requestmanager/responsecollector_test.go | 2 +- responsemanager/querypreparer.go | 7 +- responsemanager/runtraversal/runtraversal.go | 3 +- scripts/mkreleaselog | 2 +- 6 files changed, 81 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3cfcb0..747d16ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,80 @@ # go-graphsync changelog +# go-graphsync 0.6.8 + +### Changelog + +- github.com/ipfs/go-graphsync: + - refactor: replace particular request not found errors with public error (#188) ([ipfs/go-graphsync#188](https://github.com/ipfs/go-graphsync/pull/188)) + - fix(responsemanager): fix error codes (#182) ([ipfs/go-graphsync#182](https://github.com/ipfs/go-graphsync/pull/182)) + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Hannah Howard | 1 | +100/-51 | 5 | +| dirkmc | 1 | +10/-3 | 2 | + +# go-graphsync 0.6.7 + +### Changelog + +- github.com/ipfs/go-graphsync: + - Add cancel request and wait function (#185) ([ipfs/go-graphsync#185](https://github.com/ipfs/go-graphsync/pull/185)) + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Hannah Howard | 1 | +154/-32 | 9 | +# go-graphsync 0.6.6 + +### Changelog + +- github.com/ipfs/go-graphsync: + - feat(requestmanager): add request timing (#181) ([ipfs/go-graphsync#181](https://github.com/ipfs/go-graphsync/pull/181)) + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Hannah Howard | 1 | +9/-1 | 1 | + +# go-graphsync 0.6.5 + +### Changelog + +- github.com/ipfs/go-graphsync: + - Resolve 175 race condition, no change to hook timing (#178) ([ipfs/go-graphsync#178](https://github.com/ipfs/go-graphsync/pull/178)) + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Hannah Howard | 1 | +199/-171 | 10 | + # go-graphsync 0.6.4 + +### Changelog + - github.com/ipfs/go-graphsync: - feat/request-queued-hook (#172) ([ipfs/go-graphsync#172](https://github.com/ipfs/go-graphsync/pull/172)) +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| aarshkshah1992 | 3 | +87/-3 | 7 | +| dirkmc | 1 | +11/-0 | 1 | + # go-graphsync 0.6.3 +### Changelog + - github.com/ipfs/go-graphsync: - Fix/log blockstore reads (#169) ([ipfs/go-graphsync#169](https://github.com/ipfs/go-graphsync/pull/169)) -Contributors +### Contributors | Contributor | Commits | Lines ± | Files Changed | |-------------|---------|---------|---------------| @@ -17,10 +82,12 @@ Contributors # go-graphsync 0.6.2 +### Changelog + - github.com/ipfs/go-graphsync: - Better logging for Graphsync traversal (#167) ([ipfs/go-graphsync#167](https://github.com/ipfs/go-graphsync/pull/167)) -Contributors +### Contributors | Contributor | Commits | Lines ± | Files Changed | |-------------|---------|---------|---------------| @@ -28,10 +95,12 @@ Contributors # go-graphsync 0.6.1 +### Changelog + - github.com/ipfs/go-graphsync: - feat: fire network error when network disconnects during request (#164) ([ipfs/go-graphsync#164](https://github.com/ipfs/go-graphsync/pull/164)) -Contributors +### Contributors | Contributor | Commits | Lines ± | Files Changed | |-------------|---------|---------|---------------| diff --git a/requestmanager/requestmanager.go b/requestmanager/requestmanager.go index 5508b7bc..01a38f9f 100644 --- a/requestmanager/requestmanager.go +++ b/requestmanager/requestmanager.go @@ -8,14 +8,13 @@ import ( "time" "github.com/hannahhoward/go-pubsub" - "golang.org/x/xerrors" - blocks "github.com/ipfs/go-block-format" "github.com/ipfs/go-cid" logging "github.com/ipfs/go-log/v2" "github.com/ipld/go-ipld-prime" cidlink "github.com/ipld/go-ipld-prime/linking/cid" "github.com/libp2p/go-libp2p-core/peer" + "golang.org/x/xerrors" "github.com/ipfs/go-graphsync" "github.com/ipfs/go-graphsync/cidset" diff --git a/requestmanager/responsecollector_test.go b/requestmanager/responsecollector_test.go index 51d1af7e..7f1d519b 100644 --- a/requestmanager/responsecollector_test.go +++ b/requestmanager/responsecollector_test.go @@ -26,7 +26,7 @@ func TestBufferingResponseProgress(t *testing.T) { cancelRequest := func() {} outgoingResponses, outgoingErrors := rc.collectResponses( - requestCtx, incomingResponses, incomingErrors, cancelRequest, func(){}) + requestCtx, incomingResponses, incomingErrors, cancelRequest, func() {}) blockStore := make(map[ipld.Link][]byte) loader, storer := testutil.NewTestStore(blockStore) diff --git a/responsemanager/querypreparer.go b/responsemanager/querypreparer.go index 86399cfe..6bec7944 100644 --- a/responsemanager/querypreparer.go +++ b/responsemanager/querypreparer.go @@ -5,6 +5,10 @@ import ( "errors" "github.com/ipfs/go-cid" + ipld "github.com/ipld/go-ipld-prime" + cidlink "github.com/ipld/go-ipld-prime/linking/cid" + "github.com/libp2p/go-libp2p-core/peer" + "github.com/ipfs/go-graphsync" "github.com/ipfs/go-graphsync/cidset" "github.com/ipfs/go-graphsync/dedupkey" @@ -12,9 +16,6 @@ import ( gsmsg "github.com/ipfs/go-graphsync/message" "github.com/ipfs/go-graphsync/notifications" "github.com/ipfs/go-graphsync/responsemanager/responseassembler" - ipld "github.com/ipld/go-ipld-prime" - cidlink "github.com/ipld/go-ipld-prime/linking/cid" - "github.com/libp2p/go-libp2p-core/peer" ) type queryPreparer struct { diff --git a/responsemanager/runtraversal/runtraversal.go b/responsemanager/runtraversal/runtraversal.go index 5af0969b..c34e0bc3 100644 --- a/responsemanager/runtraversal/runtraversal.go +++ b/responsemanager/runtraversal/runtraversal.go @@ -4,10 +4,11 @@ import ( "bytes" "io" - "github.com/ipfs/go-graphsync/ipldutil" logging "github.com/ipfs/go-log/v2" ipld "github.com/ipld/go-ipld-prime" "github.com/ipld/go-ipld-prime/traversal" + + "github.com/ipfs/go-graphsync/ipldutil" ) var logger = logging.Logger("gs-traversal") diff --git a/scripts/mkreleaselog b/scripts/mkreleaselog index 894a2424..574525d0 100755 --- a/scripts/mkreleaselog +++ b/scripts/mkreleaselog @@ -139,7 +139,7 @@ indent() { } mod_deps() { - go list -json -m all | jq 'select(.Version != null)' + go list -mod=mod -json -m all | jq 'select(.Version != null)' } ensure() {