v0.8.2
Features:
- An optimization has been (re)added which improves efficiency of the LWT queries. It causes the driver to always choose replicas in the ring order which improves performance when there is a lot of per-partition key contention. (#717)
- The driver now closes connections if there is no response to CQL keepalives. (#731)
- TCP-level keepalives have been added. (#735)
- There is an option now to switch off write coalescing optimization in the driver. This "optimization" is technically a tradeoff - it improves efficiency when the throughput is high, but may cause worse latency in a busy application which does not send so many queries. (#725)
Security fixes:
- The
chronodependency no longer requires theoldtimefeature. That feature implies a transitive dependency ontimecrate in version 0.1, which has a vulnerability. More details here: https://rustsec.org/advisories/RUSTSEC-2020-0071 (#723)
Bugfixes:
- After execution profile support merge, the serial consistency was no longer set by default. It was an unintended and undocumented change; it is now fixed and the driver properly sets it to LocalSerial by default. (#729)
Enhancements:
- The
SessionConfig::add_known_nodes{_addr}andSessionBuilder::known_nodes{_addr}functions were made more generic and now they accept a wider range of argument types. (#705) - Clarified wording in the doc page about batches. (#712)
- An outdated driver version was specified in an example on the "Create project" page, now it points to a much newer one. (#715)
- An obsolete comment was removed from examples. (#716)
- A latency aware policy test with a very long name has been refactored so that it does not rely on timing, no longer causing flakiness of the CI. (#714)
- The CI now sets the
RUST_BACKTRACE=fullenvironment variable which causes full backtraces to be printed when panic occurs in tests. This should help in debugging issues, especially those that only occur in CI. (#719) - Integration tests have been refactored into a single binary. This should reduce the time needed to build the tests and improve test parallelism. (#730)