Releases: blackbeam/rust-mysql-simple
Releases · blackbeam/rust-mysql-simple
v22.0.0
What's new
native-tlsis now optional (thanks to @TheDutchMC) and the new rustls-based TLS backend added to the library. Please see the "SSL Support" section in the crate docs.- now the buffer pool is lock-free and optional (controlled by the
buffer-poolfeature). Please see the "Buffer Pool" section in the crate docs.
Breaking
-
mysql_commonversion bumped to 0.28.0, this means that now there is another set of enabledmysql_commonfeatures:mysql_common/chrono– disabled due to RUSTSEC-2020-0159mysql_common/timereplaced withmysql_common/time03mysql_common/bigdecimalreplaced withmysql_common/bigdecimal03
-
chrono,timeanduuidreexports are removed
API changes
QueryResult::next_setrenamed toQueryResult::iter(QueryResult::next_setis still available but deprecated). Docstring is updated to clarify the behavior.
Fixes
- turns out previous versions wasn't able to properly bind to the specified bind address in some circumstances. This is now fixed.
Internal improvements
Bumped dependenices
- pem to 1.0.1
- lru to 0.7 (by @Roguelazer)
v21.0.2
v21.0.1
v21.0.0
New features:
- it is now possible to subscribe to a binary log stream (see
Conn::get_binlog_stream) mysql_old_passwordplugin support was added (seeOptsBuilder::secure_auth)- new
FromRowimplementation 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_commonwas updated to v0.22.2,- tests for blackbeam/mysql_async#107 was added,
- pool exhaustion was fixed by @SpaceManiac (#226),
- the
net2crate was removed in favor of thesocket2crate (#233), - the
Protocoltrait was exported by @mguillemot-elt (#235), - various fixes in documentation (thanks to @dbanty, @nbrady-techempower, @Elykz, @eldad)
- #244 and related issues were fixed (hopefully)