xandra v0.13.1 Release Notes

Release Date: 2020-01-26 // almost 2 years ago
    • 🛠 Fix the spec for Xandra.Batch.add/3.
    • Reconnect to the control connection using the full address (and not the IP of the peername) in Xandra.Cluster.
    • ➕ Set the :xandra_address and :xandra_port metadata in logs for Xandra connections.

Previous changes from v0.13.0

    • 🔖 Add support for Cassandra native protocol v4. By default, we'll use v3, but you can pass in a :protocol_version when starting a connection to force protocol v4. Protocol v4 introduces the :not_set value. See the documentation of the Xandra module.
    • ➕ Add support for tracing on a per-query basis. If :tracing is set to true, then a tracing ID will be returned with the Cassandra response. See the documentation for more information.
    • 🛠 Fix a bug with decoding Decimal values.
    • 🛠 Fix a bug with Xandra.Cluster where, in cases of clusters with a single node, the connection wouldn't reconnect to the node in case of disconnections.

    💥 Breaking changes:

    • Remove Xandra.Page.more_pages_available?/1. This was hard-deprecated in previous versions.
    • ✂ Remove the :cursor option for queries. This was hard-deprecated in previous versions.