Skip to content

v24.0.0

Compare
Choose a tag to compare
@blackbeam blackbeam released this 17 May 12:53
· 41 commits to master since this release
0a40252

Breaking changes

New features:

  • New FromRow and FromValue derive macros (see mysql_common crate-level docs)
  • mysql_clear_password auth plugin support implemented (opt-in via Opts::enable_cleartext_plugin)
  • COM_CHANGE_USER is now supported (see Conn::change_user and PooledConn::change_user)

Other changes:

  • Pool-related options are moved to the new PoolOpts structure
  • Poll will now reset acquired connections (see blackbeam/mysql_async#240)
  • Conn::reset will now falls back to COM_CHANGE_USER instead of reconnecting
  • thanks to @kornelski, mysql::Result alias is now more user-friendly (see #346)
  • there is a workaround for MySql Bug #92954, that affects MySql <5.7:
    Affected APIs:
    • OptsBuilder::connect_attrs now takes Option<HashMap> - set to None
      to opt-out of connect attrs
    • Opts::get_connect_attrs now returns Option

Auto-generated changelog follows

What's Changed

New Contributors

Full Changelog: v23.0.1...v24.0.0