go: Update module github.com/getsentry/sentry-go to v0.29.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/getsentry/sentry-go | require | minor |
v0.28.1 -> v0.29.0
|
⚠ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
getsentry/sentry-go (github.com/getsentry/sentry-go)
v0.29.0
: 0.29.0
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.29.0.
Breaking Changes
- Remove the
sentrymartini
integration (#861) - The
WrapResponseWriter
has been moved from thesentryhttp
package to theinternal/httputils
package. If you've imported it previosuly, you'll need to copy the implementation in your project. (#871)
Features
-
Add new convenience methods to continue a trace and propagate tracing headers for error-only use cases. (#862)
If you are not using one of our integrations, you can manually continue an incoming trace by using
sentry.ContinueTrace()
by providing thesentry-trace
andbaggage
header received from a downstream SDK.hub := sentry.CurrentHub() sentry.ContinueTrace(hub, r.Header.Get(sentry.SentryTraceHeader), r.Header.Get(sentry.SentryBaggageHeader)),
You can use
hub.GetTraceparent()
andhub.GetBaggage()
to fetch the necessary header values for outgoing HTTP requests.hub := sentry.GetHubFromContext(ctx) req, _ := http.NewRequest("GET", "http://localhost:3000", nil) req.Header.Add(sentry.SentryTraceHeader, hub.GetTraceparent()) req.Header.Add(sentry.SentryBaggageHeader, hub.GetBaggage())
Bug Fixes
- Initialize
HTTPTransport.limit
ifnil
(#844) - Fix
sentry.StartTransaction()
returning a transaction with an outdated context on existing transactions (#854) - Treat
Proxy-Authorization
as a sensitive header (#859) - Add support for the
http.Hijacker
interface to thesentrynegroni
package (#871) - Go version >= 1.23: Use value from
http.Request.Pattern
for HTTP transaction names when usingsentryhttp
&sentrynegroni
(#875) - Go version >= 1.21: Fix closure functions name grouping (#877)
Misc
- Collect
span
origins (#849)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.