Skip to content

Release v0.44.0

Latest

Choose a tag to compare

@XSAM XSAM released this 06 Sep 23:04
· 2 commits to main since this release
5c3d0aa

This release is the last to support Go 1.25.
The next release will require at least Go 1.26.

Added

  • Support testing of Go 1.27. (#650)
  • Add WithSpanErrorAttributesGetter option to set additional attributes (e.g., db.response.status_code) on spans when an operation returns an error. (#651)
  • Add SpanOptions.RowsChildOfQuery to create sql.rows spans as children of the sql.conn.query or sql.stmt.query span that produced them, so concurrent queries can be correlated with their result iteration. (#652)
  • Support driver.RowsColumnScanner on Go 1.27. (#649)

Changed

  • Replace ErrorTypeAttributes with ErrorTypeAttribute to avoid allocating an additional slice. (#643)
  • Upgrade OTel to v1.46.0. (#644)

Fixed

  • db.client.operation.duration histogram now uses the explicit bucket boundaries recommended by the OTel Semantic Conventions (0.001 to 10 seconds) instead of the SDK defaults, which placed virtually all database operations in the first bucket. (#632)

What's Changed

  • Use semconv-recommended bucket boundaries for db.client.operation.duration by @kitosforos in #632
  • Fix changelog entry by @XSAM in #645
  • perf: add ErrorTypeAttribute to eliminate extra slice allocation by @gaiaz-iusipov in #643
  • Protect released changelog in CI by @XSAM in #646
  • Update module github.com/stretchr/testify to v1.12.1 by @renovate[bot] in #647
  • Update module github.com/golangci/golangci-lint/v2 to v2.13.2 by @renovate[bot] in #648
  • Update opentelemetry-go monorepo by @renovate[bot] in #644
  • Support Go 1.27 by @XSAM in #650
  • Add WithSpanErrorAttributesGetter to set error attributes on spans by @XSAM in #651
  • Update actions/checkout action to v7.0.1 by @renovate[bot] in #640
  • Update actions/setup-go action to v7 by @renovate[bot] in #639
  • Add SpanOptions.RowsChildOfQuery to make sql.rows spans children of query spans by @XSAM in #652
  • Support RowsColumnScanner on Go 1.27 by @XSAM in #649
  • Fix OpenTelemetry release note wording by @XSAM in #653
  • Release v0.44.0 by @XSAM in #654

New Contributors

Full Changelog: v0.43.0...v0.44.0