Skip to content

Releases: blackbeam/rust-mysql-simple

v11.3.0

03 Jul 14:53
Compare
Choose a tag to compare

v11.2.0

21 Jun 18:46
Compare
Choose a tag to compare

Changes:

  • New stmt_cache_size option and connection URL parameter (fix #105)
  • Improved documentation and panic messages for FromRow trait

v11.1.2

01 Jun 16:44
Compare
Choose a tag to compare

@klingtnet made Pool::new more generic via impl<T: AsRef<str>> From<T> for Opts.

v11.1.1

27 May 08:44
Compare
Choose a tag to compare

@petrochenkov fixed build on nightly rust (see #99).

v11.1.0

14 May 18:54
Compare
Choose a tag to compare
  • bind_address option implemented. (fix #97)
  • tcp_connect_timeout implemented on windows.

v11.0.0

29 Apr 09:59
Compare
Choose a tag to compare
  • Serde updated to v1.0.
  • Serde now used by default and rustc-serialze hidden behind rustc-serialize feature.
  • Unserialized renamed to Deserialized.

v10.0.0

26 Feb 16:04
Compare
Choose a tag to compare

Changes:

  1. #92 fixed.
  2. uuid & chrono versions bumped.

v9.1.0

23 Feb 14:06
Compare
Choose a tag to compare

Changes:

  1. Serde-based JSON support via serde_integration feature (thanks to @TheServerAsterisk).
  2. Connect timeout is implemented and available through tcp_connect_timeout option and tcp_connect_timeout_ms url parameter.

v9.0.0

25 Jan 18:19
Compare
Choose a tag to compare

Changes:

  1. JSON support.
  2. openssl updated to v0.9
  3. tcp_keepalive_timeout_ms option added.

JSON Support

  1. FromValue is implemented for rustc_serialize::json::Json and for Unserialized<T> where T: Decodable:

    #[derive(RustcDecodable)]
    struct DecodableStruct {
        // ...
    }
    // ...
    let (Unserialized(val),): (Unserialized<DecodableStruct>,)
        = from_row(row_with_single_json_column);
  2. From<Json> and From<Serialized<T>> where T: Encodable is implemented for Value:

    #[derive(RustcEncodable)]
    struct EncodableStruct {
        // ...
    }
    // ...
    conn.prep_exec("INSERT INTO table (json_column) VALUES (?)",
                   (Serialized(encodable_struct_instance),));

v8.0.0

25 Dec 21:33
Compare
Choose a tag to compare

Changes:

  1. Reexport chrono and time crates (@deniskolodin).
  2. Conditional compilation and io module refactoring (@deniskolodin).
  3. socket, pipe and uuid features removed.
  4. Native ssl support on OS X (via security framework).
  5. Fix unicode handling in parse_named_params.
  6. ssl feature is now opt-in.
  7. GenericConnection trait introduced (@alex-gulyas).
  8. Traits reexports moved to mysql::prelude module.