Releases: blackbeam/mysql_async
Releases · blackbeam/mysql_async
v0.31.0
What's Changed
- Implemented rustls support, fixes #195 by @TobiasDeBruijn in #209
- Turn get_conn waiting queue into FIFO queue. by @cloneable in #213 (fixes #212)
New Contributors
- @TobiasDeBruijn made their first contribution in #209
- @cloneable made their first contribution in #213
Full Changelog: v0.30.0...v0.31.0
v0.30.0
What's New
- #190 simplifies LOCAL INFILE API as suggested by @cc-morning (see #188)
- thanks to @glittershark the driver is now able to use raw bytes as a query (suggested in #194 and implemented in #203, #204)
Fixes
- @oussama reported and @galeaspablo fixed an issue with the Pool ability to properly handle BinlogStream's Conn (see #200, #201)
- #205 fixes a subtle issue in DisconnectPool, that was reported by @heavycharged in #199
Other changes
- ci: Add TiDB tests by @blackbeam in #179
- Narrow the scope of unsafe blocks by @peamaeq in #193
- fix some typos by @cuishuang in #191
v0.29.0
Breaking
-
mysql_common
version bumped to 0.28.0, this means that now there is another set of enabledmysql_common
features:mysql_common/chrono
– disabled due to RUSTSEC-2020-0159mysql_common/time
replaced withmysql_common/time03
mysql_common/bigdecimal
replaced withmysql_common/bigdecimal03
You should be able to redefine this features in your Cargo.toml.
Also note, that
mysql_async::time
andmysql_async::uuid
reexports are now removed. Please use direct dependencies in your Cargo.toml
Improvements
Fixes
- #175 fixes
Conn::perform_auth_switch
that was broken in e18f47d (reported by @bfjnaude in #173) - #172 fixes resource leak in
Conn::drop
(reported by @WGH- in #171)\
Other
mio
bumped to 0.8lru
bumped to 0.7pem
bumped to 1.0
v0.28.1
This release adds streaming support to the QueryResult
(thanks to @nappa85, @dodomorandi).
Namely it adds two new methods:
QueryResult::stream
– to stream the current result set,QueryResult::stream_and_drop
– to stream the current result set and ignore subsequent sets.
Also this release adds a few convenience methods into Query
and Queryable
traits (they are based on QueryResult::stream_and_drop
):
Query::stream
– executes a query/statement and streams the first result set ignoring subsequent sets,Queryable::query_stream
– performs a query and streams the first result set ignoring subsequent sets,Queryable::exec_stream
– executes a statement and streams the first result set ignoring subsequent sets.
v0.28.0
New features:
- it is now possible to register as a slave and subscribe to a binlog event stream (see
Conn::get_binlog_stream
and this test) mysql_old_password
plugin support was added (seeOptsBuilder::secure_auth
)- new options for client side
max_allowed_packet
andwait_timeout
was added (see #151) - new
FromRow
implementation was added forfrunk::HList
. This allows to perform row-to-tuple conversion for tuples of arbitrary arity (usingHCons::into_tuple2
)
Improvements:
- binary serialization/deserialization was improved (up to 5% speedup)
Other:
v0.27.1
v0.26.1
v0.27.0
v0.25.1
v0.26.0
Breaking changes
- mysql_common bumped to v0.26
- tokio bumped to v1
- named pipes are temporary disabled (see tokio-rs/tokio#3388)
Improvements
- lru updated to v0.6.0
- multiple
pem
certs are now allowed inSslOpts::with_root_cert_path