Skip to content

Releases: ydb-platform/ydb-go-sdk

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

v3.20.2

12 Apr 12:29
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v3.18.4

07 Apr 15:48
Compare
Choose a tag to compare
  • Renamed internal packages errors, net and resolver to xerrors, xnet and xresolver for excluding ambiguous interpretation
  • Renamed internal error wrapper xerrors.New to xerrors.Wrap

Full Changelog: v3.18.3...v3.18.4

v3.18.3

07 Apr 12:42
Compare
Choose a tag to compare
  • Added WithPanicCallback option to all service configs (discovery, coordination, ratelimiter, scheme, scripting, table) and auto-applying from ydb.WithPanicCallback
  • Added panic recovering (if defined ydb.WithPanicCallback option) which thrown from retry operation

Full Changelog: v3.18.2...v3.18.3