build(deps): bump github.com/getsentry/sentry-go from 0.40.0 to 0.42.0 #46

Merged
dependabot[bot] merged 1 commit from dependabot/go_modules/github.com/getsentry/sentry-go-0.42.0 into main 2026-02-08 00:41:14 +00:00
dependabot[bot] commented 2026-01-28 01:24:31 +00:00 (Migrated from github.com)

Bumps github.com/getsentry/sentry-go from 0.40.0 to 0.42.0.

Release notes

Sourced from github.com/getsentry/sentry-go's releases.

0.42.0

Breaking Changes 🛠

  • refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible by @​giortzisg in #1180
    • remove ToEnvelopeItem from single log items
    • rename TelemetryBuffer to Telemetry Processor to adhere to spec
    • remove unsed ToEnvelopeItem(dsn) from Event.

New Features

  • Add metric support by @​aldy505 in #1151
    • support for three metric methods (counter, gauge, distribution)
    • custom metric units
    • unexport batchlogger

Internal Changes 🔧

Release

Other

0.41.0

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.

Features

  • Add HTTP client integration for distributed tracing via sentryhttpclient package (#876)
    • Provides an http.RoundTripper implementation that automatically creates spans for outgoing HTTP requests
    • Supports trace propagation targets configuration via WithTracePropagationTargets option
    • Example usage:
      import sentryhttpclient "github.com/getsentry/sentry-go/httpclient"
      

      roundTripper := sentryhttpclient.NewSentryRoundTripper(nil)
      client := &http.Client{
      Transport: roundTripper,
      }

  • Add ClientOptions.PropagateTraceparent option to control W3C traceparent header propagation in outgoing HTTP requests (#1161)
  • Add SpanID field to structured logs (#1169)
Changelog

Sourced from github.com/getsentry/sentry-go's changelog.

0.42.0

Breaking Changes 🛠

  • refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible by @​giortzisg in #1180
    • remove ToEnvelopeItem from single log items
    • rename TelemetryBuffer to Telemetry Processor to adhere to spec
    • remove unsed ToEnvelopeItem(dsn) from Event.

New Features

  • Add metric support by @​aldy505 in #1151
    • support for three metric methods (counter, gauge, distribution)
    • custom metric units
    • unexport batchlogger

Internal Changes 🔧

Release

Other

0.41.0

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.

Features

  • Add HTTP client integration for distributed tracing via sentryhttpclient package (#876)
    • Provides an http.RoundTripper implementation that automatically creates spans for outgoing HTTP requests
    • Supports trace propagation targets configuration via WithTracePropagationTargets option
    • Example usage:
      import sentryhttpclient "github.com/getsentry/sentry-go/httpclient"
      

      roundTripper := sentryhttpclient.NewSentryRoundTripper(nil)
      client := &http.Client{
      Transport: roundTripper,
      }

  • Add ClientOptions.PropagateTraceparent option to control W3C traceparent header propagation in outgoing HTTP requests (#1161)
  • Add SpanID field to structured logs (#1169)
Commits

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/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.40.0 to 0.42.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/releases">github.com/getsentry/sentry-go's releases</a>.</em></p> <blockquote> <h2>0.42.0</h2> <h3>Breaking Changes 🛠</h3> <ul> <li>refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1180">#1180</a> <ul> <li>remove ToEnvelopeItem from single log items</li> <li>rename TelemetryBuffer to Telemetry Processor to adhere to spec</li> <li>remove unsed ToEnvelopeItem(dsn) from Event.</li> </ul> </li> </ul> <h3>New Features ✨</h3> <ul> <li>Add metric support by <a href="https://github.com/aldy505"><code>@​aldy505</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1151">#1151</a> <ul> <li>support for three metric methods (counter, gauge, distribution)</li> <li>custom metric units</li> <li>unexport batchlogger</li> </ul> </li> </ul> <h3>Internal Changes 🔧</h3> <h4>Release</h4> <ul> <li>Fix changelog-preview permissions by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1181">#1181</a></li> <li>Switch from action-prepare-release to Craft by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1167">#1167</a></li> </ul> <h4>Other</h4> <ul> <li>(repo) Add Claude Code settings with basic permissions by <a href="https://github.com/philipphofmann"><code>@​philipphofmann</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1175">#1175</a></li> <li>Update release and changelog-preview workflows by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1177">#1177</a></li> <li>Bump echo to 4.10.1 by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1174">#1174</a></li> </ul> <h2>0.41.0</h2> <p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.</p> <h3>Features</h3> <ul> <li>Add HTTP client integration for distributed tracing via <code>sentryhttpclient</code> package (<a href="https://redirect.github.com/getsentry/sentry-go/pull/876">#876</a>) <ul> <li>Provides an <code>http.RoundTripper</code> implementation that automatically creates spans for outgoing HTTP requests</li> <li>Supports trace propagation targets configuration via <code>WithTracePropagationTargets</code> option</li> <li>Example usage: <pre lang="go"><code>import sentryhttpclient &quot;github.com/getsentry/sentry-go/httpclient&quot; <p>roundTripper := sentryhttpclient.NewSentryRoundTripper(nil)<br /> client := &amp;http.Client{<br /> Transport: roundTripper,<br /> }<br /> </code></pre></p> </li> </ul> </li> <li>Add <code>ClientOptions.PropagateTraceparent</code> option to control W3C <code>traceparent</code> header propagation in outgoing HTTP requests (<a href="https://redirect.github.com/getsentry/sentry-go/pull/1161">#1161</a>)</li> <li>Add <code>SpanID</code> field to structured logs (<a href="https://redirect.github.com/getsentry/sentry-go/pull/1169">#1169</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md">github.com/getsentry/sentry-go's changelog</a>.</em></p> <blockquote> <h2>0.42.0</h2> <h3>Breaking Changes 🛠</h3> <ul> <li>refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1180">#1180</a> <ul> <li>remove ToEnvelopeItem from single log items</li> <li>rename TelemetryBuffer to Telemetry Processor to adhere to spec</li> <li>remove unsed ToEnvelopeItem(dsn) from Event.</li> </ul> </li> </ul> <h3>New Features ✨</h3> <ul> <li>Add metric support by <a href="https://github.com/aldy505"><code>@​aldy505</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1151">#1151</a> <ul> <li>support for three metric methods (counter, gauge, distribution)</li> <li>custom metric units</li> <li>unexport batchlogger</li> </ul> </li> </ul> <h3>Internal Changes 🔧</h3> <h4>Release</h4> <ul> <li>Fix changelog-preview permissions by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1181">#1181</a></li> <li>Switch from action-prepare-release to Craft by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1167">#1167</a></li> </ul> <h4>Other</h4> <ul> <li>(repo) Add Claude Code settings with basic permissions by <a href="https://github.com/philipphofmann"><code>@​philipphofmann</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1175">#1175</a></li> <li>Update release and changelog-preview workflows by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1177">#1177</a></li> <li>Bump echo to 4.10.1 by <a href="https://github.com/giortzisg"><code>@​giortzisg</code></a> in <a href="https://redirect.github.com/getsentry/sentry-go/pull/1174">#1174</a></li> </ul> <h2>0.41.0</h2> <p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.</p> <h3>Features</h3> <ul> <li>Add HTTP client integration for distributed tracing via <code>sentryhttpclient</code> package (<a href="https://redirect.github.com/getsentry/sentry-go/pull/876">#876</a>) <ul> <li>Provides an <code>http.RoundTripper</code> implementation that automatically creates spans for outgoing HTTP requests</li> <li>Supports trace propagation targets configuration via <code>WithTracePropagationTargets</code> option</li> <li>Example usage: <pre lang="go"><code>import sentryhttpclient &quot;github.com/getsentry/sentry-go/httpclient&quot; <p>roundTripper := sentryhttpclient.NewSentryRoundTripper(nil)<br /> client := &amp;http.Client{<br /> Transport: roundTripper,<br /> }<br /> </code></pre></p> </li> </ul> </li> <li>Add <code>ClientOptions.PropagateTraceparent</code> option to control W3C <code>traceparent</code> header propagation in outgoing HTTP requests (<a href="https://redirect.github.com/getsentry/sentry-go/pull/1161">#1161</a>)</li> <li>Add <code>SpanID</code> field to structured logs (<a href="https://redirect.github.com/getsentry/sentry-go/pull/1169">#1169</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-go/commit/21004229d97bbc308e095c53cb84d82449be411a"><code>2100422</code></a> release: 0.42.0</li> <li><a href="https://github.com/getsentry/sentry-go/commit/ba17897c5492456000157ebccd4ba11896be3c50"><code>ba17897</code></a> refactor!: update Telemetry Processor logic (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1180">#1180</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/5d2aa89e695dc575dc8e9d4285528478969e3650"><code>5d2aa89</code></a> feat: Add metrics support (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1151">#1151</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/e090e4a55b2dce773817967a6adc2c2ef24d6a25"><code>e090e4a</code></a> ci(release): Fix changelog-preview permissions (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1181">#1181</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/9d2368e9525b0c5c4326211c9054b9d8f7482618"><code>9d2368e</code></a> ci: update release and changelog-preview workflows (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1177">#1177</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/c551ab56f3dda443c07c205e2b0ecc2c75b123cb"><code>c551ab5</code></a> ci(release): Switch from action-prepare-release to Craft (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1167">#1167</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/21b1d0f4b5121b2963e96e4d0abb60a2a6905995"><code>21b1d0f</code></a> chore(repo): Add Claude Code settings with basic permissions (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1175">#1175</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/e84cccc9bd44f977b29085846cee283b4015ba6f"><code>e84cccc</code></a> chore: ignore local Claude settings (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1176">#1176</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/b9f4109494f8a828fe1f5eb8e0fbb5f77d042e65"><code>b9f4109</code></a> chore: bump echo to 4.10.1 (<a href="https://redirect.github.com/getsentry/sentry-go/issues/1174">#1174</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/9c96788510b14b8d8beac6384b883e8b1abdee80"><code>9c96788</code></a> Merge branch 'release/0.41.0'</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.40.0...v0.42.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/getsentry/sentry-go&package-manager=go_modules&previous-version=0.40.0&new-version=0.42.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
coderabbitai[bot] commented 2026-01-28 01:24:41 +00:00 (Migrated from github.com)

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

<!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: skip review by coderabbit.ai --> > [!IMPORTANT] > ## Review skipped > > Bot user detected. > > To trigger a single review, invoke the `@coderabbitai review` command. > > You can disable this status message by setting the `reviews.review_status` to `false` in the CodeRabbit configuration file. - [ ] <!-- {"checkboxId": "fdf320d5-c1c1-4cbc-8d68-43fb5055f35f"} --> 🔍 Trigger a full review <!-- end of auto-generated comment: skip review by coderabbit.ai --> <!-- tips_start --> --- <sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub> <!-- tips_end -->
Sign in to join this conversation.
No description provided.