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.5.0 #58

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Version 0.5.0 #58

merged 1 commit into from
Oct 27, 2021

Conversation

guseggert
Copy link
Contributor

No description provided.

@github-actions
Copy link

Suggested version: v0.5.0
Comparing to: v0.4.2 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 9f8fdad..2626e13 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,8 @@
 module github.com/ipfs/go-ds-leveldb
 
 require (
-	github.com/ipfs/go-datastore v0.4.1
+	github.com/ipfs/go-datastore v0.5.0
 	github.com/syndtr/goleveldb v1.0.0
 )
 
-go 1.12
+go 1.16

gorelease says:

# github.com/ipfs/go-ds-leveldb
## incompatible changes
(*Datastore).Batch: changed from func() (github.com/ipfs/go-datastore.Batch, error) to func(context.Context) (github.com/ipfs/go-datastore.Batch, error)
(*Datastore).DiskUsage: changed from func() (uint64, error) to func(context.Context) (uint64, error)
(*Datastore).NewTransaction: changed from func(bool) (github.com/ipfs/go-datastore.Txn, error) to func(context.Context, bool) (github.com/ipfs/go-datastore.Txn, error)
(*accessor).Delete: changed from func(github.com/ipfs/go-datastore.Key) error to func(context.Context, github.com/ipfs/go-datastore.Key) error
(*accessor).Get: changed from func(github.com/ipfs/go-datastore.Key) ([]byte, error) to func(context.Context, github.com/ipfs/go-datastore.Key) ([]byte, error)
(*accessor).GetSize: changed from func(github.com/ipfs/go-datastore.Key) (int, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (int, error)
(*accessor).Has: changed from func(github.com/ipfs/go-datastore.Key) (bool, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (bool, error)
(*accessor).Put: changed from func(github.com/ipfs/go-datastore.Key, []byte) error to func(context.Context, github.com/ipfs/go-datastore.Key, []byte) error
(*accessor).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)
(*accessor).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.5.0

gocompat says:

"github.com/ipfs/go-ds-leveldb".Datastore.DiskUsage MethodSignatureChanged
"github.com/ipfs/go-ds-leveldb".Datastore.Batch MethodSignatureChanged
"github.com/ipfs/go-ds-leveldb".Datastore.NewTransaction MethodSignatureChanged

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