Bot releases are visible (Hide)
Published by bgrainger about 2 years ago
Published by bgrainger about 2 years ago
MySqlDataSource
, an implementation of DbDataSource
for MySQL: #1208.DNS Check Interval
connection string option: #1201.MySqlConnection.GetSchema
.
KILL QUERY
: #1179.MySqlConnectionStringBuilder.ConnectionString
: #1217.Activity
status to ERROR if an exception occurs during ExecuteReader
: #1171.SSL Mode = Disabled
is supported as a synonym for SSL Mode = None
: #1168.
MySqlSslMode.Disabled
enum value.MySqlAttribute
implements ICloneable
: #1169.UnixDomainSocketEndPoint
class: #1160.Published by bgrainger over 2 years ago
MySqlCommand.LastInsertedId
to -1
between commands: #1147.MySqlBulkCopy
with DateOnly
and TimeOnly
: #1146.Full Changelog: https://github.com/mysql-net/MySqlConnector/compare/2.1.7...2.1.8
MySqlCommand
no longer automatically appends a semicolon to the user-provided CommandText
: #1133.
MySqlBulkCopy
supports MySqlDecimal
, BigInteger
, DateOnly
, TimeOnly
: #1143.InvalidOperationException
when the TLS Version
connection string option contains multiple values: #1138.TlsVersion
in your connection string.ArgumentException
when calling GetSchema("Parameters")
against MySQL 8.0: #1128.MySqlParameter.Size
in DeriveParameters
: #1125.MySqlDataAdapter.Update
when UpdateBatchSize
is large: #1124.DO SLEEP(0)
use after cancelling a query: #1115.
\0
on the wire: #1121.
InvalidOperationException
if MySqlDataReader.RecordsAffected
was read after calling Close()
or Dispose()
: #1122.
Use Compression = True
when running under .NET 6.0: #1120.ExecuteNonQuery
) for compound statements: #1096.FormatException
message when a GUID can't be read: #1114.SkipLocalsInit
where possible.Pipelining = False;
in the connection string.MySqlCommand.Attributes
collection to send them to the server when the command is executed.MySqlDecimal
support: #1070.MySqlDataReader.GetX
exceptions for NULL
values: #1092.MySqlConnector.
by default: #1080.
MicrosoftExtensionsLoggingLoggerProvider(loggingFactory, omitMySqlConnectorPrefix: true)
..UseMySqlConnectorLogging()
extension method to add logging easily.MySqlBatch
(experimental API) to match .NET 6.0 API changes.DateOnly
and TimeOnly
structs: #963.ZLibStream
for compression: #957.X_OR_GREATER
preprocessor definitions: #958.MySqlBulkCopy
API: #1012.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). If the server has closed the pooled connection, 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.Connection Reset = False
improves performance but may degrade reliability; Connection Reset = True
, which is the default, is still recommended for greatest reliability.MySqlConnectionStringBuilder.ConnectionString
property:
User Id
is now User ID
, DefaultCommandTimeout
is now Default Command Timeout
, etc.MySqlCommandBuilder
and MySqlConversionException
.netstandard1.3
and netcoreapp2.1
target frameworks: #1031, #1067.ActivitySource
for tracing: #1036.MySqlConnection.ProvideClientCertificatesCallback
, MySqlConnection.ProvidePasswordCallback
, MySqlConnection.RemoteCertificateValidationCallback
: #800, #976.BigInteger
as parameter value: #1069.MySqlErrorCode
: #1048.MySqlError.Code
obsolete: #1011.
ErrorCode
property instead.BackgroundConnectionResetHelper
: #1013.
MySqlConnectionStringBuilder.DeferConnectionReset
is obsolete and will always be treated as if it's true
.[Category]
, [DefaultValue]
, and [Description]
attributes to all MySqlConnectionStringBuilder
properties.DELIMITER
is used in a SQL statement: #1010.MySqlConnectionStringBuilder.TryGetValue
: #1030.MySqlCommand.LastInsertedId
when executing multiple commands: #1026.ObjectDisposedException
that could be thrown when a connection timeout occurred.MySqlBulkCopy
API: #1012.netcoreapp2.1
target framework: #1067.BigInteger
as parameter value: #1069.MySqlConnection.PasswordProviderCallback
: #800.MySqlConnection.ProvideClientCertificatesCallback
: #976.MySqlConnection.RemoteCertificateValidationCallback
: #976.Regex
usage internally.