Releases: blackbeam/rust_mysql_common
Releases · blackbeam/rust_mysql_common
v0.27.0
What's new:
- Binary logging related structures was added
FromRow
was implemented forfrunk::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
anduuid
support (see #31)
Other:
- xxhash was removed (see #32)
v0.26.0
v0.24.0
Changes:
- the
params
macro will now emit an instance of theParams
structure (see blackbeam/rust-mysql-simple#249).
v0.23.0
failure
dependency was removed by @mguillemot;- another fix in
OkPacket::parse
.
v0.22.2
v0.22.0
Breaking changes:
time
was updated to0.2
by @kevinpoitraStringIr
andBytesIr
was replaced by a plainVec<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
Breaking changes:
parse_ok_packet
now requiresOkPacketKind
(see WL#7766) (related issue – blackbeam/mysql_async#107)Value::Float(f64)
was split intoValue::Float(f32)
andValue::Double(f64)
by @tomhoule (see #17, this comment)
v0.18.1
Changes:
- Fix for blackbeam/mysql_async#81 was added.
v0.19.1
v0.19.0
Changes
- dependencies are updated;
mysql_common::proto
module was introduced (RawPacket
andPacketParser
were removed) (⚠ breaking):PacketCodec
structure – implementation of the MySql protocol codec (including compression support);MySyncFramed
structure – synchronous version oftokio
'sFramed
structure;
lenenc_int_len
andlenenc_str_len
helper functions were added;- some more packet builders were added:
ComStmtExecuteRequestBuilder
– builder forCOM_STMT_EXECUTE
(serialize_bin_many
function was removed) (⚠ breaking);ComStmtSendLongData
– builder forCOM_STMT_SEND_LONG_DATA
;ComStmtClose
– builder forCOM_STMT_CLOSE
;
from_row
andfrom_value
error messages now usingany::type_name
;