Skip to content

Releases: blackbeam/rust_mysql_common

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;

v0.18.0

18 Aug 09:25
Compare
Choose a tag to compare

To/From value conversion was implemented for rust_decimal::Decimal, bigdecimal::BigDecimal, num_bigint::{BigInt, BigUint}, i128 and u128. See crate level documentation for details.

v0.17.1

07 May 18:38
Compare
Choose a tag to compare

v0.17.0

20 Apr 10:20
Compare
Choose a tag to compare
  • negative numbers parsing fixed by @gustavderdrache (see #10)
  • 8x speedup for time and datetime parsing (see #11)

v0.16.0

08 Mar 09:30
Compare
Choose a tag to compare

v0.14.0

19 Dec 20:37
Compare
Choose a tag to compare
  • Requirements on regex create are relaxed.
  • New methods Row::columns_ref(..) and Row::columns(..)