Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.37.4

31 Aug 20:29
Compare
Choose a tag to compare
  • Revert the marking of context errors as required to delete session

Full Changelog: v3.37.3...v3.37.4

v3.37.3

31 Aug 14:38
Compare
Choose a tag to compare
  • Fixed alter topic request - stop send empty setSupportedCodecs if customer not set them
  • Marked the context errors as required to delete session
  • Added log topic api reader for internal logger

Full Changelog: v3.37.2...v3.37.3

v3.37.2

29 Aug 16:54
Compare
Choose a tag to compare
  • Fixed nil pointer exception in topic reader if reconnect failed

Full Changelog: v3.37.1...v3.37.2

v3.37.1

27 Aug 14:13
Compare
Choose a tag to compare
  • Refactored the xsql.badconn.Error

Full Changelog: v3.37.0...v3.37.1

v3.37.0

26 Aug 21:34
Compare
Choose a tag to compare
  • Supported read-only sql.LevelSnapshot isolation with fake transaction and OnlineReadOnly transaction control (transient, while YDB clusters are not updated with true snapshot isolation mode)
  • Supported the *sql.Conn as input type ydb.Unwrap helper for go's 1.18

Full Changelog: v3.36.2...v3.37.0

v3.36.2

26 Aug 12:59
Compare
Choose a tag to compare
  • Changed output of sugar.GenerateDeclareSection (added error as second result)
  • Specified sugar.GenerateDeclareSection for go1.18 (supports input types *table.QueryParameters []table.ParameterOption or []sql.NamedArg)
  • Supports different go's primitive value types as arg of sql.Named("name", value)
  • Added database/sql example and docs

Full Changelog: v3.36.1...v3.36.2

v3.36.1

24 Aug 15:41
Compare
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
Compare
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
Compare
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
Compare
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