Skip to content

Releases: krojew/cdrs-tokio

4.0.0

27 Apr 08:16
Compare
Choose a tag to compare

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 (see generic_connection.rs
    for example usage).
  • Possibility to use custom error types which implement FromCdrsError throughout the crate.
  • Consistency now implements FromStr.
  • Pagers can be converted into PagerState.
  • Support for v4 marshaled types.
  • Copy, Clone, Ord, PartialOrd, Eq, Hash for Opcode.
  • Customizable query retry policies with built-in FallthroughRetrySession and DefaultRetryPolicy.

Changed

  • TCP configuration now owns contained data - no need to keep it alive while the config is alive.
  • ExecPager is now public.
  • Bytes now implements From for supported types, instead of Into.
  • 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

02 Mar 09:54
Compare
Choose a tag to compare

Fixed

  • Remembering USEd keyspaces across connections.
  • Race condition on query id overflow.

Changed

  • Removed deprecated PasswordAuthenticator.
  • Removed unused Compressor trait.
  • Large API cleanup.
  • Renamed IntoBytes to AsBytes.
  • Authenticator can now be created at runtime - removed static type parameter.
  • Removed unneeded memory allocations when parsing data.

2.1.0

03 Feb 14:53
Compare
Choose a tag to compare

Fixed

  • Recreation of forgotten prepared statements.

New

  • rustls sessions constructors.

Changed

  • Updated tokio to 1.1.

2.0.0

05 Jan 09:47
Compare
Choose a tag to compare
  • Support for NonZero* types.
  • Support for chrono NaiveDateTime and DateTime<Utc>.
  • Update tokio to 1.0.
  • Pager supporting QueryValues and consistency.

1.0.0

17 Nov 06:48
Compare
Choose a tag to compare
removed extraneous keywords