Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
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
v3.39.0
- Removed message level partitioning from experimental topic API. It is unavailable on server side yet.
- Supported
NullValue
type as received type fromYDB
- Supported
types.SetValue
type - Added
types.CastTo(types.Value, destination)
public method for casttypes.Value
to golang native type value destination - Added
types.TupleItem(types.Value)
,types.StructFields(types.Value)
andtypes.DictValues(types.Value)
funcs (extractors of internal fields of tuple, struct and dict values) - Added
types.Value.Yql()
func for getting values string representation asYQL
literal - Added
types.Type.Yql()
func for gettingYQL
representation of type - Marked
table/types.WriteTypeStringTo
as deprecated - Added
table/options.WithDataColumns
for supporting covering indexes - Supported
balancer
query string parameter inDSN
- Fixed bug with scanning
YSON
value from result set - Added certificate caching in
WithCertificatesFromFile
andWithCertificatesFromPem
Full Changelog: v3.38.5...v3.39.0