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

Make v0.9.0 #340

Merged
merged 2 commits into from
Jun 8, 2023
Merged

Make v0.9.0 #340

merged 2 commits into from
Jun 8, 2023

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Jun 8, 2023

No description provided.

@Jorropo Jorropo requested a review from hacdias June 8, 2023 09:21
@Jorropo Jorropo requested a review from a team as a code owner June 8, 2023 09:21
@Jorropo Jorropo force-pushed the make-v0.9.0 branch 2 times, most recently from 9cc8d34 to 4713bbd Compare June 8, 2023 09:23
Copy link
Member

@hacdias hacdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎺

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Suggested version: v0.9.0

Comparing to: v0.8.1 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 4acc6828..fd7271db 100644
--- a/go.mod
+++ b/go.mod
@@ -5,8 +5,7 @@ go 1.19
 require (
 	github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a
 	github.com/benbjohnson/clock v1.3.0
-	github.com/cenkalti/backoff v2.2.1+incompatible
-	github.com/cespare/xxhash v1.1.0
+	github.com/cespare/xxhash/v2 v2.2.0
 	github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3
 	github.com/cskr/pubsub v1.0.2
 	github.com/dustin/go-humanize v1.0.0
@@ -22,15 +21,12 @@ require (
 	github.com/ipfs/go-cidutil v0.1.0
 	github.com/ipfs/go-datastore v0.6.0
 	github.com/ipfs/go-detect-race v0.0.1
-	github.com/ipfs/go-ds-badger v0.3.0
-	github.com/ipfs/go-ds-leveldb v0.5.0
 	github.com/ipfs/go-ipfs-blocksutil v0.0.1
 	github.com/ipfs/go-ipfs-delay v0.0.1
 	github.com/ipfs/go-ipfs-redirects-file v0.1.1
 	github.com/ipfs/go-ipld-cbor v0.0.6
-	github.com/ipfs/go-ipld-format v0.4.0
-	github.com/ipfs/go-ipld-legacy v0.1.1
-	github.com/ipfs/go-log v1.0.5
+	github.com/ipfs/go-ipld-format v0.5.0
+	github.com/ipfs/go-ipld-legacy v0.2.1
 	github.com/ipfs/go-log/v2 v2.5.1
 	github.com/ipfs/go-metrics-interface v0.0.1
 	github.com/ipfs/go-peertaskqueue v0.8.1
@@ -44,7 +40,7 @@ require (
 	github.com/libp2p/go-libp2p v0.26.3
 	github.com/libp2p/go-libp2p-kad-dht v0.21.1
 	github.com/libp2p/go-libp2p-record v0.2.0
-	github.com/libp2p/go-libp2p-routing-helpers v0.4.0
+	github.com/libp2p/go-libp2p-routing-helpers v0.7.0
 	github.com/libp2p/go-libp2p-testing v0.12.0
 	github.com/libp2p/go-msgio v0.3.0
 	github.com/miekg/dns v1.1.50
@@ -86,22 +82,17 @@ require (
 )
 
 require (
-	github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/cenkalti/backoff/v4 v4.2.0 // indirect
-	github.com/cespare/xxhash/v2 v2.2.0 // indirect
 	github.com/containerd/cgroups v1.0.4 // indirect
 	github.com/coreos/go-systemd/v22 v22.5.0 // indirect
 	github.com/davecgh/go-spew v1.1.1 // indirect
 	github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
 	github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
-	github.com/dgraph-io/badger v1.6.2 // indirect
-	github.com/dgraph-io/ristretto v0.0.2 // indirect
 	github.com/docker/go-units v0.5.0 // indirect
 	github.com/elastic/gosigar v0.14.2 // indirect
 	github.com/flynn/noise v1.0.0 // indirect
 	github.com/francoispqt/gojay v1.2.13 // indirect
-	github.com/fsnotify/fsnotify v1.6.0 // indirect
 	github.com/go-logr/logr v1.2.3 // indirect
 	github.com/go-logr/stdr v1.2.2 // indirect
 	github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
@@ -109,7 +100,6 @@ require (
 	github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
 	github.com/golang/mock v1.6.0 // indirect
 	github.com/golang/protobuf v1.5.2 // indirect
-	github.com/golang/snappy v0.0.4 // indirect
 	github.com/google/gopacket v1.1.19 // indirect
 	github.com/google/pprof v0.0.0-20221203041831-ce31453925ec // indirect
 	github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c // indirect
@@ -123,6 +113,7 @@ require (
 	github.com/ipfs/go-ipfs-pq v0.0.3 // indirect
 	github.com/ipfs/go-ipfs-util v0.0.2 // indirect
 	github.com/ipfs/go-ipns v0.3.0 // indirect
+	github.com/ipfs/go-log v1.0.5 // indirect
 	github.com/ipfs/go-unixfs v0.4.5 // indirect
 	github.com/ipld/go-car/v2 v2.9.1-0.20230325062757-fff0e4397a3d // indirect
 	github.com/jackpal/go-nat-pmp v1.0.2 // indirect
@@ -162,7 +153,6 @@ require (
 	github.com/quic-go/webtransport-go v0.5.2 // indirect
 	github.com/raulk/go-watchdog v1.3.0 // indirect
 	github.com/stretchr/objx v0.5.0 // indirect
-	github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
 	github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb // indirect
 	github.com/whyrusleeping/cbor-gen v0.0.0-20230126041949-52956bd4c9aa // indirect
 	github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirectdiff --git a/cmd/deprecator/go.mod b/cmd/deprecator/go.mod
new file mode 100644
index 00000000..bfc03161
--- /dev/null
+++ b/cmd/deprecator/go.mod
@@ -0,0 +1,17 @@
+module github.com/ipfs/boxo/cmd/deprecator
+
+go 1.19
+
+require (
+	github.com/dave/dst v0.27.2
+	github.com/urfave/cli/v2 v2.25.3
+)
+
+require (
+	github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
+	github.com/russross/blackfriday/v2 v2.1.0 // indirect
+	github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
+	golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
+	golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
+	golang.org/x/tools v0.1.12 // indirect
+)
diff --git a/examples/go.mod b/examples/go.mod
index 6b8efa73..76ac8bf0 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -10,7 +10,7 @@ require (
 	github.com/ipfs/go-datastore v0.6.0
 	github.com/ipld/go-ipld-prime v0.20.0
 	github.com/libp2p/go-libp2p v0.26.3
-	github.com/libp2p/go-libp2p-routing-helpers v0.6.0
+	github.com/libp2p/go-libp2p-routing-helpers v0.7.0
 	github.com/multiformats/go-multiaddr v0.8.0
 	github.com/multiformats/go-multicodec v0.8.1
 	github.com/prometheus/client_golang v1.14.0
@@ -26,7 +26,6 @@ require (
 	github.com/benbjohnson/clock v1.3.0 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/cenkalti/backoff/v4 v4.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.0.4 // indirect
 	github.com/coreos/go-systemd/v22 v22.5.0 // indirect
@@ -63,8 +62,8 @@ require (
 	github.com/ipfs/go-ipfs-redirects-file v0.1.1 // 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-format v0.4.0 // indirect
-	github.com/ipfs/go-ipld-legacy v0.1.1 // indirect
+	github.com/ipfs/go-ipld-format v0.5.0 // indirect
+	github.com/ipfs/go-ipld-legacy v0.2.1 // indirect
 	github.com/ipfs/go-ipns v0.3.0 // indirect
 	github.com/ipfs/go-log v1.0.5 // indirect
 	github.com/ipfs/go-log/v2 v2.5.1 // indirect
diff --git a/gateway/assets/test/go.mod b/gateway/assets/test/go.mod
deleted file mode 100644
index 8980d9a7..00000000
--- a/gateway/assets/test/go.mod
+++ /dev/null
@@ -1,3 +0,0 @@
-module gateway-test
-
-go 1.19

gorelease says:

# github.com/ipfs/boxo/coreiface
## incompatible changes
PinStatus.Err: added
RoutingAPI.Put: changed from func(context.Context, string, []byte) error to func(context.Context, string, []byte, ...github.com/ipfs/boxo/coreiface/options.RoutingPutOption) error

# github.com/ipfs/boxo/coreiface/options
## compatible changes
Put: added
RoutingPutOption: added
RoutingPutOptions: added
RoutingPutSettings: added

# github.com/ipfs/boxo/coreiface/tests
## incompatible changes
(*TestSuite).MakeAPISwarm: changed from func(context.Context, bool, int) ([]github.com/ipfs/boxo/coreiface.CoreAPI, error) to func(*testing.T, context.Context, int) ([]github.com/ipfs/boxo/coreiface.CoreAPI, error)
Provider.MakeAPISwarm: changed from func(context.Context, bool, int) ([]github.com/ipfs/boxo/coreiface.CoreAPI, error) to func(*testing.T, context.Context, bool, bool, int) ([]github.com/ipfs/boxo/coreiface.CoreAPI, error)
## compatible changes
(*TestSuite).TestRoutingPutOffline: added

# github.com/ipfs/boxo/gateway
## incompatible changes
WithHostname: changed from func(net/http.Handler, IPFSBackend, map[string]*Specification, bool) net/http.HandlerFunc to func(Config, IPFSBackend, net/http.Handler) net/http.HandlerFunc
## compatible changes
Config.DeserializedResponses: added
Config.Menu: added
Config.NoDNSLink: added
Config.PublicGateways: added
Specification.DeserializedResponses: added
SubdomainHostnameKey: added

# github.com/ipfs/boxo/gateway/assets
## incompatible changes
DagTemplateData: old is comparable, new is not
DirectoryTemplateData.DNSLink: removed
DirectoryTemplateData.GatewayURL: removed
## compatible changes
BuildTemplate: added
DagTemplateData.DNSLink: added
DagTemplateData.GatewayURL: added
DagTemplateData.GlobalData: added
DagTemplateData.Menu: added
DagTemplateData.Node: added
DirectoryTemplateData.GlobalData: added
DirectoryTemplateData.Menu: added
ErrorTemplate: added
ErrorTemplateData: added
GlobalData: added
KnownIcons: added
MenuItem: added
ParseNode: added
ParsedNode: added

# github.com/ipfs/boxo/gateway/assets/test
## compatible changes
package added

# github.com/ipfs/boxo/ipld/merkledag/test
## compatible changes
DAGGenerator: added
NewDAGGenerator: added

# github.com/ipfs/boxo/ipns
## compatible changes
UnmarshalIpnsEntry: added
ValidateWithPeerID: added

# github.com/ipfs/boxo/pinning/pinner
## incompatible changes
Pinner.DirectKeys: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan StreamedCid
Pinner.InternalPins: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan StreamedCid
Pinner.RecursiveKeys: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan StreamedCid
## compatible changes
StreamedCid: added

# github.com/ipfs/boxo/pinning/pinner/dspinner
## incompatible changes
(*pinner).DirectKeys: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan github.com/ipfs/boxo/pinning/pinner.StreamedCid
(*pinner).InternalPins: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan github.com/ipfs/boxo/pinning/pinner.StreamedCid
(*pinner).RecursiveKeys: changed from func(context.Context) ([]github.com/ipfs/go-cid.Cid, error) to func(context.Context) <-chan github.com/ipfs/boxo/pinning/pinner.StreamedCid

# github.com/ipfs/boxo/provider
## incompatible changes
NewOfflineProvider: removed
NewSystem: removed
Provider.Close: removed
Provider.Run: removed
Reprovider.Close: removed
Reprovider.Reprovide: added
Reprovider.Run: removed
Reprovider.Trigger: removed
System.Run: removed
System.Stat: added
## compatible changes
DatastorePrefix: added
DefaultKeyPrefix: added
DefaultReproviderInterval: added
KeyChanFunc: added
KeyProvider: added
New: added
NewBlockstoreProvider: added
NewNoopProvider: added
NewPinnedProvider: added
Online: added
Option: added
Provide: added
ProvideMany: added
Ready: added
ReproviderInterval: added
ReproviderStats: added
ThroughputCallback: added
ThroughputReport: added

# github.com/ipfs/boxo/provider/batched
## incompatible changes
package removed

# github.com/ipfs/boxo/provider/queue
## incompatible changes
package removed

# github.com/ipfs/boxo/provider/simple
## incompatible changes
package removed

# github.com/ipfs/boxo/routing/http/client
## incompatible changes
(*client).FindProviders: changed from func(context.Context, github.com/ipfs/go-cid.Cid) ([]github.com/ipfs/boxo/routing/http/types.ProviderResponse, error) to func(context.Context, github.com/ipfs/go-cid.Cid) (github.com/ipfs/boxo/routing/http/types/iter.ResultIter[github.com/ipfs/boxo/routing/http/types.ProviderResponse], error)
## compatible changes
Option: added
WithStreamResultsRequired: added

# github.com/ipfs/boxo/routing/http/contentrouter
## incompatible changes
Client.FindProviders: changed from func(context.Context, github.com/ipfs/go-cid.Cid) ([]github.com/ipfs/boxo/routing/http/types.ProviderResponse, error) to func(context.Context, github.com/ipfs/go-cid.Cid) (github.com/ipfs/boxo/routing/http/types/iter.ResultIter[github.com/ipfs/boxo/routing/http/types.ProviderResponse], error)

# github.com/ipfs/boxo/routing/http/server
## incompatible changes
ContentRouter.FindProviders: changed from func(context.Context, github.com/ipfs/go-cid.Cid) ([]github.com/ipfs/boxo/routing/http/types.ProviderResponse, error) to func(context.Context, github.com/ipfs/go-cid.Cid, int) (github.com/ipfs/boxo/routing/http/types/iter.ResultIter[github.com/ipfs/boxo/routing/http/types.ProviderResponse], error)
## compatible changes
DefaultRecordsLimit: added
DefaultStreamingRecordsLimit: added
FindProvidersAsyncResponse: added
Option: added
WithRecordsLimit: added
WithStreamingRecordsLimit: added
WithStreamingResultsDisabled: added

# github.com/ipfs/boxo/routing/http/types
## incompatible changes
ReadProvidersResponse: removed
WriteProvidersRequest: removed
WriteProvidersResponse: removed

# github.com/ipfs/boxo/routing/http/types/iter
## compatible changes
package added

# github.com/ipfs/boxo/routing/http/types/json
## compatible changes
package added

# github.com/ipfs/boxo/routing/http/types/ndjson
## compatible changes
package added

# diagnostics
required module github.com/microcosm-cc/bluemonday@v1.0.1 retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.9.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.

@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #340 (c8522ba) into main (e44e658) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #340      +/-   ##
==========================================
- Coverage   50.66%   50.62%   -0.05%     
==========================================
  Files         281      281              
  Lines       33763    33763              
==========================================
- Hits        17106    17091      -15     
- Misses      14879    14887       +8     
- Partials     1778     1785       +7     

see 10 files with indirect coverage changes

@Jorropo Jorropo merged commit a85e005 into main Jun 8, 2023
16 checks passed
@hacdias hacdias deleted the make-v0.9.0 branch June 8, 2023 09:53
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.

None yet

2 participants