Skip to content

Releases: mysql-net/MySqlConnector

1.3.4

22 Apr 00:08
1.3.4
aedaeba
Compare
Choose a tag to compare
  • Improve compatibility with MySQL Server 8.0.24:
    • Ignore new ER_CLIENT_INTERACTION_TIMEOUT error packet sent to timed-out connections: #970.
    • Known Issue: Connections with UseCompression=true may throw a MySqlProtocolException when timed out.

1.3.3

12 Apr 00:25
1.3.3
178f8d3
Compare
Choose a tag to compare
  • Support Enum parameters in prepared commands: #965.
  • Fix OverflowException reading OkPayload: #966.
  • Fix internal SQL parsing error with C-style comments.

1.3.2

22 Mar 23:15
1.3.2
69026f1
Compare
Choose a tag to compare
  • Fix a bug that could cause a timed-out query to still throw a QueryInterrupted MySqlException instead of CommandTimeoutExpired.

1.3.1

11 Mar 20:16
1.3.1
f024997
Compare
Choose a tag to compare
  • Remove two new Info log messages added in 1.3.0: #956.
    • The equivalent messages in 1.2.1 were at Debug level.
  • Make Adler32 class internal.
    • This was not intended to be added to the public API in 1.3.0.

1.3.0

07 Mar 21:25
1.3.0
06f1252
Compare
Choose a tag to compare
  • 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.

1.3.0-beta.4

14 Feb 17:42
1.3.0-beta.4
31f0f71
Compare
Choose a tag to compare
1.3.0-beta.4 Pre-release
Pre-release
  • Adler32 checksum (for compressed packets) uses hardware acceleration: #865.
  • Report CommandTimeoutExpired consistently: #939.
  • MySqlException.IsTransient is now false for CommandTimeoutExpired: #940.
  • Support MemoryStream as a value for MySqlParameter.Value: #943.
  • Throw OperationCanceledException from OpenAsync when the CancellationToken is cancelled: #931.
  • Support community protocol for server redirection: #945.
  • Fix nested MySqlException (thrown in some scenarios from ExecuteReader).
  • Remove public constructor for MySqlConversionException.
  • Implement serialization for exceptions.
  • Use .NET 5.0 methods to load PEM certificates.
  • Thanks to @novak-as for contributions to this release.

1.3.0-beta.3

14 Feb 17:41
1.3.0-beta.3
Compare
Choose a tag to compare
1.3.0-beta.3 Pre-release
Pre-release
  • Implement Azure Server Redirection: #789.
  • Change default value of IgnorePrepare to false: #929.
    • Calling MySqlCommand.Prepare(Async) will have an effect by default.
  • Implement IComparable<MySqlDateTime> and IEquatable<MySqlDateTime> on MySqlDateTime.
  • 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.

1.3.0-beta.2

05 Jan 06:18
1.3.0-beta.2
0527ba2
Compare
Choose a tag to compare
1.3.0-beta.2 Pre-release
Pre-release
  • Implement MySqlException.IsTransient: #849.
  • Nagle's Algorithm is disabled on TCP sockets: #921.
  • Prevent exceptions being thrown from MySqlTransaction.Dispose: #923.
  • Fix error deserialising MySqlException.ErrorCode property.

1.3.0-beta.1

25 Dec 20:26
1.3.0-beta.1
fa483fe
Compare
Choose a tag to compare
1.3.0-beta.1 Pre-release
Pre-release
  • 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.
  • Use transaction for SHOW WARNINGS: #918.

1.2.1

12 Dec 05:45
1.2.1
077de03
Compare
Choose a tag to compare
  • Fix bug in extracting PEM data when there's extra data in the certificate file: #912.
  • Thanks to @lauxjpn for contributions to this release.