Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.42.9
- Added
internal/xerrors.Errorferror for wrap multiple errors and check them witherrors.Isoferrors.As - Fixed corner cases of
internal/wait.Wait - Added check of port in connection string and erro throw
- Fixed bug with initialization of connection pool before apply static credentials
- Refactored of applying grpc dial options with defaults
- Added
trace.Driver.{OnBalancerDialEntrypoint,OnBalancerClusterDiscoveryAttempt}trace events - Fixed compilation of package
internal/xresolverwithgoogle.golang.org/[email protected] - Fixed returning
io.EOFonrows.Nextandrows.NextResultSet - Added wrapping of errors from unary and stream results
- Added error throw on
database/sql.Conn.BeginTx(),*sql.Tx.ExecContextand*sql.Tx.QueryContextif query mode is notydb.DataQueryMode - Added test for
database/sqlscan-query
Full Changelog: v3.42.8...v3.42.9
v3.42.8
- Fixed
internal/scheme/helpers/IsDirectoryExists(..)recursive bug
Full Changelog: v3.42.7...v3.42.8
v3.42.7
- Fixed
sugar.IsTableExistswith recursive check directory exists - Added
sugar.IsDirectoryExists - Changed type of
table/options.IndexTypefor type checks - Added constants
table/options.IndexTypeGlobalandtable/options.IndexTypeGlobalAsync - Added
table/options.IndexDescription.Typefield withtable/options.IndexTypetype
Full Changelog: v3.42.6...v3.42.7
v3.42.6
- Implemented
driver.RowsColumnTypeDatabaseTypeNameinterface ininternal/xsql.rowsstruct - Extended
internal/xsql.connstruct with methods for gettingYDBmetadata - Added
scheme.Clienttointernal/xsql.connectioninterface - Added
helperspackage with method for checking existence of table, refactoredsugar.IsTableExists() - Added checks for nil option to all opts range loops
- Moved content of package
internal/ctxlabelsintointernal/xcontext - Implemented
GRPCStatusmethod ininternal/xerrors/transportError - Added different implementations of stacktrace error for grpc errors and other
- Dropped
internal/xnetpackage as useless - Fixed default grpc dial options
- Replaced single connection for discovery repeater into connection which creates each time for discovery request
- Fixed retry of cluster discovery on initialization
- Fixed dial timeout processing
Full Changelog: v3.42.5...v3.42.6
v3.42.5
- Fixed closing of
database/sqlconnection (akaYDBsession) - Made
session.Close()asnopfor idled session - Implemented goroutine for closing idle connection in
database/sqldriver - Separated errors of commit from other reader and to expired session
- Fixed wrapping error in
internal/balancer/Balancer.wrapCall()
Full Changelog: v3.42.4...v3.42.5
v3.42.4
- Added
ydb.WithDisableServerBalancer()database/sql connector option
Full Changelog: v3.42.3...v3.42.4
v3.42.3
- Added
credentials.NewStaticCredentials()static credentials constructor - Changed
internal/credentials.NewStaticCredentials()signature and behaviour for create grpc connection on each call to auth service - Downgrade
google.golang.org/grpctov1.49.0
Full Changelog: v3.42.2...v3.42.3
v3.42.2
- Added
trace.Details.Details()method for use external detailer
Full Changelog: v3.42.1...v3.42.2
v3.42.1
- Fixed lazy transaction example for
godoc
Full Changelog: v3.42.0...v3.42.1
v3.42.0
- Added retry policy options for topics:
topic/topicoptions.WithReaderCheckRetryErrorFunction,topic/topicoptions.WithReaderStartTimeout,topic/topicoptions.WithWriterCheckRetryErrorFunction,topic/topicoptions.WithWriterStartTimeout - Refactored
internal/connmiddlewares - Added
trace.tableSessionInfo.LastUsage()method for get last usage timestamp - Reverted
tx.WithCommit()changes for fix unstable behaviour of lazy transactions - Added
options.WithCommit()option for execute query with auto-commit flag - Removed
trace.TableTransactionExecuteStartInfo.KeepInCachefield as redundant
Full Changelog: v3.41.0...v3.42.0