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.8Release Notes
mysql-net/MySqlConnector
v2.1.8Compare Source
MySqlCommand.LastInsertedIdto-1between commands: #1147.MySqlBulkCopywithDateOnlyandTimeOnly: #1146.Full Changelog: mysql-net/MySqlConnector@2.1.7...2.1.8
v2.1.7Compare Source
MySqlCommandno longer automatically appends a semicolon to the user-providedCommandText: #1133.MySqlBulkCopysupportsMySqlDecimal,BigInteger,DateOnly,TimeOnly: #1143.InvalidOperationExceptionwhen theTLS Versionconnection string option contains multiple values: #1138.v2.1.6Compare Source
TlsVersionin your connection string.ArgumentExceptionwhen callingGetSchema("Parameters")against MySQL 8.0: #1128.MySqlParameter.SizeinDeriveParameters: #1125.v2.1.5Compare Source
MySqlDataAdapter.UpdatewhenUpdateBatchSizeis large: #1124.DO SLEEP(0)use after cancelling a query: #1115.\0on the wire: #1121.v2.1.4Compare Source
InvalidOperationExceptionifMySqlDataReader.RecordsAffectedwas read after callingClose()orDispose(): #1122.v2.1.3Compare Source
Use Compression = Truewhen running under .NET 6.0: #1120.ExecuteNonQuery) for compound statements: #1096.FormatExceptionmessage when a GUID can't be read: #1114.SkipLocalsInitwhere possible.v2.1.2Compare Source
v2.1.1Compare Source
InvalidOperationExceptionwhenOpenAsyncis called again after being canceled: #1097.OpenAsyncto be canceled earlier.v2.1.0Compare Source
Pipelining = False;in the connection string.MySqlCommand.Attributescollection to send them to the server when the command is executed.MySqlDecimalsupport: #1070.MySqlDataReader.GetXexceptions forNULLvalues: #1092.MySqlConnector.Logging.Microsoft.Extensions.Logging
MySqlConnector.by default: #1080.MicrosoftExtensionsLoggingLoggerProvider(loggingFactory, omitMySqlConnectorPrefix: true)..UseMySqlConnectorLogging()extension method to add logging easily.v2.0.0Compare Source
MySqlBatch(experimental API) to match .NET 6.0 API changes.DateOnlyandTimeOnlystructs: #963.ZLibStreamfor compression: #957.X_OR_GREATERpreprocessor definitions: #958.MySqlBulkCopyAPI: #1012.ConnectionIdlePingTime: #1042.Connection Idle Ping Timeconnection string option is still accepted, but has no effect.Connection Reset = False,MySqlConnection.Openwill 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.Openwill 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 = Falseimproves performance but may degrade reliability;Connection Reset = True, which is the default, is still recommended for greatest reliability.MySqlConnectionStringBuilder.ConnectionStringproperty:User Idis nowUser ID,DefaultCommandTimeoutis nowDefault Command Timeout, etc.MySqlCommandBuilderandMySqlConversionException.netstandard1.3andnetcoreapp2.1target frameworks: #1031, #1067.ActivitySourcefor tracing: #1036.MySqlConnection.ProvideClientCertificatesCallback,MySqlConnection.ProvidePasswordCallback,MySqlConnection.RemoteCertificateValidationCallback: #800, #976.BigIntegeras parameter value: #1069.MySqlErrorCode: #1048.MySqlError.Codeobsolete: #1011.ErrorCodeproperty instead.BackgroundConnectionResetHelper: #1013.MySqlConnectionStringBuilder.DeferConnectionResetis obsolete and will always be treated as if it'strue.[Category],[DefaultValue], and[Description]attributes to allMySqlConnectionStringBuilderproperties.DELIMITERis used in a SQL statement: #1010.MySqlConnectionStringBuilder.TryGetValue: #1030.MySqlCommand.LastInsertedIdwhen executing multiple commands: #1026.ObjectDisposedExceptionthat 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.