Releases: ydb-platform/ydb-go-sdk
Releases · ydb-platform/ydb-go-sdk
v3.20.2
- Fixed race condition on lazy clients first call
Full Changelog: v3.20.1...v3.20.2
v3.20.1
- Fixed gofumpt linter issue on
credentials/credentials.go
Full Changelog: v3.20.0...v3.20.1
v3.20.0
- Added
table.DefaultTxControl()
transaction control creator with serializable read-write isolation mode and auto-commit - Fixed passing nil query parameters
- Fixed locking of cluster during call
cluster.Get
Full Changelog: v3.19.1...v3.20.0
v3.19.1
- Simplified README.md for godoc documentation in pkg.go.dev
Full Changelog: v3.19.0...v3.19.1
v3.19.0
- Added public package
dsn
for making piped data source name (connection string) - Marked
ydb.WithEndpoint
,ydb.WithDatabase
,ydb.WithSecure
,ydb.WithInsecure
options as deprecated - Moved
ydb.RegisterParser
to packagedsn
- Added version into all error and warm log messages
Full Changelog: v3.18.5...v3.19.0
v3.18.5
- Fixed duplicating
WithPanicCallback
proxying to table config options - Fixed comments for
xerrros.Is
andxerrros.As
Full Changelog: v3.18.4...v3.18.5
v3.18.4
- Renamed internal packages
errors
,net
andresolver
toxerrors
,xnet
andxresolver
for excluding ambiguous interpretation - Renamed internal error wrapper
xerrors.New
toxerrors.Wrap
Full Changelog: v3.18.3...v3.18.4
v3.18.3
- Added
WithPanicCallback
option to all service configs (discovery, coordination, ratelimiter, scheme, scripting, table) and auto-applying fromydb.WithPanicCallback
- Added panic recovering (if defined
ydb.WithPanicCallback
option) which thrown from retry operation
Full Changelog: v3.18.2...v3.18.3
v3.18.2
- Refactored balancers (makes concurrent-safe)
- Excluded separate balancers lock from cluster
- Refactored
cluster.Cluster
interface (Insert
andRemove
returning nothing now) - Replaced unsafe
cluster.close
boolean flag tocluster.done
chan for listening close event - Added internal checker
cluster.isClosed()
for check cluster state - Extracted getting available conn from balancer to internal helper
cluster.get
(called insidecluster.Get
as last effort) - Added checking
conn.Conn
availability withconn.Ping()
in prefer nodeID case
Full Changelog: v3.18.1...v3.18.2
v3.18.1
- Added
conn.Ping(ctx)
method for check availability ofconn.Conn
- Refactored
cluster.Cluster.Get(ctx)
to return only available connection (instead of returning any connection from balancer) - Added address to error description thrown from
conn.take()
- Renamed package
internal/db
tointernal/database
to exclude collisions with variable namedb
Full Changelog: v3.18.0...v3.18.1