The ScyllaDB team is pleased to announce ScyllaDB Rust Driver 1.6.0,
an asynchronous CQL driver for Rust, optimized for ScyllaDB, but also compatible with Apache Cassandra!
Some interesting statistics:
- over 6.5M downloads on crates!
- over 666 GitHub stars!
Changes
New features / enhancements:
- Introduced “Client Routes Routing” (with some preceding internal and testing preparations in #1590), which is a feature allowing the use of driver in deployments with mechanisms like AWS PrivateLink (#1582).
- Exposed more configuration options for sockets opened by the driver (#1577).
durable_writesfield was added toKeyspacestruct (#1578).
Our MSRV was bumped to 1.88 (#1602).
Removed address translation workaround, because the root cause was fixed in Scylla a long time ago (#1606).
Bug fixes:
Session::query_iter/Session::execute_iternow correctly refresh driver metadata (if enabled in session config) after a DDL statement is executed using those APIs (#1579).- Fixed a bug in implementation of result metadata ID extension. This bug prevented reading the results of some special statements (like
LIST ROLES of) if they were executed as prepared statements (#1581).
Documentation:
- Fixed Github links displayed on crates.io by making them absolute instead of relative (#1572).
- Updated Scylla theme to 1.9 (#1584) and then to 1.9.2 (#1608).
- Fixed improper
total_connectionsmetric docstring (#1586). - Bumped sphinx-multiversion-scylla to 0.3.8 (#1605).
CI / developer tool improvements:
- Add various Scylla flags to our docker-compose.yml to make tests run faster (#1574).
- Clippy fixes (#1576).
- Book tests are now executed along other doctests, instead of using
mdbook test(#1591). - Our MSRV check CI pipeline no longer checks
examples/folder (#1594). - Introduced a tool to print sizes of our error types (#1597).
- Recently Scylla stopped creating a default superuser
cassandra:cassandra, which broke our tests. Fixed that by using flags to explicitly create the superuser (#1601). - Small fix for a test incorrectly handling proxy finish result (#1603).
- Added
wait_for_connectionandinject_event_to_ccmethods to our testing proxy (#1610). - Explicitly disable tablets for our one SingleStrategy tests, because Scylla started to throw errors on SimpleStrategy keyspace creation with tablets (#1611).
Congrats to all contributors and thanks everyone for using our driver!
The source code of the driver can be found here:
- https://github.com/scylladb/scylla-rust-driver
Contributions are most welcome!
The official crates.io registry entry is here:
Thank you for your attention, please do not hesitate to contact us if you have any questions, issues, feature requests, or are simply interested in our driver!
Contributors since the last release:
| commits | author |
|---|---|
| 61 | Wojciech Przytuła |
| 13 | Karol Baryła |
| 4 | Hanna Marszałek |
| 3 | Dmitry Kropachev |
| 3 | Jakub Janowski |
| 2 | copilot-swe-agent[bot] |
| 2 | dependabot[bot] |
| 1 | Dani Tweig |
| 1 | David Garcia |
| 1 | Dawid Pawlik |
| 1 | Copilot |