Skip to content

2.5.0

Latest

Choose a tag to compare

@bgrainger bgrainger released this 12 Nov 00:49
2.5.0
a86c07e

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.