Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.9.4
- Removed
ydb.EndpointDatabase
,ydb.ConnectionString
andydb.MustConnectionString
helpers - Removed
ydb.ConnectParams
struct andydb.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 useSingleConn
balancer) - Added
WithMinTLSVersion
option
v3.8.12
- Unwrap sub-tests called as
t.Run(...)
in integration tests - Updated
grpc
dependency (fromv1.38.0
tov1.43.0
) - Updated
protobuf
dependency (fromv1.26.0
tov1.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
true
by default - Renamed public package
balancer
tobalancers
(this package contains only constructors of balancers) - Moved interfaces from package
internal/balancer/ibalancer
tointernal/balancer
- Added
NextResultSetErr()
func for select next result set and return error - Added package
table/result/indexed
with interfacesindexed.Required
,indexed.Optional
,indexed.RequiredOrOptional
- Replaced abstract
interface{}
inScan
toindexed.RequiredOrOptional
- Replaced abstract
interface{}
inScanWithDefaults
toindexed.Required
- Replaced
trace.Table.OnPoolRetry
callback totrace.Table.OnPoolDo
andtrace.Table.OnPoolDoTx
callbacks - Supports server hint
session-close
for gracefully shutdown session
v3.7.2
- Retry remove directory in
sugar.RemoveRecursive()
for retryable error
v3.7.1
- Fixed panic on
result.Reset(nil)
v3.7.0
- Replaced
Option
toCustomOption
onConnection
interface methods - Implements
WithCustom[Token,Database]
options for redefine database and token - Removed experimental
balancer.PreferEndpoints[WithFallback][RegEx]
balancers - Supported connections
TTL
withOption
WithConnectionTTL
- Remove unnecessary
WithFastDial
option (lazy connections are always fast inserts into cluster) - Added
Scripting
service client with API methodsExecute()
,StreamExecute()
andExplain()
- Added
String()
method totable.types.Type
interface - Added
With[Custom]UserAgent()
Option
andCustomOption
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
tointernal.errors.OperationStatus
- Added
String()
method totable.KeyRange
andtable.Value
types - Replaced creation of goroutine on each stream call to explicit call stream.Recv() on NextResultSet()
v3.7.0-beta
- Replaced
Option
toCustomOption
onConnection
interface methods - Implements
WithCustom[Token,Database]
options for redefine database and token - Removed experimental
balancer.PreferEndpoints[WithFallback][RegEx]
balancers - Supported connections
TTL
withOption
WithConnectionTTL
- Remove unnecessary
WithFastDial
option (lazy connections are always fast inserts into cluster) - Added
Scripting
service client with API methodsExecute()
,StreamExecute()
andExplain()
- Added
String()
method totable.types.Type
interface - Added
With[Custom]UserAgent()
Option
andCustomOption
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
tointernal.errors.OperationStatus
- Added
String()
method totable.KeyRange
andtable.Value
types - Replaced creation of goroutine on each stream call to explicit call stream.Recv() on NextResultSet()
v3.7.0-alpha
- Replaced
Option
toCustomOption
onConnection
interface methods - Implements
WithCustom[Token,Database]
options for redefine database and token - Removed experimental
balancer.PreferEndpoints[WithFallback][RegEx]
balancers - Supported connections
TTL
withOption
WithConnectionTTL
- Remove unnecessary
WithFastDial
option (lazy connections are always fast inserts into cluster) - Added
Scripting
service client with API methodsExecute()
,StreamExecute()
andExplain()
- Added
String()
method totable.types.Type
interface - Added
With[Custom]UserAgent()
Option
andCustomOption
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
tointernal.errors.OperationStatus
- Added
String()
method totable.KeyRange
andtable.Value
types