Repository navigation
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
WithSpanErrorAttributesGetteroption to set additional attributes (e.g.,db.response.status_code) on spans when an operation returns an error. (#651) - Add
SpanOptions.RowsChildOfQueryto createsql.rowsspans as children of thesql.conn.queryorsql.stmt.queryspan that produced them, so concurrent queries can be correlated with their result iteration. (#652) - Support
driver.RowsColumnScanneron Go 1.27. (#649)
Changed
- Replace
ErrorTypeAttributeswithErrorTypeAttributeto avoid allocating an additional slice. (#643) - Upgrade OTel to
v1.46.0. (#644)
Fixed
db.client.operation.durationhistogram now uses the explicit bucket boundaries recommended by the OTel Semantic Conventions (0.001to10seconds) 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
- @kitosforos made their first contribution in #632
- @gaiaz-iusipov made their first contribution in #643
Full Changelog: v0.43.0...v0.44.0