Closed guseggert closed 3 years ago
Suggested version: v0.5.0 Comparing to: v0.4.2 (diff)
v0.5.0
v0.4.2
Changes in go.mod file(s):
go.mod
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:
gorelease
# 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:
gocompat
"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
Suggested version:
v0.5.0
Comparing to:v0.4.2
(diff)Changes in
go.mod
file(s):gorelease
says:gocompat
says: