Skip to content

Releases

v0.2.6

Choose a tag to compare

@kenshaw kenshaw released this 26 Nov 00:53
  • The README and CONTRIBUTING.md say that the repository has no issues and no pull requests, and that GitHub Discussions is the place to report a bug, ask a question or propose a change.

There is no change to the driver code.

v0.2.5

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:24
  • The README has the release and Discord badges and the row of xo projects at the end, as the README of dbmeta does.

There is no change to the driver code.

v0.2.4

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:23
  • ErrVerbose writes the reply in the form of psql, so that \errverbose looks the same for every database:

    ERROR:  2200: keyspace nope_ks does not exist
    DETAIL:  Invalid query
    

    The 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

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:23
  • An error that holds a reply of the server has the method ErrVerbose(query string) string, which usql asks of an error for \errverbose.

v0.2.2

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:23
  • The module uses v0.24.3 of dbimp. A decimal can now be scanned into a type that has the method Compose, and it keeps its scale.

v0.2.1

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:23
  • A missing password counts as a refused credential. The server answers "Password must not be null", and gocql says "authentication required" when the client has no authenticator. usql prompts for a password in both cases.

v0.2.0

Choose a tag to compare

@kenshaw kenshaw released this 08 Nov 02:23
  • The driver is rewritten for Go 1.27 and gocql v2, and it is named cassandra. It registers as cassandra, and its DSN is a URL.
  • An error for a wrong username or password matches ErrAuthentication and has the method AuthenticationRefused() bool, which usql asks of an error.

v0.1.1

Choose a tag to compare

@kenshaw kenshaw released this 08 Oct 03:26
  • 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

Choose a tag to compare

@kenshaw kenshaw released this 08 Oct 02:40

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.
⌂ 换网址