Releases: krojew/cdrs-tokio
Releases · krojew/cdrs-tokio
4.0.0
Fixed
- Build problems with Rustls.
- TLS connections sometimes not flushing all data.
- Not setting current namespace when not using an authenticator.
New
- New
connect_generic_*
functions allowing custom connection configurations (seegeneric_connection.rs
for example usage). - Possibility to use custom error types which implement
FromCdrsError
throughout the crate. Consistency
now implementsFromStr
.- Pagers can be converted into
PagerState
. - Support for v4 marshaled types.
Copy
,Clone
,Ord
,PartialOrd
,Eq
,Hash
forOpcode
.- Customizable query retry policies with built-in
FallthroughRetrySession
andDefaultRetryPolicy
.
Changed
- TCP configuration now owns contained data - no need to keep it alive while the config is alive.
ExecPager
is now public.Bytes
now implementsFrom
for supported types, instead ofInto
.- Moved some generic types to associated types, thus removing a lot of type passing.
SessionPager
no longer needs mutable session.- A lot of names have been migrated to idiomatic Rust (mainly upper camel case abbreviations).
3.0.0
Fixed
- Remembering
USE
d keyspaces across connections. - Race condition on query id overflow.
Changed
- Removed deprecated
PasswordAuthenticator
. - Removed unused
Compressor
trait. - Large API cleanup.
- Renamed
IntoBytes
toAsBytes
. Authenticator
can now be created at runtime - removed static type parameter.- Removed unneeded memory allocations when parsing data.