Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump scylla to v0.12.0 #144

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

oeb25
Copy link
Collaborator

@oeb25 oeb25 commented Feb 10, 2024

Previously we were on a fixed rev due to unreleased pull-requests (scylladb/scylla-rust-driver#838, scylladb/scylla-rust-driver#898), but since these are now released we can pin to a crates.io version!

v0.11 introduced a breaking change in how scylla::frame::value's are represented, most importantly around timestamps. Previously the timestamp was constructed from a duration, but now it takes an actual timestamp. In the old version, Duration::seconds(0) was used as the default, but now we have to provide a timestamp. I'm a little but uncertain what is equivalent, but I believe chrono::Utc::now is what we intent to store.

Previously we were on a fixed rev due to unreleased pull-requests, but since these are now released we can pin to a crates.io version!

v0.11 introduced a breaking change in how `scylla::frame::value`'s are represented, most importantly around timestamps. Previously the timestamp was constructed from a duration, but now it takes an actual timestamp. In the old version, `Duration::seconds(0)` was used as the default, but now we have to provide a timestamp. I'm a little but uncertain what is equivalent, but I believe `chrono::Utc::now` is what we intent to store.
@oeb25 oeb25 added the dependencies Pull requests that update a dependency file label Feb 10, 2024
@oeb25 oeb25 requested a review from mikkeldenker February 10, 2024 09:43
Copy link
Member

@mikkeldenker mikkeldenker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right that chrono::Utc::now is equivalent

@mikkeldenker mikkeldenker merged commit b029d6b into StractOrg:main Feb 15, 2024
1 check passed
@oeb25 oeb25 deleted the bump-scylla-0.12 branch February 15, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants