gocql v1.2.1 Release Notes
Release Date: 2022-09-02 // over 2 years ago-
๐ Changed
- ๐ฐ GetCustomPayload now returns nil instead of panicking in case of query error. (#1385)
๐ Fixed
- Nil pointer dereference in events.go when handling node removal. (#1652)
- Reading peers from DataStax Enterprise clusters. This was a regression in 1.2.0. (#1646)
- Unmarshaling maps did not pre-allocate the map. (#1642)
Previous changes from v1.2.0
-
๐ 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 ofsystem.peers
when connected to Cassandra 4.0 or later and populatesHostInfo.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)