Update dependency MySqlConnector to v2 #206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.14
->2.1.8
Release Notes
mysql-net/MySqlConnector
v2.1.8
Compare Source
MySqlCommand.LastInsertedId
to-1
between commands: #1147.MySqlBulkCopy
withDateOnly
andTimeOnly
: #1146.Full Changelog: mysql-net/MySqlConnector@2.1.7...2.1.8
v2.1.7
Compare Source
MySqlCommand
no longer automatically appends a semicolon to the user-providedCommandText
: #1133.MySqlBulkCopy
supportsMySqlDecimal
,BigInteger
,DateOnly
,TimeOnly
: #1143.InvalidOperationException
when theTLS Version
connection string option contains multiple values: #1138.v2.1.6
Compare Source
TlsVersion
in your connection string.ArgumentException
when callingGetSchema("Parameters")
against MySQL 8.0: #1128.MySqlParameter.Size
inDeriveParameters
: #1125.v2.1.5
Compare Source
MySqlDataAdapter.Update
whenUpdateBatchSize
is large: #1124.DO SLEEP(0)
use after cancelling a query: #1115.\0
on the wire: #1121.v2.1.4
Compare Source
InvalidOperationException
ifMySqlDataReader.RecordsAffected
was read after callingClose()
orDispose()
: #1122.v2.1.3
Compare Source
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.v2.1.2
Compare Source
v2.1.1
Compare Source
InvalidOperationException
whenOpenAsync
is called again after being canceled: #1097.OpenAsync
to be canceled earlier.v2.1.0
Compare Source
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 forNULL
values: #1092.MySqlConnector.Logging.Microsoft.Extensions.Logging
MySqlConnector.
by default: #1080.MicrosoftExtensionsLoggingLoggerProvider(loggingFactory, omitMySqlConnectorPrefix: true)
..UseMySqlConnectorLogging()
extension method to add logging easily.v2.0.0
Compare Source
MySqlBatch
(experimental API) to match .NET 6.0 API changes.DateOnly
andTimeOnly
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 nowUser ID
,DefaultCommandTimeout
is nowDefault Command Timeout
, etc.MySqlCommandBuilder
andMySqlConversionException
.netstandard1.3
andnetcoreapp2.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'strue
.[Category]
,[DefaultValue]
, and[Description]
attributes to allMySqlConnectionStringBuilder
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.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.