Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The ScyllaDB team is pleased to announce ScyllaDB Rust Driver 1.2.0,
an asynchronous CQL driver for Rust, optimized for Scylla, but also compatible with Apache Cassandra!
Some interesting statistics:
Changes
New features / enhancements:
flatten
attribute toSerializeRow
derive macro. The attribute is inspired and analogous to the one found inserde
#1144nil()
method forCqlTimeuuid
#1314.MaybeUnset::from_option()
convenience constructor to reduce boilerplate #1317.Debug
for timestamp generator types #1341.CachingSessionBuilder
#1345.PreparedStatement
is materialized only where needed, avoiding unnecessary allocations #1329.CachingSession
#1340.Bug fixes:
LoadBalancingPolicy
was out of range for the chosen node #1325.Metrics::percentiles()
would return the number of observations in the corresponding bucket instead of the mean value of the bucket #1327.Internal API cleanups/refactors:
LatencyAwareness
uses existingIterator
's methods instead of hand-crafted logic #1330.PreparedIteratorConfig
toPreparedPagerConfig
, because it was a remnant of the legacy naming #1335Node::is_down()
and related code, as the event-based node status mechanism is error prone and was not used anyway #1358.Documentation:
scylla-cql
API's considerations - versioning requirements, guarantees, etc. #1322.flatten
attribute docs toSerializeRow
, as it had been put in a wrong place #1144.CI / developer tool improvements:
allow()
toexpect()
, removed unnecessary lints and enabled of checking public API with Clippy #1359.Others:
Congrats to all contributors and thanks everyone for using our driver!
The source code of the driver can be found here:
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: