11# Changelog
2+
23All notable changes to this project will be documented in this file.
34
45The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
@@ -18,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1819
1920- Change Batch API to be consistent with Query() (CASSGO-7)
2021
22+ - Standardized spelling of datacenter (CASSGO-35)
23+
2124### Fixed
2225
2326- Retry policy now takes into account query idempotency (CASSGO-27)
@@ -28,21 +31,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2831This release is the first after the donation of gocql to the Apache Software Foundation (ASF)
2932
3033### Changed
34+
3135- Update DRIVER_NAME parameter in STARTUP messages to a different value intended to clearly identify this
32- driver as an ASF driver. This should clearly distinguish this release (and future cassandra-gocql-driver
36+ driver as an ASF driver. This should clearly distinguish this release (and future cassandra-gocql-driver
3337 releases) from prior versions. (#1824 )
3438- Supported Go versions updated to 1.23 and 1.22 to conform to gocql's sunset model. (#1825 )
3539
3640## [ 1.6.0] - 2023-08-28
3741
3842### Added
43+
3944- Added the InstaclustrPasswordAuthenticator to the list of default approved authenticators. (#1711 )
4045- Added the ` com.scylladb.auth.SaslauthdAuthenticator ` and ` com.scylladb.auth.TransitionalAuthenticator `
4146 to the list of default approved authenticators. (#1712 )
4247- Added transferring Keyspace and Table names to the Query from the prepared response and updating
4348 information about that every time this information is received. (#1714 )
4449
4550### Changed
51+
4652- Tracer created with NewTraceWriter now includes the thread information from trace events in the output. (#1716 )
4753- Increased default timeouts so that they are higher than Cassandra default timeouts.
4854 This should help prevent issues where a default configuration overloads a server using default timeouts
@@ -70,6 +76,7 @@ so pushing a new tag.
7076 This makes writing wrappers around Query easier. (#1700 )
7177
7278### Fixed
79+
7380- Potential panic on deserialization (#1695 )
7481- Unmarshalling of dates outside of ` [1677-09-22, 2262-04-11] ` range. (#1692 )
7582
@@ -139,14 +146,17 @@ so pushing a new tag.
139146This release improves support for connecting through proxies and some improvements when using Cassandra 4.0 or later.
140147
141148### Added
149+
142150- HostDialer interface now allows customizing connection including TLS setup per host. (#1629 )
143151
144152### Changed
153+
145154- The driver now uses ` host_id ` instead of connect address to identify nodes. (#1632 )
146155- gocql reads ` system.peers_v2 ` instead of ` system.peers ` when connected to Cassandra 4.0 or later and
147156 populates ` HostInfo.Port ` using the native port. (#1635 )
148157
149158### Fixed
159+
150160- Data race in ` HostInfo.HostnameAndPort() ` . (#1631 )
151161- Handling of nils when marshaling/unmarshaling lists and maps. (#1630 )
152162- Silent data corruption in case a map was serialized into UDT and some fields in the UDT were not present in the map.
@@ -155,12 +165,14 @@ This release improves support for connecting through proxies and some improvemen
155165## [ 1.1.0] - 2022-04-29
156166
157167### Added
168+
158169- Changelog.
159170- StreamObserver and StreamObserverContext interfaces to allow observing CQL streams.
160171- ClusterConfig.WriteTimeout option now allows to specify a write-timeout different from read-timeout.
161172- TypeInfo.NewWithError method.
162173
163174### Changed
175+
164176- Supported versions of Go that we test against are now Go 1.17 and Go 1.18.
165177- The driver now returns an error if SetWriteDeadline fails. If you need to run gocql on
166178 a platform that does not support SetWriteDeadline, set WriteTimeout to zero to disable the timeout.
@@ -171,14 +183,18 @@ This release improves support for connecting through proxies and some improvemen
171183 sessions was never supported.
172184
173185### Fixed
186+
174187- The driver no longer resets the network connection if a write fails with non-network-related error.
175188- Blocked network write to a network could block other goroutines, this is now fixed.
176189- Fixed panic in unmarshalUDT when trying to unmarshal a user-defined-type to a non-pointer Go type.
177190- Fixed panic when trying to unmarshal unknown/custom CQL type.
178191
179192## Deprecated
193+
180194- TypeInfo.New, please use TypeInfo.NewWithError instead.
181195
182196## [ 1.0.0] - 2022-03-04
197+
183198### Changed
199+
184200- Started tagging versions with semantic version tags
0 commit comments