Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.74.2
- Added description to scan errors with use query service client scanner
Full Changelog: v3.74.1...v3.74.2
v3.74.1
- 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
- Added experimental range functions to the
query.Result
andquery.ResultSet
types, available as for-range loops starting with Go version 1.22. These features can be enabled by setting the environment variableGOEXPERIMENT=rangefunc
. - Added public types for
tx.Option
,options.DoOption
andoptions.DoTxOption
Full Changelog: v3.73.1...v3.74.0
v3.73.1
- Changed
query.DefaultTxControl()
fromquery.SerializableReadWrite()
with commit toquery.NoTx()
Full Changelog: v3.73.0...v3.73.1
v3.73.0
- Added experimental
retry.DoWithResult
andretry.DoTxWithResult
helpers for retry lambda and return value from lambda
Full Changelog: v3.72.0...v3.73.0
v3.72.0
- Excluded
Query()
method from interfaceydb.Connection
. MethodQuery()
remains accessible fromydb.Driver
Full Changelog: v3.71.0...v3.72.0
v3.71.0
- 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
- 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
- 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]
andsugar.UnmarshallResultSet[T]
helpers for converts YDB rows to typed objects
Full Changelog: v3.68.1...v3.69.0
v3.68.1
- 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 forydb.Open
andsql.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