github apache/cassandra-gocql-driver v1.2.0

latest releases: v1.6.0, v1.5.2, v1.5.1...
2 years ago

Released 2022-07-07.

This release improves support for connecting through proxies and some improvements when using Cassandra 4.0 or later.

Added

  • HostDialer interface now allows customizing connection including TLS setup per host. (#1629)

Changed

  • The driver now uses host_id instead of connect address to identify nodes. (#1632)
  • gocql reads system.peers_v2 instead of system.peers when connected to Cassandra 4.0 or later and
    populates HostInfo.Port using the native port. (#1635)

Fixed

  • Data race in HostInfo.HostnameAndPort(). (#1631)
  • Handling of nils when marshaling/unmarshaling lists and maps. (#1630)
  • Silent data corruption in case a map was serialized into UDT and some fields in the UDT were not present in the map.
    The driver now correctly writes nulls instead of shifting fields. (#1626, #1639)

Don't miss a new cassandra-gocql-driver release

NewReleases is sending notifications on new releases.