github.com/getsentry/sentry-go breaking changes
Updated December 4, 2026
On this page
Latest version v0.50.0, released October 8, 2026. Source repository
Its v0.46.0 release drops Go 1.24. Go end of life dates.
github.com/getsentry/sentry-go v0.50.0 breaking changes
- Behavior changed
Code that checked for a nil client must now check client.IsEnabled instead. github.com
github.com/getsentry/sentry-go v0.49.0 breaking changes
- Removed
github.com/getsentry/sentry-go.ClientOptions.DisableLogs
The DisableLogs client option is gone. Stop setting it; to avoid sending logs, do not call the logging APIs or set up the integrations. pkg.go.dev - Removed
github.com/getsentry/sentry-go.ClientOptions.DisableMetrics
The DisableMetrics client option is gone. Stop setting it; to avoid sending metrics, do not call the metrics APIs. pkg.go.dev
github.com/getsentry/sentry-go v0.48.0 breaking changes
- Removed
Logging integrations no longer create issues, so code that relied on this must change its error reporting. github.com - Removed
github.com/getsentry/sentry-go.IsSensitiveHeader
github.com/getsentry/sentry-go.IsSensitiveHeader was removed in github.com/getsentry/sentry-go v0.48.0 pkg.go.dev - Behavior changed
ClientOptions.SendDefaultPII
When DataCollection is set, SendDefaultPII is ignored, so data collection must be configured through DataCollection instead. github.com - Signature changed
github.com/getsentry/sentry-go.PushScope
PushScope now returns the new scope reference, so code that ignores or expects a different return value must be updated. pkg.go.dev
github.com/getsentry/sentry-go v0.47.0 breaking changes
- Removed
ContextifyFrames
The ContextifyFrames integration is removed. Use source context via SCM instead. github.com - Removed
github.com/getsentry/sentry-go.ClientOptions.EnableLogs
github.com/getsentry/sentry-go.ClientOptions.EnableLogs was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Log.GetDynamicSamplingContext
github.com/getsentry/sentry-go.Log.GetDynamicSamplingContext was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Log.GetEventID
github.com/getsentry/sentry-go.Log.GetEventID was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Log.GetSdkInfo
github.com/getsentry/sentry-go.Log.GetSdkInfo was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Metric.GetDynamicSamplingContext
github.com/getsentry/sentry-go.Metric.GetDynamicSamplingContext was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Metric.GetEventID
github.com/getsentry/sentry-go.Metric.GetEventID was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Metric.GetSdkInfo
github.com/getsentry/sentry-go.Metric.GetSdkInfo was removed in github.com/getsentry/sentry-go v0.47.0 pkg.go.dev - Removed
otel.NewSentrySpanProcessor
The deprecated span processor is gone. Use sentryotlp.NewTraceExporter with an OTLP batcher and sentryotel.NewOtelIntegration instead. github.com - Behavior changed
sentry.ClientOptions.EnableLogs
Logs are now enabled by default when a logger or supported integration is set up. To turn them off globally, use DisableLogs instead of EnableLogs. github.com
And 3 more in this version. Sign up to see every change
github.com/getsentry/sentry-go v0.46.0 breaking changes
- Removed
The package no longer supports Go 1.24. Users on Go 1.24 must upgrade their Go toolchain. github.com - Removed
github.com/getsentry/sentry-go.Event.Extra
github.com/getsentry/sentry-go.Event.Extra was removed in github.com/getsentry/sentry-go v0.46.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Scope.RemoveExtra
github.com/getsentry/sentry-go.Scope.RemoveExtra was removed in github.com/getsentry/sentry-go v0.46.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Scope.SetExtra
SetExtra has been removed in this release. Code that calls it must be changed before upgrading. pkg.go.dev - Removed
github.com/getsentry/sentry-go.Scope.SetExtras
github.com/getsentry/sentry-go.Scope.SetExtras was removed in github.com/getsentry/sentry-go v0.46.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Span.Extra
Use Data instead. pkg.go.dev - Default changed
DisableTelemetryBuffer
The Telemetry Processor is now on by default. Set the DisableTelemetryBuffer flag to keep the previous behavior. github.com
github.com/getsentry/sentry-go v0.45.0 breaking changes
- Behavior changed
The release lists Echo v5 support under Breaking Changes, so code that relies on the previous Echo integration behavior may need review. github.com
Older versions
24 older versions, each with its first changes. Sign up to see every change
Show 24 older versions
github.com/getsentry/sentry-go v0.43.0 breaking changes
- Removed
github.com/getsentry/sentry-go.Attribute
github.com/getsentry/sentry-go.Attribute was removed in github.com/getsentry/sentry-go v0.43.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.AttributeBool
github.com/getsentry/sentry-go.AttributeBool was removed in github.com/getsentry/sentry-go v0.43.0 pkg.go.dev
And 16 more in this version.
github.com/getsentry/sentry-go v0.42.0 breaking changes
- Removed
batchlogger
The batchlogger symbol was unexported as part of the metric support change. Code referring to it from outside the package will no longer compile. github.com - Removed
Event.ToEnvelopeItem
The ToEnvelopeItem(dsn) method was removed from Event. Code calling it on events must stop doing so. github.com
And 7 more in this version.
github.com/getsentry/sentry-go v0.38.0 breaking changes
- Behavior changed
Events are now sent through the new async envelope transport and telemetry buffer. Set DisableTelemetryBuffer to true to keep the legacy transport. github.com - Behavior changed
ClientOptions.Transport
When a custom Transport is provided, the SDK disables the telemetry buffer and uses the legacy transport instead. github.com
github.com/getsentry/sentry-go v0.37.0 breaking changes
- Default changed
TraceIgnoreStatusCodes
The TraceIgnoreStatusCodes option now defaults to ignoring 404 status codes, so requests returning 404 no longer produce traces unless you change the option. github.com
github.com/getsentry/sentry-go v0.36.0 breaking changes
- Removed
The SDK no longer supports Go 1.22. Users on Go 1.22 must upgrade their Go toolchain to keep using this release. github.com - Behavior changed
Error handling changes mean wrapped and complex errors will be grouped under a new issue group in Sentry. Users may see new issues appear for errors that were previously grouped together. github.com
And 1 more in this version.
github.com/getsentry/sentry-go v0.35.0 breaking changes
- Removed
github.com/getsentry/sentry-go.Logger.Debugf
github.com/getsentry/sentry-go.Logger.Debugf was removed in github.com/getsentry/sentry-go v0.35.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.Logger.Errorf
github.com/getsentry/sentry-go.Logger.Errorf was removed in github.com/getsentry/sentry-go v0.35.0 pkg.go.dev
And 14 more in this version.
github.com/getsentry/sentry-go v0.34.0 breaking changes
- Behavior changed
More sensitive HTTP headers are now scrubbed by default, so code that relies on those headers appearing in events may see them removed. github.com - Signature changed
github.com/getsentry/sentry-go.Log.Level
Was Level Level; now Level LogLevel. pkg.go.dev
And 7 more in this version.
github.com/getsentry/sentry-go v0.33.0 breaking changes
- Signature changed
github.com/getsentry/sentry-go.Logger
The internal Logger was renamed to DebugLogger. Code that uses the Logger directly must switch to DebugLogger; code that only sets Debug: true needs no change. pkg.go.dev
github.com/getsentry/sentry-go v0.32.0 breaking changes
- Behavior changed
The SDK now requires Go 1.22 or later; supported versions are 1.22, 1.23 and 1.24. Upgrade the Go toolchain before updating. github.com - Behavior changed
Transaction data attributes are now sent as trace context data attributes, which changes how they appear in Sentry. github.com
And 1 more in this version.
github.com/getsentry/sentry-go v0.31.0 breaking changes
- Removed
Metrics support is removed because the Sentry Metrics beta has ended. Code that uses metrics must stop doing so. github.com - Removed
Profiling support is removed from the package. Code that relies on profiling must stop using it. github.com
And 48 more in this version.
github.com/getsentry/sentry-go v0.30.0 breaking changes
- Removed
The SDK no longer supports Go 1.18, 1.19 and 1.20; the supported versions are the last 3 stable releases (1.23, 1.22 and 1.21). Upgrade your Go toolchain to use this release. github.com - Removed
github.com/getsentry/sentry-go/fasthttp.ContextKey
github.com/getsentry/sentry-go/fasthttp.ContextKey was removed in github.com/getsentry/sentry-go v0.30.0 pkg.go.dev
github.com/getsentry/sentry-go v0.29.0 breaking changes
- Removed
github.com/getsentry/sentry-go/http.NewWrapResponseWriter
github.com/getsentry/sentry-go/http.NewWrapResponseWriter was removed in github.com/getsentry/sentry-go v0.29.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go/http.WrapResponseWriter
WrapResponseWriter is no longer exported from sentryhttp; it moved to internal/httputils, so users must copy the implementation into their project if they used it. pkg.go.dev
And 4 more in this version.
github.com/getsentry/sentry-go v0.28.0 breaking changes
- Behavior changed
Error reports now build exception groups by following errors.Unwrap(), so events for wrapped errors may group differently than before. github.com - Signature changed
github.com/getsentry/sentry-go.Span.SetData
Was func SetData(string, string); now func SetData(string, interface{}). pkg.go.dev
github.com/getsentry/sentry-go v0.27.0 breaking changes
- Signature changed
Exception.ThreadId
Exception.ThreadId is now typed as uint64 instead of string. Code that assigns or reads it as a string must be updated. github.com - Signature changed
github.com/getsentry/sentry-go.Exception.ThreadID
Was ThreadID string; now ThreadID uint64. pkg.go.dev
github.com/getsentry/sentry-go v0.26.0 breaking changes
- Removed
github.com/getsentry/sentry-go.OpName
sentry.OpName() was removed. Use sentry.WithOpName() instead. pkg.go.dev - Removed
github.com/getsentry/sentry-go.SpanSampled
sentry.SpanSampled() was removed. Use sentry.WithSpanSampled() instead. pkg.go.dev
And 2 more in this version.
github.com/getsentry/sentry-go v0.25.0 breaking changes
- Removed
github.com/getsentry/sentry-go.SDKIdentifier
The sentry.SDKIdentifier constant was removed. Use Client.GetSDKIdentifier() instead. pkg.go.dev - Removed
github.com/getsentry/sentry-go.Version
The sentry.Version constant was removed in favor of sentry.SDKVersion. Update code that references sentry.Version. pkg.go.dev
github.com/getsentry/sentry-go v0.24.0 breaking changes
- Behavior changed
The Gin integration now uses the route path as the transaction name instead of the previous naming. Code relying on the old transaction names may need updating. github.com
github.com/getsentry/sentry-go v0.21.0 breaking changes
- Removed
The /store endpoint is no longer supported, so self-hosted Sentry must be version 20.6.0 or higher. Sentry.io is not affected. github.com - Removed
github.com/getsentry/sentry-go.Dsn.EnvelopeAPIURL
github.com/getsentry/sentry-go.Dsn.EnvelopeAPIURL was removed in github.com/getsentry/sentry-go v0.21.0 pkg.go.dev
And 1 more in this version.
github.com/getsentry/sentry-go v0.20.0 breaking changes
- Removed
github.com/getsentry/sentry-go.Scope.SetTransaction
Use Span.Name to access the transaction's name instead of the removed Scope methods; update TracesSampler code accordingly. pkg.go.dev - Removed
github.com/getsentry/sentry-go.Scope.Transaction
Use Span.Name to access the transaction's name instead of the removed Scope methods; update TracesSampler code accordingly. pkg.go.dev
And 1 more in this version.
github.com/getsentry/sentry-go v0.19.0 breaking changes
- Removed
The SDK no longer supports Go 1.17. Projects still on Go 1.17 must upgrade their Go toolchain before using this version. github.com
github.com/getsentry/sentry-go v0.16.0 breaking changes
- Removed
github.com/getsentry/sentry-go.TracesSamplerFunc
github.com/getsentry/sentry-go.TracesSamplerFunc was removed in github.com/getsentry/sentry-go v0.16.0 pkg.go.dev - Removed
github.com/getsentry/sentry-go.UniformTracesSampler
github.com/getsentry/sentry-go.UniformTracesSampler was removed in github.com/getsentry/sentry-go v0.16.0 pkg.go.dev
And 3 more in this version.
github.com/getsentry/sentry-go v0.15.0 breaking changes
- Behavior changed
Values set on the scope no longer override values already set on the event, so code relying on the old precedence may see different data. github.com
github.com/getsentry/sentry-go v0.14.0 breaking changes
- Removed
The package no longer supports Go 1.15 and Go 1.16. Users on those versions must upgrade Go to keep using this release. github.com - Behavior changed
The package now uses os and io instead of the deprecated ioutil package. Code that depended on the previous ioutil-based behavior should be checked. github.com
And 4 more in this version.
github.com/getsentry/sentry-go v0.13.0 breaking changes
- Signature changed
DSN ProjectID
The DSN project ID is now a string instead of an integer, so code that reads or sets it must be updated to match. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.