Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.74.2

11 Jun 16:48
Compare
Choose a tag to compare
  • Added description to scan errors with use query service client scanner

Full Changelog: v3.74.1...v3.74.2

v3.74.1

11 Jun 15:28
Compare
Choose a tag to compare
  • Allowed the use of DSN without specifying the protocol/scheme
  • Allowed casts from signed YDB types to unsigned destination types if source value is not negative
  • Removed public query.TxIdentifier interface for exclude any external implementations for use with YDB

Full Changelog: v3.74.0...v3.74.1

v3.74.0

10 Jun 19:34
Compare
Choose a tag to compare
  • Added experimental range functions to the query.Result and query.ResultSet types, available as for-range loops starting with Go version 1.22. These features can be enabled by setting the environment variable GOEXPERIMENT=rangefunc.
  • Added public types for tx.Option, options.DoOption and options.DoTxOption

Full Changelog: v3.73.1...v3.74.0

v3.73.1

06 Jun 15:58
Compare
Choose a tag to compare
  • Changed query.DefaultTxControl() from query.SerializableReadWrite() with commit to query.NoTx()

Full Changelog: v3.73.0...v3.73.1

v3.73.0

06 Jun 14:08
Compare
Choose a tag to compare
  • Added experimental retry.DoWithResult and retry.DoTxWithResult helpers for retry lambda and return value from lambda

Full Changelog: v3.72.0...v3.73.0

v3.72.0

06 Jun 12:23
Compare
Choose a tag to compare
  • Excluded Query() method from interface ydb.Connection. Method Query() remains accessible from ydb.Driver

Full Changelog: v3.71.0...v3.72.0

v3.71.0

05 Jun 17:06
Compare
Choose a tag to compare
  • Added query/ResultSet.{Columns,ColumnTypes} methods for get column names and types from query result set
  • Added experimental retry.RetryWithResult helper for retry lambda and return value from lambda

Full Changelog: v3.70.0...v3.71.0

v3.70.0

04 Jun 13:58
Compare
Choose a tag to compare
  • Fixed config.WithDatabase behaviour with empty database in DSN string
  • Added experimental method query/Client.Execute for execute query and read materialized result

Full Changelog: v3.69.0...v3.70.0

v3.69.0

02 Jun 14:04
Compare
Choose a tag to compare
  • Added experimental method for execute query and read only one row from result:
    • query/Client.ReadRow
    • query/Session.ReadRow
    • query/Transaction.ReadRow
  • Added experimental method for execute query and read only one result set from result:
    • query/Client.ReadResultSet
    • query/Session.ReadResultSet
    • query/Transaction.ReadResultSet
  • Added experimental sugar.UnmarshallRow[T] and sugar.UnmarshallResultSet[T] helpers for converts YDB rows to typed objects

Full Changelog: v3.68.1...v3.69.0

v3.68.1

24 May 18:43
Compare
Choose a tag to compare
  • Downgraded minimal version of Go to 1.20
  • Refactored internal packages by ifshort linter issues

v3.68.0

  • Added experimental ydb.{Register,Unregister}DsnParser global funcs for register/unregister external custom DSN parser for ydb.Open and sql.Open driver constructor
  • Simple implement option WithReaderWithoutConsumer
  • Fixed bug: topic didn't send specified partition number to a server

Full Changelog: v3.68.0...v3.68.1