Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.41.0

15 Dec 18:28

Choose a tag to compare

  • 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 to table.options.IndexDescription
  • Added scheme.EntryColumnStore and scheme.EntryColumnColumn entry types
  • Added table.options.WithPartitioningBy(columns) option

Full Changelog: v3.40.1...v3.41.0

v3.40.1

23 Nov 11:29

Choose a tag to compare

  • Added constructor of options.TimeToLiveSettings and fluent modifiers

Full Changelog: v3.40.0...v3.40.1

v3.40.0

18 Nov 15:01

Choose a tag to compare

  • Added options.WithAddAttribute and options.WithDropAttribute options for session.AlterTable request
  • Added options.WithAddIndex and options.WithDropIndex options for session.AlterTable request
  • Added return error while create topic writer with not equal producer id and message group id.
  • Added package meta with methods about YDB 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

27 Oct 04:10

Choose a tag to compare

  • Removed message level partitioning from experimental topic API. It is unavailable on server side yet.
  • Supported NullValue type as received type from YDB
  • Supported types.SetValue type
  • Added types.CastTo(types.Value, destination) public method for cast types.Value to golang native type value destination
  • Added types.TupleItem(types.Value), types.StructFields(types.Value) and types.DictValues(types.Value) funcs (extractors of internal fields of tuple, struct and dict values)
  • Added types.Value.Yql() func for getting values string representation as YQL literal
  • Added types.Type.Yql() func for getting YQL representation of type
  • Marked table/types.WriteTypeStringTo as deprecated
  • Added table/options.WithDataColumns for supporting covering indexes
  • Supported balancer query string parameter in DSN
  • Fixed bug with scanning YSON value from result set
  • Added certificate caching in WithCertificatesFromFile and WithCertificatesFromPem

Full Changelog: v3.38.5...v3.39.0

v3.38.5

09 Oct 06:08

Choose a tag to compare

  • Fixed bug from scan unexpected column name

Full Changelog: v3.38.4...v3.38.5

v3.38.4

07 Oct 16:22

Choose a tag to compare

  • Changed type of table/options.{Create,Alter,Drop}TableOption from func to interface
  • Added implementations of table/options.{Create,Alter,Drop}Option
  • Changed type of topic/topicoptions.{Create,Alter,Drop}Option from func to interface
  • Added implementations of topic/topicoptions.{Create,Alter}Option
  • Fix internal race-condition bugs in internal background worker

Full Changelog: v3.38.3...v3.38.4

v3.38.3

03 Oct 13:17

Choose a tag to compare

  • Added retries to initial discovering

Full Changelog: v3.38.2...v3.38.3

v3.38.2

26 Sep 20:05

Choose a tag to compare

  • Added missing RetentionPeriod parameter for topic description
  • Fixed reconnect problem for topic client
  • Added queue limit for sent messages and split large grpc messages while send to topic service
  • Improved control plane for topic services: allow list topic in schema, read cdc feeds in table, retry on contol plane operations in topic client, full info in topic describe result
  • Allowed writing zero messages to topic writer

Full Changelog: v3.38.1...v3.38.2

v3.38.1

21 Sep 14:48

Choose a tag to compare

  • Fixed deadlock with implicit usage of internal.table.Client.internalPoolAsyncCloseSession

Full Changelog: v3.38.0...v3.38.1

v3.38.0

19 Sep 14:22

Choose a tag to compare

  • Fixed commit errors for experimental topic reader
  • Updated ydb-go-genproto dependency
  • Added table.WithSnapshotReadOnly() TxOption for supporting SnapshotReadOnly transaction control
  • Fixed bug in db.Scripting() queries (not checked operation results)
  • Added sugar.ToYdbParam(sql.NamedArg) helper for converting sql.NamedArg to table.ParameterOption
  • Changed type table.ParameterOption for getting name and value from table.ParameterOption instance
  • Added topic writer experimental api with internal logger

Full Changelog: v3.37.8...v3.38.0