Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/getsentry/sentry-go v0.28.1 -> v0.29.0 age adoption passing 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.29.0: 0.29.0

Compare Source

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 the sentryhttp package to the internal/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 the sentry-trace and baggage 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() and hub.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 if nil (#​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 the sentrynegroni package (#​871)
  • Go version >= 1.23: Use value from http.Request.Pattern for HTTP transaction names when using sentryhttp & sentrynegroni (#​875)
  • Go version >= 1.21: Fix closure functions name grouping (#​877)
Misc

Configuration

📅 Schedule: 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 requested a review from outductor September 10, 2024 09:20
@renovate renovate bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch 3 times, most recently from 05bd40f to 48b344b Compare September 10, 2024 15:07
@renovate renovate bot force-pushed the renovate/github.com-getsentry-sentry-go-0.x branch from 48b344b to c650700 Compare September 10, 2024 15:12
@outductor outductor merged commit 018b19a into main Sep 10, 2024
3 checks passed
@outductor outductor deleted the renovate/github.com-getsentry-sentry-go-0.x branch September 10, 2024 15:27
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.

1 participant