Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.26.3
- Removed
Deprecatedmark fromtable/session.Preparemethod - Added comments for
table/session.Executemethod
Full Changelog: v3.26.2...v3.26.3
v3.26.2
- Refactored of making permissions from scheme entry
Full Changelog: v3.26.1...v3.26.2
v3.26.1
- Removed deprecated traces
Full Changelog: v3.26.0...v3.26.1
v3.26.0
- Fixed data race on session stream queries
- Renamed
internal/routerpackage tointernal/balancerfor unambiguous understanding of package mission - Implemented detection of local data-center with measuring tcp dial RTT
- Added
trace.Driver.OnBalancer{Init,Close,ChooseEndpoint,Update}events - Marked the driver cluster events as deprecated
- Simplified the balancing logic
Full Changelog: v3.25.3...v3.26.0
v3.25.3
- Changed primary license to
Apache2.0for auto-detect license - Refactored
types.Structvalue creation
Full Changelog: v3.25.2...v3.25.3
v3.25.2
- Fixed repeater initial force timeout from 500 to 0.5 second
Full Changelog: v3.25.1...v3.25.2
v3.25.1
- Fixed bug with unexpected failing of call
InvokeandNewStreamon closed cluster - Fixed bug with releasing
internal/conn/conn.Poolin cluster - Replaced interface
internal/conn/conn.Poolto structinternal/conn/conn.Pool
Full Changelog: v3.25.0...v3.25.1
v3.25.0
- Added
ydb.GRPCConn(ydb.Connection)helper for connect to driver-unsupported YDB services - Marked as deprecated
session.Preparecallback - Marked as deprecated
options.WithQueryCachePolicyKeepInCacheandoptions.WithQueryCachePolicyoptions - Added
options.WithKeepInCacheoption - Enabled by default keep-in-cache policy for data queries
- Removed from
ydb.Connectionembedding ofgrpc.ClientConnInterface - Fixed stopping of repeater
- Added log backoff between force repeater wake up's (from 0s to 32s)
- Renamed
trace.DriverRepeaterTick{Start,Done}Infototrace.DriverRepeaterWakeUp{Start,Done}Info - Fixed unexpected
NullFlagwhile parse nilJSONDocumentvalue - Removed
internal/conn/conn.streamUsagesandinternal/conn/conn.usages(internal/conn.connalways touching last usage timestamp on API calls) - Removed auto-reconnecting for broken conns
- Renamed
internal/databasepackage tointernal/routerfor unambiguous understanding of package mission - Refactored applying actual endpoints list after re-discovery (replaced diff-merge logic to swap cluster struct, cluster and balancers are immutable now)
- Added
trace.Driver.OnUnpessimizeNodetrace event
Full Changelog: v3.24.2...v3.25.0
v3.24.2
- Changed default balancer to
RandomChoice()becausePreferLocalDC()balancer works incorrectly with DNS-balanced callDiscovery/ListEndpoints
Full Changelog: v3.24.1...v3.24.2
v3.24.1
- Refactored initialization of coordination, ratelimiter, scheme, scripting and table clients from
internal/lazypackage to each client initialization withsync.Once - Removed
internal/lazypackage - Added retry option
retry.WithStackTracefor wrapping errors with stacktrace
Full Changelog: v3.24.0...v3.24.1