Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.36.1

24 Aug 15:41

Choose a tag to compare

  • Fixed xsql.Rows error checking

Full Changelog: v3.36.0...v3.36.1

v3.36.0

24 Aug 10:18

Choose a tag to compare

  • Changed behavior on result.Err() on truncated result (returns non-retryable error now, exclude StreamExecuteScanQuery)
  • Added ydb.WithIgnoreTruncated option for disabling errors on truncated flag
  • Added simple transaction control constructors table.OnlineReadOnlyTxControl() and table.StaleReadOnlyTxControl()
  • Added transaction control specifier with context ydb.WithTxControl
  • Added value constructors types.BytesValue, types.BytesValueFromString, types.TextValue
  • Removed auto-prepending declare section on xsql queries
  • Supports time.Time as type destination in xsql queries
  • Defined default dial timeout (5 seconds)

Full Changelog: v3.35.1...v3.36.0

v3.35.1

19 Aug 17:24

Choose a tag to compare

  • Removed the deprecation warning for ydb.WithSessionPoolIdleThreshold option

Full Changelog: v3.35.0...v3.35.1

v3.35.0

19 Aug 17:03

Choose a tag to compare

v3.35.0 Pre-release
Pre-release
  • Replaced internal table client background worker to plain wait group for control spawned goroutines
  • Replaced internal table client background session keeper to internal background session garbage collector for idle sessions
  • Extended the DescribeTopicResult struct

Full Changelog: v3.34.2...v3.35.0

v3.34.2

18 Aug 16:00

Choose a tag to compare

v3.34.2 Pre-release
Pre-release
  • Added some description to error message from table pool get
  • Moved implementation sugar.GenerateDeclareSection to internal/table
  • Added transaction trace callbacks and internal logging with them
  • Stored context from BeginTx to internal/xsql transaction
  • Added automatically generated declare section to query text in database/sql usage
  • Removed supports sql.LevelSerializable
  • Added retry.Do helper for retry custom lambda with database/sql without transactions
  • Removed retry.WithTxOptions option (only default isolation supports)

Full Changelog: v3.34.1...v3.34.2

v3.34.1

17 Aug 03:28

Choose a tag to compare

v3.34.1 Pre-release
Pre-release
  • Changed database/sql driver prepare behaviour to nop with proxing call to conn exec/query with keep-in-cache flag
  • Added metadata to trace.Driver.OnInvoke and trace.Driver.OnNewStream done events

Full Changelog: v3.34.0...v3.34.1

v3.34.0

16 Aug 17:03

Choose a tag to compare

v3.34.0 Pre-release
Pre-release
  • Improved the xsql errors mapping to driver.ErrBadConn
  • Extended retry.DoTx test for to achieve equivalence with retry.Retry behaviour
  • Added database/sql events for tracing database/sql driver events
  • Added internal logging for database/sql events
  • Supports YDB_LOG_DETAILS environment variable for specify scope of log messages
  • Removed support of YDB_LOG_NO_COLOR environment variable
  • Changed default behaviour of internal logger to without coloring
  • Fixed coloring (to true) with environment variable YDB_LOG_SEVERITY_LEVEL
  • Added ydb.WithStaticCredentials(user, password) option for make static credentials
  • Supports static credentials as part of connection string (dsn - data source name)
  • Changed minimal supported version of go from 1.14 to 1.16 (required for jwt library)

Full Changelog: v3.33.0...v3.34.0

v3.33.0

10 Aug 05:16

Choose a tag to compare

  • Added retry.DoTx helper for retrying database/sql transactions
  • Implemented database/sql driver over ydb-go-sdk
  • Marked as deprecated trace.Table.OnPoolSessionNew and trace.Table.OnPoolSessionClose events
  • Added trace.Table.OnPoolSessionAdd and trace.Table.OnPoolSessionRemove events
  • Refactored session lifecycle in session pool for fix flaked TestTable
  • Fixed deadlock in topicreader batcher, while add and read raw server messages
  • Fixed bug in db.Topic() with send response to stop partition message

Full Changelog: v3.32.1...v3.33.0

v3.32.1

05 Aug 14:30

Choose a tag to compare

v3.32.1 Pre-release
Pre-release
  • Fixed flaky TestTable
  • Renamed topic events in trace.Details enum

Full Changelog: v3.32.0...v3.32.1

v3.32.0

05 Aug 13:23

Choose a tag to compare

v3.32.0 Pre-release
Pre-release
  • Refactored trace.Topic (experimental) handlers
  • Fixed signature/name of helpers in topic/topicsugar package
  • Allowed read and commit messages in parallel

Full Changelog: v3.31.0...v3.32.0