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

v0.18.0 bump #413

Merged
merged 1 commit into from
Sep 11, 2023
Merged

v0.18.0 bump #413

merged 1 commit into from
Sep 11, 2023

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Sep 11, 2023

Main breaking change is in 46dca4c, we remove car-scope from our requests. We are also now sending 502's on no indexer candidates.

@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2023

Codecov Report

Merging #413 (3a4d5a3) into main (e11c059) will decrease coverage by 0.31%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
- Coverage   76.62%   76.31%   -0.31%     
==========================================
  Files          85       85              
  Lines        6275     6275              
==========================================
- Hits         4808     4789      -19     
- Misses       1226     1238      +12     
- Partials      241      248       +7     

see 5 files with indirect coverage changes

@github-actions
Copy link

Suggested version: v0.18.0

Comparing to: v0.17.0 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index b98b41c..f32bb5f 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,6 @@ go 1.20
 
 require (
 	github.com/benbjohnson/clock v1.3.5
-	github.com/cespare/xxhash/v2 v2.2.0
 	github.com/dustin/go-humanize v1.0.1
 	github.com/filecoin-project/go-data-transfer/v2 v2.0.0-rc7
 	github.com/filecoin-project/go-retrieval-types v1.2.0
@@ -12,21 +11,22 @@ require (
 	github.com/google/uuid v1.3.0
 	github.com/hannahhoward/go-pubsub v1.0.0
 	github.com/ipfs/boxo v0.11.1-0.20230817065640-7ec68c5e5adf
-	github.com/ipfs/go-block-format v0.1.2
+	github.com/ipfs/go-block-format v0.2.0
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-datastore v0.6.0
-	github.com/ipfs/go-graphsync v0.14.7
+	github.com/ipfs/go-graphsync v0.14.8
 	github.com/ipfs/go-ipfs-blockstore v1.3.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-ipld-format v0.5.0
+	github.com/ipfs/go-ipld-format v0.6.0
 	github.com/ipfs/go-log/v2 v2.5.1
-	github.com/ipfs/go-unixfsnode v1.7.4
-	github.com/ipld/go-car/v2 v2.11.0
+	github.com/ipfs/go-unixfsnode v1.8.0
+	github.com/ipld/go-car/v2 v2.13.1
 	github.com/ipld/go-codec-dagpb v1.6.0
 	github.com/ipld/go-ipld-prime v0.21.0
-	github.com/ipld/ipld/specs v0.0.0-20230816230151-73f8fbea1783
+	github.com/ipld/go-trustless-utils v0.2.0
+	github.com/ipld/ipld/specs v0.0.0-20230907004443-0e4ff95ff474
 	github.com/ipni/go-libipni v0.0.8-0.20230425184153-86a1fcb7f7ff
 	github.com/libp2p/go-libp2p v0.30.0
 	github.com/libp2p/go-libp2p-routing-helpers v0.7.0
@@ -46,6 +46,8 @@ require (
 require (
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/bep/debounce v1.2.0 // indirect
+	github.com/cespare/xxhash v1.1.0 // indirect
+	github.com/cespare/xxhash/v2 v2.2.0 // indirect
 	github.com/containerd/cgroups v1.1.0 // indirect
 	github.com/coreos/go-systemd/v22 v22.5.0 // indirect
 	github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
@@ -88,7 +90,7 @@ require (
 	github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect
 	github.com/ipfs/go-ipfs-pq v0.0.3 // indirect
 	github.com/ipfs/go-ipfs-util v0.0.2 // indirect
-	github.com/ipfs/go-ipld-cbor v0.0.6 // indirect
+	github.com/ipfs/go-ipld-cbor v0.1.0 // indirect
 	github.com/ipfs/go-log v1.0.5 // indirect
 	github.com/ipfs/go-metrics-interface v0.0.1 // indirect
 	github.com/ipfs/go-peertaskqueue v0.8.1 // indirect
@@ -147,7 +149,7 @@ require (
 	github.com/spaolacci/murmur3 v1.1.0 // indirect
 	github.com/warpfork/go-testmark v0.12.1 // indirect
 	github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 // indirect
-	github.com/whyrusleeping/cbor-gen v0.0.0-20230126041949-52956bd4c9aa // indirect
+	github.com/whyrusleeping/cbor-gen v0.0.0-20230818171029-f91ae536ca25 // indirect
 	github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect
 	github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
 	go.opentelemetry.io/otel/sdk v1.14.0 // indirect

gorelease says:

# github.com/filecoin-project/lassie/pkg/lassie
## compatible changes
DefaultBitswapConcurrency: added
DefaultBitswapConcurrencyPerRetrieval: added
DefaultProviderTimeout: added
LassieConfig.BitswapConcurrencyPerRetrieval: added
WithBitswapConcurrencyPerRetrieval: added

# github.com/filecoin-project/lassie/pkg/retriever
## incompatible changes
DefaultConcurrency: removed
NewBitswapRetrieverFromDeps: changed from func(github.com/ipfs/boxo/blockservice.BlockService, IndexerRouting, InProgressCids, MultiBlockstore, BitswapConfig, github.com/benbjohnson/clock.Clock, chan<- struct{}) *BitswapRetriever to func(context.Context, github.com/ipfs/boxo/blockservice.BlockService, IndexerRouting, InProgressCids, MultiBlockstore, BitswapConfig, github.com/benbjohnson/clock.Clock, chan<- struct{}) *BitswapRetriever
## compatible changes
BitswapConfig.ConcurrencyPerRetrieval: added

# github.com/filecoin-project/lassie/pkg/retriever/bitswaphelpers
## incompatible changes
(*PreloadCachingStorage).Start: removed
(*PreloadCachingStorage).Stop: removed
NewPreloadCachingStorage: changed from func(github.com/ipld/go-ipld-prime/linking.LinkSystem, github.com/ipld/go-ipld-prime/linking.LinkSystem, github.com/ipld/go-ipld-prime/linking.BlockReadOpener, int) (*PreloadCachingStorage, error) to func(github.com/ipld/go-ipld-prime/linking.LinkSystem, github.com/ipld/go-ipld-prime/linking.LinkSystem, github.com/ipld/go-ipld-prime/linking.BlockReadOpener, github.com/filecoin-project/lassie/pkg/retriever/bitswaphelpers/groupworkpool.Group) (*PreloadCachingStorage, error)

# github.com/filecoin-project/lassie/pkg/retriever/bitswaphelpers/groupworkpool
## compatible changes
package added

# github.com/filecoin-project/lassie/pkg/server/http
## incompatible changes
CheckFormat: removed
DefaultIncludeDupes: removed
FilenameExtCar: removed
FormatParameterCar: removed
MimeTypeCar: removed
MimeTypeCarVersion: removed
ParseAccept: removed
ParseByteRange: removed
ParseFilename: removed
ParseScope: removed
ResponseAcceptRangesHeader: removed
ResponseCacheControlHeader: removed
ResponseChunkDelimeter: removed
ResponseContentTypeHeader: removed
## compatible changes
IpfsHandler: added

# github.com/filecoin-project/lassie/pkg/storage
## incompatible changes
DeferredCarWriter: removed
NewDeferredCarWriterForPath: removed
NewDeferredCarWriterForStream: removed
NewDuplicateAdderCarForStream: changed from func(context.Context, github.com/ipfs/go-cid.Cid, string, github.com/filecoin-project/lassie/pkg/types.DagScope, *github.com/filecoin-project/lassie/pkg/types.ByteRange, *DeferredStorageCar, io.Writer) *DuplicateAdderCar to func(context.Context, io.Writer, github.com/ipfs/go-cid.Cid, string, github.com/ipld/go-trustless-utils.DagScope, *github.com/ipld/go-trustless-utils.ByteRange, *DeferredStorageCar) *DuplicateAdderCar

# github.com/filecoin-project/lassie/pkg/types
## incompatible changes
ByteRange: removed
DagScope: removed
DagScopeAll: removed
DagScopeBlock: removed
DagScopeEntity: removed
ParseByteRange: removed
ParseDagScope: removed
PathEscape: removed
PathScopeSelector: removed
RetrievalRequest.Bytes: removed
RetrievalRequest.Cid: removed
RetrievalRequest.Duplicates: removed
RetrievalRequest.GetUrlPath: removed
RetrievalRequest.Path: removed
RetrievalRequest.Scope: removed
## compatible changes
Request.UrlPath: added
RetrievalRequest.Request: added
RetrievalRequest.Root: added

# github.com/filecoin-project/lassie/pkg/verifiedcar
## incompatible changes
package removed

# diagnostics
go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.
required module github.com/microcosm-cc/[email protected] retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.18.0

gocompat says:

Your branch is up to date with 'origin/main'.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@rvagg
Copy link
Member Author

rvagg commented Sep 11, 2023

oh yeah, other breaking change is in all the API stuff that's moved to go-trustless-utils!

@rvagg rvagg merged commit 27979a4 into main Sep 11, 2023
9 checks passed
@rvagg rvagg deleted the rvagg/v0.18.0 branch September 11, 2023 10:47
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