Repository navigation
Support Go 1.27 - #650
Merged
Merged
Support Go 1.27#650
Conversation
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #650 +/- ##
=======================================
+ Coverage 85.7% 89.4% +3.6%
=======================================
Files 15 15
Lines 690 576 -114
=======================================
- Hits 592 515 -77
+ Misses 73 61 -12
+ Partials 25 0 -25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
golangci-lint v2.12.2 fails typecheck against the Go 1.27 standard library (generic methods), which broke the lint job once CI moved to Go 1.27. v2.13.0 added Go 1.27 support. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…t-3b8248 # Conflicts: # .github/workflows/ci.yaml
XSAM
marked this pull request as ready for review
September 5, 2026 00:06
XSAM
enabled auto-merge (squash)
September 5, 2026 00:12
Merged
XSAM
added a commit
that referenced
this pull request
Sep 6, 2026
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) [Go 1.26]: https://go.dev/doc/go1.26 [Go 1.25]: https://go.dev/doc/go1.25 [Go 1.27]: https://go.dev/doc/go1.27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Mirrors #517 for Go 1.27:
.github/workflows/ci.yaml: bumpDEFAULT_GO_VERSIONto~1.27.0and add1.27.0to thecompatibility-testmatrix (now 1.27 / 1.26 / 1.25).README.md: add Go 1.27 rows to the tested-systems table.CHANGELOG.md: add the Go 1.27 entry, the "last release to support Go 1.25" notice, and the Go 1.27 release-notes link.Why
Go 1.27 is released (1.27.1 is current). Per the CI comment, the default CI Go version should track the latest release, and we test the two prior minor versions explicitly.
Reviewer notes
go.modis unchanged. Dropping 1.25 is left for the next release, as the changelog notice says.🤖 Generated with Claude Code