Minor
-
New Features
- Add
ClientPolicy.SeedOnlyCluster
inClientPolicy
for using only seed nodes for connection. (Github #407) thanks to Sudhanshu Ranjan - [CLIENT-2307] Add
ExpInfinityValue()
andExpWildCardValue()
- Add
-
Improvements
- [CLIENT-2317] Better handle setting the
Error.InDoubt
flag in commands - [CLIENT-2379] Fix returning overall batch error
- Move particle type outside of internal and back to
types/
dir. - Updated dependencies to address security advisories.
- Improve tests in slow environments.
- Remove atomic integer operations, move to
Mutex
. - [CLIENT-2315] Use
BatchReadPolicy
inBatchRead
instead ofBatchPolicy
. - [CLIENT-2312] Remove support for old-style queries in very old server versions.
- [CLIENT-2265] Increase the required Go version to 1.17 to be able to compile a dependency which itself was updated due to security issues.
- [CLIENT-2317] Better handle setting the
-
Fixes
- Removes race condition from the client, resolves #399.
- [CLIENT-2339] Developer tests detecting race condition after updating query protocol.
- Assign
DefaultInfoPolicy
on Client initialization. - Fixed panics in Read Command Reflection API. (Github #402) thanks to Yegor Myskin
- [CLIENT-2283] Set correct return types in list/map read expressions.
- [CLIENT-2316], [CLIENT-2317]
BatchResult
Err
andResultCode
are not always set on errors, Incorrect in-doubt flag handling during batch operation.