Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.9.4

19 Feb 21:37
63089e5
Compare
Choose a tag to compare
  • Removed ydb.EndpointDatabase, ydb.ConnectionString and ydb.MustConnectionString helpers
  • Removed ydb.ConnectParams struct and ydb.WithConnectParams option creator
  • Added internal package dsn for register external parsers and parse connection string
  • Added ydb.RegisterParser method 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 use SingleConn balancer)
  • Added WithMinTLSVersion option

v3.8.12

19 Feb 21:37
576fcaf
Compare
Choose a tag to compare
  • Unwrap sub-tests called as t.Run(...) in integration tests
  • Updated grpc dependency (from v1.38.0 to v1.43.0)
  • Updated protobuf dependency (from v1.26.0 to v1.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

06 Feb 12:37
Compare
Choose a tag to compare
  • Fixed misspell linter issue

v3.8.9

06 Feb 12:26
Compare
Choose a tag to compare
  • remove some internal debug log messages

v3.8.8

04 Feb 14:48
Compare
Choose a tag to compare
  • Changed connection secure to true by default
  • Renamed public package balancer to balancers (this package contains only constructors of balancers)
  • Moved interfaces from package internal/balancer/ibalancer to internal/balancer
  • Added NextResultSetErr() func for select next result set and return error
  • Added package table/result/indexed with interfaces indexed.Required, indexed.Optional, indexed.RequiredOrOptional
  • Replaced abstract interface{} in Scan to indexed.RequiredOrOptional
  • Replaced abstract interface{} in ScanWithDefaults to indexed.Required
  • Replaced trace.Table.OnPoolRetry callback to trace.Table.OnPoolDo and trace.Table.OnPoolDoTx callbacks
  • Supports server hint session-close for gracefully shutdown session

v3.7.2

17 Jan 19:16
Compare
Choose a tag to compare
  • Retry remove directory in sugar.RemoveRecursive() for retryable error

v3.7.1

17 Jan 13:32
Compare
Choose a tag to compare
  • Fixed panic on result.Reset(nil)

v3.7.0

17 Jan 11:08
b5971c6
Compare
Choose a tag to compare
  • Replaced Option to CustomOption on Connection interface methods
  • Implements WithCustom[Token,Database] options for redefine database and token
  • Removed experimental balancer.PreferEndpoints[WithFallback][RegEx] balancers
  • Supported connections TTL with Option WithConnectionTTL
  • Remove unnecessary WithFastDial option (lazy connections are always fast inserts into cluster)
  • Added Scripting service client with API methods Execute(), StreamExecute() and Explain()
  • Added String() method to table.types.Type interface
  • Added With[Custom]UserAgent() Option and CustomOption constructors
  • Refactored log.Logger interface and internal implementation
  • Added retry.RetryableError() for returns user-defined error which must be retryed
  • Renamed internal type internal.errors.OperationCompleted to internal.errors.OperationStatus
  • Added String() method to table.KeyRange and table.Value types
  • Replaced creation of goroutine on each stream call to explicit call stream.Recv() on NextResultSet()

v3.7.0-beta

17 Jan 10:28
b5971c6
Compare
Choose a tag to compare
v3.7.0-beta Pre-release
Pre-release
  • Replaced Option to CustomOption on Connection interface methods
  • Implements WithCustom[Token,Database] options for redefine database and token
  • Removed experimental balancer.PreferEndpoints[WithFallback][RegEx] balancers
  • Supported connections TTL with Option WithConnectionTTL
  • Remove unnecessary WithFastDial option (lazy connections are always fast inserts into cluster)
  • Added Scripting service client with API methods Execute(), StreamExecute() and Explain()
  • Added String() method to table.types.Type interface
  • Added With[Custom]UserAgent() Option and CustomOption constructors
  • Refactored log.Logger interface and internal implementation
  • Added retry.RetryableError() for returns user-defined error which must be retryed
  • Renamed internal type internal.errors.OperationCompleted to internal.errors.OperationStatus
  • Added String() method to table.KeyRange and table.Value types
  • Replaced creation of goroutine on each stream call to explicit call stream.Recv() on NextResultSet()

v3.7.0-alpha

17 Jan 06:34
25487fe
Compare
Choose a tag to compare
v3.7.0-alpha Pre-release
Pre-release
  • Replaced Option to CustomOption on Connection interface methods
  • Implements WithCustom[Token,Database] options for redefine database and token
  • Removed experimental balancer.PreferEndpoints[WithFallback][RegEx] balancers
  • Supported connections TTL with Option WithConnectionTTL
  • Remove unnecessary WithFastDial option (lazy connections are always fast inserts into cluster)
  • Added Scripting service client with API methods Execute(), StreamExecute() and Explain()
  • Added String() method to table.types.Type interface
  • Added With[Custom]UserAgent() Option and CustomOption constructors
  • Refactored log.Logger interface and internal implementation
  • Added retry.RetryableError() for returns user-defined error which must be retryed
  • Renamed internal type internal.errors.OperationCompleted to internal.errors.OperationStatus
  • Added String() method to table.KeyRange and table.Value types