Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.37.4
- Revert the marking of context errors as required to delete session
Full Changelog: v3.37.3...v3.37.4
v3.37.3
- 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
- Fixed nil pointer exception in topic reader if reconnect failed
Full Changelog: v3.37.1...v3.37.2
v3.37.1
- Refactored the
xsql.badconn.Error
Full Changelog: v3.37.0...v3.37.1
v3.37.0
- Supported read-only
sql.LevelSnapshot
isolation with fake transaction andOnlineReadOnly
transaction control (transient, while YDB clusters are not updated with true snapshot isolation mode) - Supported the
*sql.Conn
as input typeydb.Unwrap
helper for go's 1.18
Full Changelog: v3.36.2...v3.37.0
v3.36.2
- Changed output of
sugar.GenerateDeclareSection
(added error as second result) - Specified
sugar.GenerateDeclareSection
forgo1.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
- Fixed
xsql.Rows
error checking
Full Changelog: v3.36.0...v3.36.1
v3.36.0
- Changed behavior on
result.Err()
on truncated result (returns non-retryable error now, excludeStreamExecuteScanQuery
) - Added
ydb.WithIgnoreTruncated
option for disabling errors on truncated flag - Added simple transaction control constructors
table.OnlineReadOnlyTxControl()
andtable.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 inxsql
queries - Defined default dial timeout (5 seconds)
Full Changelog: v3.35.1...v3.36.0
v3.35.1
- Removed the deprecation warning for
ydb.WithSessionPoolIdleThreshold
option
Full Changelog: v3.35.0...v3.35.1
v3.35.0
- 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