Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.55.0

22 Jan 09:39

Choose a tag to compare

  • Refactored internal/value/intervalValue.Yql()
  • The minimum version of Go in ydb-go-sdk has been raised to go1.20

Full Changelog: v3.54.3...v3.55.0

v3.54.3

28 Dec 08:47

Choose a tag to compare

  • Added per message metadata support for topic api
  • Context for call options now have same lifetime as driver (previous - same lifetime as context for call Open function).
  • Extended metrics (fill database.sql callbacks, recognize TLI error)
  • Refactored config prefix in metrics
  • Removed excess status labels from metrics
  • Implement fmt.Stringer interface for Driver struct

Full Changelog: v3.54.2...v3.54.3

v3.54.2

10 Nov 15:19

Choose a tag to compare

  • Added context to some internal methods for better tracing
  • Added trace.FunctionID helper and FunctionID field to trace start info's
  • Replaced lazy initialization of ydb clients (table, topic, etc.) to explicit initialization on ydb.Open step

Full Changelog: v3.54.1...v3.54.2

v3.54.1

03 Nov 15:56

Choose a tag to compare

  • Fixed inconsistent labels in metrics

Full Changelog: v3.54.0...v3.54.1

v3.54.0

27 Oct 05:18

Choose a tag to compare

  • Allowed sql.LevelSerializable isolation level in read-write mode in database/sql transactions
  • Refactored traces and metrics
  • Added {retry,table}.WithLabel options for mark retriers calls
  • Added ydb.WithTraceRetry option
  • Moved internal/allocator.Buffers to package internal/xstring
  • Bumped golang.org/x/sync to v0.3.0
  • Bumped google.golang.org/protobuf to v1.31.0
  • Bumped google.golang.org/grpc to v1.57.1
  • Allowed grpc status error as arg in internal/xerrors.TransportError(err)
  • Added interanl/xtest.CurrentFileLine() helper for table tests
  • Added internal/credentials.IsAccessError(err) helper for check access errors
  • Changed period for re-fresh static credentials token from 1/2 to 1/10 to expiration time
  • Added table.SnapshotReadOnlyTxControl() helper for get transaction control with snapshot read-only

Full Changelog: v3.53.4...v3.54.0

v3.53.4

19 Oct 09:16

Choose a tag to compare

  • Downgrade golang.org/x/net from 0.17.0 to 0.15.0
  • Downgrade golang.org/x/sys from v0.13.0 to v0.12.0
  • Downgrade golang.org/x/crypto from v0.14.0 to v0.13.0

Full Changelog: v3.53.3...v3.53.4

v3.53.3

17 Oct 15:19

Choose a tag to compare

  • Refactored credentials options (from funcs to interfaces and types)
  • Fixed stringification of credentials object

Full Changelog: v3.53.2...v3.53.3

v3.53.2

16 Oct 15:58

Choose a tag to compare

  • Fixed panic when try to unwrap values with more than 127 columns with custom ydb unmarshaler

Full Changelog: v3.53.1...v3.53.2

v3.53.1

12 Oct 16:30

Choose a tag to compare

  • Bumps github.com/ydb-platform/ydb-go-genproto for support query service
  • Bumps golang.org/x/net from 0.7.0 to 0.17.0

Full Changelog: v3.53.0...v3.53.1

v3.53.0

06 Oct 16:49

Choose a tag to compare

  • Removed internal/backoff.Backoff.Wait interface method for exclude resource leak with bug-provoked usage of time.After method
  • Marked as deprecated retry.WithDoRetryOptions and retry.WithDoTxRetryOptions
  • Added receiving first result set on construct internal/table/scanner.NewStream()
  • Added experimental package metrics with SDK metrics
  • Fixed redundant trace call for finished database/sql transactions
  • Added repeater event type to wake-up func context
  • Refactored default logger format
  • Refactored internal/conn.coonError format
  • Fixed data race on internal/conn.conn.cc access

Full Changelog: v3.52.3...v3.53.0