Releases: radekg/yugabyte-db-go-client
Releases · radekg/yugabyte-db-go-client
v0.0.2-beta.2
New:
- updated for YugabyteDB 2.13.0
v0.0.2-beta.1
New:
Client updated for YugabyteDB 2.11.2+
. This version is not recommended and might not work as expected with earlier YugabyteDB versions.
v0.0.1-beta.4
is the last version tested and working with YugabyteDB 2.11.0.0
and 2.11.1.0
.
v0.0.1-beta.4
New:
- handle service RPC error when
responseHeader.is_error
is true: #64
v0.0.1-beta.3
New
- add dedicated
ybdbid.SnapshotID
type: #63
v0.0.1-beta.2
Fixes:
- error processing in single node client: 7f4f3f0
v0.0.1-beta.1
New
High-level RPC client. Changes:
yb-admin
compatible API has been moved to a separate module: https://github.com/radekg/yugabyte-db-go-client-api. This module takes the new high-level client as an argument.- Logger can be configured.
- Configurable metrics callback.
- Client handles auto-reconnect and retries failed executes - configurable.
PR introducing beta 1: #62.
v0.0.1-alpha.9.1
New:
Implements error types properly. There are following error types available now:
CDCError
: wrapsCDCErrorPB
ConsensusError
: wrapsConsensusErrorPB
MasterError
: wrapsMasterErrorPB
PerOpError
: wrapsPerOpErrorPB
(requires tests)RemoteBootstrapError
: wrapsRemoteBootstrapErrorPB
TabletServerError
: wrapsTabletServerErrorPB
Built-in default client implementation handles those so there is no need to check if the response payload has an Error
.
v0.0.1-alpha.9
New
- adds
MasterErrorPB
to goerror
converter and handling
v0.0.1-alpha.8.1
New:
- exposes
PreProcessSnapshotsImportFromBytes(*configs.OpSnapshotImportConfig, []byte) (*ybApi.ImportSnapshotMetaRequestPB, error)
on the client interface - exposes
PreProcessSnapshotsImportFromFile(*configs.OpSnapshotImportConfig) (*ybApi.ImportSnapshotMetaRequestPB, error)
on the client interface - adds
ybdbid.MustParseFromBytes([]byte) YBDBID
andybdbid.MustParseFromString(string) YBDBID
v0.0.1-alpha.7
New:
- adds Docker test utilities allowing to spin up a YugabyteDB cluster in go tests: examples https://github.com/radekg/yugabyte-db-go-client/blob/master/testutils/README.md