Skip to content

Releases: mysql-net/MySqlConnector

2.2.0

08 Nov 16:59
2.2.0
004ec9e

Choose a tag to compare

  • Support .NET 7.0.
    • Add MySqlDataSource, an implementation of DbDataSource for MySQL: #1208.
    • Use source-generated regular expressions.
    • Use UTF-8 literals to perform UTF-8 conversion at compile-time instead of runtime.
  • Breaking Drop support for .NET 4.5: #1209.
  • Add DNS Check Interval connection string option: #1201.
  • Support restrictions in MySqlConnection.GetSchema.
    • Schema collections are code-generated: #1190.
  • Use user-provided callbacks when opening new connection to KILL QUERY: #1179.
  • Set activity tags when opening a connection fails: #1196.
  • Raise Component.Disposed event from MySqlConnection.DisposeAsync: #1235.
  • Use ValueTask instead of ValueTask<int>: #1233.
    • Breaking This changes the return type of MySqlConnection.ResetConnectionAsync for netstandard2.0, net461, net471.
  • Possibly Breaking Normalize the order of keys in the connection string returned by MySqlConnectionStringBuilder.ConnectionString: #1217.
  • Possibly Breaking Update dependencies.
    • Update System.Diagnostics.DiagnosticSource to 6.0.0.
    • Update System.Memory to 4.5.5.
    • Update System.Threading.Tasks.Extensions to 4.5.4: #1144.

2.1.13

26 Aug 14:54
2.1.13
e826461

Choose a tag to compare

  • Swallow (but log) exceptions in MySqlDataReader.Dispose(Async): #1154.
  • Add MySqlDataReader.GetBytes(string): #1197.
  • Eliminate allocation in OnStatementBegin: #1207.
  • Thanks to @CorentinPtrl and @iamcarbon for contributions to this release.

2.1.12

12 Aug 21:25
2.1.12
cae8714

Choose a tag to compare

2.1.11

14 Jul 05:18
2.1.11
2f80198

Choose a tag to compare

  • Fix NullReferenceException in MySqlConnector.Utilities.TimerQueue.Callback: #1177.
  • Support floating point infinity: #1185.
  • Thanks to @maicodio for contributions to this release.

2.1.10

04 Jun 23:12
2.1.10
dcf4913

Choose a tag to compare

  • Add MySqlBulkCopy.ConflictOption setting: #1176.
  • Thanks to @klym1 for contributions to this release.

2.1.9

16 May 02:44
2.1.9
62ad22d

Choose a tag to compare

  • Set Activity status to ERROR if an exception occurs during ExecuteReader: #1171.
  • SSL Mode = Disabled is supported as a synonym for SSL Mode = None: #1168.
    • Added MySqlSslMode.Disabled enum value.
  • MySqlAttribute implements ICloneable: #1169.
  • (Internal) Unix domain socket connection uses UnixDomainSocketEndPoint class: #1160.
  • Thanks to @qq362220083 for contributions to this release.

2.1.8

07 Mar 02:24
2.1.8
d1507f0

Choose a tag to compare

  • Fix bug that reset MySqlCommand.LastInsertedId to -1 between commands: #1147.
  • Fix bug using MySqlBulkCopy with DateOnly and TimeOnly: #1146.

Full Changelog: 2.1.7...2.1.8

2.1.7

20 Feb 16:58
2.1.7
7c79eee

Choose a tag to compare

  • MySqlCommand no longer automatically appends a semicolon to the user-provided CommandText: #1133.
    • This improves compatibility with Sphinx Search (SphinxQL).
  • MySqlBulkCopy supports MySqlDecimal, BigInteger, DateOnly, TimeOnly: #1143.
  • Fix InvalidOperationException when the TLS Version connection string option contains multiple values: #1138.

2.1.6

10 Feb 16:58
2.1.6
78051fb

Choose a tag to compare

  • Fix unintentional TLS downgrade: #1132.
    • To ensure the desired TLS version is used, set TlsVersion in your connection string.
  • Fix deadlock when cancelling a command: #1131.
  • Fix ArgumentException when calling GetSchema("Parameters") against MySQL 8.0: #1128.
  • Set MySqlParameter.Size in DeriveParameters: #1125.
  • Thanks to @ahydrax and @lostatredrock for contributions to this release.

2.1.5

30 Jan 20:32
2.1.5
c22dd56

Choose a tag to compare

  • Speed up MySqlDataAdapter.Update when UpdateBatchSize is large: #1124.
  • Remove DO SLEEP(0) use after cancelling a query: #1115.
    • This improves compatibility with MariaDB Xpand.
  • Encode NUL bytes as \0 on the wire: #1121.
    • This improves compatibility with SingleStore.