Skip to content

Releases: mysql-net/MySqlConnector

0.40.0

18 Apr 15:12

Choose a tag to compare

Download on NuGet

  • Add DateTimeKind connection string setting: #479.
  • Fix ArgumentException for SslProtocols.None: #482.
  • Fix IOException being thrown at startup: #475.
  • Fix race condition in OpenTcpSocketAsync: #476.
  • Optimise MySqlConnection.Open when ConnectionReset=true (default): #483.
  • Thanks to @ejball for contributions to this release.

MySqlConnector.Logging.Microsoft.Extensions.Logging

  • Reduce dependencies to just Microsoft.Extensions.Logging.Abstractions.

0.39.0

05 Apr 22:53

Choose a tag to compare

Download on NuGet

  • Add IgnoreCommandTransaction connection string setting: #474.

0.38.0

28 Mar 15:06

Choose a tag to compare

Download on NuGet

  • Add Serilog logging provider: #463.
  • Add NLog logging provider: #470
  • Implement IDbDataParameter on MySqlParameter: #465.
  • Implement MySqlDataReader.GetChar: #456.
  • Add MySqlDataReader.GetFieldType(string) overload: #440.
  • Fix a connection pooling session leak in high contention scenarios: #469.
  • Fix overhead of extra connection pools created in a race: #468.
  • Thanks to @marcrocny and @snakefoot for contributions to this release.

0.37.1

21 Mar 17:11

Choose a tag to compare

Download on NuGet

  • Serialize enum parameter values as strings when MySqlParameter.MySqlDbType is set to MySqlDbType.String or VarChar: #459.
  • Require ConnectionIdlePingTime (added in 0.37.0) to be explicitly set to a non-zero value to avoid pinging the server.
  • Thanks to @Naragato for contributions to this release.

0.37.0

20 Mar 06:52

Choose a tag to compare

Download on NuGet

  • Support TLS 1.2 on Windows clients: #458.
    • Use the best TLS version supported by the OS, as per best practices.
  • Add ConnectionIdlePingTime connection string setting (Experimental): #461.
  • Fix failure to log in for accounts with empty passwords that use caching_sha2_password.
  • Throw MySqlException for invalid port number in connection string.

0.36.1

07 Mar 04:09

Choose a tag to compare

Download on NuGet

  • Reap connections more frequently if ConnectionIdleTimeout is low: #442.
  • Fix ArgumentOutOfRangeException when command times out: #447.
  • Speed up connection pooling (particularly in applications that only have one connection string).
  • Reduce heap allocations in common scenarios.

0.36.0

16 Feb 17:03

Choose a tag to compare

Download on NuGet

  • Breaking Require CertificateFile to include private key (for mutual authentication): #436.
  • Add MySqlDataReader.GetX(string) overloads: #435.
  • Add MySqlDataReader.GetTimeSpan: #438.
  • Add MySqlDataReader.GetUInt16, GetUInt32, GetUInt64: #439.
  • Set MySqlConnection.State to ConnectionState.Closed when the connection fails: #433.
  • Fix error parsing -- comments in SQL: #429.
  • Fix error parsing C-style comments in SQL.
  • Breaking Wrap unhandled SocketException in MySqlException: #434.

0.35.0

21 Jan 05:44

Choose a tag to compare

Download on NuGet

  • Add MySqlCommandBuilder.DeriveParameters: #419.
  • Add MySqlConnection.Ping and MySqlConnection.PingAsync: #260.

0.34.2

10 Jan 23:22

Choose a tag to compare

Download on NuGet

  • Fix exception when a stored procedure returns NULL for an OUT parameter: #425.

0.34.1

09 Jan 23:29

Choose a tag to compare

Download on NuGet

  • Add overloads of MySqlParameterCollection.Add: #424.
  • Fix conversion of MySqlCommand.LastInsertedId: #422.
  • Fix "Expected state to be Failed but was Connected" InvalidOperationException: #423.
  • Improve performance when calling stored procedures with no parameters (this was regressed in 0.34.0).
  • Reduce severity of some logging statements.