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

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/github.com-getsentry-sentry-go-0.x into main 2024-09-10 12:23:44 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-09-10 10:54:51 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
github.com/getsentry/sentry-go require minor v0.28.1 -> v0.29.0

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) | require | minor | `v0.28.1` -> `v0.29.0` | --- ### Release Notes <details> <summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary> ### [`v0.29.0`](https://github.com/getsentry/sentry-go/releases/tag/v0.29.0): 0.29.0 [Compare Source](https://github.com/getsentry/sentry-go/compare/v0.28.1...v0.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 ([#&#8203;861](https://github.com/getsentry/sentry-go/pull/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. ([#&#8203;871](https://github.com/getsentry/sentry-go/pull/871)) ##### Features - Add new convenience methods to continue a trace and propagate tracing headers for error-only use cases. ([#&#8203;862](https://github.com/getsentry/sentry-go/pull/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. ```go 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. ```go 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` ([#&#8203;844](https://github.com/getsentry/sentry-go/pull/844)) - Fix `sentry.StartTransaction()` returning a transaction with an outdated context on existing transactions ([#&#8203;854](https://github.com/getsentry/sentry-go/pull/854)) - Treat `Proxy-Authorization` as a sensitive header ([#&#8203;859](https://github.com/getsentry/sentry-go/pull/859)) - Add support for the `http.Hijacker` interface to the `sentrynegroni` package ([#&#8203;871](https://github.com/getsentry/sentry-go/pull/871)) - Go version >= 1.23: Use value from `http.Request.Pattern` for HTTP transaction names when using `sentryhttp` & `sentrynegroni` ([#&#8203;875](https://github.com/getsentry/sentry-go/pull/875)) - Go version >= 1.21: Fix closure functions name grouping ([#&#8203;877](https://github.com/getsentry/sentry-go/pull/877)) ##### Misc - Collect `span` origins ([#&#8203;849](https://github.com/getsentry/sentry-go/pull/849)) </details> --- ### 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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43Mi4xIiwidXBkYXRlZEluVmVyIjoiMzguNzIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-09-10 10:54:53 +00:00 (Migrated from gitlab.com)

mentioned in issue #4

mentioned in issue #4
argoyle commented 2024-09-10 12:23:33 +00:00 (Migrated from gitlab.com)

added 2 commits

  • 35f3d16d - 1 commit from branch main
  • 9f043af2 - fix(deps): update module github.com/getsentry/sentry-go to v0.29.0

Compare with previous version

added 2 commits <ul><li>35f3d16d - 1 commit from branch <code>main</code></li><li>9f043af2 - fix(deps): update module github.com/getsentry/sentry-go to v0.29.0</li></ul> [Compare with previous version](/unboundsoftware/schemas/-/merge_requests/220/diffs?diff_id=1115680786&start_sha=9638165476a741dd96d14796b08f5575b543ea9c)
argoyle (Migrated from gitlab.com) merged commit into main 2024-09-10 12:23:44 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#224