From e8cdcb24c0bac2cb343de1e63e5792b99b0a0611 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Fri, 14 Jan 2022 12:47:41 -0800 Subject: [PATCH] feat(CHANGELOG): update for v0.12.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ impl/graphsync_test.go | 21 +++++++++++---------- messagequeue/messagequeue.go | 2 +- peermanager/peermessagemanager.go | 3 ++- version.json | 2 +- 5 files changed, 38 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b37faf7..16980513 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # go-graphsync changelog +# go-graphsync v0.12.0 + +New features (UnixFS Fetching!) and additional tracing + +### Changelog + +- github.com/ipfs/go-graphsync: + - Use do not send blocks for pause/resume & prevent processing of blocks on cancelled requests (#333) ([ipfs/go-graphsync#333](https://github.com/ipfs/go-graphsync/pull/333)) + - Support unixfs reification in default linksystem (#329) ([ipfs/go-graphsync#329](https://github.com/ipfs/go-graphsync/pull/329)) + - Don't run hooks on blocks we didn't have (#331) ([ipfs/go-graphsync#331](https://github.com/ipfs/go-graphsync/pull/331)) + - feat(responsemanager): trace full messages via links to responses (#325) ([ipfs/go-graphsync#325](https://github.com/ipfs/go-graphsync/pull/325)) + - chore(requestmanager): rename processResponses internals for consistency (#328) ([ipfs/go-graphsync#328](https://github.com/ipfs/go-graphsync/pull/328)) + - Response message tracing (#327) ([ipfs/go-graphsync#327](https://github.com/ipfs/go-graphsync/pull/327)) + - fix(testutil): fix tracing span collection (#324) ([ipfs/go-graphsync#324](https://github.com/ipfs/go-graphsync/pull/324)) + +### Contributors + +| Contributor | Commits | Lines ± | Files Changed | +|-------------|---------|---------|---------------| +| Hannah Howard | 5 | +576/-311 | 27 | +| Rod Vagg | 2 | +127/-71 | 9 | + + # go-graphsync v0.11.5 Additional tracing, context hooks, improvements to IPLD traversal diff --git a/impl/graphsync_test.go b/impl/graphsync_test.go index 7eb37ee3..83b11140 100644 --- a/impl/graphsync_test.go +++ b/impl/graphsync_test.go @@ -19,16 +19,6 @@ import ( "github.com/ipfs/go-cid" "github.com/ipfs/go-datastore" dss "github.com/ipfs/go-datastore/sync" - "github.com/ipfs/go-graphsync" - "github.com/ipfs/go-graphsync/cidset" - "github.com/ipfs/go-graphsync/donotsendfirstblocks" - "github.com/ipfs/go-graphsync/ipldutil" - gsmsg "github.com/ipfs/go-graphsync/message" - gsnet "github.com/ipfs/go-graphsync/network" - "github.com/ipfs/go-graphsync/requestmanager/hooks" - "github.com/ipfs/go-graphsync/storeutil" - "github.com/ipfs/go-graphsync/taskqueue" - "github.com/ipfs/go-graphsync/testutil" bstore "github.com/ipfs/go-ipfs-blockstore" chunker "github.com/ipfs/go-ipfs-chunker" offline "github.com/ipfs/go-ipfs-exchange-offline" @@ -49,6 +39,17 @@ import ( "github.com/libp2p/go-libp2p-core/peer" mocknet "github.com/libp2p/go-libp2p/p2p/net/mock" "github.com/stretchr/testify/require" + + "github.com/ipfs/go-graphsync" + "github.com/ipfs/go-graphsync/cidset" + "github.com/ipfs/go-graphsync/donotsendfirstblocks" + "github.com/ipfs/go-graphsync/ipldutil" + gsmsg "github.com/ipfs/go-graphsync/message" + gsnet "github.com/ipfs/go-graphsync/network" + "github.com/ipfs/go-graphsync/requestmanager/hooks" + "github.com/ipfs/go-graphsync/storeutil" + "github.com/ipfs/go-graphsync/taskqueue" + "github.com/ipfs/go-graphsync/testutil" ) func TestMakeRequestToNetwork(t *testing.T) { diff --git a/messagequeue/messagequeue.go b/messagequeue/messagequeue.go index 6ddc0b2a..c9834a0f 100644 --- a/messagequeue/messagequeue.go +++ b/messagequeue/messagequeue.go @@ -8,7 +8,6 @@ import ( "sync" "time" - "github.com/ipfs/go-graphsync" logging "github.com/ipfs/go-log/v2" "github.com/libp2p/go-libp2p-core/peer" "go.opentelemetry.io/otel" @@ -16,6 +15,7 @@ import ( "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/trace" + "github.com/ipfs/go-graphsync" gsmsg "github.com/ipfs/go-graphsync/message" gsnet "github.com/ipfs/go-graphsync/network" "github.com/ipfs/go-graphsync/notifications" diff --git a/peermanager/peermessagemanager.go b/peermanager/peermessagemanager.go index fef59501..d0d99a06 100644 --- a/peermanager/peermessagemanager.go +++ b/peermanager/peermessagemanager.go @@ -3,8 +3,9 @@ package peermanager import ( "context" - "github.com/ipfs/go-graphsync/messagequeue" "github.com/libp2p/go-libp2p-core/peer" + + "github.com/ipfs/go-graphsync/messagequeue" ) // PeerQueue is a process that sends messages to a peer diff --git a/version.json b/version.json index 9aef3fdc..21e148a9 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "v0.11.5" + "version": "v0.12.0" }