Skip to content

Releases: ydb-platform/ydb-go-sdk

v3.47.2

23 May 10:38

Choose a tag to compare

  • Refactored internal/cmd/gtrace tool (prefer pointers instead trace struct copies) for bust performance
  • Fixed usage of generated traces in code

Full Changelog: v3.47.1...v3.47.2

v3.47.1

15 May 09:19

Choose a tag to compare

  • Removed test artifacts from repository

Full Changelog: v3.47.0...v3.47.1

v3.47.0

12 May 15:55

Choose a tag to compare

  • Added table/types.ToDecimal() converter from table/types.Value to table/types.Decimal

Full Changelog: v3.46.1...v3.47.0

v3.46.1

12 May 14:56

Choose a tag to compare

  • Implemented internal/xcontext.With{Cancel,Timeout} with stack record and switched all usages from standard context.With{Cancel,Timeout}

Full Changelog: v3.46.0...v3.46.1

v3.46.0

05 May 17:03

Choose a tag to compare

  • Refactored package log for support typed fields in log messages

Full Changelog: v3.45.0...v3.46.0

v3.45.0

26 Apr 10:39

Choose a tag to compare

  • Added table/options.WithPartitions for configure partitioning policy
  • Marked as deprecated table/options.WithPartitioningPolicy{UniformPartitions,ExplicitPartitions} (use With{UniformPartitions,ExplicitPartitions} instead)

Full Changelog: v3.44.3...v3.45.0

v3.44.3

25 Apr 16:30

Choose a tag to compare

  • Fixed bug of processing endpoint with node_id=0
  • Refactored of checking node ID in cluster discovery before Get and during in Put of session into session pool

Full Changelog: v3.44.2...v3.44.3

v3.44.2

22 Apr 11:38

Choose a tag to compare

  • Removed debug print

Full Changelog: v3.44.1...v3.44.2

v3.44.1

22 Apr 11:18

Choose a tag to compare

  • Fixed bug with returning session into pool before second re-discovery

Full Changelog: v3.44.0...v3.44.1

v3.44.0

17 Apr 09:38

Choose a tag to compare

  • Added table/options.WithCallOptions options for append custom grpc call options into session.{BulkUpsert,Execute,StreamExecuteScanQuery}
  • Supported fake transactions in database/sql driver over connector option ydb.WithFakeTx(queryMode) and connection string param go_fake_tx
  • Removed testutil/timeutil package (all usages replaced with clockwork package)
  • Changed behaviour of retryer on transport errors cancelled and deadline exceeded - will retry idempotent operation if context is not done
  • Added address of node to operation error description as optional
  • Fixed bug with put session from unknown node
  • Fixed bug with parsing of TzTimestamp without microseconds
  • Fixed code -1 of retryable error if wrapped error with code
  • Added ydb.MustOpen and ydb.MustConnector helpers
  • Fixed internal/xerrors.Transport error wrapping for case when given error is not transport error
  • Added grpc and operation codes to errors string description
  • Extend scheme.Client interface with method Database
  • Removed driver.ResultNoRows in internal/xsql
  • Added ydb.{WithTablePathPrefix,WithAutoDeclare,WithPositionalArgs,WithNumericalArgs} query modifiers options
  • Supported binding parameters for database/sql driver over connector option ydb.WithAutoBind() and connection string params go_auto_bind={origin,table_path_prefix(path),declare,numeric,positional}
  • Added testutil.QueryBind test helper
  • Fixed topic retry policy callback call: not call it with nil error
  • Fixed bug with no checking operation error on discovery.Client calls
  • Allowed zero create session timeout in ydb.WithSessionPoolCreateSessionTimeout(timeout) (less than or equal to zero - no used timeout on create session request)
  • Added examples with own go.mod
  • Marked as deprecated ydb.WithErrWriter(w) and ydb.WithOutWriter(w) logger options
  • Added ydb.WithWriter(w) logger option

Full Changelog: v3.43.0...v3.44.0