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

Merged
konrad merged 1 commits from renovate/github.com-getsentry-sentry-go-0.x into main 2023-03-31 11:32:44 +00:00
Member

This PR contains the following updates:

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

Release Notes

getsentry/sentry-go

v0.20.0: 0.20.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.20.0.

Note: this release has some breaking changes, which are listed below.

Breaking Changes
  • Remove the following methods: Scope.SetTransaction(), Scope.Transaction() (#​605)

    Span.Name should be used instead to access the transaction's name.

    For example, the following TracesSampler function should be now written as follows:

    Before:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      hub := sentry.GetHubFromContext(ctx.Span.Context())
      if hub.Scope().Transaction() == "GET /health" {
        return 0
      }
      return 1
    },
    

    After:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      if ctx.Span.Name == "GET /health" {
        return 0
      }
      return 1
    },
    
Features
  • Add Span.SetContext() method (#​599)
    • It is recommended to use it instead of hub.Scope().SetContext when setting or updating context on transactions.
  • Add DebugMeta interface to Event and extend Frame structure with more fields (#​606)
    • More about DebugMeta interface here.
Bug Fixes
  • otel] Fix missing OpenTelemetry context on some events ([#​599](https://github.com/getsentry/sentry-go/pull/599), [#​605](https://github.com/getsentry/sentry-go/pull/605))
    -   Fixes ([#​596](https://github.com/getsentry/sentry-go/issues/596)).
    
  • otel] Better handling for HTTP span attributes ([#​610](https://github.com/getsentry/sentry-go/pull/610))
    
    
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 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) | require | minor | `v0.19.0` -> `v0.20.0` | --- ### Release Notes <details> <summary>getsentry/sentry-go</summary> ### [`v0.20.0`](https://github.com/getsentry/sentry-go/releases/tag/v0.20.0): 0.20.0 [Compare Source](https://github.com/getsentry/sentry-go/compare/v0.19.0...v0.20.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.20.0. Note: this release has some **breaking changes**, which are listed below. ##### Breaking Changes - Remove the following methods: `Scope.SetTransaction()`, `Scope.Transaction()` ([#&#8203;605](https://github.com/getsentry/sentry-go/pull/605)) Span.Name should be used instead to access the transaction's name. For example, the following [`TracesSampler`](https://docs.sentry.io/platforms/go/configuration/sampling/#setting-a-sampling-function) function should be now written as follows: **Before:** ```go TracesSampler: func(ctx sentry.SamplingContext) float64 { hub := sentry.GetHubFromContext(ctx.Span.Context()) if hub.Scope().Transaction() == "GET /health" { return 0 } return 1 }, ``` **After:** ```go TracesSampler: func(ctx sentry.SamplingContext) float64 { if ctx.Span.Name == "GET /health" { return 0 } return 1 }, ``` ##### Features - Add `Span.SetContext()` method ([#&#8203;599](https://github.com/getsentry/sentry-go/pull/599/)) - It is recommended to use it instead of `hub.Scope().SetContext` when setting or updating context on transactions. - Add `DebugMeta` interface to `Event` and extend `Frame` structure with more fields ([#&#8203;606](https://github.com/getsentry/sentry-go/pull/606)) - More about DebugMeta interface [here](https://develop.sentry.dev/sdk/event-payloads/debugmeta/). ##### Bug Fixes - \[otel] Fix missing OpenTelemetry context on some events ([#&#8203;599](https://github.com/getsentry/sentry-go/pull/599), [#&#8203;605](https://github.com/getsentry/sentry-go/pull/605)) - Fixes ([#&#8203;596](https://github.com/getsentry/sentry-go/issues/596)). - \[otel] Better handling for HTTP span attributes ([#&#8203;610](https://github.com/getsentry/sentry-go/pull/610)) ##### Misc - Bump minimum versions: `github.com/kataras/iris/v12` to 12.2.0, `github.com/labstack/echo/v4` to v4.10.0 ([#&#8203;595](https://github.com/getsentry/sentry-go/pull/595)) - Resolves [GO-2022-1144 / CVE-2022-41717](https://deps.dev/advisory/osv/GO-2022-1144), [GO-2023-1495 / CVE-2022-41721](https://deps.dev/advisory/osv/GO-2023-1495), [GO-2022-1059 / CVE-2022-32149](https://deps.dev/advisory/osv/GO-2022-1059). - Bump `google.golang.org/protobuf` minimum required version to 1.29.1 ([#&#8203;604](https://github.com/getsentry/sentry-go/pull/604)) - This fixes a potential denial of service issue ([CVE-2023-24535](https://github.com/advisories/GHSA-hw7c-3rfg-p46j)). - Exclude the `otel` module when building in GOPATH mode ([#&#8203;615](https://github.com/getsentry/sentry-go/pull/615)) </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 PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC42IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNiJ9-->
renovate added the
dependencies
label 2023-03-31 10:01:50 +00:00
renovate added 1 commit 2023-03-31 10:01:51 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
9443fb1bd5
fix(deps): update module github.com/getsentry/sentry-go to v0.20.0
konrad merged commit 9443fb1bd5 into main 2023-03-31 11:32:44 +00:00
konrad deleted branch renovate/github.com-getsentry-sentry-go-0.x 2023-03-31 11:32:44 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1451
No description provided.