Releases
0.57.0
Download on NuGet
Breaking Remove MySqlClientFactory.Register
: #654
Replace calls to this method with DbProviderFactories.RegisterFactory("MySqlConnector", MySqlClientFactory.Instance)
instead.
Breaking Return type of MySqlConnection.BeginTransactionAsync
changed to ValueTask<MySqlTransaction>
(to match .NET Core 3.0 APIs).
Breaking Various XyzAsync
method overloads that did not take a CancellationToken
were removed.
Breaking Throw InvalidOperationException
from MySqlDataReader.GetSchemaTable
when there is no result set: #678 .
Experimental Implement the new ADO.NET DbBatch
API: #650 .
This API is not finalised and may change in the future.
Add netstandard2.1
and netcoreapp3.0
platforms.
Implement .NET Core 3.0 ADO.NET API.
Add .NET Core 3.0 async methods: #642 .
Allow MySqlDataReader.GetDouble
and GetFloat
on DECIMAL
columns: #664 .
Allow narrowing conversions in MySqlDataReader.GetByte
: #695 .
Add MySqlGeometry
and MySqlDataReader.GetMySqlGeometry
: #677 .
The API is deliberately different than Connector/NET, which assumes a MySqlGeometry
can only be a simple point.
Use sql_select_limit
when CommandBehavior.SingleRow
is specified: #679 .
Use batching in MySqlDataAdapter
when UpdateBatchSize
is set: #675 .
Support utf8mb4_0900_bin
collation introduced in MySQL Server 8.0.17: #670 .
Add MySqlConnection.CloseAsync
: #467 .
Throw InvalidOperationException
from MySqlConnection.EnlistTransaction
instead of NullReferenceException
.
Fix NullReferenceException
thrown from MySqlConnection.ConnectionTimeout
: #669 .
Fix connection timeout when executing a stored procedure: #672 .
Fix incorrect exception being thrown after a timeout occurs executing a stored procedure: #667 .
Fix exception deserializing an OUT BOOL
parameter from a stored procedure: #682 .
Fix exception deserializing an OUT TIME
parameter from a stored procedure: #680 .
Fix MySqlConnection.State
not being set to ConnectionState.Closed
when a failure occurs if pooling is disabled: #674 .
Fix exception when executing a prepared statement if MySqlParameter.MySqlDbType
was set: #659 .
Handle error packet being sent out-of-order: #662 .
Use MySqlErrorCode.UnableToConnectToHost
in more situations when connecting fails: #647 .
Add some nullable annotations; these are primarily on internal types and not in the public API.
Reduce allocations on some common code paths.
Improve performance of MySqlDataReader
; reduce memory allocations.
Thanks to @joshdrees for contributions to this release.
You can’t perform that action at this time.