Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.54.0
- Allowed
sql.LevelSerializable
isolation level in read-write mode indatabase/sql
transactions - Refactored traces and metrics
- Added
{retry,table}.WithLabel
options for mark retriers calls - Added
ydb.WithTraceRetry
option - Moved
internal/allocator.Buffers
to packageinternal/xstring
- Bumped
golang.org/x/sync
tov0.3.0
- Bumped
google.golang.org/protobuf
tov1.31.0
- Bumped
google.golang.org/grpc
tov1.57.1
- Allowed grpc status error as arg in
internal/xerrors.TransportError(err)
- Added
interanl/xtest.CurrentFileLine()
helper for table tests - Added
internal/credentials.IsAccessError(err)
helper for check access errors - Changed period for re-fresh static credentials token from
1/2
to1/10
to expiration time - Added
table.SnapshotReadOnlyTxControl()
helper for get transaction control with snapshot read-only
Full Changelog: v3.53.4...v3.54.0
v3.53.4
- Downgrade
golang.org/x/net
from0.17.0
to0.15.0
- Downgrade
golang.org/x/sys
fromv0.13.0
tov0.12.0
- Downgrade
golang.org/x/crypto
fromv0.14.0
tov0.13.0
Full Changelog: v3.53.3...v3.53.4
v3.53.3
- Refactored credentials options (from funcs to interfaces and types)
- Fixed stringification of credentials object
Full Changelog: v3.53.2...v3.53.3
v3.53.2
- Fixed panic when try to unwrap values with more than 127 columns with custom ydb unmarshaler
Full Changelog: v3.53.1...v3.53.2
v3.53.1
- Bumps
github.com/ydb-platform/ydb-go-genproto
for supportquery
service - Bumps
golang.org/x/net
from0.7.0
to0.17.0
Full Changelog: v3.53.0...v3.53.1
v3.53.0
- Removed
internal/backoff.Backoff.Wait
interface method for exclude resource leak with bug-provoked usage oftime.After
method - Marked as deprecated
retry.WithDoRetryOptions
andretry.WithDoTxRetryOptions
- Added receiving first result set on construct
internal/table/scanner.NewStream()
- Added experimental package
metrics
with SDK metrics - Fixed redundant trace call for finished
database/sql
transactions - Added repeater event type to wake-up func context
- Refactored default logger format
- Refactored
internal/conn.coonError
format - Fixed data race on
internal/conn.conn.cc
access
Full Changelog: v3.52.3...v3.53.0
v3.52.3
- Removed almost all experimental marks from topic api.
- Rename some topic APIs (old names was deprecated and will be removed in one of next versions).
- Deprecated topic options (the option will be removed): min size of read messages batch
- Deprecated WithOnWriterFirstConnected callback, use Writer.WaitInitInfo instead.
- Changed topic Codec base type from int to int32 (was experimental code)
- Added
WaitInit
andWaitInitInfo
method to the topic reader and writer - Remove extra allocations in
types.TupleValue
,types.ListValue
andtypes.SetValue
Full Changelog: v3.52.2...v3.52.3
v3.52.2
- Removed support of placeholder "_" for ignoring columns in
database/sql
result sets
Full Changelog: v3.52.1...v3.52.2
v3.52.1
- Merged
internal/xsql/conn.{GetTables,GetAllTables}
methods forDRY
- Replaced
internal/xsql.Connector.PathNormalizer
default fromnopPathNormalizer
tobind.TablePathPrefix
with database name as path prefix - Supported placeholder "_" for ignored column names in
database/sql
result sets
Full Changelog: v3.52.0...v3.52.1
v3.52.0
- Added
table.Session.CopyTables
method - Added
x-ydb-trace-id
header into grpc calls - Improved topic reader logs
- Fixed
internal/xstring
package with deprecated warning ingo1.21
aboutreflect.{String,Slice}Header
Full Changelog: v3.51.3...v3.52.0