Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.11.11

12 Mar 20:49
955b4e9
Compare
Choose a tag to compare
  • Reverted usage of math/rand (instead crypto/rand)

v3.11.10

12 Mar 20:49
13752be
Compare
Choose a tag to compare
  • Imported tool gtrace to ./cmd/gtrace
  • Changed minimal version of go from 1.13 to 1.14

v3.11.9

12 Mar 20:48
5ab005b
Compare
Choose a tag to compare
  • Fixed composing of service traces
  • Fixed end-call of trace.Driver.OnConnStateChange

v3.11.8

27 Feb 05:58
95d08c8
Compare
Choose a tag to compare
  • Added trace.EndpointInfo.LastUpdated() timestamp
  • Refactored endpoint.Endpoint (split to struct endopint and interface Endpoint)
  • Returned safe-thread copy of endpoint.Endpoint to trace callbacks
  • Added endpoint.Endpoint.Touch() func for refresh endpoint info
  • Added conn.conn.onClose slice for call optional funcs on close step
  • Added removing conn.Conn from conn.Pool on conn.Conn.Close() call
  • Checked cluster close/empty on keeper goroutine
  • Fixed internal.errors.New wrapping depth
  • Added context flag for no wrapping operation results as error
  • Refactored trace.Driver conn events
  • Removed internal alias-type errors.IssuesIterator
  • Changed trace.GetCredentialsDoneInfo token representation from bool to string
  • Added log.Secret helper for mask token
  • Replaced meta in proxyConnection.Invoke and proxyConnection.NewStream
  • Refactored internal/cluster.Cluster (add option for notify about external lock, lock cluster for update cluster endpoints)
  • Reverted grpc.ClientConnInterface API to ydb.Connection
  • Replaced in table/types/compare_test.go checking error by error message to checking with errors.Is()
  • Added ydb.WithTLSSInsecureSkipVerify() option
  • Added trace.Table.OnPoolStateChange event
  • Wrapped internal errors with print <func, file, line>
  • Removed trace.Table.OnPoolTake event (unused)
  • Refactored trace.Details matching by string pattern
  • Added resolver trace callback
  • Refactored initialization step of grpc dial options
  • Added internal package net with net.Conn proxy object
  • Fixed closing proxy clients
  • Added ydb.Connection.With(opts ...ydb.CustomOption) for taking proxy ydb.Connection with some redefined options
  • Added ydb.MetaRequestType and ydb.MetaTraceID aliases to internal meta package constants
  • Added ydb.WithCustomCredentials() option
  • Refactored ydb.Ratelimiter().AcquireResource() method (added options for defining type of acquire request)
  • Removed single point to define operation mode params (each grpc-call with OperationParams must explicit define OperationParams)
  • Removed defining operation params over context
  • Removed config.RequestTimeout and config.StreamTimeout (each grpc-call must manage context instead define config.RequestTimeout or config.StreamTimeout)
  • Added internal OperationTimeout and OperationCancelAfter to each client (ratelimiter, coordination, table, scheme, scripting, discovery) config. OperationTimeout and OperationCancelAfter config params defined from root config

v3.10.0

19 Feb 21:39
654ff6e
Compare
Choose a tag to compare
  • Extended trace.Details constants for support per-service events
  • Added trace.Discovery struct for traces discovery events
  • Added trace.Ratelimiter, trace.Coordination, trace.Scripting, trace.Scheme stubs (will be implements in the future)
  • Added ratelimiter/config, coordination/config, scripting/config, scheme/config, discovery/config packages for specify per-service configs
  • Removed trace.Driver.OnDiscovery callback (moved to trace.Discovery)
  • Refactored initialization step (firstly makes discovery client)
  • Removed internal/lazy.Discovery (discovery client always initialized)
  • Fixed trace.Table event structs
  • Refactored grpc options for define dns-balancing configuration
  • Refactored retry.Retry signature (added retry.WithID, retry.WithTrace and retry.WithIdempotent opt-in args, required param isIdempotentOperation removed)
  • Refactored package internal/repeater

v3.9.4

19 Feb 21:37
63089e5
Compare
Choose a tag to compare
  • Removed ydb.EndpointDatabase, ydb.ConnectionString and ydb.MustConnectionString helpers
  • Removed ydb.ConnectParams struct and ydb.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 use SingleConn balancer)
  • Added WithMinTLSVersion option

v3.8.12

19 Feb 21:37
576fcaf
Compare
Choose a tag to compare
  • Unwrap sub-tests called as t.Run(...) in integration tests
  • Updated grpc dependency (from v1.38.0 to v1.43.0)
  • Updated protobuf dependency (from v1.26.0 to v1.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

06 Feb 12:37
Compare
Choose a tag to compare
  • Fixed misspell linter issue

v3.8.9

06 Feb 12:26
Compare
Choose a tag to compare
  • remove some internal debug log messages

v3.8.8

04 Feb 14:48
Compare
Choose a tag to compare
  • Changed connection secure to true by default
  • Renamed public package balancer to balancers (this package contains only constructors of balancers)
  • Moved interfaces from package internal/balancer/ibalancer to internal/balancer
  • Added NextResultSetErr() func for select next result set and return error
  • Added package table/result/indexed with interfaces indexed.Required, indexed.Optional, indexed.RequiredOrOptional
  • Replaced abstract interface{} in Scan to indexed.RequiredOrOptional
  • Replaced abstract interface{} in ScanWithDefaults to indexed.Required
  • Replaced trace.Table.OnPoolRetry callback to trace.Table.OnPoolDo and trace.Table.OnPoolDoTx callbacks
  • Supports server hint session-close for gracefully shutdown session