Skip to content

2.1.0

Compare
Choose a tag to compare
@bgrainger bgrainger released this 28 Nov 07:31
· 676 commits to master since this release
2.1.0
dbadd12
  • Opening a connection from the pool is now twice as fast: #1089.
    • This may fail with Amazon Aurora RDS; to explicitly disable this, set Pipelining = False; in the connection string.
  • Add support for query attributes: #930.
    • This requires MySQL Server 8.0.23 (or later) for regular commands, and MySQL Server 8.0.26 (or later) for prepared commands.
    • Add attributes to the MySqlCommand.Attributes collection to send them to the server when the command is executed.
  • Add MySqlDecimal support: #1070.
  • Improve MySqlDataReader.GetX exceptions for NULL values: #1092.
  • Improve detection of Azure Database for MySQL proxies: #1093.
  • Update Microsoft.SourceLink.GitHub.
  • Thanks to @ejball and @sumitdvlp for contributions to this release.

MySqlConnector.Logging.Microsoft.Extensions.Logging

  • Logger names are now prefixed with MySqlConnector. by default: #1080.
    • To return to the previous behavior, use MicrosoftExtensionsLoggingLoggerProvider(loggingFactory, omitMySqlConnectorPrefix: true).
  • Added .UseMySqlConnectorLogging() extension method to add logging easily.