Releases: blackbeam/mysql_async
Releases · blackbeam/mysql_async
v0.32.0 (Yanked)
Breaking changes
- please look into mysql_common v0.30.1 release notes for the list of breaking changes
New features:
- Add
FromRow
andFromValue
derive macros (see mysql_common crate-level docs) - New
Opts::client_found_rows
setting to return found rows when writing to the database (by @pimeys in #236) mysql_clear_password
support is implemented (opt-in viaOpts::enable_cleartext_plugin
)COM_CHANGE_USER
is now supported (viaConn::change_user
function)
Other changes:
Poll
will now reset acquired connections (see #240)Conn::reset
will now falls back toCOM_CHANGE_USER
instead of reconnecting
Auto-generated changelog follows
What's Changed
- Capabilities setup by @blackbeam in #236
- Allow setting to return found rows when writing to the database by @pimeys in #235
- Update to lru v0.10.0 by @benesch in #238
- Prepare 0.32.0 release by @blackbeam in #242
New Contributors
Full Changelog: v0.31.3...v0.32.2
v0.31.3
What's Changed
- Add support for tracing by @cloneable in #224
- Introduce SSL-related query params (fix #225) by @blackbeam in #226
- Allow specifying an initial pooled buffer size by @cloneable in #229
- Don't emit INFO spans for administrative queries by @cloneable in #228
- Record errors from routines in tracing spans by @cloneable in #230
Full Changelog: v0.31.2...v0.31.3
v0.31.2
v0.31.1
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: