All Versions
4
Latest Version
Avg Release Cycle
61 days
Latest Release
28 days ago

Changelog History

  • v1.2.1 Changes

    September 02, 2022

    ๐Ÿ”„ 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)
  • v1.2.0 Changes

    July 07, 2022

    ๐Ÿš€ 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)
  • v1.1.0 Changes

    April 29, 2022

    โž• Added

    • ๐Ÿ”„ Changelog.
    • StreamObserver and StreamObserverContext interfaces to allow observing CQL streams.
    • โฑ ClusterConfig.WriteTimeout option now allows to specify a write-timeout different from read-timeout.
    • TypeInfo.NewWithError method.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Supported versions of Go that we test against are now Go 1.17 and Go 1.18.
    • The driver now returns an error if SetWriteDeadline fails. If you need to run gocql on a platform that does not support SetWriteDeadline, set WriteTimeout to zero to disable the timeout.
    • Creating streams on a connection that is closing now fails early.
    • HostFilter now also applies to control connections.
    • TokenAwareHostPolicy now panics immediately during initialization instead of at random point later if you reuse the TokenAwareHostPolicy between multiple sessions. Reusing TokenAwareHostPolicy between sessions was never supported.

    ๐Ÿ›  Fixed

    • The driver no longer resets the network connection if a write fails with non-network-related error.
    • ๐Ÿ›  Blocked network write to a network could block other goroutines, this is now fixed.
    • ๐Ÿ›  Fixed panic in unmarshalUDT when trying to unmarshal a user-defined-type to a non-pointer Go type.
    • ๐Ÿ›  Fixed panic when trying to unmarshal unknown/custom CQL type.
  • v1.0.0 Changes

    March 04, 2022

    ๐Ÿ”„ Changed

    • Started tagging versions with semantic version tags