Skip to content

Releases: blackbeam/rust_mysql_common

v0.34.1

17 Jan 07:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.34.0...v0.34.1

v0.34.0

31 Dec 12:51
Compare
Choose a tag to compare

Breaking

  • mysql-common-derive was updated to v0.32.0. See the release notes.

What's Changed

Full Changelog: v0.33.0...v0.34.0

derive-0.32.0

31 Dec 12:17
Compare
Choose a tag to compare

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 of FromValue implementation). Expected signature is fn (Value) -> Result<T, FromValueError>.
  • #[mysql(serialize_with = "some::path")] – the following function will be used to serialize the field (instead of Into<Value> implementation). Expected signature is fn (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

08 Nov 07:40
Compare
Choose a tag to compare

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 the bigdecimal feature (see update "Crate features" table)
  • almost all of the previously default features are now non-default (see update "Crate features" table)

Other Changed

New Contributors

Full Changelog: v0.32.4...v0.33.0

derive-0.31.2

08 Nov 07:38
Compare
Choose a tag to compare

What's Changed

  • Replace proc-macro-error crate with proc-macro-error2 by @rs-sac in #148

New Contributors

v0.32.4

09 Jun 19:23
Compare
Choose a tag to compare

What's Changed

  • Read TLV length correctly in optional metadata by @maorsaleh in #139

New Contributors

Full Changelog: v0.32.3...v0.32.4

v0.32.3

17 May 10:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.32.2...v0.32.3

derive-0.31.1

04 Apr 12:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.32.2...derive-v0.31.1

v0.32.2

01 Apr 11:38
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.32.1...v0.32.2

v0.32.1

18 Mar 15:11
Compare
Choose a tag to compare

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