Skip to content

1.3.0

Compare
Choose a tag to compare
@bgrainger bgrainger released this 07 Mar 21:25
· 836 commits to master since this release
1.3.0
06f1252
  • Connections are now reset asynchronously in the background: #178.
    • This speeds up MySqlConnection.Open(Async) but still cleans up connections between uses.
    • Use DeferConnectionReset=true in the connection string to revert to the old behaviour.
    • Experimental Use ConnectionIdlePingTime=300 in the connection string to avoid any network I/O when retrieving a connection from the pool; this is fastest but may return invalid connections from Open. This setting is experimental and may change in the future.
  • Change default value of IgnorePrepare to false: #929.
    • Calling MySqlCommand.Prepare(Async) will have an effect by default.
  • Implement Azure Server Redirection: #789.
    • Support community protocol for server redirection: #945.
  • Support MemoryStream as a value for MySqlParameter.Value: #943.
  • Implement MySqlException.IsTransient: #849.
  • Implement IComparable<MySqlDateTime> and IEquatable<MySqlDateTime> on MySqlDateTime.
  • Breaking Remove public constructor for MySqlConversionException.
    • This constructor was never intended to be public.
  • Implement serialization for exceptions.
  • Report CommandTimeoutExpired consistently: #939.
    • This changes the MySqlException.ErrorCode from QueryInterrupted to CommandTimeoutExpired.
  • Nagle's Algorithm is disabled on TCP sockets: #921.
  • Adler32 checksum (for compressed packets) uses hardware acceleration: #865.
  • Set timeouts for cancellation operations from CancellationTimeout connection string option: #951.
  • Throw OperationCanceledException from OpenAsync when the CancellationToken is cancelled: #931.
  • Use transaction for 'SHOW WARNINGS': #918.
  • Improve exception message for unsupported parameter types: #925.
  • Fix exception in server version parsing: #934.
  • Fix silent failure to use TLS 1.3 (when explicitly requested) on older frameworks.
  • Fix error deserialising MySqlException.ErrorCode property.
  • Prevent exceptions being thrown from MySqlTransaction.Dispose: #923.
  • Fix nested MySqlException (thrown in some scenarios from ExecuteReader).
  • Use .NET 5.0 methods to load PEM certificates.
  • Thanks to @novak-as for contributions to this release.