2.5.0-beta.1
Pre-release
Pre-release
2.5.0 Beta 1
- Support .NET 10: #1595.
- Possibly breaking
MySqlConnection.Statewill be set toConnectionState.Brokenwhen there is a network error: #1599.- Previously it would have been set to
ConnectionState.Closedbut the connection wasn't truly closed. - Call
MySqlConnection.Close()to fully close the connection before callingOpen()again. - Better yet, call
.Dispose()(ideally with ausingdeclaration) and create a newMySqlConnectioninstance to recover from failure.
- Previously it would have been set to
- Possibly breaking
MySqlConnection.ResetConnectionAsyncwill consistently throw aMySqlException: #1602. - Implement MariaDB
PARSECauthentication: #1540. - Support the
VECTORdata type: #1549. - Implement
COM_STMT_SEND_LONG_DATAto stream large parameter values: #943. - Add
MySqlConnectorTracingOptionsand builder APIs to configure tracing output: #1524. - Read
Guidvalues from stored procedure out parameters: #1528. - Mark
MySqlDbTypewith[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
MySqlBulkCopyauto-detected column mappings: #1568. - Fix
Foreign Keysschema SQL syntax: #1601. - Fix extra roundtrip for
caching_sha2_password: #1562. - Fix cancellation with AWS RDS Proxy: #1581.
- Optimization: Use
System.Threading.Lockfor .NET 9.0+. - Optimization: Use
PemEncodingin .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.