Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.24.0

23 Apr 11:37

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

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

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

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

v3.20.2

12 Apr 12:29

Choose a tag to compare

  • Fixed race condition on lazy clients first call

Full Changelog: v3.20.1...v3.20.2

v3.20.1

12 Apr 05:23

Choose a tag to compare

  • Fixed gofumpt linter issue on credentials/credentials.go

Full Changelog: v3.20.0...v3.20.1

v3.20.0

11 Apr 16:10

Choose a tag to compare

  • Added table.DefaultTxControl() transaction control creator with serializable read-write isolation mode and auto-commit
  • Fixed passing nil query parameters
  • Fixed locking of cluster during call cluster.Get

Full Changelog: v3.19.1...v3.20.0

v3.19.1

08 Apr 19:44

Choose a tag to compare

  • Simplified README.md for godoc documentation in pkg.go.dev

Full Changelog: v3.19.0...v3.19.1

v3.19.0

08 Apr 19:26

Choose a tag to compare

  • Added public package dsn for making piped data source name (connection string)
  • Marked ydb.WithEndpoint, ydb.WithDatabase, ydb.WithSecure, ydb.WithInsecure options as deprecated
  • Moved ydb.RegisterParser to package dsn
  • Added version into all error and warm log messages

Full Changelog: v3.18.5...v3.19.0

v3.18.5

07 Apr 17:57

Choose a tag to compare

  • Fixed duplicating WithPanicCallback proxying to table config options
  • Fixed comments for xerrros.Is and xerrros.As

Full Changelog: v3.18.4...v3.18.5