Releases: blackbeam/rust-mysql-simple
Releases · blackbeam/rust-mysql-simple
v21.0.0
New features:
- it is now possible to subscribe to a binary log stream (see
Conn::get_binlog_stream
) mysql_old_password
plugin support was added (seeOptsBuilder::secure_auth
)- new
FromRow
implementation was added forfrunk::HList
. This allows to perform row-to-tuple conversion for tuples of arbitrary arity (usingHCons::into_tuple2
)
Internal improvements:
- binary serialization/deserialization was improved (up to 20% speedup)
Other:
- io-enum bumped to v1 (by @taiki-e)
- socket2 library bumped to v0.4 (by @Thomasdezeeuw)
- various documentation improvements (by @Zomtir, @prewriter, @2efPer)
v20.1.0
v20.0.1
This release removes some obvious inefficiencies in client-server communication (5-40 % improvement in diesel-rs/diesel#2507)
v20.0.0
v19.0.1
v19.0.0
mysql_common
was updated to v0.22.2,- tests for blackbeam/mysql_async#107 was added,
- pool exhaustion was fixed by @SpaceManiac (#226),
- the
net2
crate was removed in favor of thesocket2
crate (#233), - the
Protocol
trait was exported by @mguillemot-elt (#235), - various fixes in documentation (thanks to @dbanty, @nbrady-techempower, @Elykz, @eldad)
- #244 and related issues were fixed (hopefully)
v18.2.0
v18.1.0
v18.0.0
Breaking changes:
Conn::{query, first, *_exec, ...}
were removed in favor ofQueryable
trait (see crate docs);Pool::{prepare, *_exec, ...}
were removed in favor ofTextQuery
andBinQuery
traits (see crate docs);- helpers for batch statement execution were added in forms of
Queryable::batch_exec
method andBatchQuery
trait (see crate docs); Stmt
was removed in favor of the newStatement
structure, which is a thin wrapper around statement identifier. There are few caveats, please consult the corresponding section in the crate docs;OptsBuilder
andSslOpts
methods now takes self by value;QueryResult
interface was altered;start_transaction
now takes newTxOpts
structure;