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.
This is a draft for 0.12 release. After approving, this should either be merged using rebase or I'll perform a fast-forward merge (which unfortunately isn't available on GitHub).
I bumped scylla-cql to 0.1.0, as discussed with @piodul , to enable us to release minor versions.
I bumped scylla-macros to 0.4.0, despite there not being any breaking changes (I think). This has the advantage of allowing us to maintain previous version of
scylla
crate more easily (if we need to release 0.12.1 while 0.13 is out, we can change things in scylla-macros and release 0.4.1). The drawback is that people usingscylla
0.11 won't be able to use new features ofscylla-macros
(in this case,skip
attribute) - but I don't feel like that's a big problem.Proposed release notes:
The ScyllaDB team is pleased to announce ScyllaDB Rust Driver 0.12.0,
an asynchronous CQL driver for Rust, optimized for Scylla, but also compatible with Apache Cassandra!
Some interesting statistics:
Changes
API cleanups / breaking changes:
CqlTimeuuid
type.Timeuuid
CQL type now corresponds to the new type instead ofUuid
. The purpose of new type is mostly providing correct semantics (matching the database) with regard to sorting / comparing / hashing (#894)num_bigint::BigInt
are now hidden behind feature flag. Support fornum_bigint 0.4
is added. You can enable support for chosen version usingnum-bigint-03
/num-bigint-04
feature flags (#902)bigdecimal
dependency version is bumped to 0.4. Similarly toBigInt
, usages ofbigdecimal
are now behind feature-flagbigdecimal-04
(#922)New features / enhancements:
SerializeRow
andSerializeCql
derive macros now supportskip
field attribute to skip some fields during serialization (#903)Documentation:
SerializeRow
/SerializeCql
derive macros is now rendered only inscylla
crate. Previously it was only visible inscylla-cql
due to an oversight, which made it hard to discover for users. It is not possible to render it in both crates without duplicating it in code because of rustdoc limitation (#907)Session
objects and recommendations about sharingSession
objects between threads. You can find this section inConnecting to the cluster
page of book (#914)Bug fixes:
time
-related were put behindchrono
feature flag instead oftime
feature flag (#898)chrono
introduced an arguably breaking change - changing values ofNaiveDate::MIN/MAX
. We changed our tests to nor rely on those values. If you used those values as markers / placeholders in database, you may not be able to deserialize them with new version ofchrono
(#919)CI / developer tool improvements:
Cargo.lock.msrv
file and ways to update this file when min_rust job are now documented inCONTRIBUTING.md
(#913)mdbook
. In order to be able to build it withmdbook
we had a wrapper script that stripped those sections before callingmdbook
. Now this script is replaced by preprocessor script called automatically bymdbook
- so just callingmdbook
commands "just works" again now (#910).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: