UPD
It was mentioned by @rubenfiszel in #389 that there was another subtle breaking change introduced in v0.37.0 release:
It is now an error to give positional parameters to a named query — previously only the DriverError::NamedParametersForPositionalQuery error was emitted and positional-for-named case wasn't covered at all (by the deprecated Params::into_positional function).
In v0.37.0 new DriverError::Params variant was introduced and the positional-for-named case is covered by the new Params::into_values function.
What's Changed
- Fix active wait requests metric by @9uapaw in #365
- Add support for connection attributes by @altmannmarcelo in #375
- Upgrade
lruto v0.16 by @paolobarbolini in #382 StatementLikelifetime consistency inQueryableby @ch3pjw in #378- Fix the error message by @elbaro in #377
- Fix spelling error in README.md by @turkerali in #381
- Do not return connections to the pool if an error occurs in ROLLBACK by @goffrie in #376
- Expose disconnected state of the connection by @altmannmarcelo in #374
- Make the Waitlist responsible for calling wake by @espindola in #367
- Convert disconnect_pool to an async function by @espindola in #369
- Re-implement get_conn as a plain async fn by @espindola in #285
- Hide GetConn by @espindola in #278
- Change tcp_keepalive to take a std::Duration by @espindola in #351
- Remove unused dependency by @espindola in #357
- Convert another macro into a function by @espindola in #359
- Make pem an optional dependency by @espindola in #361
- Tie connection_in_pool metric to the in pool queue operations by @9uapaw in #363
- Don't use an arbitrary bound in histograms by @espindola in #352
- Add connections in use metrics by @9uapaw in #364
- Return () from Waitlist::remove by @espindola in #371
- Return () from Waitlist::push by @espindola in #370
- Support of MariaDB Parsec plugin authentication by @lawrinn in #386
- More explicit multi-runtime support (e.g. actix-web) by @davidrjonas in #387
- Add MariaDb's
COM_STMT_BULK_EXECUTEsupport by @blackbeam in #388 - fix: bump lru to 0.16.3 (RUSTSEC-2026-0002) by @HatemMn in #390
- Porting of the support of MariaDB metadata skip option from mysql_simple by @lawrinn in #393
- Remove dependency on rustls-pemfile, use rustls::pki_types directly by @goffrie in #392
- Add Opts::after_connect callback by @goffrie in #391
- Multiruntime pool warning (revert #387) by @davidrjonas in #389
- Support PKCS#8 and SEC1 private keys in rustls ClientIdentity by @grelner in #394
New Contributors
- @9uapaw made their first contribution in #365
- @ch3pjw made their first contribution in #378
- @elbaro made their first contribution in #377
- @turkerali made their first contribution in #381
- @lawrinn made their first contribution in #386
- @davidrjonas made their first contribution in #387
- @HatemMn made their first contribution in #390
- @grelner made their first contribution in #394
Full Changelog: v0.36.1...v0.37.0