cassandra-python-driver v1.0.0-beta3 Release Notes

  • Sep 20, 2013

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support for LZ4 compression (Cassandra 2.0+)
    • Token-aware routing will now utilize all replicas for a query instead of just the first replica

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix libev include path for CentOS
    • ๐Ÿ›  Fix varint packing of the value 0
    • Correctly pack unicode values
    • Don't attempt to return failed connections to the pool when a final result is set
    • ๐Ÿ›  Fix bad iteration of connection credentials
    • ๐Ÿ‘‰ Use blist's orderedset for set collections and OrderedDict for map collections so that Cassandra's ordering is preserved
    • ๐Ÿ›  Fix connection failure on Windows due to unavailability of inet_pton and inet_ntop. (Note that IPv6 inet_address values are still not supported on Windows.)
    • Boolean constants shouldn't be surrounded by single quotes
    • Avoid a potential loss of precision on float constants due to string formatting
    • Actually utilize non-standard ports set on Cluster objects
    • ๐Ÿ›  Fix export of schema as a set of CQL queries

    Other

    • ๐ŸŽ Use cStringIO for connection buffer for better performance
    • Add repr method for Statement classes
    • Raise InvalidTypeParameterError when parameters of the wrong type are used with statements
    • โœ… Make all tests compatible with Python 2.6
    • โž• Add 1s timeout for opening new connections