Bot releases are hidden (Show)
CommandBehavior.SchemaOnly
: #723.MySqlDataReader
methods returning data for output parameters of stored procedures: #722.
Tables
and Views
schemas in MySqlConnection.GetSchema
: #719.'0000-00-00'
can't be converted: #690.MySqlConnection.Clone
: #720.Socket
async APIs (.NET Standard 2.1, .NET Core 3.0).System.Net.Security
dependency to v4.3.1 (.NET Standard 1.3).BIT(1)
column: #713.
DECIMAL
column type to be read by GetBoolean
: #707.BIT(n)
columns: #708.MySqlDataReader.GetFloat()
converts REAL
values (from double
to float
) instead of throwing InvalidCastException
: #706.mysql_clear_password
authentication plugin: #703.NoBackslashEscapes
connection option: #701.MySqlClientFactory.Register
: #654
DbProviderFactories.RegisterFactory("MySqlConnector", MySqlClientFactory.Instance)
instead.MySqlConnection.BeginTransactionAsync
changed to ValueTask<MySqlTransaction>
(to match .NET Core 3.0 APIs).XyzAsync
method overloads that did not take a CancellationToken
were removed.InvalidOperationException
from MySqlDataReader.GetSchemaTable
when there is no result set: #678.DbBatch
API: #650.
netstandard2.1
and netcoreapp3.0
platforms.MySqlDataReader.GetDouble
and GetFloat
on DECIMAL
columns: #664.MySqlDataReader.GetByte
: #695.MySqlGeometry
and MySqlDataReader.GetMySqlGeometry
: #677.
MySqlGeometry
can only be a simple point.sql_select_limit
when CommandBehavior.SingleRow
is specified: #679.MySqlDataAdapter
when UpdateBatchSize
is set: #675.utf8mb4_0900_bin
collation introduced in MySQL Server 8.0.17: #670.MySqlConnection.CloseAsync
: #467.InvalidOperationException
from MySqlConnection.EnlistTransaction
instead of NullReferenceException
.NullReferenceException
thrown from MySqlConnection.ConnectionTimeout
: #669.OUT BOOL
parameter from a stored procedure: #682.OUT TIME
parameter from a stored procedure: #680.MySqlConnection.State
not being set to ConnectionState.Closed
when a failure occurs if pooling is disabled: #674.MySqlParameter.MySqlDbType
was set: #659.MySqlErrorCode.UnableToConnectToHost
in more situations when connecting fails: #647.MySqlDataReader
; reduce memory allocations.client_ed25519
authentication plugin for MariaDB: #639.
Ed25519AuthenticationPlugin.Install
.MySqlBulkLoader
(for local files) and LOAD DATA LOCAL INFILE
are disabled by default.
AllowLoadLocalInfile=true
in the connection string to enable loading local data.AllowLoadLocalInfile
connection string option: #643.SslCert
and SslKey
connection string options to specify a client certificate using PEM files: #641.SslCa
alias for the CACertificateFile
connection string option: #640.MySqlDataAdapter
: #635.
MySqlDataReader.GetTextReader()
will throw an InvalidCastException
if the field value is NULL. Previously, it would return a StringReader
wrapping an empty string.MySqlDataReader.GetTextReader(string name)
.MySqlDataReader.GetFieldValue<T>
and GetFieldValueAsync<T>
for TextReader
and Stream
: #631.Memory<byte>
and ArraySegment<byte>
as MySqlParameter.Value
values.MySqlParameter.Value
to ReadOnlyMemory<byte>
when using prepared commands.MySqlException.Number
to MySqlErrorCode.UnableToConnectToHost
in more situations when connecting times out: #622.MySqlConnection.Close()
within TransactionScope
: #620.MySqlParameter.Value
to be a ReadOnlyMemory<byte>
: #624.MySqlClientFactory.Register()
for integration with DbProviderFactories
in netcoreapp2.1
: #526.MySqlConnection.EnlistTransaction
called more than once for the same transaction: #619.MySqlConnection.ConnectionString
will always be coerced from null
to the empty string.ReadOnlySpan<byte>
in more places when parsing server responses.NullReferenceException
errors that could occur in edge cases.System.Transactions.TransactionScope
: #605.CLIENT_SESSION_TRACK
isn't supported: #603.UseAffectedRows
connection string option has changed from true
to false
. This provides better compatibility with Connector/NET's defaults and also with other ADO.NET libraries: #600.
ExecuteNonQuery
(it will now return the number of rows matched by the WHERE
clause for UPDATE
statements, instead of the number of rows whose values are actually changed), or add UseAffectedRows=true
to your connection string.MySqlException
serializable: #601.MySqlException.Number
to MySqlErrorCode.UnableToConnectToHost
when connecting fails: #599.MySqlException.Data
dictionary: #602.InvalidCastException
in MySqlDataReader.GetDateTime
when AllowZeroDateTime=True
: #597.