Releases: blackbeam/rust-mysql-simple
Releases · blackbeam/rust-mysql-simple
v27.0.0
What's Changed
- Adding MariaDB bulk execution functionality. by @lawrinn in #408
- Fix PoolConstraints infinite wait when the max value Is zero by @powerumc in #398
Breaking
- New variants for
DriverErrorenum added:DriverError::ParamsDriverError::BulkExecute
- Some variants for
DriverErrorwere removed:DriverError::MissingNamedParameter— moved under the newDriverError::ParamsvariantDriverError::NamedParamsForPositionalQuery— moved under the newDriverError::Paramsvariant
DriverErrorno longer implementsEq
New Contributors
Full Changelog: v26.0.1...v27.0.0
v26.0.1
What's Changed
- add glue code for ed25519 auth method in mysql_common by @daniel-pfeiffer in #399
- Issue #401 Support of MariaDB prepared statement metadata caching. by @lawrinn in #406
New Contributors
- @daniel-pfeiffer made their first contribution in #399
- @lawrinn made their first contribution in #406
Full Changelog: v26.0.0...v26.0.1
v26.0.0
Breaking
- Reduce the set of default features by @blackbeam in #394
- Bump
mysql_commonto 0.34 (see release notes)
What's Changed
- docs: fix typos by @ByteBaker in #388
- Remove
dbg!macro invocation fromrustls_opts.rsby @blackbeam in #390 - ci: mariadb - new versions by @grooverdan in #382
- Upgrade to twox-hash 2.0 by @shepmaster in #391
- Use small on-stack buffer for LocalInfile by @blackbeam in #393
New Contributors
- @ByteBaker made their first contribution in #388
- @grooverdan made their first contribution in #382
- @shepmaster made their first contribution in #391
Full Changelog: v25.0.1...v26.0.0
v25.0.1
What's Changed
- rustls: fix NotValidForName error detection by @blackbeam in #375
- Add pkcs8 and sec1 keys support for rustls TLS backend. by @blackbeam in #381
- Replace lazy_static & once_cell with std::sync::OnceLock by @serprex in #376
New Contributors
Full Changelog: v25.0.0...v25.0.1
v25.0.0
What's Changed
- docs: fix spelling errors by @robjtede in #356
- Fine-tune the Ordering for count by @wang384670111 in #367
- (breaking) Bump mysql_common from 0.30 to 0.31. by @altmannmarcelo in #373
- (breaking) Bump mysql_common from 0.31 to 0.32. by @blackbeam in c40205f
- (breaking) Introduce
binlogfeature. by @blackbeam in 8c7cb13 - (breaking) Proxy mysql_common features. by @blackbeam in 8c7cb13
- (breaking) feat!: ping and select_db return Result by @robjtede in #355
New Contributors
- @robjtede made their first contribution in #356
- @wang384670111 made their first contribution in #367
- @altmannmarcelo made their first contribution in #373
Full Changelog: v24.0.0...v25.0.0
v24.0.0
Breaking changes
- please look into mysql_common v0.30.1 release notes for the list of breaking changes
New features:
- New
FromRowandFromValuederive macros (seemysql_commoncrate-level docs) mysql_clear_passwordauth plugin support implemented (opt-in viaOpts::enable_cleartext_plugin)COM_CHANGE_USERis now supported (seeConn::change_userandPooledConn::change_user)
Other changes:
- Pool-related options are moved to the new
PoolOptsstructure Pollwill now reset acquired connections (see blackbeam/mysql_async#240)Conn::resetwill now falls back toCOM_CHANGE_USERinstead 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_attrsnow takesOption<HashMap>- set toNone
to opt-out of connect attrsOpts::get_connect_attrsnow returnsOption
Auto-generated changelog follows
What's Changed
- Use user-friendly Result alias by @kornelski in #346
- Implement mysql_clear_password plugin support by @blackbeam in #345
- Release v24.0.0 by @blackbeam in #351
New Contributors
- @kornelski made their first contribution in #346
Full Changelog: v23.0.1...v24.0.0
v23.0.1
v23.0.0
What's Changed
- breaking bump mysql_common to 0.29 by @blackbeam in #338 (see mysql_common release notes)
- new
default-rustlsandminimalfeatures (see Crate Features section of the README)
Full Changelog: v22.2.0...v23.0.0
v22.2.0
What's new
- @fulara added two new options into the
Optsstructure & connection URL (see #310):tcp_keepalive_probe_interval_secs– TCP keep alive interval between subsequent probestcp_keepalive_probe_count– TCP keep alive probe count
{Conn, Pool}::newnow supports literal URLs.
Please note, that I accidentally violated the semver here 🙇.
Fixes
Other changes
- fix some typos by @cuishuang in #321
- nix dependency is removed by @rtzoeller in #322
- Fix docs for creating a connection from URL by @Zomtir in #327
New Contributors
- @cuishuang made their first contribution in #321
- @rtzoeller made their first contribution in #322
v22.1.0
What's new
- @fulara added a way to control TCP_USER_TIMEOUT for a connection using the new
tcp_user_timeoutoption (see #307). Please note that this is only fortarget_os = "linux". - @fulara implemented
AsRawFdforConn(see #307)
Fixes
- 3c4d4ee fixes the infinite loop in
QueryResult, that may be triggered by a connectivity error (reported by @fulara in #306)