Repository navigation
Releases
Releases · xo/cassandra
v0.2.6
v0.2.5
v0.2.4
-
ErrVerbosewrites the reply in the form of psql, so that\errverboselooks the same for every database:ERROR: 2200: keyspace nope_ks does not exist DETAIL: Invalid queryThe code is the one that cqlsh writes, in hexadecimal. The name of the code and each field of the reply, such as the consistency, follow as a DETAIL line each.
v0.2.3
v0.2.2
v0.2.1
v0.2.0
- The driver is rewritten for Go 1.27 and gocql v2, and it is named
cassandra. It registers ascassandra, and its DSN is a URL. - An error for a wrong username or password matches
ErrAuthenticationand has the methodAuthenticationRefused() bool, which usql asks of an error.
v0.1.1
- The README is rewritten. It links the other xo projects, uses the name cassandra, and shows a complete example.
- The tests run as the ordinary user that dbmeta makes, on every release.
- The workflow pins v0.7.0 of dbmeta and reads its dsn field.
There is no change to the driver code.
v0.1.0
The first release of github.com/xo/cassandra, a database/sql driver for Apache Cassandra and ScyllaDB. It was github.com/xo/cql.
- The driver registers the one name cassandra.
- A DSN is a URL with the scheme cassandra. The host part holds one host, and each other host is a host key.
- The column types are the kinds of github.com/xo/dbimp: a decimal is an *apd.Decimal, a varint a *big.Int, a date a dbimp.Date, a time a dbimp.LocalTime, a duration a dbimp.Interval, and an inet a netip.Addr.
- The options and the errors are those of dbimp.
- The integration tests pass on Cassandra 3.11 and 5.0, and on ScyllaDB 2025.1 and 2026.3.