Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.54.0

27 Oct 05:18
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v3.52.3

03 Oct 00:16
Compare
Choose a tag to compare
  • Removed almost all experimental marks from topic api.
  • Rename some topic APIs (old names was deprecated and will be removed in one of next versions).
  • Deprecated topic options (the option will be removed): min size of read messages batch
  • Deprecated WithOnWriterFirstConnected callback, use Writer.WaitInitInfo instead.
  • Changed topic Codec base type from int to int32 (was experimental code)
  • Added WaitInit and WaitInitInfo method to the topic reader and writer
  • Remove extra allocations in types.TupleValue, types.ListValue and types.SetValue

Full Changelog: v3.52.2...v3.52.3

v3.52.2

21 Sep 08:20
Compare
Choose a tag to compare
  • Removed support of placeholder "_" for ignoring columns in database/sql result sets

Full Changelog: v3.52.1...v3.52.2

v3.52.1

20 Sep 19:53
Compare
Choose a tag to compare
  • Merged internal/xsql/conn.{GetTables,GetAllTables} methods for DRY
  • Replaced internal/xsql.Connector.PathNormalizer default from nopPathNormalizer to bind.TablePathPrefix with database name as path prefix
  • Supported placeholder "_" for ignored column names in database/sql result sets

Full Changelog: v3.52.0...v3.52.1

v3.52.0

19 Sep 09:06
Compare
Choose a tag to compare
  • Added table.Session.CopyTables method
  • Added x-ydb-trace-id header into grpc calls
  • Improved topic reader logs
  • Fixed internal/xstring package with deprecated warning in go1.21 about reflect.{String,Slice}Header

Full Changelog: v3.51.3...v3.52.0