Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@iconara iconara released this 23 May 06:24
· 75 commits to master since this release

v2.0 is fully supports Cassandra 2.0 and is completely backwards compatible with v1.2 – both Cassandra and cql-rb, the version matches are completely coincidental. This is the biggest release yet, it contains lots of new features and improvements, but without sacrificing compatibility.

The big new features are:

  • Support for batches of mixed statements
  • Result paging, for those wide rows that you don't want to read all in one go
  • Bound values in non-prepared statements, this is useful for one-off queries where you have a complex object like a UUID that can be tricky to format right in a CQL string
  • Prepared statement performance improvements, taking advantage of some additions in v2 of the CQL binary protocol
  • SASL authentication with pluggable authenticators, and support for the built in plain text authentication.
  • Multi protocol support, works with both v1 and v2 of the CQL binary protocol, and automatically negotiates a version the server and client supports.

Another change that has happened is that the reactive core of cql-rb has been extracted to its own gem, Ione. If you want to build your own high performance drivers now you have the tool you need to do it.