Skip to content

2.6.0

Latest

Choose a tag to compare

@bgrainger bgrainger released this 02 Jun 23:05
· 1 commit to master since this release
2.6.0
a226866
  • Add opt-in stable OpenTelemetry semantic conventions: #1435.
    • In MySqlConnector 3.0, the experimental conventions will be removed.
    • Applications should set OTEL_SEMCONV_STABILITY_OPT_IN to database or database/dup (or use WithSemanticConventionsKinds) to test the new semantic conventions.
  • Support distributed tracing by sending traceparent to MySQL Server: #1635.
  • EnableResultSetHeaderEvent is now opt-in: #1633.
  • Move AddMySqlDataSource and related APIs from MySqlConnector.DependencyInjection to MySqlConnector: #1649.
  • Improve reliability and correctness of parameter parsing and rewriting:
    • Fix termination of quoted parameters: #1627.
    • Handle all comment-start characters during SQL parsing: #1624.
    • Add stricter argument validation and checks: #1632.
  • Improve XA and transaction handling:
    • Handle more XA error codes: #1631.
    • Clear transaction when closing a database: #1623.
    • Handle missing transaction in DoCloseAsync: #729.
  • Improve data type handling:
    • Reject negative DATETIME ticks: #1630.
    • Don't detect BINARY columns as Guid: #1625.
  • Improve exception safety: #1628.
  • Suppress trimming warnings and update AOT test coverage: #1607, #1608.
  • Thanks to @markus456 and @sbomer for contributions to this release.