Releases: blackbeam/rust_mysql_common
Releases · blackbeam/rust_mysql_common
v0.34.1
What's Changed
- Make
bindgen
an optional dependency by @blackbeam in #156
Full Changelog: v0.34.0...v0.34.1
v0.34.0
Breaking
mysql-common-derive
was updated to v0.32.0. See the release notes.
What's Changed
- Add From<&str> for CollationID by @altmannmarcelo in #153
Full Changelog: v0.33.0...v0.34.0
derive-0.32.0
Breaking
The with
attribute of the FromRow
derive macro was replaced with the following pair of attributes:
#[mysql(deserialize_with = "some::path")]
– the following function will be used to deserialize the field (instead ofFromValue
implementation). Expected signature isfn (Value) -> Result<T, FromValueError>
.#[mysql(serialize_with = "some::path")]
– the following function will be used to serialize the field (instead ofInto<Value>
implementation). Expected signature isfn (T) -> Value
. This is only used in a recovery path to restore the original row when conversion fails.
Full Changelog: derive-0.31.2...derive-0.32.0
v0.33.0
Breaking changes
- Add vector type added in MySQL 9.0 by @dbussink in #142
- Remove
HlistFromRow
helper trait. by @blackbeam in #150 (fixes #149) time
v0.2.x support dropped- all
bigdecimal..
features are replaced with thebigdecimal
feature (see update "Crate features" table) - almost all of the previously default features are now non-default (see update "Crate features" table)
Other Changed
- update to base64 0.22 by @serprex in #143
- jsonb: Introduce
JsonDom
type and parsing/conversion by @blackbeam in #147 (see #145)
New Contributors
Full Changelog: v0.32.4...v0.33.0
derive-0.31.2
v0.32.4
What's Changed
- Read TLV length correctly in optional metadata by @maorsaleh in #139
New Contributors
- @maorsaleh made their first contribution in #139
Full Changelog: v0.32.3...v0.32.4
v0.32.3
What's Changed
- added: parse integers to bool by @thed0ct0r in #134
- Add proper support for collations by @altmannmarcelo in #135
Full Changelog: v0.32.2...v0.32.3
derive-0.31.1
What's Changed
- fix unqualified
Result
in generated code by @blackbeam in #131
Full Changelog: v0.32.2...derive-v0.31.1
v0.32.2
What's Changed
- Respect quoted identifiers in
ParsedNamedParams::parse
(fix #129) by @blackbeam in #130
Full Changelog: v0.32.1...v0.32.2
v0.32.1
What's Changed
- fix: update MariaDB version regex to make the version hack optional by @Jolg42 in #125
- Expose a flags() method on RowsEventData to read corresponding event flags by @rjobanp in #126
- Add flags_raw() methods for rows events by @blackbeam in #127
New Contributors
Full Changelog: v0.32.0...v0.32.1