Bot releases are hidden (Show)
ConnectionIdlePingTime
: #1042.
Connection Idle Ping Time
connection string option is still accepted, but has no effect.Connection Reset = False
, MySqlConnection.Open
will return a pooled connection (if one is available) without testing it for liveness (by pinging the server). This improves performance but may degrade reliability. (Connection Reset = True
, which is the default, is still recommended for greatest reliability.)MySqlConnection.Open
will succeed, but the first operation on that connection will fail. Command execution should be wrapped in a try/catch/retry loop to handle this scenario.MySqlErrorCode
: #1048.UnableToConnectToHost
exception: #1035.ObjectDisposedException
that could be thrown when a connection timeout occurred.netstandard1.3
target framework: #1031.MySqlCommandBuilder
and MySqlConversionException
.MySqlCommand.LastInsertedId
when executing multiple commands: #1026.[Category]
, [DefaultValue]
, and [Description]
attributes to all MySqlConnectionStringBuilder
properties.MySqlConnectionStringBuilder.TryGetValue
: #1030.MySqlConnectionStringBuilder.ConnectionString
property:
User Id
is now User ID
, DefaultCommandTimeout
is now Default Command Timeout
, etc.MySqlBatch
(experimental API) to match the latest .NET 6.0 API changes.DELIMITER
is used in a SQL statement: #1010.MySqlError.Code
obsolete: #1011.
ErrorCode
property instead.BackgroundConnectionResetHelper
: #1013.
MySqlConnectionStringBuilder.DeferConnectionReset
is obsolete and will always be treated as if it's true
.DateOnly
and TimeOnly
structs: #963.ZLibStream
for compression: #957.X_OR_GREATER
preprocessor definitions: #958.NoBackslashEscapes
for binary parameter values: #999.NotSupportedException
when cancelling a MySqlCommand
in a TransactionScope
: #1001.InvalidOperationException
thrown from MySqlConnection.Cancel
: #1002.DeferConnectionReset
to true
; this disables background connection reset and restores the pre-1.3 behavior.MySqlConnection.Open(Async)
but still cleans up connections between uses.DeferConnectionReset=true
in the connection string to revert to the old behaviour.ConnectionIdlePingTime=300
in the connection string to avoid any network I/O when retrieving a connection from the pool; this is fastest but may return invalid connections from Open
. This setting is experimental and may change in the future.IgnorePrepare
to false
: #929.
MySqlCommand.Prepare(Async)
will have an effect by default.MemoryStream
as a value for MySqlParameter.Value
: #943.MySqlException.IsTransient
: #849.IComparable<MySqlDateTime>
and IEquatable<MySqlDateTime>
on MySqlDateTime
.public
constructor for MySqlConversionException
.
public
.CommandTimeoutExpired
consistently: #939.
MySqlException.ErrorCode
from QueryInterrupted
to CommandTimeoutExpired
.CancellationTimeout
connection string option: #951.OperationCanceledException
from OpenAsync
when the CancellationToken
is cancelled: #931.MySqlException.ErrorCode
property.MySqlTransaction.Dispose
: #923.MySqlException
(thrown in some scenarios from ExecuteReader
).CommandTimeoutExpired
consistently: #939.MySqlException.IsTransient
is now false
for CommandTimeoutExpired
: #940.MemoryStream
as a value for MySqlParameter.Value
: #943.OperationCanceledException
from OpenAsync
when the CancellationToken
is cancelled: #931.MySqlException
(thrown in some scenarios from ExecuteReader
).MySqlConversionException
.IgnorePrepare
to false
: #929.
MySqlCommand.Prepare(Async)
will have an effect by default.IComparable<MySqlDateTime>
and IEquatable<MySqlDateTime>
on MySqlDateTime
.