Skip to content

fix(deps): update module github.com/getsentry/sentry-go to v0.46.2#405

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-com-getsentry-sentry-go-0-x
Open

fix(deps): update module github.com/getsentry/sentry-go to v0.46.2#405
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-com-getsentry-sentry-go-0-x

Conversation

@renovate

@renovate renovate Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/getsentry/sentry-go v0.39.0v0.46.2 age confidence

Release Notes

getsentry/sentry-go (github.com/getsentry/sentry-go)

v0.46.2: 0.46.2

Compare Source

Bug Fixes 🐛

v0.46.1: 0.46.1

Compare Source

Bug Fixes 🐛

v0.46.0: 0.46.0

Compare Source

Breaking Changes 🛠
New Features ✨
Internal Changes 🔧
Deps
Other

v0.45.1: 0.45.1

Compare Source

Bug Fixes 🐛

v0.45.0: 0.45.0

Compare Source

Breaking Changes 🛠
New Features ✨
  • Add OTLP trace exporter via new otel/otlp sub-module by @​giortzisg in #​1229
    • sentryotlp.NewTraceExporter sends OTel spans directly to Sentry's OTLP endpoint.
    • sentryotel.NewOtelIntegration links Sentry errors, logs, and metrics to the active OTel trace. Works with both direct-to-Sentry and collector-based setups.
    • NewSentrySpanProcessor, NewSentryPropagator, and SentrySpanMap are deprecated and will be removed in 0.47.0. To Migrate use sentryotlp.NewTraceExporter instead:
    // Before
    sentry.Init(sentry.ClientOptions{Dsn: dsn, EnableTracing: true, TracesSampleRate: 1.0})
    
    tp := sdktrace.NewTracerProvider(
    	sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
    )
    otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
    otel.SetTracerProvider(tp)
    
    // After:
    sentry.Init(sentry.ClientOptions{
    	Dsn: dsn, EnableTracing: true, TracesSampleRate: 1.0,
    	Integrations: func(i []sentry.Integration) []sentry.Integration {
    		return append(i, sentryotel.NewOtelIntegration())
    	},
    })
    
    exporter, _ := sentryotlp.NewTraceExporter(ctx, dsn)
    tp := sdktrace.NewTracerProvider(sdktrace.WithBatcher(exporter))
    otel.SetTracerProvider(tp)
  • Add IsSensitiveHeader helper to easily distinguish which headers to scrub for PII. by @​giortzisg in #​1239
Bug Fixes 🐛
Internal Changes 🔧
Deps
Other

v0.44.1: 0.44.1

Compare Source

[!NOTE]
v0.44.0 had to be released as v0.44.1 due to a technical issue.

New Features ✨
  • Add RemoveAttribute api on the scope. by @​giortzisg in #​1224
  • Deprecate Scope.SetExtra, Scope.SetExtras, and Scope.RemoveExtra in favor of Scope.SetAttributes and Scope.RemoveAttribute by @​giortzisg in #​1224
    • The recommended migration path is to use SetAttributes to attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, use SetTag or SetContext instead.
    • Before:
    scope.SetExtra("key.string", "str")
    scope.SetExtra("key.int", 42)
    • After (for error events) — use tags and contexts:
    scope.SetTag("key.string", "str")
    scope.SetContext("my_data", sentry.Context{"key.int": 42})
    • After (for logs and metrics) — use attributes:
    scope.SetAttributes(
        attribute.String("key.string", "str"),
        attribute.Int("key.int", 42),
    )
  • Add support for homogenous arrays by @​giortzisg in #​1203
  • Add support for client reports by @​giortzisg in #​1192
  • Add org id propagation in sentry_baggage by @​giortzisg in #​1210
  • Add OrgID and StrictTraceContinuation client options. by @​giortzisg in #​1210
  • Add the option to set attributes on the scope by @​giortzisg in #​1208
Bug Fixes 🐛
Internal Changes 🔧
Ai
Deps
Other

v0.44.0: 0.44.0

Compare Source

[!NOTE]
v0.44.0 had to be released as v0.44.1 due to a technical issue.

New Features ✨
  • Add RemoveAttribute api on the scope. by @​giortzisg in #​1224
  • Deprecate Scope.SetExtra, Scope.SetExtras, and Scope.RemoveExtra in favor of Scope.SetAttributes and Scope.RemoveAttribute by @​giortzisg in #​1224
    • The recommended migration path is to use SetAttributes to attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, use SetTag or SetContext instead.
    • Before:
    scope.SetExtra("key.string", "str")
    scope.SetExtra("key.int", 42)
    • After (for error events) — use tags and contexts:
    scope.SetTag("key.string", "str")
    scope.SetContext("my_data", sentry.Context{"key.int": 42})
    • After (for logs and metrics) — use attributes:
    scope.SetAttributes(
        attribute.String("key.string", "str"),
        attribute.Int("key.int", 42),
    )
  • Add support for homogenous arrays by @​giortzisg in #​1203
  • Add support for client reports by @​giortzisg in #​1192
  • Add org id propagation in sentry_baggage by @​giortzisg in #​1210
  • Add OrgID and StrictTraceContinuation client options. by @​giortzisg in #​1210
  • Add the option to set attributes on the scope by @​giortzisg in #​1208
Bug Fixes 🐛
Internal Changes 🔧
Ai
Deps
Other

v0.43.0: 0.43.0

Compare Source

Breaking Changes 🛠
  • Add support for go 1.26 by @​giortzisg in #​1193
    • bump minimum supported go version to 1.24
  • change type signature of attributes for Logs and Metrics. by @​giortzisg in #​1205
    • users are not supposed to modify Attributes directly on the Log/Metric itself, but this is still is a breaking change on the type.
  • Send uint64 overflowing attributes as numbers. by @​giortzisg in #​1198
    • The SDK was converting overflowing uint64 attributes to strings for slog and logrus integrations. To eliminate double types for these attributes, the SDK now sends the overflowing attribute as is, and lets the server handle the overflow appropriately.
    • It is expected that overflowing unsigned integers would now get dropped, instead of converted to strings.
New Features ✨
Bug Fixes 🐛
Internal Changes 🔧
Deps
Other

v0.42.0: 0.42.0

Compare Source

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

v0.41.0: 0.41.0

Compare Source

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)

v0.40.0: 0.40.0

Compare Source

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

Bug Fixes
  • Disable DisableTelemetryBuffer flag and noop Telemetry Buffer, to prevent a panic at runtime (#​1149).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 4 times, most recently from 809f399 to 41e886a Compare April 16, 2026 11:35
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.44.1 fix(deps): update module github.com/getsentry/sentry-go to v0.45.0 Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 6 times, most recently from 78ca4c8 to b78d554 Compare April 20, 2026 09:01
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.45.0 fix(deps): update module github.com/getsentry/sentry-go to v0.45.1 Apr 20, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 2 times, most recently from ed3e3e5 to a8a53b2 Compare April 28, 2026 14:13
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.45.1 fix(deps): update module github.com/getsentry/sentry-go to v0.46.0 Apr 28, 2026
@renovate

renovate Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.0 -> 1.25.0

@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 2 times, most recently from 535a879 to 54f7e38 Compare April 29, 2026 19:57
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.0 fix(deps): update module github.com/getsentry/sentry-go to v0.46.1 May 5, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 2 times, most recently from 0c27d4c to e2fcba8 Compare May 11, 2026 10:47
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.1 fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 May 11, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 3 times, most recently from 85547ac to 38c77ce Compare May 27, 2026 20:31
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed May 29, 2026
@renovate renovate Bot closed this May 29, 2026
@renovate renovate Bot deleted the renovate/github-com-getsentry-sentry-go-0-x branch May 29, 2026 21:36
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 May 30, 2026
@renovate renovate Bot reopened this May 30, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch from 1db5719 to 38c77ce Compare May 30, 2026 05:35
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed Jun 5, 2026
@renovate renovate Bot closed this Jun 5, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 Jun 5, 2026
@renovate renovate Bot reopened this Jun 5, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch 2 times, most recently from 38c77ce to ef9cd1d Compare June 5, 2026 14:40
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed Jun 12, 2026
@renovate renovate Bot closed this Jun 12, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 Jun 13, 2026
@renovate renovate Bot reopened this Jun 13, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch from 9d5a5ca to ef9cd1d Compare June 13, 2026 02:13
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch from ef9cd1d to 5075121 Compare June 15, 2026 19:15
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed Jun 17, 2026
@renovate renovate Bot closed this Jun 17, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 - autoclosed fix(deps): update module github.com/getsentry/sentry-go to v0.46.2 Jun 18, 2026
@renovate renovate Bot reopened this Jun 18, 2026
@renovate renovate Bot force-pushed the renovate/github-com-getsentry-sentry-go-0-x branch from f6dd27d to 5075121 Compare June 18, 2026 02:33
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.

0 participants