Skip to content

Commit 7d27ba4

Browse files
authored
fix(deps): Update module github.com/getsentry/sentry-go to v0.20.0 (#109)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://togithub.com/getsentry/sentry-go) | indirect | minor | `v0.18.0` -> `v0.20.0` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>getsentry/sentry-go</summary> ### [`v0.20.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.20.0): 0.20.0 [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/getsentry/sentry-go/pull/599), [#&#8203;605](https://togithub.com/getsentry/sentry-go/pull/605)) - Fixes ([#&#8203;596](https://togithub.com/getsentry/sentry-go/issues/596)). - \[otel] Better handling for HTTP span attributes ([#&#8203;610](https://togithub.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://togithub.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://togithub.com/getsentry/sentry-go/pull/604)) - This fixes a potential denial of service issue ([CVE-2023-24535](https://togithub.com/advisories/GHSA-hw7c-3rfg-p46j)). - Exclude the `otel` module when building in GOPATH mode ([#&#8203;615](https://togithub.com/getsentry/sentry-go/pull/615)) ### [`v0.19.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.19.0): 0.19.0 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.18.0...v0.19.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.19.0. ##### Features - Add support for exception mechanism metadata ([#&#8203;564](https://togithub.com/getsentry/sentry-go/pull/564/)) - More about exception mechanisms [here](https://develop.sentry.dev/sdk/event-payloads/exception/#exception-mechanism). ##### Bug Fixes - \[otel] Use the correct "trace" context when sending a Sentry error ([#&#8203;580](https://togithub.com/getsentry/sentry-go/pull/580/)) ##### Misc - Drop support for Go 1.17, add support for Go 1.20 ([#&#8203;563](https://togithub.com/getsentry/sentry-go/pull/563/)) - According to our policy, we're officially supporting the last three minor releases of Go. - Switch repository license to MIT ([#&#8203;583](https://togithub.com/getsentry/sentry-go/pull/583/)) - More about Sentry licensing [here](https://open.sentry.io/licensing/). - Bump `golang.org/x/text` minimum required version to 0.3.8 ([#&#8203;586](https://togithub.com/getsentry/sentry-go/pull/586)) - This fixes [CVE-2022-32149](https://togithub.com/advisories/GHSA-69ch-w2m2-3vjp) vulnerability. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE1NC4wIn0=-->
1 parent f504a86 commit 7d27ba4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ require (
5252
)
5353

5454
require (
55-
github.com/getsentry/sentry-go v0.18.0 // indirect; indirect // indirect
55+
github.com/getsentry/sentry-go v0.20.0 // indirect; indirect // indirect
5656
github.com/klauspost/compress v1.16.3 // indirect
5757
github.com/pierrec/lz4/v4 v4.1.17 // indirect; indirect // indirect
5858
golang.org/x/text v0.8.0 // indirect; indirect // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
195195
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
196196
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
197197
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
198-
github.com/getsentry/sentry-go v0.18.0 h1:MtBW5H9QgdcJabtZcuJG80BMOwaBpkRDZkxRkNC1sN0=
199-
github.com/getsentry/sentry-go v0.18.0/go.mod h1:Kgon4Mby+FJ7ZWHFUAZgVaIa8sxHtnRJRLTXZr51aKQ=
198+
github.com/getsentry/sentry-go v0.20.0 h1:bwXW98iMRIWxn+4FgPW7vMrjmbym6HblXALmhjHmQaQ=
199+
github.com/getsentry/sentry-go v0.20.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
200200
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
201201
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
202202
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=

0 commit comments

Comments
 (0)