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 #99

Merged
merged 1 commit into from
Nov 11, 2021
Merged

Version 0.5.0 #99

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:46
@github-actions
Copy link

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

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 99bdcab..7905373 100644
--- a/go.mod
+++ b/go.mod
@@ -2,9 +2,9 @@ module github.com/ipfs/go-ds-flatfs
 
 require (
 	github.com/alexbrainman/goissue34681 v0.0.0-20191006012335-3fc7a47baff5
-	github.com/ipfs/go-datastore v0.4.4
+	github.com/ipfs/go-datastore v0.5.0
 	github.com/ipfs/go-log v1.0.3
 	github.com/jbenet/goprocess v0.1.4
 )
 
-go 1.13
+go 1.16

gorelease says:

# github.com/ipfs/go-ds-flatfs
## 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).Delete: changed from func(github.com/ipfs/go-datastore.Key) error to func(context.Context, github.com/ipfs/go-datastore.Key) error
(*Datastore).Get: changed from func(github.com/ipfs/go-datastore.Key) ([]byte, error) to func(context.Context, github.com/ipfs/go-datastore.Key) ([]byte, error)
(*Datastore).GetSize: changed from func(github.com/ipfs/go-datastore.Key) (int, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (int, error)
(*Datastore).Has: changed from func(github.com/ipfs/go-datastore.Key) (bool, error) to func(context.Context, github.com/ipfs/go-datastore.Key) (bool, error)
(*Datastore).Put: changed from func(github.com/ipfs/go-datastore.Key, []byte) error to func(context.Context, github.com/ipfs/go-datastore.Key, []byte) error
(*Datastore).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)
(*Datastore).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-flatfs".Datastore.Put MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Sync MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Get MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Has MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.GetSize MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Delete MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Query MethodSignatureChanged
"github.com/ipfs/go-ds-flatfs".Datastore.Batch 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