-
New Features:
- [CLIENT-1192] Adds Support for partition scans. Queries which lack a
Statement.Filter
will be automatically converted to partition scans. If the cluster supports partition scans, all Scans and Queries will use the new protocol to allow retrying in case of some errors. - [CLIENT-1237] Adds Support for
MultiPolicy.MaxRecords
in scans and queries withoutStatement.Filter
. - Adds
NewHosts
convenience function. (Github #320) thanks to Yegor Myskin
- [CLIENT-1192] Adds Support for partition scans. Queries which lack a
-
Improvements
- Adds a few missing error checks.
- Moves examples files to dedicated folders to avoid
multiple main function
errors for new users. - Some documentation clean up. (Github #314) thanks to Shin Uozumi
- Fix typo in example
NewKey()
. (Github #331) thanks to Patrick Kuca - Adds an example to list operations (using operate and list policy).
- Runs the XDR tests only when XDR is configured on the server.
- Add TLS config to test params.
- Mark
NewPredExpXXX
return value as the PredExp interface instead of concrete type. It will now group them under thePredExp
interface in the docs.
-
Changes
- Only use
Policy.Priority
andMultiPolicy.FailOnClusterChange
on server versions < 4.9.Priority
is now deprecated and replaced withMultiPolicy.RecordPerSecond
. Statement.TaskID
is deprecated and will be removed in the next major version.ScanPolicy.ConcurrentNodes
is deprecated and will be removed in the next major version.
- Only use