Skip to content

Commit be03068

Browse files
authored
fix(deps): Update module github.com/getsentry/sentry-go to v0.24.1 (#1262)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://togithub.com/getsentry/sentry-go) | require | minor | `v0.20.0` -> `v0.24.1` | | [github.com/getsentry/sentry-go](https://togithub.com/getsentry/sentry-go) | indirect | minor | `v0.20.0` -> `v0.24.1` | --- ### ⚠ 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 (github.com/getsentry/sentry-go)</summary> ### [`v0.24.1`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.24.1): 0.24.1 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.24.0...v0.24.1) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.24.1. ##### Bug fixes - Prevent a panic in `sentryotel.flushSpanProcessor()` ([(#&#8203;711)](https://togithub.com/getsentry/sentry-go/pull/711)) - Prevent a panic when setting the SDK identifier ([#&#8203;715](https://togithub.com/getsentry/sentry-go/pull/715)) ### [`v0.24.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.24.0): 0.24.0 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.23.0...v0.24.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.24.0. ##### Deprecations - `sentry.Version` to be removed in 0.25.0. Use `sentry.SDKVersion` instead. - `sentry.SDKIdentifier` to be removed in 0.25.0. Use `Client.GetSDKIdentifier()` instead. - `dsn.RequestHeaders()` to be removed after 0.25.0, but no earlier than December 1, 2023. Requests to the `/envelope` endpoint are authenticated using the DSN in the envelope header. ##### Features - Run a single instance of the profiler instead of multiple ones for each Go routine ([#&#8203;655](https://togithub.com/getsentry/sentry-go/pull/655)) - Use the route path as the transaction names when using the Gin integration ([#&#8203;675](https://togithub.com/getsentry/sentry-go/pull/675)) - Set the SDK name accordingly when a framework integration is used ([#&#8203;694](https://togithub.com/getsentry/sentry-go/pull/694)) - Read release information (VCS revision) from `debug.ReadBuildInfo` ([#&#8203;704](https://togithub.com/getsentry/sentry-go/pull/704)) ##### Bug fixes - \[otel] Fix incorrect usage of `attributes.Value.AsString` ([#&#8203;684](https://togithub.com/getsentry/sentry-go/pull/684)) - Fix trace function name parsing in profiler on go1.21+ ([#&#8203;695](https://togithub.com/getsentry/sentry-go/pull/695)) ##### Misc - Test against Go 1.21 ([#&#8203;695](https://togithub.com/getsentry/sentry-go/pull/695)) - Make tests more robust ([#&#8203;698](https://togithub.com/getsentry/sentry-go/pull/698), [#&#8203;699](https://togithub.com/getsentry/sentry-go/pull/699), [#&#8203;700](https://togithub.com/getsentry/sentry-go/pull/700), [#&#8203;702](https://togithub.com/getsentry/sentry-go/pull/702)) ### [`v0.23.0`](https://togithub.com/getsentry/sentry-go/releases/tag/v0.23.0): 0.23.0 [Compare Source](https://togithub.com/getsentry/sentry-go/compare/v0.22.0...v0.23.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.23.0. ##### Features - Initial support for [Cron Monitoring](https://docs.sentry.io/product/crons/) ([#&#8203;661](https://togithub.com/getsentry/sentry-go/pull/661)) This is how the basic usage of the feature looks like: ```go // 🟡 Notify Sentry your job is running: checkinId := sentry.CaptureCheckIn( &sentry.CheckIn{ MonitorSlug: "<monitor-slug>", Status: sentry.CheckInStatusInProgress, }, nil, ) // Execute your scheduled task here... // 🟢 Notify Sentry your job has completed successfully: sentry.CaptureCheckIn( &sentry.CheckIn{ ID: *checkinId, MonitorSlug: "<monitor-slug>", Status: sentry.CheckInStatusOK, }, nil, ) ``` A full example of using Crons Monitoring is available [here](https://togithub.com/getsentry/sentry-go/blob/dde4d360660838f3c2e0ced8205bc8f7a8d312d9/\_examples/crons/main.go). More documentation on configuring and using Crons [can be found here](https://docs.sentry.io/platforms/go/crons/). - Add support for [Event Attachments](https://docs.sentry.io/platforms/go/enriching-events/attachments/) ([#&#8203;670](https://togithub.com/getsentry/sentry-go/pull/670)) It's now possible to add file/binary payloads to Sentry events: ```go sentry.ConfigureScope(func(scope *sentry.Scope) { scope.AddAttachment(&Attachment{ Filename: "report.html", ContentType: "text/html", Payload: []byte("<h1>Look, HTML</h1>"), }) }) ``` The attachment will then be accessible on the Issue Details page. - Add sampling decision to trace envelope header ([#&#8203;666](https://togithub.com/getsentry/sentry-go/pull/666)) - Expose SpanFromContext function ([#&#8203;672](https://togithub.com/getsentry/sentry-go/pull/672)) ##### Bug fixes - Make `Span.Finish` a no-op when the span is already finished ([#&#8203;660](https://togithub.com/getsentry/sentry-go/pull/660)) ### [`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/) ([#&#8203;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 ([#&#8203;644](https://togithub.com/getsentry/sentry-go/pull/644)) ##### Bug fixes - Always set a valid source on transactions ([#&#8203;637](https://togithub.com/getsentry/sentry-go/pull/637)) - Clone scope.Context in more places to avoid panics on concurrent reads and writes ([#&#8203;638](https://togithub.com/getsentry/sentry-go/pull/638)) - Fixes [#&#8203;570](https://togithub.com/getsentry/sentry-go/issues/570) - Fix frames recognized as not being in-app still showing as in-app ([#&#8203;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 <https://sentry.io>** - Remove support for the `/store` endpoint ([#&#8203;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 ([#&#8203;611](https://togithub.com/getsentry/sentry-go/pull/611), [#&#8203;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 ([#&#8203;607](https://togithub.com/getsentry/sentry-go/pull/607)) - Add `client.SetException` method ([#&#8203;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 ([#&#8203;609](https://togithub.com/getsentry/sentry-go/pull/609)) - \[otel] Improve detection of Sentry-related spans ([#&#8203;632](https://togithub.com/getsentry/sentry-go/pull/632), [#&#8203;636](https://togithub.com/getsentry/sentry-go/pull/636)) - Fixes cases when HTTP spans containing requests to Sentry were captured by Sentry ([#&#8203;627](https://togithub.com/getsentry/sentry-go/issues/627)) ##### Misc - Drop testing in (legacy) GOPATH mode ([#&#8203;618](https://togithub.com/getsentry/sentry-go/pull/618)) - Remove outdated documentation from https://pkg.go.dev/github.com/getsentry/sentry-go ([#&#8203;623](https://togithub.com/getsentry/sentry-go/pull/623)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am 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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
1 parent cf57d20 commit be03068

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/simple_plugin/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/cloudquery/plugin-pb-go v1.11.0 // indirect
2121
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/getsentry/sentry-go v0.20.0 // indirect
23+
github.com/getsentry/sentry-go v0.24.1 // indirect
2424
github.com/ghodss/yaml v1.0.0 // indirect
2525
github.com/go-logr/logr v1.2.4 // indirect
2626
github.com/go-logr/stdr v1.2.2 // indirect

examples/simple_plugin/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m
7777
github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
7878
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
7979
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
80-
github.com/getsentry/sentry-go v0.20.0 h1:bwXW98iMRIWxn+4FgPW7vMrjmbym6HblXALmhjHmQaQ=
81-
github.com/getsentry/sentry-go v0.20.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
80+
github.com/getsentry/sentry-go v0.24.1 h1:W6/0GyTy8J6ge6lVCc94WB6Gx2ZuLrgopnn9w8Hiwuk=
81+
github.com/getsentry/sentry-go v0.24.1/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
8282
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
8383
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
8484
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/bradleyjkemp/cupaloy/v2 v2.8.0
88
github.com/cloudquery/plugin-pb-go v1.11.0
99
github.com/cloudquery/plugin-sdk/v2 v2.7.0
10-
github.com/getsentry/sentry-go v0.20.0
10+
github.com/getsentry/sentry-go v0.24.1
1111
github.com/goccy/go-json v0.10.2
1212
github.com/google/go-cmp v0.5.9
1313
github.com/google/uuid v1.3.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m
7878
github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
7979
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
8080
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
81-
github.com/getsentry/sentry-go v0.20.0 h1:bwXW98iMRIWxn+4FgPW7vMrjmbym6HblXALmhjHmQaQ=
82-
github.com/getsentry/sentry-go v0.20.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
81+
github.com/getsentry/sentry-go v0.24.1 h1:W6/0GyTy8J6ge6lVCc94WB6Gx2ZuLrgopnn9w8Hiwuk=
82+
github.com/getsentry/sentry-go v0.24.1/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
8383
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
8484
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
8585
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=

0 commit comments

Comments
 (0)