Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.36.1
- Fixed
xsql.Rowserror 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.WithIgnoreTruncatedoption 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
xsqlqueries - Supports
time.Timeas type destination inxsqlqueries - Defined default dial timeout (5 seconds)
Full Changelog: v3.35.1...v3.36.0
v3.35.1
- Removed the deprecation warning for
ydb.WithSessionPoolIdleThresholdoption
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
DescribeTopicResultstruct
Full Changelog: v3.34.2...v3.35.0
v3.34.2
- Added some description to error message from table pool get
- Moved implementation
sugar.GenerateDeclareSectiontointernal/table - Added transaction trace callbacks and internal logging with them
- Stored context from
BeginTxtointernal/xsqltransaction - Added automatically generated declare section to query text in
database/sqlusage - Removed supports
sql.LevelSerializable - Added
retry.Dohelper for retry custom lambda withdatabase/sqlwithout transactions - Removed
retry.WithTxOptionsoption (only default isolation supports)
Full Changelog: v3.34.1...v3.34.2
v3.34.1
- Changed
database/sqldriverpreparebehaviour tonopwith proxing call to conn exec/query with keep-in-cache flag - Added metadata to
trace.Driver.OnInvokeandtrace.Driver.OnNewStreamdone events
Full Changelog: v3.34.0...v3.34.1
v3.34.0
- Improved the
xsqlerrors mapping todriver.ErrBadConn - Extended
retry.DoTxtest for to achieve equivalence withretry.Retrybehaviour - Added
database/sqlevents for tracingdatabase/sqldriver events - Added internal logging for
database/sqlevents - Supports
YDB_LOG_DETAILSenvironment variable for specify scope of log messages - Removed support of
YDB_LOG_NO_COLORenvironment 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
- Added
retry.DoTxhelper for retryingdatabase/sqltransactions - Implemented
database/sqldriver overydb-go-sdk - Marked as deprecated
trace.Table.OnPoolSessionNewandtrace.Table.OnPoolSessionCloseevents - Added
trace.Table.OnPoolSessionAddandtrace.Table.OnPoolSessionRemoveevents - 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
- Fixed flaky TestTable
- Renamed topic events in
trace.Detailsenum
Full Changelog: v3.32.0...v3.32.1
v3.32.0
- Refactored
trace.Topic(experimental) handlers - Fixed signature/name of helpers in
topic/topicsugarpackage - Allowed read and commit messages in parallel
Full Changelog: v3.31.0...v3.32.0