Skip to content

Bump MySqlConnector from 2.3.7 to 2.5.0#119

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/src/server/Mangos.MySql/MySqlConnector-2.5.0
Open

Bump MySqlConnector from 2.3.7 to 2.5.0#119
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/src/server/Mangos.MySql/MySqlConnector-2.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Updated MySqlConnector from 2.3.7 to 2.5.0.

Release notes

Sourced from MySqlConnector's releases.

2.5.0

2.5.0

  • Support .NET 10: #​1595.
  • Possibly breaking MySqlConnection.State will be set to ConnectionState.Broken when there is a network error: #​1599.
    • Previously it would have been set to ConnectionState.Closed but the connection wasn't truly closed.
    • Call MySqlConnection.Close() to fully close the connection before calling Open() again.
    • Better yet, call .Dispose() (ideally with a using declaration) and create a new MySqlConnection instance to recover from failure.
  • Possibly breaking MySqlConnection.ResetConnectionAsync will consistently throw a MySqlException: #​1602.
  • Implement MariaDB PARSEC authentication: #​1540, #​1606.
  • Support the VECTOR data type: #​1549.
  • Implement COM_STMT_SEND_LONG_DATA to stream large parameter values: #​943.
  • Add MySqlConnectorTracingOptions and builder APIs to configure tracing output: #​1524.
  • Read Guid values from stored procedure out parameters: #​1528.
  • Mark MySqlDbType with [DbProviderSpecificTypeProperty(true)]: #​1557.
  • Allow loopback connections (e.g., Google Cloud SQL Proxy) to use clear-text password or public key retrieval: #​1534, #​1542.
  • Improve schema metadata with MariaDB by reading stored procedure metadata from mysql.proc: #​1547.
  • Improve XA transaction rollback handling: #​1585, #​1589.
  • Free large cached payload buffers when returning sessions to the pool to reduce memory usage: #​1587.
  • Suppress error-level logging when a command is canceled: #​1544.
  • Fix MySqlBulkCopy auto-detected column mappings: #​1568.
  • Fix Foreign Keys schema SQL syntax: #​1601.
  • Fix extra roundtrip for caching_sha2_password: #​1562.
  • Fix cancellation with AWS RDS Proxy: #​1581.
  • Optimization: Use System.Threading.Lock for .NET 9.0+.
  • Optimization: Use PemEncoding in .NET 5.0+ and UTF-8 methods in .NET 10.0+.
  • Thanks to @​djeman, @​jnoordsij, @​NETSphereSoft, @​PatrickMNL, @​petedishman, and @​rusher for contributions to this release.

2.5.0-beta.1

2.5.0 Beta 1

  • Support .NET 10: #​1595.
  • Possibly breaking MySqlConnection.State will be set to ConnectionState.Broken when there is a network error: #​1599.
    • Previously it would have been set to ConnectionState.Closed but the connection wasn't truly closed.
    • Call MySqlConnection.Close() to fully close the connection before calling Open() again.
    • Better yet, call .Dispose() (ideally with a using declaration) and create a new MySqlConnection instance to recover from failure.
  • Possibly breaking MySqlConnection.ResetConnectionAsync will consistently throw a MySqlException: #​1602.
  • Implement MariaDB PARSEC authentication: #​1540.
  • Support the VECTOR data type: #​1549.
  • Implement COM_STMT_SEND_LONG_DATA to stream large parameter values: #​943.
  • Add MySqlConnectorTracingOptions and builder APIs to configure tracing output: #​1524.
  • Read Guid values from stored procedure out parameters: #​1528.
  • Mark MySqlDbType with [DbProviderSpecificTypeProperty(true)]: #​1557.
  • Allow loopback connections (e.g., Google Cloud SQL Proxy) to use clear-text password or public key retrieval: #​1534, #​1542.
  • Improve schema metadata with MariaDB by reading stored procedure metadata from mysql.proc: #​1547.
  • Improve XA transaction rollback handling: #​1585, #​1589.
  • Free large cached payload buffers when returning sessions to the pool to reduce memory usage: #​1587.
  • Suppress error-level logging when a command is canceled: #​1544.
  • Fix MySqlBulkCopy auto-detected column mappings: #​1568.
  • Fix Foreign Keys schema SQL syntax: #​1601.
  • Fix extra roundtrip for caching_sha2_password: #​1562.
  • Fix cancellation with AWS RDS Proxy: #​1581.
  • Optimization: Use System.Threading.Lock for .NET 9.0+.
  • Optimization: Use PemEncoding in .NET 5.0+ and UTF-8 methods in .NET 10.0+.
  • Thanks to @​djeman, @​jnoordsij, @​NETSphereSoft, @​PatrickMNL, @​petedishman, and @​rusher for contributions to this release.

2.4.0

  • Support .NET 9.0.
  • Possibly breaking Mark MySqlConnectorLogManager.Provider as [Obsolete]: #​1397.
  • Possibly breaking Remove end-of-life .NET 7 target framework.
    • Users who wish to use DbDataSource need to target .NET 8.0 or later.
  • Possibly breaking Update dependencies:
    • Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 8.0.2.
    • System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.1.
  • Support trimming and native AOT: #​1265.
  • Add MySqlDataSourceBuilder.UseConnectionOpenedCallback: #​1508.
  • Add MySqlDbColumn.TableName: #​1521.
  • Support zero-configuration SSL with MariaDB: #​1500.
  • Support SET data type in functions: #​1491.
  • Remove TABLESPACES schema: #​1477.
  • Rewrite server redirection logic based on latest MariaDB specification: #​1499.
  • Change variable name for better server compatibility: #​1502.
  • Performance: Avoid SET NAMES commands when not necessary: #​1497.
  • Fix "Can't replace active reader": #​1469.
  • Fix potential NullReferenceException in MySqlConnection.Cancel: #​1506.
  • Fix InvalidOperationException in FinishQuerying: #​1341.
  • Provide logger to new MySqlConnection: #​1510.
  • Use correct hostname when cancelling query: #​1514.
  • Thanks to @​AlexKerman and @​rusher for contributions to this release.

2.4.0-beta.2

  • Remove end-of-life .NET 7 target framework.
    • Users who wish to use DbDataSource need to target .NET 8.0 or later.
  • Fix "Can't replace active reader": #​1469.
  • Update dependencies:
    • Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 8.0.2.
    • System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.1.

2.4.0-beta.1

  • Support .NET 9.0.
  • Support zero-configuration SSL with MariaDB: #​1500.
  • Add MySqlDataSourceBuilder.UseConnectionOpenedCallback: #​1508.
  • Rewrite server redirection logic based on latest MariaDB specification: #​1499.
  • Support SET data type in functions: #​1491.
  • Performance: Avoid SET NAMES commands when not necessary: #​1497.
  • Fix potential NullReferenceException in MySqlConnection.Cancel: #​1506.
  • Provide logger to new MySqlConnection: #​1510.
  • Use correct hostname when cancelling query: #​1514.
  • Remove TABLESPACES schema: #​1477.
  • Change variable name for better server compatibility: #​1502.
  • Thanks to @​rusher for contributions to this release.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

This change is Reviewable

---
updated-dependencies:
- dependency-name: MySqlConnector
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants