Skip to content

Conversation

@XSAM
Copy link
Owner

@XSAM XSAM commented Dec 16, 2025

⚠️ 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

Removed

Changed

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.3%. Comparing base (197f6da) to head (31ee718).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #590   +/-   ##
=====================================
  Coverage   85.3%   85.3%           
=====================================
  Files         16      16           
  Lines        752     752           
=====================================
  Hits         642     642           
  Misses        74      74           
  Partials      36      36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@XSAM XSAM merged commit 92a17e7 into main Dec 16, 2025
18 checks passed
@XSAM XSAM deleted the pre_release_v0.41.0 branch December 16, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants