Skip to content

Releases: blackbeam/rust_mysql_common

v0.27.0

10 May 11:17
Compare
Choose a tag to compare

What's new:

  • Binary logging related structures was added
  • FromRow was implemented for frunk::HList (to support tuples of arbitrary arity)

Improvements:

  • Deserialization now zero-copy (mostly)
  • Codec now uses user-provided buffer
  • Serialization now uses user-provided buffer
  • one can now opt-out from bigdecimal, chrono, frunk, rust_decimal, time and uuid support (see #31)

Other:

  • xxhash was removed (see #32)

v0.26.0

05 Jan 14:12
Compare
Choose a tag to compare
  • bytes bumped to 1.0
  • rand bumped to 0.8

v0.24.0

28 Sep 15:21
Compare
Choose a tag to compare

Changes:

v0.23.0

01 Sep 12:39
Compare
Choose a tag to compare
  • failure dependency was removed by @mguillemot;
  • another fix in OkPacket::parse.

v0.22.2

23 Aug 10:49
Compare
Choose a tag to compare

v0.22.0

13 Apr 09:09
Compare
Choose a tag to compare

Breaking changes:

  • time was updated to 0.2 by @kevinpoitra
  • StringIr and BytesIr was replaced by a plain Vec<u8>
  • row columns now represented as an Arc-ed slice

Fixes:

  • fix another "packet out of order" error when compression is enabled

v0.21.0

28 Mar 17:01
Compare
Choose a tag to compare

Breaking changes:

v0.18.1

30 Oct 10:08
Compare
Choose a tag to compare

Changes:

v0.19.1

27 Oct 10:19
Compare
Choose a tag to compare
  • Into<Vec<u8>> implementations was added for SslRequest and HandshakeResponse.

v0.19.0

27 Oct 09:51
Compare
Choose a tag to compare

Changes

  • dependencies are updated;
  • mysql_common::proto module was introduced (RawPacket and PacketParser were removed) (⚠ breaking):
    • PacketCodec structure – implementation of the MySql protocol codec (including compression support);
    • MySyncFramed structure – synchronous version of tokio's Framed structure;
  • lenenc_int_len and lenenc_str_len helper functions were added;
  • some more packet builders were added:
    • ComStmtExecuteRequestBuilder – builder for COM_STMT_EXECUTE (serialize_bin_many function was removed) (⚠ breaking);
    • ComStmtSendLongData – builder for COM_STMT_SEND_LONG_DATA;
    • ComStmtClose – builder for COM_STMT_CLOSE;
  • from_row and from_value error messages now using any::type_name;