Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 17, 2025

Bumps github.com/XSAM/otelsql from 0.39.0 to 0.41.0.

Release notes

Sourced from github.com/XSAM/otelsql's releases.

Release v0.41.0

⚠️ Notice ⚠️

This release contains breaking changes:

  • RegisterDBStatsMetrics now returns (metric.Registration, error) (previously returned only error) so callers can Unregister() the callback and avoid memory leaks.
    • If you need to unregister: reg, err := RegisterDBStatsMetrics(...) + defer reg.Unregister().
    • If you do not need to unregister: _, err := RegisterDBStatsMetrics(...).
  • WithAttributes now appends attributes when specified multiple times (previously overwrote existing attributes).
    • If you relied on overwriting: consolidate your attributes into a single WithAttributes(...) call.

Added

  • WithTextMapPropagator allows customization of the OTel text map propagator used by SQLCommenter. (#540) This is an experimental feature and may be changed or removed in a later release.

Removed

Changed

  • Reduce allocations and improve performance when creating spans. (#549)
  • Reduce allocations when recording metrics. (#550)
  • RegisterDBStatsMetrics now returns a metric.Registration so callbacks can be unregistered. (#580)
  • WithAttributes now accumulates attributes across multiple calls instead of overwriting. (#576)
  • Upgrade OTel to v1.39.0. (#583)

What's Changed

... (truncated)

Changelog

Sourced from github.com/XSAM/otelsql's changelog.

[0.41.0] - 2025-12-16

⚠️ Notice ⚠️

This release contains breaking changes:

  • RegisterDBStatsMetrics now returns (metric.Registration, error) (previously returned only error) so callers can Unregister() the callback and avoid memory leaks.
    • If you need to unregister: reg, err := RegisterDBStatsMetrics(...) + defer reg.Unregister().
    • If you do not need to unregister: _, err := RegisterDBStatsMetrics(...).
  • WithAttributes now appends attributes when specified multiple times (previously overwrote existing attributes).
    • If you relied on overwriting: consolidate your attributes into a single WithAttributes(...) call.

Added

  • WithTextMapPropagator allows customization of the OTel text map propagator used by SQLCommenter. (#540) This is an experimental feature and may be changed or removed in a later release.

Removed

  • Drop support for [Go 1.23]. (#533)

Changed

  • Reduce allocations and improve performance when creating spans. (#549)
  • Reduce allocations when recording metrics. (#550)
  • RegisterDBStatsMetrics now returns a metric.Registration so callbacks can be unregistered. (#580)
  • WithAttributes now accumulates attributes across multiple calls instead of overwriting. (#576)
  • Upgrade OTel to v1.39.0. (#583)

[0.40.0] - 2025-09-08

This release is the last to support [Go 1.23]. The next release will require at least [Go 1.24].

Added

  • Support testing of [Go 1.25]. (#517)

Changed

  • Upgrade OTel to v1.38.0/v0.60.0. (#510)
Commits
  • 92a17e7 Release v0.41.0 (#590)
  • 197f6da Change WithAttributes to append instead of replace attributes (#576)
  • 3afe670 Update opentelemetry-go monorepo (#583)
  • 4b55e4a Update actions/upload-artifact action to v6 (#587)
  • 60175c2 RegisterDBStatsMetrics now returns a metric.Registration for unregister (...
  • 5c24069 Update actions/cache action to v5 (#586)
  • f323c76 Update actions/setup-go action to v6.1.0 (#568)
  • 970210b Update codecov/codecov-action action to v5.5.2 (#578)
  • 7ff0bc4 Carify comments for DisableSkipErrMeasurement (#585)
  • 7087ce3 Migrate Renovate config (#584)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/XSAM/otelsql](https://github.com/XSAM/otelsql) from 0.39.0 to 0.41.0.
- [Release notes](https://github.com/XSAM/otelsql/releases)
- [Changelog](https://github.com/XSAM/otelsql/blob/main/CHANGELOG.md)
- [Commits](XSAM/otelsql@v0.39.0...v0.41.0)

---
updated-dependencies:
- dependency-name: github.com/XSAM/otelsql
  dependency-version: 0.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant