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

v2.14.0 bump #532

Merged
merged 3 commits into from
Sep 10, 2024
Merged

v2.14.0 bump #532

merged 3 commits into from
Sep 10, 2024

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Sep 10, 2024

No description provided.

@rvagg
Copy link
Member Author

rvagg commented Sep 10, 2024

updated all dependencies and transitive dependencies across the 3 packages in this branch as well

@rvagg
Copy link
Member Author

rvagg commented Sep 10, 2024

Updated the fuzz GHA workflow to Go 1.22, also bumped the version in the fuzz files themselves which is not strictly necessary but we may as well not be tied to a specific historical compile version if it still works as is

Copy link
Contributor

Suggested version: 2.14.0

Comparing to: v2.13.1 (diff)

Changes in configuration file(s):

diff --git a/go.mod b/go.mod
index 9cdec57..1f6cd38 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/ipld/go-car
 
-go 1.20
+go 1.22
 
 require (
 	github.com/ipfs/go-block-format v0.2.0
@@ -11,7 +11,7 @@ require (
 	github.com/ipld/go-codec-dagpb v1.6.0
 	github.com/ipld/go-ipld-prime v0.21.0
 	github.com/multiformats/go-multihash v0.2.3
-	github.com/stretchr/testify v1.8.4
+	github.com/stretchr/testify v1.9.0
 )
 
 require (
@@ -54,10 +54,10 @@ require (
 	go.uber.org/goleak v1.1.12 // indirect
 	go.uber.org/multierr v1.9.0 // indirect
 	go.uber.org/zap v1.24.0 // indirect
-	golang.org/x/crypto v0.6.0 // indirect
-	golang.org/x/sys v0.5.0 // indirect
+	golang.org/x/crypto v0.17.0 // indirect
+	golang.org/x/sys v0.15.0 // indirect
 	golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
-	google.golang.org/protobuf v1.28.1 // indirect
+	google.golang.org/protobuf v1.33.0 // indirect
 	gopkg.in/yaml.v3 v3.0.1 // indirect
 	lukechampine.com/blake3 v1.1.7 // indirect
 )diff --git a/cmd/go.mod b/cmd/go.mod
index 50a07f0..4fb126f 100644
--- a/cmd/go.mod
+++ b/cmd/go.mod
@@ -1,80 +1,77 @@
 module github.com/ipld/go-car/cmd
 
-go 1.20
+go 1.22
 
 require (
 	github.com/dustin/go-humanize v1.0.1
 	github.com/ipfs/go-block-format v0.2.0
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-ipld-format v0.6.0
-	github.com/ipfs/go-unixfsnode v1.8.0
+	github.com/ipfs/go-unixfsnode v1.9.1
 	github.com/ipld/go-car v0.6.2
-	github.com/ipld/go-car/v2 v2.11.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/multiformats/go-multicodec v0.9.0
 	github.com/multiformats/go-multihash v0.2.3
 	github.com/multiformats/go-varint v0.0.7
 	github.com/polydawn/refmt v0.89.0
-	github.com/rogpeppe/go-internal v1.11.0
-	github.com/urfave/cli/v2 v2.25.7
-	golang.org/x/exp v0.0.0-20230321023759-10a507213a29
+	github.com/rogpeppe/go-internal v1.12.0
+	github.com/urfave/cli/v2 v2.27.4
+	golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
 )
 
 require (
-	github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
-	github.com/go-logr/logr v1.2.3 // indirect
+	github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
+	github.com/go-logr/logr v1.4.2 // indirect
 	github.com/go-logr/stdr v1.2.2 // indirect
 	github.com/gogo/protobuf v1.3.2 // indirect
-	github.com/google/uuid v1.3.0 // indirect
-	github.com/hashicorp/golang-lru v0.5.4 // indirect
+	github.com/google/uuid v1.6.0 // indirect
+	github.com/hashicorp/golang-lru v1.0.2 // indirect
 	github.com/ipfs/bbloom v0.0.4 // indirect
+	github.com/ipfs/boxo v0.22.0 // indirect
 	github.com/ipfs/go-bitfield v1.1.0 // indirect
-	github.com/ipfs/go-blockservice v0.5.0 // indirect
+	github.com/ipfs/go-blockservice v0.5.2 // indirect
 	github.com/ipfs/go-datastore v0.6.0 // indirect
-	github.com/ipfs/go-ipfs-blockstore v1.3.0 // indirect
-	github.com/ipfs/go-ipfs-chunker v0.0.5 // indirect
-	github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect
-	github.com/ipfs/go-ipfs-exchange-interface v0.2.0 // 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-ipfs-blockstore v1.3.1 // indirect
+	github.com/ipfs/go-ipfs-ds-help v1.1.1 // indirect
+	github.com/ipfs/go-ipfs-exchange-interface v0.2.1 // indirect
+	github.com/ipfs/go-ipfs-util v0.0.3 // indirect
+	github.com/ipfs/go-ipld-cbor v0.1.0 // indirect
 	github.com/ipfs/go-ipld-legacy v0.2.1 // indirect
 	github.com/ipfs/go-log v1.0.5 // indirect
 	github.com/ipfs/go-log/v2 v2.5.1 // indirect
 	github.com/ipfs/go-merkledag v0.11.0 // indirect
 	github.com/ipfs/go-metrics-interface v0.0.1 // indirect
-	github.com/ipfs/go-peertaskqueue v0.8.1 // indirect
-	github.com/ipfs/go-verifcid v0.0.2 // indirect
+	github.com/ipfs/go-verifcid v0.0.3 // indirect
 	github.com/jbenet/goprocess v0.1.4 // indirect
-	github.com/klauspost/cpuid/v2 v2.2.4 // indirect
+	github.com/klauspost/cpuid/v2 v2.2.8 // indirect
 	github.com/libp2p/go-buffer-pool v0.1.0 // indirect
-	github.com/libp2p/go-libp2p v0.27.8 // indirect
-	github.com/mattn/go-isatty v0.0.18 // indirect
-	github.com/minio/sha256-simd v1.0.0 // indirect
+	github.com/mattn/go-isatty v0.0.20 // indirect
+	github.com/minio/sha256-simd v1.0.1 // indirect
 	github.com/mr-tron/base58 v1.2.0 // indirect
 	github.com/multiformats/go-base32 v0.1.0 // indirect
 	github.com/multiformats/go-base36 v0.2.0 // indirect
-	github.com/multiformats/go-multiaddr v0.9.0 // indirect
 	github.com/multiformats/go-multibase v0.2.0 // indirect
 	github.com/opentracing/opentracing-go v1.2.0 // indirect
 	github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 // indirect
-	github.com/pkg/errors v0.9.1 // indirect
 	github.com/russross/blackfriday/v2 v2.1.0 // indirect
 	github.com/spaolacci/murmur3 v1.1.0 // 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.1.2 // 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 v1.13.0 // indirect
-	go.opentelemetry.io/otel/trace v1.13.0 // indirect
-	go.uber.org/atomic v1.10.0 // indirect
+	github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
+	go.opentelemetry.io/otel v1.27.0 // indirect
+	go.opentelemetry.io/otel/metric v1.27.0 // indirect
+	go.opentelemetry.io/otel/trace v1.27.0 // indirect
+	go.uber.org/atomic v1.11.0 // indirect
 	go.uber.org/multierr v1.11.0 // indirect
-	go.uber.org/zap v1.24.0 // indirect
-	golang.org/x/crypto v0.7.0 // indirect
-	golang.org/x/sys v0.7.0 // indirect
-	golang.org/x/tools v0.7.0 // indirect
-	golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
-	google.golang.org/protobuf v1.30.0 // indirect
+	go.uber.org/zap v1.27.0 // indirect
+	golang.org/x/crypto v0.25.0 // indirect
+	golang.org/x/sys v0.22.0 // indirect
+	golang.org/x/tools v0.23.0 // indirect
+	golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
+	google.golang.org/protobuf v1.34.2 // indirect
 	gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
-	lukechampine.com/blake3 v1.1.7 // indirect
+	lukechampine.com/blake3 v1.3.0 // indirect
 )
diff --git a/v2/go.mod b/v2/go.mod
index 23424af..68b43b6 100644
--- a/v2/go.mod
+++ b/v2/go.mod
@@ -1,13 +1,13 @@
 module github.com/ipld/go-car/v2
 
-go 1.20
+go 1.22
 
 require (
 	github.com/ipfs/go-block-format v0.2.0
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-ipld-cbor v0.1.0
 	github.com/ipfs/go-ipld-format v0.6.0
-	github.com/ipfs/go-unixfsnode v1.8.0
+	github.com/ipfs/go-unixfsnode v1.9.0
 	github.com/ipld/go-codec-dagpb v1.6.0
 	github.com/ipld/go-ipld-prime v0.21.0
 	github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20230102063945-1a409dc236dd
@@ -15,7 +15,7 @@ require (
 	github.com/multiformats/go-multihash v0.2.3
 	github.com/multiformats/go-varint v0.0.7
 	github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9
-	github.com/stretchr/testify v1.8.4
+	github.com/stretchr/testify v1.9.0
 	github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11
 	golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb
 )
@@ -54,10 +54,10 @@ require (
 	go.uber.org/atomic v1.10.0 // indirect
 	go.uber.org/multierr v1.9.0 // indirect
 	go.uber.org/zap v1.24.0 // indirect
-	golang.org/x/crypto v0.6.0 // indirect
-	golang.org/x/sys v0.5.0 // indirect
+	golang.org/x/crypto v0.17.0 // indirect
+	golang.org/x/sys v0.15.0 // indirect
 	golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
-	google.golang.org/protobuf v1.28.1 // indirect
+	google.golang.org/protobuf v1.33.0 // indirect
 	gopkg.in/yaml.v3 v3.0.1 // indirect
 	lukechampine.com/blake3 v1.1.7 // indirect
 )

gorelease says:

# github.com/ipld/go-car/v2
## incompatible changes
AllowDuplicatePuts: removed
ApplyOptions: removed
AttachIndex: removed
BlockMetadata: removed
BlockReader: removed
Characteristics: removed
CharacteristicsSize: removed
DefaultMaxAllowedHeaderSize: removed
DefaultMaxAllowedSectionSize: removed
DefaultMaxIndexCidSize: removed
ErrAlreadyV1: removed
ErrCidTooLarge: removed
ErrOffsetImpossible: removed
ErrSizeMismatch: removed
ExtractV1File: removed
GenerateIndex: removed
GenerateIndexFromFile: removed
Header: removed
HeaderSize: changed from const to func
LoadIndex: removed
MaxAllowedHeaderSize: removed
MaxAllowedSectionSize: removed
MaxIndexCidSize: removed
NewBlockReader: removed
NewHeader: removed
NewReader: removed
NewSelectiveWriter: removed
OpenReader: removed
Options.BlockstoreAllowDuplicatePuts: removed
Options.BlockstoreUseWholeCIDs: removed
Options.DataPadding: removed
Options.IndexCodec: removed
Options.IndexPadding: removed
Options.MaxAllowedHeaderSize: removed
Options.MaxAllowedSectionSize: removed
Options.MaxIndexCidSize: removed
Options.StoreIdentityCIDs: removed
Options.TraversalPrototypeChooser: removed
Options.TrustedCAR: removed
Options.WriteAsCarV1: removed
Options.ZeroLengthSectionAsEOF: removed
Options: removed
Pragma: removed
PragmaSize: removed
ReadOption: removed
ReadOrGenerateIndex: removed
ReadVersion: removed
ReadWriteOption: removed
Reader: removed
ReplaceRootsInFile: removed
SectionReader: removed
Stats: removed
StoreIdentityCIDs: removed
TraverseToFile: removed
TraverseV1: removed
UseDataPadding: removed
UseIndexCodec: removed
UseIndexPadding: removed
UseWholeCIDs: removed
WithTraversalPrototypeChooser: removed
WithTrustedCAR: removed
WithoutIndex: removed
WrapV1: removed
WrapV1File: removed
WriteAsCarV1: removed
WriteOption: removed
Writer: removed
ZeroLengthSectionAsEOF: removed
## compatible changes
Block: added
CarHeader: added
CarReader: added
CarReaderOption: added
Dag: added
DefaultWalkFunc: added
LoadCar: added
NewCarReader: added
NewCarReaderWithOptions: added
NewSelectiveCar: added
OnCarHeaderFunc: added
OnNewCarBlockFunc: added
Options.TraverseLinksOnlyOnce: added
ReadHeader: added
ReadStore: added
SelectiveCar: added
SelectiveCarPrepared: added
Store: added
TraverseLinksOnlyOnce: added
WalkFunc: added
WithErrorOnEmptyRoots: added
WriteCar: added
WriteCarWithWalker: added
WriteHeader: added

# github.com/ipld/go-car/v2/blockstore
## incompatible changes
package removed

# github.com/ipld/go-car/v2/index
## incompatible changes
package removed

# github.com/ipld/go-car/v2/storage
## incompatible changes
package removed

# github.com/ipld/go-car/v2/storage/deferred
## incompatible changes
package removed

# github.com/ipld/go-car/util
## compatible changes
package added

# summary
Cannot suggest a release version.
Base module path is different from release.

gocompat says:

HEAD is now at 86d6af2 fix: BlockMetadata#Offset should be for section, not block data
Previous HEAD position was 86d6af2 fix: BlockMetadata#Offset should be for section, not block data
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

Cutting a Release (and modifying non-markdown files)

This PR is modifying both version.json and non-markdown files.
The Release Checker is not able to analyse files that are not checked in to master. This might cause the above analysis to be inaccurate.
Please consider performing all the code changes in a separate PR before cutting the release.

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 rvagg merged commit f7e4bb7 into master Sep 10, 2024
19 checks passed
@rvagg rvagg deleted the rvagg/v2.14.0 branch September 10, 2024 04:49
@rvagg
Copy link
Member Author

rvagg commented Sep 10, 2024

binaries weren't built, https://github.com/ipld/go-car/blob/master/.github/workflows/release-binaries.yml wasn't triggered for some reason

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