Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.18.4
- Renamed internal packages
errors,netandresolvertoxerrors,xnetandxresolverfor excluding ambiguous interpretation - Renamed internal error wrapper
xerrors.Newtoxerrors.Wrap
Full Changelog: v3.18.3...v3.18.4
v3.18.3
- Added
WithPanicCallbackoption to all service configs (discovery, coordination, ratelimiter, scheme, scripting, table) and auto-applying fromydb.WithPanicCallback - Added panic recovering (if defined
ydb.WithPanicCallbackoption) which thrown from retry operation
Full Changelog: v3.18.2...v3.18.3
v3.18.2
- Refactored balancers (makes concurrent-safe)
- Excluded separate balancers lock from cluster
- Refactored
cluster.Clusterinterface (InsertandRemovereturning nothing now) - Replaced unsafe
cluster.closeboolean flag tocluster.donechan for listening close event - Added internal checker
cluster.isClosed()for check cluster state - Extracted getting available conn from balancer to internal helper
cluster.get(called insidecluster.Getas last effort) - Added checking
conn.Connavailability withconn.Ping()in prefer nodeID case
Full Changelog: v3.18.1...v3.18.2
v3.18.1
- Added
conn.Ping(ctx)method for check availability ofconn.Conn - Refactored
cluster.Cluster.Get(ctx)to return only available connection (instead of returning any connection from balancer) - Added address to error description thrown from
conn.take() - Renamed package
internal/dbtointernal/databaseto exclude collisions with variable namedb
Full Changelog: v3.18.0...v3.18.1
v3.18.0
- Added
go1.18to test matrix - Added
ydb.WithOperationTimeoutandydb.WithOperationCancelAftercontext modifiers
Full Changelog: v3.17.0...v3.18.0
v3.17.0
- Removed redundant
trace.With{Table,Driver,Retry}andtrace.Context{Table,Driver,Retry}funcs - Moved
gtracetool from./cmt/gtraceto./internal/cmd/gtrace - Refactored
gtracetool for generateComposeoptions - Added panic recover on trace calls in
Composecall step - Added
trace.With{Discovery,Driver,Coordination,Ratelimiter,Table,Scheme,Scripting}PanicCallbackoptions - Added
ydb.WithPanicCallbackoption
Full Changelog: v3.16.12...v3.17.0
v3.16.12
- Fixed bug with check acquire error over
ydb.IsRatelimiterAcquireError - Added full changelog link to github release description
Full Changelog: v3.16.11...v3.16.12
v3.16.11
- Added stacktrace to errors with issues
v3.16.10
- Refactored
cluster.Clusterandbalancer.Balancerinterfaces (removedUpdatemethod) - Replaced
cluster.Updatewithcluster.Removeandcluster.Insertcalls - Removed
trace.Driver.OnClusterUpdateevent - Fixed bug with unexpected changing of local datacenter flag in endpoint
- Refactored errors wrapping (stackedError are not ydb error now, checking
errors.IsYdb(err)witherrors.Asnow) - Wrapped retry operation errors with
errors.WithStackTrace(err) - Changed
trace.RetryLoopStartInfo.Contexttype fromcontext.Contextto*context.Context
v3.16.9
- Refactored internal operation and transport errors