Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.42.6
- Implemented
driver.RowsColumnTypeDatabaseTypeName
interface ininternal/xsql.rows
struct - Extended
internal/xsql.conn
struct with methods for gettingYDB
metadata - Added
scheme.Client
tointernal/xsql.connection
interface - Added
helpers
package with method for checking existence of table, refactoredsugar.IsTableExists()
- Added checks for nil option to all opts range loops
- Moved content of package
internal/ctxlabels
intointernal/xcontext
- Implemented
GRPCStatus
method ininternal/xerrors/transportError
- Added different implementations of stacktrace error for grpc errors and other
- Dropped
internal/xnet
package 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/sql
connection (akaYDB
session) - Made
session.Close()
asnop
for idled session - Implemented goroutine for closing idle connection in
database/sql
driver - 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/grpc
tov1.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/conn
middlewares - 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.KeepInCache
field as redundant
Full Changelog: v3.41.0...v3.42.0
v3.41.0
- Added option for set interval of auth token update in topic streams
- Supported internal allocator in
{session,statement}.Execute
for decrease memory usage - Fixed typo in
topic/README.md
- Upgraded
ydb-go-genproto
dependency - Fixed duplicating of traces in
table.Client.Do()
call - Supported
table.Transaction.WithCommit()
method for execute query and auto-commit after - Added
DataColumns
totable.options.IndexDescription
- Added
scheme.EntryColumnStore
andscheme.EntryColumnColumn
entry types - Added
table.options.WithPartitioningBy(columns)
option
Full Changelog: v3.40.1...v3.41.0
v3.40.1
- Added constructor of
options.TimeToLiveSettings
and fluent modifiers
Full Changelog: v3.40.0...v3.40.1
v3.40.0
- Added
options.WithAddAttribute
andoptions.WithDropAttribute
options forsession.AlterTable
request - Added
options.WithAddIndex
andoptions.WithDropIndex
options forsession.AlterTable
request - Added return error while create topic writer with not equal producer id and message group id.
- Added package
meta
with methods aboutYDB
metadata - Added
meta.WithTrailerCallback(ctx, callback)
context modifier for attaching callback function which will be called on incoming metadata - Added
meta.ConsumedUnits(metadata.MD)
method for getting consumed units from metadata - Added
NestedCall
field to retry trace start infos for alarm on nested calls - Added
topicoptions.WithWriterTrace
option for attach tracer into separated writer - Added
sugar.IsTableExists()
helper for check existence of table
Full Changelog: v3.39.0...v3.40.0