Releases: mysql-net/MySqlConnector
Releases · mysql-net/MySqlConnector
0.52.0
0.51.1
0.51.0
Download on NuGet
- Set
MySqlException.NumbertoMySqlErrorCode.UnableToConnectToHostin more situations when connecting times out: #622. - Improve handling of
MySqlConnection.Close()withinTransactionScope: #620. - Allow
MySqlParameter.Valueto be aReadOnlyMemory<byte>: #624. - Thanks to @mguinness for contributions to this release.
0.50.0
Download on NuGet
- Add
MySqlClientFactory.Register()for integration withDbProviderFactoriesinnetcoreapp2.1: #526. - Use more efficient "Reset Connection" for MariaDB 10.2.4 and later: #613.
- Ignore
MySqlConnection.EnlistTransactioncalled more than once for the same transaction: #619. MySqlConnection.ConnectionStringwill always be coerced fromnullto the empty string.- Use
ReadOnlySpan<byte>in more places when parsing server responses. - Fix multiple
NullReferenceExceptionerrors that could occur in edge cases.
0.49.3
0.49.2
0.49.1
0.49.0
Download on NuGet
- Breaking The default value for the
UseAffectedRowsconnection string option has changed fromtruetofalse. This provides better compatibility with Connector/NET's defaults and also with other ADO.NET libraries: #600.- If you are upgrading from an earlier version of MySqlConnector, either audit your uses of the return value of
ExecuteNonQuery(it will now return the number of rows matched by theWHEREclause forUPDATEstatements, instead of the number of rows whose values are actually changed), or addUseAffectedRows=trueto your connection string. - If you are migrating (or have recently migrated) from Connector/NET to MySqlConnector, then no changes need to be made: MySqlConnector now exhibits the same default behaviour as Connector/NET.
- If you are upgrading from an earlier version of MySqlConnector, either audit your uses of the return value of
- Make
MySqlExceptionserializable: #601. - Set
MySqlException.NumbertoMySqlErrorCode.UnableToConnectToHostwhen connecting fails: #599. - Populate
MySqlException.Datadictionary: #602.