chore(deps): update dependency mysqlconnector to 2.5.0 #261
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:
2.1.8->2.5.0Release Notes
mysql-net/MySqlConnector (MySqlConnector)
v2.5.0Compare Source
2.5.0
MySqlConnection.Statewill be set toConnectionState.Brokenwhen there is a network error: #1599.ConnectionState.Closedbut the connection wasn't truly closed.MySqlConnection.Close()to fully close the connection before callingOpen()again..Dispose()(ideally with ausingdeclaration) and create a newMySqlConnectioninstance to recover from failure.MySqlConnection.ResetConnectionAsyncwill consistently throw aMySqlException: #1602.PARSECauthentication: #1540, #1606.VECTORdata type: #1549.COM_STMT_SEND_LONG_DATAto stream large parameter values: #943.MySqlConnectorTracingOptionsand builder APIs to configure tracing output: #1524.Guidvalues from stored procedure out parameters: #1528.MySqlDbTypewith[DbProviderSpecificTypeProperty(true)]: #1557.mysql.proc: #1547.MySqlBulkCopyauto-detected column mappings: #1568.Foreign Keysschema SQL syntax: #1601.caching_sha2_password: #1562.System.Threading.Lockfor .NET 9.0+.PemEncodingin .NET 5.0+ and UTF-8 methods in .NET 10.0+.v2.4.0Compare Source
MySqlConnectorLogManager.Provideras[Obsolete]: #1397.DbDataSourceneed to target .NET 8.0 or later.MySqlDataSourceBuilder.UseConnectionOpenedCallback: #1508.MySqlDbColumn.TableName: #1521.SETdata type in functions: #1491.TABLESPACESschema: #1477.SET NAMEScommands when not necessary: #1497.NullReferenceExceptioninMySqlConnection.Cancel: #1506.InvalidOperationExceptioninFinishQuerying: #1341.v2.3.7Compare Source
NullReferenceExceptioninMySqlDataReader.ActivateResultSetandMySqlDataReader.DisposeAsync: #1459.NullReferenceExceptioninServerSessionduring cancellation: #1472.Foreign Keysschema not being generated asynchronously.v2.3.6Compare Source
VerifyCAincompatibility with AWS Aurora: #1462.SslCaconnection string option andSslModeisVerifyCAorVerifyFull.Pipelining = False;in your connection string to disable this optimization if there are compatibility issues.START TRANSACTIONpayloads.v2.3.5Compare Source
v2.3.4Compare Source
Application Nameconnection string option andMySqlDataSourceBuilder.UseName: #1434.ArgumentOutOfRangeExceptioninTimerQueue.Add: #1424.InvalidCastExceptionwhen using stored procedures with MySQL 5.0: #1431.MySqlDataSourcetwice on .NET Framework.v2.3.3Compare Source
COLUMN_NAMErestriction forIndexColumnsschema; this improves NHibernate compatibility.v2.3.2Compare Source
Foreign Keys,Indexes,Index Columnsschemas: #1419.v2.3.1Compare Source
MySqlConnector
db.client.connections.timeoutscounter to metrics: #1392.schemaRestrictionsarray to be passed toGetSchema: #1394.double: #1396.MySqlConnector.DependencyInjection
AddKeyedMySqlDataSourceto support keyed services: #1391.Microsoft.Extensions.DependencyInjection.Abstractionsdependency to 8.0.0.v2.3.0Compare Source
[Obsolete].DbBatchCommand.CreateParameter: #1352.IUtf8SpanFormattable,Ascii.FromUtf16,Guid(bigEndian: true)constructor, argument-throwing helpers, etc.net48) TFM: #1355.TlsVersion = TLSv1.3to be used on .NET Framework 4.8.netstandard2.0.MySqlDataSourceis now available for all TFMs, not just .NET 7.0: #1269.MySqlConnectionwith dependency injection.MySqlDataSourceBuilderclass to configureMySqlDataSourceinstances.MySqlDataSource.NameandMySqlDataSourceBuilder.UseName.MySqlConnectorLogManager.Providercan still be used to add a logging destination, but it is now deprecated.MySqlDataSourceBuilder.UseLoggerFactoryto configure logging.MySqlDataSourceandMySqlConnectioncan be registered with dependency injection by usingbuilder.Services.AddMySqlDataSource(connectionString).COM_MULTIprotocol support: #946.ZEROFILLcolumns inMySqlDecimal: #1354.DateTimevalues: #1379.ValueTaskinMySqlBulkCopyAPI for all TFMs: #1364.WriteToServerAsyncfromTask<MySqlBulkCopyResult>toValueTask<MySqlBulkCopyResult>on .NET FrameworkCommandBehavior.SchemaOnlyandSingleRow: #1312.MySqlDataReaderobjects: #1277.TcpClient.ConnectAsyncoverload withCancellationTokenon .NET 5.0 and later: #1291.MySqlConnection.CloneWithfor connections created from aMySqlDataSource: #1306.@inMySqlBulkCopy: #1365.MySqlDbTypewhen serializing enum values: #1384.MySqlDataSourceinMySqlConnection.Clone: #1267.ActivityStatusto latest conventions: #1334.CommandTimeout: #1338.v2.2.7Compare Source
v2.2.6Compare Source
v2.2.5Compare Source
DECIMAL UNSIGNED, fixing error inDeriveParameters: #1272.nanas float/double value on .NET Framework.Full Changelog: mysql-net/MySqlConnector@2.2.4...2.2.5
v2.2.4Compare Source
v2.2.3Compare Source
GetSchema: #1258.TableNameproperty of theDataTablereturned fromGetSchema.FormatInvariantinternal helper method: #1253.v2.2.2Compare Source
Full Changelog: mysql-net/MySqlConnector@2.2.1...2.2.2
v2.2.1Compare Source
v2.2.0Compare Source
MySqlDataSource, an implementation ofDbDataSourcefor MySQL: #1208.DNS Check Intervalconnection string option: #1201.MySqlConnection.GetSchema.KILL QUERY: #1179.Component.Disposedevent fromMySqlConnection.DisposeAsync: #1235.ValueTaskinstead ofValueTask<int>: #1233.MySqlConnection.ResetConnectionAsyncfornetstandard2.0,net461,net471.MySqlConnectionStringBuilder.ConnectionString: #1217.v2.1.13Compare Source
MySqlDataReader.Dispose(Async): #1154.MySqlDataReader.GetBytes(string): #1197.OnStatementBegin: #1207.v2.1.12Compare Source
v2.1.11Compare Source
NullReferenceExceptioninMySqlConnector.Utilities.TimerQueue.Callback: #1177.v2.1.10Compare Source
MySqlBulkCopy.ConflictOptionsetting: #1176.v2.1.9Compare Source
Activitystatus to ERROR if an exception occurs duringExecuteReader: #1171.SSL Mode = Disabledis supported as a synonym forSSL Mode = None: #1168.MySqlSslMode.Disabledenum value.MySqlAttributeimplementsICloneable: #1169.UnixDomainSocketEndPointclass: #1160.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.