Skip to content

chore(deps): update github.com/getsentry/sentry-go to v0.47.0#162

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

chore(deps): update github.com/getsentry/sentry-go to v0.47.0#162
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-getsentry-sentry-go-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/getsentry/sentry-go v0.42.0v0.47.0 age adoption passing confidence

Release Notes

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

v0.47.0: 0.47.0

Compare Source

Breaking Changes 🛠
  • Fix transaction_info source getting set incorrectly across HTTP middleware integrations (http, fasthttp, fiber). Users should now expect traces to properly get grouped with their parameterized path. Transactions in affected integrations may regroup after upgrading. by @​giortzisg in #​1325
  • remove deprecatedotel.NewSentrySpanProcessor. Users should now use the sentryotlp.NewTraceExporter instead by @​giortzisg in #​1307
    // 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)
  • Enable logs by default to skip double allow behavior. Enabling logs now happens once when setting up either sentry.NewLogger or any supported integration. Also the EnableLogs flag changes to DisableLogs for a global override switch by @​giortzisg in #​1306
  • Remove the ContextifyFrames integration. The recommended way to add source context is SCM by @​giortzisg in #​1302
New Features ✨
  • Add fiber v3 integration by @​giortzisg in #​1324
  • Bump fasthttp from 1.51.0 to 1.71.0 by @​giortzisg in #​1324
  • Add sentrysql SQL tracing integration by @​giortzisg in #​1305
    • Supports multiple integration paths depending on how your app opens database connections: sentrysql.Open(...), sentrysql.OpenDB(...), and wrapped drivers/connectors for custom setups.
    • Database metadata is not inferred in every setup. If the database name is not discoverable automatically, pass sentrysql.WithDatabaseName(...) so spans are populated correctly.
    • Example:
     // Simple driver-based setup
     db, err := sentrysql.Open("sqlite", ":memory:",
         sentrysql.WithDatabaseSystem(sentrysql.SystemSQLite),
         sentrysql.WithDatabaseName("main"),
     )
Internal Changes 🔧
Deps
Other

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "after 2pm on sunday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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 commented Mar 1, 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):

  • 9 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.25.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/pmezard/go-difflib v1.0.0 -> v1.0.1-0.20181226105442-5d4384ee4fb2
golang.org/x/mod v0.25.0 -> v0.35.0
golang.org/x/sync v0.16.0 -> v0.20.0
golang.org/x/crypto v0.40.0 -> v0.50.0
golang.org/x/net v0.42.0 -> v0.53.0
golang.org/x/sys v0.35.0 -> v0.44.0
golang.org/x/text v0.27.0 -> v0.37.0
golang.org/x/tools v0.34.0 -> v0.44.0

@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 2 times, most recently from f0d6b7d to 28fac85 Compare March 9, 2026 01:58
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 2 times, most recently from 7ea22cc to 12c258e Compare March 24, 2026 16:28
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.43.0 chore(deps): update github.com/getsentry/sentry-go to v0.44.1 Mar 24, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 12c258e to 3f9a00a Compare April 9, 2026 11:10
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.44.1 chore(deps): update github.com/getsentry/sentry-go to v0.45.0 Apr 9, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 2 times, most recently from 55a44ec to 0316837 Compare April 13, 2026 15:00
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.45.0 chore(deps): update github.com/getsentry/sentry-go to v0.45.1 Apr 13, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 0316837 to 3a819a0 Compare April 19, 2026 17:01
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.45.1 chore(deps): update github.com/getsentry/sentry-go to v0.46.0 Apr 21, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 3a819a0 to 264f194 Compare April 21, 2026 14:49
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 264f194 to e23c709 Compare April 28, 2026 15:01
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.0 chore(deps): update github.com/getsentry/sentry-go to v0.46.1 Apr 28, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from e23c709 to 7ba429d Compare May 4, 2026 13:46
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.1 chore(deps): update github.com/getsentry/sentry-go to v0.46.2 May 4, 2026
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.2 chore(deps): update github.com/getsentry/sentry-go to v0.46.2 - autoclosed May 5, 2026
@renovate renovate Bot closed this May 5, 2026
@renovate renovate Bot deleted the renovate/github.com-getsentry-sentry-go-0.x branch May 5, 2026 01:11
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.2 - autoclosed chore(deps): update github.com/getsentry/sentry-go to v0.46.2 May 10, 2026
@renovate renovate Bot reopened this May 10, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 4 times, most recently from e8b59e5 to bcefa41 Compare May 11, 2026 00:39
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from bcefa41 to 834b472 Compare May 17, 2026 20:56
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 834b472 to 932422c Compare May 18, 2026 01:25
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.2 chore(deps): update 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 chore(deps): update github.com/getsentry/sentry-go to v0.46.2 - autoclosed chore(deps): update github.com/getsentry/sentry-go to v0.46.2 Jun 7, 2026
@renovate renovate Bot reopened this Jun 7, 2026
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 5 times, most recently from d4b13c4 to 8e2ca6d Compare June 14, 2026 20:34
@renovate renovate Bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 8e2ca6d to b3e10a4 Compare June 16, 2026 11:52
@renovate renovate Bot changed the title chore(deps): update github.com/getsentry/sentry-go to v0.46.2 chore(deps): update github.com/getsentry/sentry-go to v0.47.0 Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants