Skip to content

Release 0.5.1 #346

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

Merged
merged 1 commit into from
Jul 16, 2025
Merged

Release 0.5.1 #346

merged 1 commit into from
Jul 16, 2025

Conversation

wprzytula
Copy link
Collaborator

@wprzytula wprzytula commented Jul 15, 2025

The ScyllaDB team is pleased to announce ScyllaDB CPP Rust Driver 0.5.1, an API-compatible rewrite of https://github.com/scylladb/cpp-driver as a wrapper for the Rust driver. It will fully replace the CPP driver, which is already reaching its End of Life.

The driver version shall be considered Beta.

Some minor features still need to be included. See Limitations and Unimplemented functions from cassandra.h sections in README.md.

The underlying Rust driver used version: 1.3.0.

Changes

New features / enhancements

  • Bumped Rust driver dependency to 1.3.0 (#339).

Bug fixes:

  • Fixed panic upon cass_session_get_client_id() on disconnected sessions (#327).
  • Fixed semantics of session closing. Now, cass_session_close waits for all in-flight requests to complete (#328).
  • Fixed serial consistency handling (#330).
  • Fixed bug that a wrong fixed consistency (ONE) was set for prepared statements (#331).
  • Fixed driver defaults - in cluster and execution profiles (#332).
  • Fixed cass_session_free so that it waits for session close before freeing it (#338).
  • Fixed panic upon calling future-related functions in callbacks (#337).
  • Fixed statement/batch request timeouts (#341).
  • Deleted unimplemented function stubs, so there are linker errors instead of runtime errors when such function is called by application code (#342).
  • Fixed CQL TEXT and VARCHAR mapping (#344).

CI / developer tool improvements:

  • Enabled more integration tests from CPP Driver (#325).
  • Introduced an integration test for consistency (#343).

Documentation:

  • Some fixes to README and API docs regarding (un)implemented functions (#347).

Others:

  • Exposed public rust API & enabled API lints (#333).
  • Fixed lints in integration testing API (#340).
  • Done a bunch of minor refactors for type safety, readability and robustness (#345).

Congrats to all contributors and thanks everyone for using our driver!


The source code of the driver can be found 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
89 Wojciech Przytuła
1 dependabot[bot]

@wprzytula wprzytula requested review from Copilot and Lorak-mmk July 15, 2025 13:04
@wprzytula wprzytula self-assigned this Jul 15, 2025
@wprzytula wprzytula added this to the 0.5.1 milestone Jul 15, 2025
Copilot

This comment was marked as outdated.

@wprzytula wprzytula requested review from Copilot and Lorak-mmk and removed request for Lorak-mmk July 16, 2025 07:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR releases version 0.5.1 of the ScyllaDB CPP Rust Driver, which is a wrapper around the Rust driver providing API compatibility with the original CPP driver. The release includes bug fixes, feature enhancements, and CI improvements.

  • Updated package version from 0.5.0 to 0.5.1 in Cargo.toml
  • Includes multiple bug fixes for session handling, consistency, and panic issues
  • Adds integration test improvements and API linting enhancements

@wprzytula wprzytula merged commit 8a3d0fe into scylladb:master Jul 16, 2025
11 checks passed
@wprzytula wprzytula deleted the release-0.5.1 branch July 16, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants