Skip to content

Releases: blackbeam/mysql_async

v0.32.0 (Yanked)

12 Apr 19:16
Compare
Choose a tag to compare

Breaking changes

New features:

  • Add FromRow and FromValue 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 via Opts::enable_cleartext_plugin)
  • COM_CHANGE_USER is now supported (via Conn::change_user function)

Other changes:

  • Poll will now reset acquired connections (see #240)
  • Conn::reset will now falls back to COM_CHANGE_USER instead of reconnecting

Auto-generated changelog follows

What's Changed

New Contributors

Full Changelog: v0.31.3...v0.32.2

v0.31.3

15 Feb 15:13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.31.2...v0.31.3

v0.31.2

10 Dec 09:27
Compare
Choose a tag to compare
  • #217 fixes result set terminator detection and parsing problems reported by @xudong963

v0.31.1

05 Dec 18:17
Compare
Choose a tag to compare
  • Remove waker from wait list when GetConn is dropped by @cloneable in #216

v0.31.0

12 Nov 21:18
a51930f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.30.0...v0.31.0

v0.30.0

02 Jun 08:21
91e3b40
Compare
Choose a tag to compare

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

Other changes

v0.29.0

17 Dec 13:36
207c335
Compare
Choose a tag to compare

Breaking

  • mysql_common version bumped to 0.28.0, this means that now there is another set of enabled mysql_common features:

    • mysql_common/chrono – disabled due to RUSTSEC-2020-0159
    • mysql_common/time replaced with mysql_common/time03
    • mysql_common/bigdecimal replaced with mysql_common/bigdecimal03

    You should be able to redefine this features in your Cargo.toml.

    Also note, that mysql_async::time and mysql_async::uuid reexports are now removed. Please use direct dependencies in your Cargo.toml

Improvements

Fixes

Other

  • mio bumped to 0.8
  • lru bumped to 0.7
  • pem bumped to 1.0

v0.28.1

18 Sep 12:04
Compare
Choose a tag to compare

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.

(See #166, #90)

v0.28.0

05 Jul 09:35
7522397
Compare
Choose a tag to compare

New features:

Improvements:

  • binary serialization/deserialization was improved (up to 5% speedup)

Other:

  • add Conn::last_ok_packet
  • migrate from crate::BoxFuture to futures_core::future::BoxFuture
  • documentation fixes (by @yerke)
  • fix #155

v0.27.1

20 Feb 08:45
59482d7
Compare
Choose a tag to compare

Fixes