Skip to content

Releases: blackbeam/rust-mysql-simple

v5.0.0

22 May 18:28
Compare
Choose a tag to compare

Changes:

  1. Named parameters for prepared statements now supported (docs)

Breaking changes:
1 Few new variants for DriverError enum related to named parameters support.

v4.0.0

17 May 17:37
Compare
Choose a tag to compare

Changes:

  1. Fix #44
  2. UrlError::BadUrl variant added

v2.2.0

18 Mar 17:07
Compare
Choose a tag to compare

Changes:

  1. Pool::prepare and Pool::prep_exec will not check or fix connection health.
  2. Implement to/from Value for chrono's NaiveDateTime, NaiveDate and NaiveTime.
  3. Various performance improvements.

v2.1.0

24 Feb 17:50
Compare
Choose a tag to compare
bump version

v2.0.0

14 Feb 14:09
Compare
Choose a tag to compare

Changes:

  1. Connection URL parsing implemented.
  2. Pool and Conn constructors now takes Into<Opts> (implemented for &str).
  3. Everything was reexported to top level.
  4. Few new structs added:
    • Row - to replace raw Vec<Value>
    • MySqlError - to replace reexported ErrPacket
    • Params - to replace raw Vec<Value>. This is for upcoming #31 fix.
  5. IntoValue removed in favor of Into<Value>
  6. ToRow removed in favor of Into<Params>
  7. SignedDuration removed in favor of time crate's Duration
  8. Bunch of renames:
    • Rename Opts.tcp_addr -> Opts.ip_or_hostname
    • Rename MyConn -> Conn
    • Rename MyPool -> Pool
    • Rename MyPooledConn -> PooledConn
    • Rename MyError -> Error
    • Rename MyIoError -> IoError
    • Rename MyDriverError -> DriverError
    • Rename MySslError -> SslError
    • Rename MyResult -> Result