Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.25.3

15 May 14:35
Compare
Choose a tag to compare
  • Changed primary license to Apache2.0 for auto-detect license
  • Refactored types.Struct value creation

Full Changelog: v3.25.2...v3.25.3

v3.25.2

12 May 14:51
Compare
Choose a tag to compare
  • Fixed repeater initial force timeout from 500 to 0.5 second

Full Changelog: v3.25.1...v3.25.2

v3.25.1

11 May 17:01
Compare
Choose a tag to compare
  • Fixed bug with unexpected failing of call Invoke and NewStream on closed cluster
  • Fixed bug with releasing internal/conn/conn.Pool in cluster
  • Replaced interface internal/conn/conn.Pool to struct internal/conn/conn.Pool

Full Changelog: v3.25.0...v3.25.1

v3.25.0

06 May 20:52
Compare
Choose a tag to compare
  • Added ydb.GRPCConn(ydb.Connection) helper for connect to driver-unsupported YDB services
  • Marked as deprecated session.Prepare callback
  • Marked as deprecated options.WithQueryCachePolicyKeepInCache and options.WithQueryCachePolicy options
  • Added options.WithKeepInCache option
  • Enabled by default keep-in-cache policy for data queries
  • Removed from ydb.Connection embedding of grpc.ClientConnInterface
  • Fixed stopping of repeater
  • Added log backoff between force repeater wake up's (from 0s to 32s)
  • Renamed trace.DriverRepeaterTick{Start,Done}Info to trace.DriverRepeaterWakeUp{Start,Done}Info
  • Fixed unexpected NullFlag while parse nil JSONDocument value
  • Removed internal/conn/conn.streamUsages and internal/conn/conn.usages (internal/conn.conn always touching last usage timestamp on API calls)
  • Removed auto-reconnecting for broken conns
  • Renamed internal/database package to internal/router for unambiguous understanding of package mission
  • Refactored applying actual endpoints list after re-discovery (replaced diff-merge logic to swap cluster struct, cluster and balancers are immutable now)
  • Added trace.Driver.OnUnpessimizeNode trace event

Full Changelog: v3.24.2...v3.25.0

v3.24.2

28 Apr 09:08
Compare
Choose a tag to compare
  • Changed default balancer to RandomChoice() because PreferLocalDC() balancer works incorrectly with DNS-balanced call Discovery/ListEndpoints

Full Changelog: v3.24.1...v3.24.2

v3.24.1

26 Apr 15:18
Compare
Choose a tag to compare
  • Refactored initialization of coordination, ratelimiter, scheme, scripting and table clients from internal/lazy package to each client initialization with sync.Once
  • Removed internal/lazy package
  • Added retry option retry.WithStackTrace for wrapping errors with stacktrace

Full Changelog: v3.24.0...v3.24.1

v3.24.0

23 Apr 11:37
Compare
Choose a tag to compare
  • Fixed re-opening case after close lazy-initialized clients
  • Removed dependency of call context for initializing lazy table client
  • Added config.AutoRetry() flag with true value by default. config.AutoRetry() affects how to errors handle in sub-clients calls.
  • Added config.WithNoAutoRetry for disabling auto-retry on errors in sub-clients calls
  • Refactored internal/lazy package (supported check config.AutoRetry(), removed all error wrappings with stacktrace)

Full Changelog: v3.23.0...v3.24.0

v3.23.0

23 Apr 10:18
Compare
Choose a tag to compare
  • Added WithTLSConfig option for redefine TLS config
  • Added sugar.LoadCertificatesFromFile and sugar.LoadCertificatesFromPem helpers

Full Changelog: v3.22.0...v3.23.0

v3.22.0

22 Apr 13:18
Compare
Choose a tag to compare
  • Supported json.Unmarshaler type for scanning row to values
  • Reimplement sugar.DSN with net/url

Full Changelog: v3.21.0...v3.22.0

v3.21.0

20 Apr 20:17
Compare
Choose a tag to compare
  • Fixed gtrace tool generation code style bug with leading spaces
  • Removed accounting load factor (unused field) in balancers
  • Enabled by default anonymous credentials
  • Enabled by default internal dns resolver
  • Removed from defaults grpc.WithBlock() option
  • Added ydb.Open method with required param connection string
  • Marked ydb.New method as deprecated
  • Removed package dsn
  • Added sugar.DSN helper for make dsn (connection string)
  • Refactored package retry (moved retryBackoff and retryMode implementations to internal)
  • Refactored config.Config (remove interface Config, renamed private struct config to Config)
  • Moved discovery/config to internal/discovery/config
  • Moved coordination/config to internal/coordination/config
  • Moved scheme/config to internal/scheme/config
  • Moved scripting/config to internal/scripting/config
  • Moved table/config to internal/table/config
  • Moved ratelimiter/config to internal/ratelimiter/config

Full Changelog: v3.20.2...v3.21.0