Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.59.1
- Fixed updating last usage timestamp for smart parking of the conns
Full Changelog: v3.59.0...v3.59.1
v3.59.0
- Added
Struct
support forydb.ParamsBuilder()
- Added support of
TzDate
,TzDateTime
,TzTimestamp
types inydb.ParamsBuilder()
- Added
trace.Query.OnTransactionExecute
event - Added query pool metrics
- Fixed logic of query session pool
- Changed initialization of internal driver clients to lazy
- Removed
ydb.WithSessionPoolSizeLimit()
option - Added async put session into pool if external context is done
- Dropped intermediate callbacks from
trace.{Table,Retry,Query}
events - Wrapped errors from
internal/pool.Pool.getItem
as retryable - Disabled the logic of background grpc-connection parking
- Improved stringification for postgres types
Full Changelog: v3.58.2...v3.59.0
v3.58.2
- Added
trace.Query.OnSessionBegin
event - Added
trace.Query.OnResult{New,NextPart,NextResultSet,Close}
events - Added
trace.Query.OnRow{Scan,ScanNamed,ScanStruct}
events
Full Changelog: v3.58.1...v3.58.2
v3.58.1
- Dropped all deprecated callbacks and events from traces
- Added
trace.Driver.OnConnStream{SendMsg,RecvMsg,CloseSend}
events - Added
trace.Query.OnSessionExecute
event
Full Changelog: v3.58.0...v3.58.1
v3.58.0
- Changed
List
constructor fromydb.ParamsBuilder().List().Build().Build()
toydb.ParamsBuilder().BeginList().EndList().Build()
- Changed
Set
constructor fromydb.ParamsBuilder().Set().Build().Build()
toydb.ParamsBuilder().BeginSet().EndSet().Build()
- Changed
Dict
constructor fromydb.ParamsBuilder().Dict().Build().Build()
toydb.ParamsBuilder().BeginDict().EndDict().Build()
- Changed
Optional
constructor fromydb.ParamsBuilder().Set().Build().Build()
toydb.ParamsBuilder().BeginOptional().EndOptional().Build()
- Added events into
trace.Query
trace - Rewrote
internal/pool
to buffered channel - Added
internal/xcontext.WithDone()
- Added
internal/xsync.{OnceFunc,OnceValue}
- Updated
google.golang.org/protobuf
fromv1.31.0
tov.33.0
- Added
ydb.ParamsBuilder().Pg().{Value,Int4,Int8,Unknown}
for postgres arguments
Full Changelog: v3.57.4...v3.58.0
v3.57.4
- Added client pid to each gRPC requests to YDB over header
x-ydb-client-pid
- Added
ydb.WithApplicationName
option - Added
Dict
support forydb.ParamsBuilder()
Full Changelog: v3.57.3...v3.57.4
v3.57.3
- Added metrics over query service internals
- Added session create and delete events into
trace.Query
- Moved public type
query.SessionStatus
intointernal/query
package
Full Changelog: v3.57.2...v3.57.3
v3.57.2
- Fixed cases when some option is nil
Full Changelog: v3.57.1...v3.57.2
v3.57.1
- Added logs over query service internals
- Changed
trace.Query
events - Changed visibility of
query.{Do,DoTx}Options
from public to private
Full Changelog: v3.57.0...v3.57.1
v3.57.0
- Added experimental implementation of query service client
- Fixed sometime panic on topic writer closing
- Added experimental query parameters builder
ydb.ParamsBuilder()
- Changed types of
table/table.{QueryParameters,ParameterOption}
to aliases oninternal/params.{Parameters,NamedValue}
- Fixed bug with optional decimal serialization
Full Changelog: v3.56.2...v3.57.0