Skip to content

8.1.0

Latest
Compare
Choose a tag to compare
@krojew krojew released this 26 Apr 12:11
· 59 commits to master since this release

Fixed

  • Sending envelopes now properly jumps to next node in query plan, if current one is unreachable.
  • Fixed stack overflow when cannot determine field type during struct serialization.
  • Properly supporting references during struct serialization.

New

  • Many types are now Debug.
  • HTTP proxy support via the http-proxy feature.
  • InvalidProtocol special error for a case when a node doesn't accept requested protocol during handshake.
  • ConnectionPoolConfigBuilder for building configuration easily.
  • Configurable heartbeat messages to keep connection alive in the pool.

Changed

  • Made protocol enums non-exhaustive for future compatibility.
  • Session builders are now async and wait for control connection to be ready before returning a session.
  • CBytes::new_empty() -> CBytes::new_null(), CBytes::is_empty() -> CBytes::is_null_or_empty().
  • Removed Ord, ParialOrd from QueryFlags.
  • Using rustls types exported from tokio-rustls, rather than depending on rustls directly.
  • Due to an edge case with reconnecting to a seemingly downed node, internal reconnection handling mechanism has been improved.
  • Hidden internal structures, which were public but not usable in any way.