Skip to content

Update module github.com/getsentry/sentry-go to v0.47.0#5726

Merged
samuv merged 1 commit into
mainfrom
renovate/github.com-getsentry-sentry-go-0.x
Jul 6, 2026
Merged

Update module github.com/getsentry/sentry-go to v0.47.0#5726
samuv merged 1 commit into
mainfrom
renovate/github.com-getsentry-sentry-go-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/getsentry/sentry-go v0.44.1v0.47.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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

Configuration

📅 Schedule: (UTC)

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

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

Rebasing: Whenever PR becomes conflicted, 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 added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@renovate renovate Bot requested a review from JAORMX as a code owner July 6, 2026 08:06
@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.68%. Comparing base (953f5b9) to head (6ca3e7c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5726      +/-   ##
==========================================
+ Coverage   70.65%   70.68%   +0.03%     
==========================================
  Files         682      682              
  Lines       68854    68854              
==========================================
+ Hits        48650    48672      +22     
+ Misses      16659    16620      -39     
- Partials     3545     3562      +17     

☔ View full report in Codecov by Harness.
📢 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.

@samuv samuv merged commit fdca599 into main Jul 6, 2026
42 checks passed
@samuv samuv deleted the renovate/github.com-getsentry-sentry-go-0.x branch July 6, 2026 08:37
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 size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant