Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.11.10
- Imported tool gtrace to
./cmd/gtrace - Changed minimal version of go from 1.13 to 1.14
v3.11.9
- Fixed composing of service traces
- Fixed end-call of
trace.Driver.OnConnStateChange
v3.11.8
- Added
trace.EndpointInfo.LastUpdated()timestamp - Refactored
endpoint.Endpoint(split to structendopintand interfaceEndpoint) - Returned safe-thread copy of
endpoint.Endpointto trace callbacks - Added
endpoint.Endpoint.Touch()func for refresh endpoint info - Added
conn.conn.onCloseslice for call optional funcs on close step - Added removing
conn.Connfromconn.Poolonconn.Conn.Close()call - Checked cluster close/empty on keeper goroutine
- Fixed
internal.errors.Newwrapping depth - Added context flag for no wrapping operation results as error
- Refactored
trace.Driverconn events - Removed internal alias-type
errors.IssuesIterator - Changed
trace.GetCredentialsDoneInfotoken representation from bool to string - Added
log.Secrethelper for mask token - Replaced meta in
proxyConnection.InvokeandproxyConnection.NewStream - Refactored
internal/cluster.Cluster(add option for notify about external lock, lock cluster for update cluster endpoints) - Reverted
grpc.ClientConnInterfaceAPI toydb.Connection - Replaced in
table/types/compare_test.gochecking error by error message to checking witherrors.Is() - Added
ydb.WithTLSSInsecureSkipVerify()option - Added
trace.Table.OnPoolStateChangeevent - Wrapped internal errors with print <func, file, line>
- Removed
trace.Table.OnPoolTakeevent (unused) - Refactored
trace.Detailsmatching by string pattern - Added resolver trace callback
- Refactored initialization step of grpc dial options
- Added internal package
netwithnet.Connproxy object - Fixed closing proxy clients
- Added
ydb.Connection.With(opts ...ydb.CustomOption)for taking proxyydb.Connectionwith some redefined options - Added
ydb.MetaRequestTypeandydb.MetaTraceIDaliases to internalmetapackage constants - Added
ydb.WithCustomCredentials()option - Refactored
ydb.Ratelimiter().AcquireResource()method (added options for defining type of acquire request) - Removed single point to define operation mode params (each grpc-call with
OperationParamsmust explicit defineOperationParams) - Removed defining operation params over context
- Removed
config.RequestTimeoutandconfig.StreamTimeout(each grpc-call must manage context instead defineconfig.RequestTimeoutorconfig.StreamTimeout) - Added internal
OperationTimeoutandOperationCancelAfterto each client (ratelimiter, coordination, table, scheme, scripting, discovery) config.OperationTimeoutandOperationCancelAfterconfig params defined from root config
v3.10.0
- Extended
trace.Detailsconstants for support per-service events - Added
trace.Discoverystruct for traces discovery events - Added
trace.Ratelimiter,trace.Coordination,trace.Scripting,trace.Schemestubs (will be implements in the future) - Added
ratelimiter/config,coordination/config,scripting/config,scheme/config,discovery/configpackages for specify per-service configs - Removed
trace.Driver.OnDiscoverycallback (moved totrace.Discovery) - Refactored initialization step (firstly makes discovery client)
- Removed
internal/lazy.Discovery(discovery client always initialized) - Fixed
trace.Tableevent structs - Refactored grpc options for define dns-balancing configuration
- Refactored
retry.Retrysignature (addedretry.WithID,retry.WithTraceandretry.WithIdempotentopt-in args, required paramisIdempotentOperationremoved) - Refactored package
internal/repeater
v3.9.4
- Removed
ydb.EndpointDatabase,ydb.ConnectionStringandydb.MustConnectionStringhelpers - Removed
ydb.ConnectParamsstruct andydb.WithConnectParamsoption creator - Added internal package
dsnfor register external parsers and parse connection string - Added
ydb.RegisterParsermethod for registering external parser of connection string - Fixed data race on closing session pool
- Fixed busy loop on call internal logger with external logger implementation of
log.Logger - Fixed
WithDiscoveryInterval()option with negative argument (must useSingleConnbalancer) - Added
WithMinTLSVersionoption
v3.8.12
- Unwrap sub-tests called as
t.Run(...)in integration tests - Updated
grpcdependency (fromv1.38.0tov1.43.0) - Updated
protobufdependency (fromv1.26.0tov1.27.1) - Added internal retryers into
lazy.Ratelimiter - Added internal retryers into
lazy.Coordination - Added internal retryers into
lazy.Discovery - Added internal retryers into
lazy.Scheme - Added internal retryers into
lazy.Scripting - Added internal retryer into
lazy.Table.CreateSession
v3.8.11
- Fixed misspell linter issue
v3.8.9
- remove some internal debug log messages
v3.8.8
- Changed connection secure to
trueby default - Renamed public package
balancertobalancers(this package contains only constructors of balancers) - Moved interfaces from package
internal/balancer/ibalancertointernal/balancer - Added
NextResultSetErr()func for select next result set and return error - Added package
table/result/indexedwith interfacesindexed.Required,indexed.Optional,indexed.RequiredOrOptional - Replaced abstract
interface{}inScantoindexed.RequiredOrOptional - Replaced abstract
interface{}inScanWithDefaultstoindexed.Required - Replaced
trace.Table.OnPoolRetrycallback totrace.Table.OnPoolDoandtrace.Table.OnPoolDoTxcallbacks - Supports server hint
session-closefor gracefully shutdown session
v3.7.2
- Retry remove directory in
sugar.RemoveRecursive()for retryable error