Skip to content

Releases: mysql-net/MySqlConnector

2.4.0

12 Nov 21:00
2.4.0
76f8c51
Compare
Choose a tag to compare
  • Support .NET 9.0.
  • Possibly breaking Mark MySqlConnectorLogManager.Provider as [Obsolete]: #1397.
  • Possibly breaking Remove end-of-life .NET 7 target framework.
    • Users who wish to use DbDataSource need to target .NET 8.0 or later.
  • Possibly breaking Update dependencies:
    • Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 8.0.2.
    • System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.1.
  • Support trimming and native AOT: #1265.
  • Add MySqlDataSourceBuilder.UseConnectionOpenedCallback: #1508.
  • Add MySqlDbColumn.TableName: #1521.
  • Support zero-configuration SSL with MariaDB: #1500.
  • Support SET data type in functions: #1491.
  • Remove TABLESPACES schema: #1477.
  • Rewrite server redirection logic based on latest MariaDB specification: #1499.
  • Change variable name for better server compatibility: #1502.
  • Performance: Avoid SET NAMES commands when not necessary: #1497.
  • Fix "Can't replace active reader": #1469.
  • Fix potential NullReferenceException in MySqlConnection.Cancel: #1506.
  • Fix InvalidOperationException in FinishQuerying: #1341.
  • Provide logger to new MySqlConnection: #1510.
  • Use correct hostname when cancelling query: #1514.
  • Thanks to @AlexKerman and @rusher for contributions to this release.

2.4.0 Beta 2

20 Oct 04:48
2.4.0-beta.2
7b9a76e
Compare
Choose a tag to compare
2.4.0 Beta 2 Pre-release
Pre-release
  • Remove end-of-life .NET 7 target framework.
    • Users who wish to use DbDataSource need to target .NET 8.0 or later.
  • Fix "Can't replace active reader": #1469.
  • Update dependencies:
    • Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 8.0.2.
    • System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.1.

2.4.0 Beta 1

13 Oct 23:55
2.4.0-beta.1
d41e473
Compare
Choose a tag to compare
2.4.0 Beta 1 Pre-release
Pre-release
  • Support .NET 9.0.
  • Support zero-configuration SSL with MariaDB: #1500.
  • Add MySqlDataSourceBuilder.UseConnectionOpenedCallback: #1508.
  • Rewrite server redirection logic based on latest MariaDB specification: #1499.
  • Support SET data type in functions: #1491.
  • Performance: Avoid SET NAMES commands when not necessary: #1497.
  • Fix potential NullReferenceException in MySqlConnection.Cancel: #1506.
  • Provide logger to new MySqlConnection: #1510.
  • Use correct hostname when cancelling query: #1514.
  • Remove TABLESPACES schema: #1477.
  • Change variable name for better server compatibility: #1502.
  • Thanks to @rusher for contributions to this release.

2.3.7

22 Apr 14:03
2.3.7
72ee684
Compare
Choose a tag to compare
  • Fix NullReferenceException in MySqlDataReader.ActivateResultSet and MySqlDataReader.DisposeAsync: #1459.
    • This bug likely also caused "Packet received out-of-order" errors.
    • This was introduced in 2.3.0.
  • Fix rare NullReferenceException in ServerSession during cancellation: #1472.
  • Fix Foreign Keys schema not being generated asynchronously.

2.3.6

20 Mar 18:29
2.3.6
033abea
Compare
Choose a tag to compare
  • Fix VerifyCA incompatibility with AWS Aurora: #1462.
  • Verify that the server's root certificate is present (in the list of provided CA certificates) when using the SslCa connection string option and SslMode is VerifyCA or VerifyFull.
  • Optimization: Use pipelining to begin a transaction: #1286.
    • Use Pipelining = False; in your connection string to disable this optimization if there are compatibility issues.
  • Optimization: cache START TRANSACTION payloads.
  • Add transaction logging: #1411.
  • Fix incompatibility with MySQL Server 5.1: #1445.
    • This fixes a regression introduced in 2.3.0.
  • Thanks to @CRC32EX, @dlenski, and @rbanks54 for documentation contributions in this release.

2.3.5

21 Jan 16:31
2.3.5
5f83534
Compare
Choose a tag to compare
  • DLL files within the NuGet packages are now digitally signed.
  • Thanks to Devolutions for sponsoring this change.

2.3.4

14 Jan 15:36
2.3.4
0cad51c
Compare
Choose a tag to compare
  • Unify Application Name connection string option and MySqlDataSourceBuilder.UseName: #1434.
  • Remove TLS version fallback code: #1409.
  • Fix ArgumentOutOfRangeException in TimerQueue.Add: #1424.
  • Fix InvalidCastException when using stored procedures with MySQL 5.0: #1431.
  • Fix hang when disposing MySqlDataSource twice on .NET Framework.
  • Thanks to @SolacomYongYao for contributions to this release.

2.3.3

19 Dec 14:36
2.3.3
5a05ef2
Compare
Choose a tag to compare
  • Support COLUMN_NAME restriction for IndexColumns schema; this improves NHibernate compatibility.

2.3.2

18 Dec 19:45
2.3.2
65a73fc
Compare
Choose a tag to compare
  • Add Foreign Keys, Indexes, Index Columns schemas: #1419.
  • Fix exception when server doesn't send expected metadata: #1398.
  • Clear activity tags when retrying TLS: #1405.
  • Use underlying enum type when writing binary parameters: #1421.
  • Avoid retrying TLS negotiation when a non-recoverable exception occurs.
  • Thanks to @daebo01, @eaexo, and @trejjam for contributions to this release.

2.3.1

17 Nov 00:39
2.3.1
413b4bb
Compare
Choose a tag to compare

MySqlConnector

  • Add db.client.connections.timeouts counter to metrics: #1392.
  • Allow empty schemaRestrictions array to be passed to GetSchema: #1394.
  • Use higher-resolution timestamps for duration metrics: #1395.
  • Possibly Breaking Use seconds as the units for duration metrics; change type to double: #1396.
  • Thanks to @Thorium for contributions to this release.

MySqlConnector.DependencyInjection

  • Add AddKeyedMySqlDataSource to support keyed services: #1391.
  • Update Microsoft.Extensions.DependencyInjection.Abstractions dependency to 8.0.0.