DataStax C/C++ Driver: 1.0 GA released!
We are pleased to announce the first GA release of the DataStax C/C++ driver. This release includes support for libuv v1.x, improved documentation, binary packages, and several bug fixes. A full list of bug fixes and improvements can be found on JIRA.
The 1.0 GA release of the C/C++ driver targets Apache Cassandra 1.2 and 2.0 and uses the CQL Native Protocol version 1 and 2. A future release will bring support for Apache Cassandra 2.1 features (and support for CQL Native Protocol version 3). Note: The driver works great with Apache Cassandra 2.1, but it uses version 2 of native protocol.
Here’s a highlight of the current features supported by the 1.0 GA release:
- Clean and concise C API, allowing for easier integration with a broad set of applications including ANSI C applications and scripting languages
- Full asynchronous API and internal architecture
- Minimal dependencies, allowing the driver to support a variety of platforms including Linux, Windows, and Mac OS X.
- High performance implementation that is scalable on multi-core systems
- Support for prepared and batch statements
- Support for CQL collections
- Robust fail over and reconnection handling
- Streamlined design that’s careful not to expose internal dependencies or implementation details
- Automatic discovery of nodes
- Authentication (via credentials using SASL PLAIN)
- Client-to-node encryption over SSL
Support for libuv v1.x
In the previous versions, the C/C++ driver only supported the previous stable release of libuv (0.10.x). The driver now supports both the older stable release, 0.10.x, and the newest stable release, 1.x. Supporting 1.x allows the driver to take advantage of bug fixes, API improvements, and better error handling introduced since 0.10.x. In the future, we plan to deprecate 0.10.x support. Currently, there is no timeline for the deprecation.
Since the RC announcement we have completely revamped the driver’s documentation. It can be found at http://datastax.github.io/cpp-driver. We included a getting started guide and an improved API reference.
This release include binary packages for several popular platforms including Windows, Ubuntu and CentOS. These packages can be found on our downloads site. The build process has also been improved for Windows and Mac OS X. The Windows build automatically acquires/builds dependencies and the driver can be installed on Mac OS X using an included Homebrew formula.
This is the first GA release, and it’s just the beginning! In the near future, we plan to add Apache Cassandra 2.1 support and to expose internal driver functionality, such as load balancing and SASL authentication, through interfaces allowing for custom implementations. We will continue to provide timely bugs fixes and listen to community feedback when making decisions about the driver. The C/C++ driver’s GA release has a been a community effort and we truly appreciated your feedback, bug reports, and pull requests. To provide feedback, file a bug report or submit a pull request for this release use the following:
- Source code: https://github.com/datastax/cpp-driver/
- JIRA: https://datastax-oss.atlassian.net/browse/CPP
- Mailing List: https://groups.google.com/a/lists.datastax.com/forum/#!forum/cpp-driver-user
- IRC: #datastax-drivers on irc.freenode.net