Skip to content

Releases: ydb-platform/ydb-go-sdk

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

v3.18.2

07 Apr 09:46
Compare
Choose a tag to compare
  • Refactored balancers (makes concurrent-safe)
  • Excluded separate balancers lock from cluster
  • Refactored cluster.Cluster interface (Insert and Remove returning nothing now)
  • Replaced unsafe cluster.close boolean flag to cluster.done chan for listening close event
  • Added internal checker cluster.isClosed() for check cluster state
  • Extracted getting available conn from balancer to internal helper cluster.get (called inside cluster.Get as last effort)
  • Added checking conn.Conn availability with conn.Ping() in prefer nodeID case

Full Changelog: v3.18.1...v3.18.2

v3.18.1

06 Apr 16:01
Compare
Choose a tag to compare
  • Added conn.Ping(ctx) method for check availability of conn.Conn
  • Refactored cluster.Cluster.Get(ctx) to return only available connection (instead of returning any connection from balancer)
  • Added address to error description thrown from conn.take()
  • Renamed package internal/db to internal/database to exclude collisions with variable name db

Full Changelog: v3.18.0...v3.18.1