Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.44.2
- Removed debug print
Full Changelog: v3.44.1...v3.44.2
v3.44.1
- Fixed bug with returning session into pool before second re-discovery
Full Changelog: v3.44.0...v3.44.1
v3.44.0
- Added
table/options.WithCallOptionsoptions for append custom grpc call options intosession.{BulkUpsert,Execute,StreamExecuteScanQuery} - Supported fake transactions in
database/sqldriver over connector optionydb.WithFakeTx(queryMode)and connection string paramgo_fake_tx - Removed
testutil/timeutilpackage (all usages replaced withclockworkpackage) - Changed behaviour of retryer on transport errors
cancelledanddeadline exceeded- will retry idempotent operation if context is not done - Added address of node to operation error description as optional
- Fixed bug with put session from unknown node
- Fixed bug with parsing of
TzTimestampwithout microseconds - Fixed code -1 of retryable error if wrapped error with code
- Added
ydb.MustOpenandydb.MustConnectorhelpers - Fixed
internal/xerrors.Transporterror wrapping for case when given error is not transport error - Added grpc and operation codes to errors string description
- Extend
scheme.Clientinterface with methodDatabase - Removed
driver.ResultNoRowsininternal/xsql - Added
ydb.{WithTablePathPrefix,WithAutoDeclare,WithPositionalArgs,WithNumericalArgs}query modifiers options - Supported binding parameters for
database/sqldriver over connector optionydb.WithAutoBind()and connection string paramsgo_auto_bind={origin,table_path_prefix(path),declare,numeric,positional} - Added
testutil.QueryBindtest helper - Fixed topic retry policy callback call: not call it with nil error
- Fixed bug with no checking operation error on
discovery.Clientcalls - Allowed zero create session timeout in
ydb.WithSessionPoolCreateSessionTimeout(timeout)(less than or equal to zero - no used timeout on create session request) - Added examples with own
go.mod - Marked as deprecated
ydb.WithErrWriter(w)andydb.WithOutWriter(w)logger options - Added
ydb.WithWriter(w)logger option
Full Changelog: v3.43.0...v3.44.0
v3.43.0
Small broken changes
Most users can skip there notes and upgrade as usual because build break rare used methods (expiremental API and api for special cases, not need for common use YDB) and this version has no any behavior changes.
Changes for experimental topic API:
- Moved
producer_idfrom required positional argument to optionWithProducerID(and it is optional now) - Removed
WithMessageGroupIDoption (because not supported now)
Changes in ydb connection:
- Publish internal private struct
ydb.connectionasydb.Driver(it is implementydb.Connection) ydb.Connectionmarked as deprecated- Changed return type of
ydb.Open(...)fromydb.Connectionto*ydb.Driver - Changed return type of
ydb.New(...)fromydb.Connectionto*ydb.Driver - Changed argument type for
ydb.GRPCConnfromydb.Connectionto*ydb.Driver - Removed method
Withfromydb.Connection(use*Driver.Withinstead).
Changes in package sugar:
- Changed a type of database arg in
sugar.{MakeRecursive,RemoveRecursive}fromydb.Connectionto minimal required local interface
Dependencies:
- Up minimal supported version of
goto1.17for update dependencies (newgolang.org/xdoesn't compiled forgo1.16) - Upgrade
golang.org/x/...for prevent issues:CVE-2021-33194,CVE-2022-27664,CVE-2021-31525,CVE-2022-41723
Full Changelog: v3.42.15...v3.43.0
v3.42.15
- Fixed checking
nilerror withinternal/xerrors.Is
Full Changelog: v3.42.14...v3.42.15
v3.42.14
- Supported
scheme.EntryTopicpath child entry insugar.RemoveRecursive
Full Changelog: v3.42.13...v3.42.14
v3.42.13
- Fixed default state of
internal/xerrors.retryableError: it inherit properties from parent error as possible - Marked event
grpc/stats.Endas ignored at observing status of grpc connection
Full Changelog: v3.42.12...v3.42.13
v3.42.12
- Replaced the balancer connection to discovery service from short-lived grpc connection to
internal/connlazy connection (revert related changes fromv3.42.6) - Marked as deprecated
trace.Driver.OnBalancerDialEntrypointevent callback - Deprecated
trace.Driver.OnConnTakeevent callback - Added
trace.Driver.OnConnDialevent callback
Full Changelog: v3.42.11...v3.42.12
v3.42.11
- Fixed validation error for topicoptions.WithPartitionID option of start topic writer.
Full Changelog: v3.42.10...v3.42.11
v3.42.10
- Added exit from retryer if got grpc-error
Unauthenticatedondiscovery/ListEndpointscall
Full Changelog: v3.42.9...v3.42.10