Releases: scylladb/gocql
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 gocql#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 gocql#1716
- Use keyspace/table information from
PREPARED
response by @sylwiaszunejko in gocql#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: gocql#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
v1.8.0
What's Changed
- Bump Go version to 1.20 by @martin-sucha in gocql#1673
- Rack aware host selection policy by @turettn in gocql#1659
- Always refresh host ring on topology changes and reconnections by @joao-r-reis in gocql#1680
- Fix race between Query.Release() and speculative executions by @wprzytula in gocql#1684
- Fix nil pointer dereference in events.go handling node removal by @vponomaryov in gocql#1652
- Fix potential crashes on deserealization by @dkropachev in gocql#1694
- Support larger dates in TypeDate marshalling by @olib963 in gocql#1692
- Advertise driver name & version in STARTUP message by @wprzytula in #121
- Add configurable MaxRequestsPerConn cluster param by @avelanarius in #113
- Add method to Query to be able to retrieve the Values by @tehsphinx in gocql#1700
- Rate limit CQL extension support by @wprzytula in #108
Full Changelog: v1.7.3...v1.8.0
v1.7.3
v1.7.2
What's Changed
- Fix nil pointer dereference in event handling node removal by @vponomaryov in #104
- Remove unused scyllaConnPicker.dialer by @martin-sucha in #103
New Contributors
- @vponomaryov made their first contribution in #104
Full Changelog: v1.7.1...v1.7.2
v1.7.1
Release 1.7.0
What's Changed
- Open both encrypted and unencrypted Scylla in integration suite by @zimnx in #99
- Reformat ClusterConfig to have doc comments above fields by @martin-sucha in #100
- Add HostDialer interface by @martin-sucha in #98
- Add ability to connect to nodes through proxy by @zimnx in #97
- Merge shard awareness with original behaviour by @haaawk in #86
New Contributors
Full Changelog: v1.6.0...v1.7.0