penguin-statistics / backend-next

The refactored Penguin Statistics v3 Backend. Built with Go, fiber, bun and go.uber.org/fx. Uses NATS as MQ and Redis as state synchronization.
MIT License
176 stars 19 forks source link

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

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

getsentry/sentry-go (github.com/getsentry/sentry-go) ### [`v0.22.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.22.0): 0.22.0 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.21.0...v0.22.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.22.0. This release contains initial [profiling](https://docs.sentry.io/product/profiling/) support, as well as a few bug fixes and improvements. ##### Features - Initial (alpha) support for [profiling](https://docs.sentry.io/product/profiling/) ([#​626](https://togithub.com/getsentry/sentry-go/pull/626)) Profiling is disabled by default. To enable it, configure both `TracesSampleRate` and `ProfilesSampleRate` when initializing the SDK: ```go err := sentry.Init(sentry.ClientOptions{ Dsn: "__DSN__", EnableTracing: true, TracesSampleRate: 1.0, // The sampling rate for profiling is relative to TracesSampleRate. In this case, we'll capture profiles for 100% of transactions. ProfilesSampleRate: 1.0, }) ``` More documentation on profiling and current limitations [can be found here](https://docs.sentry.io/platforms/go/profiling/). - Add transactions/tracing support go the Gin integration ([#​644](https://togithub.com/getsentry/sentry-go/pull/644)) ##### Bug fixes - Always set a valid source on transactions ([#​637](https://togithub.com/getsentry/sentry-go/pull/637)) - Clone scope.Context in more places to avoid panics on concurrent reads and writes ([#​638](https://togithub.com/getsentry/sentry-go/pull/638)) - Fixes [#​570](https://togithub.com/getsentry/sentry-go/issues/570) - Fix frames recognized as not being in-app still showing as in-app ([#​647](https://togithub.com/getsentry/sentry-go/pull/647)) ### [`v0.21.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.21.0): 0.21.0 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.20.0...v0.21.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.21.0. Note: this release includes one **breaking change** and some **deprecations**, which are listed below. ##### Breaking Changes **This change does not apply if you use ** - Remove support for the `/store` endpoint ([#​631](https://togithub.com/getsentry/sentry-go/pull/631)) - This change requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of [self-hosted Sentry](https://develop.sentry.dev/self-hosted/) (aka *on-premise*) older than 20.6.0, then you will need to [upgrade](https://develop.sentry.dev/self-hosted/releases/) your instance. ##### Features - Rename four span option functions ([#​611](https://togithub.com/getsentry/sentry-go/pull/611), [#​624](https://togithub.com/getsentry/sentry-go/pull/624)) - `TransctionSource` -> `WithTransactionSource` - `SpanSampled` -> `WithSpanSampled` - `OpName` -> `WithOpName` - `TransactionName` -> `WithTransactionName` - Old functions `TransctionSource`, `SpanSampled`, `OpName`, and `TransactionName` are still available but are now **deprecated** and will be removed in a future release. - Make `client.EventFromMessage` and `client.EventFromException` methods public ([#​607](https://togithub.com/getsentry/sentry-go/pull/607)) - Add `client.SetException` method ([#​607](https://togithub.com/getsentry/sentry-go/pull/607)) - This allows to set or add errors to an existing `Event`. ##### Bug Fixes - Protect from panics while doing concurrent reads/writes to Span data fields ([#​609](https://togithub.com/getsentry/sentry-go/pull/609)) - \[otel] Improve detection of Sentry-related spans ([#​632](https://togithub.com/getsentry/sentry-go/pull/632), [#​636](https://togithub.com/getsentry/sentry-go/pull/636)) - Fixes cases when HTTP spans containing requests to Sentry were captured by Sentry ([#​627](https://togithub.com/getsentry/sentry-go/issues/627)) ##### Misc - Drop testing in (legacy) GOPATH mode ([#​618](https://togithub.com/getsentry/sentry-go/pull/618)) - Remove outdated documentation from https://pkg.go.dev/github.com/getsentry/sentry-go ([#​623](https://togithub.com/getsentry/sentry-go/pull/623)) ### [`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()` ([#​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 ([#​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 ([#​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 ([#​599](https://togithub.com/getsentry/sentry-go/pull/599), [#​605](https://togithub.com/getsentry/sentry-go/pull/605)) - Fixes ([#​596](https://togithub.com/getsentry/sentry-go/issues/596)). - \[otel] Better handling for HTTP span attributes ([#​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 ([#​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 ([#​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 ([#​615](https://togithub.com/getsentry/sentry-go/pull/615))

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.



This PR has been generated by Mend Renovate. View repository job log here.