Releases: scylladb/gocql
v1.14.4
What's Changed
This release adds new API for tracing, introduces initial reconnection policy and adds workflow to delete old docker images for the purpose of future advanced CI. Additionally some refactoring was done and couple of bugs fixed.
- Expose driver name/version configuration on cluster config level and change default driver name by @dkropachev in #228
- Simplify IDGenerator and reduce collission rate by @dkropachev in #223
- Bug fix: Add matching case for unmarshalling nil uuid column by @izenhaim in #235
- Introduce initial reconnection policy by @dkropachev in #231
- Expand cluster validation and move SSL initialization to the validation step by @dkropachev in #245
- Add new API for tracing by @sylwiaszunejko in #247
- Refactor awaitSchemaAgreement logic by @sylwiaszunejko in #256
- Fix ErrNoConnections from defaultConnectionPicker.Remove code by @glutamatt in #257
- Add workflow to delete old docker images by @sylwiaszunejko in #269
New Contributors
- @izenhaim made their first contribution in #235
- @mrsinham made their first contribution in #239
- @glutamatt made their first contribution in #257
Full Changelog: v1.14.3...v1.14.4
v1.14.3
What's Changed
This release add a way to set up configurable server-side timeouts in schema queries and switches to use server side schema description for KeyspaceMetadata.ToCQL. Additionally few refactoring issues and bugs were fixed.
- Have a test to make sure paging feature works properly with allow filtering queries by @dkropachev in #212
- Update l4z libraries by @dkropachev in #220
- Switch to use server side schema description for KeyspaceMetadata.ToCQL by @dkropachev in #210
- Schema queries with configurable server-side timeouts by @sylwiaszunejko in #222
- Add iterator docs by @dkropachev in #225
Full Changelog: v1.14.2...v1.14.3
v1.14.2
What's Changed
This release fixes up a few issues regarding handling load balancing of LWT queries. Additionally few refactoring issues and bugs were fixed e.g. reducing unnecessary locking.
- Simplify tokenAwareHostPolicy.Pick by @dkropachev in #197
- HostSelectionPolicy: add Reset method, Session.Close: call HostSelect… by @moguchev in #166
- Add option to control if remote replicas should be used by @sylwiaszunejko in #202
- Add the datacenter name validation if provided by @sylwiaszunejko in #206
- Do not choose less busy connection if query is LWT by @sylwiaszunejko in #208
- Add LWTRetryPolicy interface by @Lorak-mmk in #213
New Contributors
Full Changelog: v1.14.1...v1.14.2
v1.14.1
What's Changed
This release fixes setting up connection to non-IP sockets, which is necessary for unix socket support. Additionally couple of bug fixes were added and Scylla version used in CI was bumped to 6.0.0.
- fix(dealer): make net.Dialer not to bind to reuse ephimeral ports by @dkropachev in #181
- Print out logs of failed container by @dkropachev in #188
- Make public interfaces implementable by @dkropachev in #184
- Fix cowHostList can't have hosts with same
ConnectAddress
by @dkropachev in #185 - Fix setting up connection to non-IP sockets by @sylwiaszunejko in #178
Full Changelog: v1.14.0...v1.14.1
v1.14.0
What's Changed
This release adds LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
functionality, which makes the driver avoid the slowest node improving the latency. It is based on functionality already present in java-driver. Additionally couple of bug fixes were added.
- Do not try to query
peers_v2
table upon connection against a ScyllaDB cluster by @mykaul in #171 - Send heartbeat OPTIONS message less frequent and enable keep alive by @sylwiaszunejko in #169
- Use
newFramerWithExts
instead ofnewFramer
to utilize protocol extensions by @sylwiaszunejko in #173 - Add
LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
funtionality by @sylwiaszunejko in #168
New Contributors
Full Changelog: v1.13.0...v1.14.0
v1.13.0
What's Changed
This release brings support for tablets to ScyllaDB's fork of gocql driver. Tablet support is an upcoming feature in ScyllaDB that changes the replication algorithm used in ScyllaDB. Drivers without support for tablets (for example old gocql versions) will continue to work, but the token awareness will not work properly in them, negatively affecting performance. gocql v1.13.0 is tablet-aware, meaning the driver will correctly route requests in tablet-enabled keyspaces.
- Introduce support for tablets by @sylwiaszunejko in #137
- Update CI to use new way of initializing keyspace with tablets by @sylwiaszunejko in #156
- Fix checking if tablets should be used in scyllaConnPicker Pick by @sylwiaszunejko in #158
Full Changelog: v1.12.0...v1.13.0
v1.12.0
What's Changed
- Merge upstream changes (gocql v1.6.0) by @sylwiaszunejko in #148
- Mark node as down if unable to dial control conn by @sylwiaszunejko in #150
- Fix aggregate bug by @sylwiaszunejko in #152
Full Changelog: v1.11.1...v1.12.0
v1.11.1
What's Changed
This release contains a number of changes merged from the upstream gocql repository:
- Re-resolve DNS hostnames as a fallback when all hosts are unreachable by @wprzytula in apache#1708
This change should make the driver more resiliant to a situation when some nodes are replaced and their DNS names change. - Add shard information to tracing by @sylwiaszunejko in apache#1716
- Use keyspace/table information from
PREPARED
response by @sylwiaszunejko in apache#1714
An example where this helps: previously the token awareness feature would work properly only if the user set a correct keyspace name on a session. Now, the metadata received from Scylla is used instead. Also see: apache#1621
Full Changelog: v1.11.0...v1.11.1
v1.11.0
What's Changed
This release is a essentially a rerelease of v1.8.0
. This is due to the fact that this repository incorrectly had v1.8.0
, v1.8.1
, v1.9.0
, v1.10.0
tags fetched from an upstream repository (see #139 and #110 for more context). Those versions have been retracted. v1.11.0
should be higher than any tag ever present in this repository.
Small changes for better CI stability:
- fix(docker-compose.yaml): increase memory limit to avoid hitting #126 by @dkropachev in #128
- Add healthchecks, switch from Docker Compose V1 to V2 by @sylwiaszunejko in #133
New Contributors
- @dkropachev made their first contribution in #128
- @sylwiaszunejko made their first contribution in #133
Full Changelog: v1.8.0...v1.11.0