Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.34.2
- Added some description to error message from table pool get
- Moved implementation
sugar.GenerateDeclareSection
tointernal/table
- Added transaction trace callbacks and internal logging with them
- Stored context from
BeginTx
tointernal/xsql
transaction - Added automatically generated declare section to query text in
database/sql
usage - Removed supports
sql.LevelSerializable
- Added
retry.Do
helper for retry custom lambda withdatabase/sql
without transactions - Removed
retry.WithTxOptions
option (only default isolation supports)
Full Changelog: v3.34.1...v3.34.2
v3.34.1
- Changed
database/sql
driverprepare
behaviour tonop
with proxing call to conn exec/query with keep-in-cache flag - Added metadata to
trace.Driver.OnInvoke
andtrace.Driver.OnNewStream
done events
Full Changelog: v3.34.0...v3.34.1
v3.34.0
- Improved the
xsql
errors mapping todriver.ErrBadConn
- Extended
retry.DoTx
test for to achieve equivalence withretry.Retry
behaviour - Added
database/sql
events for tracingdatabase/sql
driver events - Added internal logging for
database/sql
events - Supports
YDB_LOG_DETAILS
environment variable for specify scope of log messages - Removed support of
YDB_LOG_NO_COLOR
environment 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.DoTx
helper for retryingdatabase/sql
transactions - Implemented
database/sql
driver overydb-go-sdk
- Marked as deprecated
trace.Table.OnPoolSessionNew
andtrace.Table.OnPoolSessionClose
events - Added
trace.Table.OnPoolSessionAdd
andtrace.Table.OnPoolSessionRemove
events - 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.Details
enum
Full Changelog: v3.32.0...v3.32.1
v3.32.0
- Refactored
trace.Topic
(experimental) handlers - Fixed signature/name of helpers in
topic
/topicsugar
package - Allowed read and commit messages in parallel
Full Changelog: v3.31.0...v3.32.0
v3.31.0
- Extended the
ydb.Connection
interface with experimentaldb.Topic()
client (control plane and reader API) - Removed
ydb.RegisterParser()
function (was needed fordatabase/sql
driver outsideydb-go-sdk
repository, necessity ofydb.RegisterParser()
disappeared with implementationdatabase/sql
driver in same repository) - Refactored
db.Table().CreateSession(ctx)
(maked retryable with internal create session timeout) - Refactored
internal/table/client.createSession(ctx)
(got rid of unnecessary goroutine) - Supported many user-agent records
Full Changelog: v3.30.0...v3.31.0
v3.30.0
- Added
ydb.RegisterParser(name string, parser func(value string) []ydb.Option)
function for register parser of specified param name (supporting additional params in connection string) - Fixed writing
KeepInCacheFlag
in table traces
Full Changelog: v3.29.5...v3.30.0
v3.29.5
- Fixed regression of
table/types.WriteTypeStringTo
Full Changelog: v3.29.4...v3.29.5
v3.29.4
- Added touching of last updated timestamp in existing conns on stage of applying new endpoint list
Full Changelog: v3.29.3...v3.29.4