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

Version 0.2.0 #39

Merged
merged 1 commit into from
Nov 11, 2021
Merged

Version 0.2.0 #39

merged 1 commit into from
Nov 11, 2021

Conversation

guseggert
Copy link
Contributor

No description provided.

@guseggert guseggert requested a review from petar November 10, 2021 22:47
@github-actions
Copy link

Suggested version: v0.2.0
Comparing to: v0.1.0 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 33dc6b9..dbf194f 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,8 @@
 module github.com/ipfs/go-ds-measure
 
 require (
-	github.com/ipfs/go-datastore v0.3.0
+	github.com/ipfs/go-datastore v0.5.0
 	github.com/ipfs/go-metrics-interface v0.0.1
 )
 
-go 1.12
+go 1.16

gorelease says:

# github.com/ipfs/go-ds-measure
## incompatible changes
(*measure).Batch: changed from func() (github.com/ipfs/go-datastore.Batch, error) to func(context.Context) (github.com/ipfs/go-datastore.Batch, error)
(*measure).Check: changed from func() error to func(context.Context) error
(*measure).CollectGarbage: changed from func() error to func(context.Context) error
(*measure).Delete: changed from func(github.com/ipfs/go-datastore.Key) error to func(context.Context, github.com/ipfs/go-datastore.Key) error
(*measure).DiskUsage: changed from func() (uint64, error) to func(context.Context) (uint64, error)
(*measure).Get: changed from func(github.com/ipfs/go-datastore.Key) ([]byte, error) to func(context.Context, github.com/ipfs/go-datastore.Key) ([]byte, error)
(*measure).GetSize: changed from func(github.com/ipfs/go-datastore.Key) (int, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (int, error)
(*measure).Has: changed from func(github.com/ipfs/go-datastore.Key) (bool, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (bool, error)
(*measure).Put: changed from func(github.com/ipfs/go-datastore.Key, []byte) error to func(context.Context, github.com/ipfs/go-datastore.Key, []byte) error
(*measure).Query: changed from func(github.com/ipfs/go-datastore/query.Query) (github.com/ipfs/go-datastore/query.Results, error) to func(context.Context, github.com/ipfs/go-datastore/query.Query) (github.com/ipfs/go-datastore/query.Results, error)
(*measure).Scrub: changed from func() error to func(context.Context) error
(*measure).Sync: changed from func(github.com/ipfs/go-datastore.Key) error to func(context.Context, github.com/ipfs/go-datastore.Key) error

# summary
Suggested version: v0.2.0

gocompat says:

(empty)

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