-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update module github.com/getsentry/sentry-go to v0.31.1 #37019
Merged
bogdandrutu
merged 2 commits into
main
from
renovate/github.aaakk.us.kg-getsentry-sentry-go-0.x
Jan 3, 2025
Merged
fix(deps): update module github.com/getsentry/sentry-go to v0.31.1 #37019
bogdandrutu
merged 2 commits into
main
from
renovate/github.aaakk.us.kg-getsentry-sentry-go-0.x
Jan 3, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
added
dependencies
Pull requests that update a dependency file
renovatebot
labels
Jan 3, 2025
AbhiPrasad
approved these changes
Jan 3, 2025
songy23
approved these changes
Jan 3, 2025
songy23
added
the
ready to merge
Code review completed; ready to merge by maintainers
label
Jan 3, 2025
bogdandrutu
deleted the
renovate/github.aaakk.us.kg-getsentry-sentry-go-0.x
branch
January 3, 2025 23:25
AkhigbeEromo
pushed a commit
to sematext/opentelemetry-collector-contrib
that referenced
this pull request
Jan 13, 2025
…pen-telemetry#37019) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go) | `v0.30.0` -> `v0.31.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgetsentry%2fsentry-go/v0.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgetsentry%2fsentry-go/v0.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgetsentry%2fsentry-go/v0.30.0/v0.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgetsentry%2fsentry-go/v0.30.0/v0.31.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary> ### [`v0.31.1`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.31.1): 0.31.1 [Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.31.0...v0.31.1) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.31.1. ##### Bug Fixes - Correct wrong module name for `sentry-go/logrus` ([#&open-telemetry#8203;950](https://redirect.github.com/getsentry/sentry-go/pull/950)) ### [`v0.31.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.31.0): 0.31.0 [Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.30.0...v0.31.0) ##### Breaking Changes - Remove support for metrics. Read more about the end of the Metrics beta [here](https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th). ([#&open-telemetry#8203;914](https://redirect.github.com/getsentry/sentry-go/pull/914)) - Remove support for profiling. ([#&open-telemetry#8203;915](https://redirect.github.com/getsentry/sentry-go/pull/915)) - Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#&open-telemetry#8203;928](https://redirect.github.com/getsentry/sentry-go/pull/928)) - Every integration is now a separate module, reducing the binary size and number of dependencies. Once you update `sentry-go` to latest version, you'll need to `go get` the integration you want to use. For example, if you want to use the `echo` integration, you'll need to run `go get github.com/getsentry/sentry-go/echo` ([#&open-telemetry#8203;919](redirect.github.com/getsentry/sentry-go/pull/919)). ##### Features Add the ability to override `hub` in `context` for integrations that use custom context. ([#&open-telemetry#8203;931](https://redirect.github.com/getsentry/sentry-go/pull/931)) - Add `HubProvider` Hook for `sentrylogrus`, enabling dynamic Sentry hub allocation for each log entry or goroutine. ([#&open-telemetry#8203;936](https://redirect.github.com/getsentry/sentry-go/pull/936)) This change enhances compatibility with Sentry's recommendation of using separate hubs per goroutine. To ensure a separate Sentry hub for each goroutine, configure the `HubProvider` like this: ```go hook, err := sentrylogrus.New(nil, sentry.ClientOptions{}) if err != nil { log.Fatalf("Failed to initialize Sentry hook: %v", err) } // Set a custom HubProvider to generate a new hub for each goroutine or log entry hook.SetHubProvider(func() *sentry.Hub { client, _ := sentry.NewClient(sentry.ClientOptions{}) return sentry.NewHub(client, sentry.NewScope()) }) logrus.AddHook(hook) ``` ##### Bug Fixes - Add support for closing worker goroutines started by the `HTTPTranport` to prevent goroutine leaks. ([#&open-telemetry#8203;894](https://redirect.github.com/getsentry/sentry-go/pull/894)) ```go client, _ := sentry.NewClient() defer client.Close() ``` Worker can be also closed by calling `Close()` method on the `HTTPTransport` instance. `Close` should be called after `Flush` and before terminating the program otherwise some events may be lost. ```go transport := sentry.NewHTTPTransport() defer transport.Close() ``` ##### Misc - Bump [gin-gonic/gin](https://redirect.github.com/gin-gonic/gin) to v1.9.1. ([#&open-telemetry#8203;946](https://redirect.github.com/getsentry/sentry-go/pull/946)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
exporter/sentry
ready to merge
Code review completed; ready to merge by maintainers
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.30.0
->v0.31.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
getsentry/sentry-go (github.com/getsentry/sentry-go)
v0.31.1
: 0.31.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.31.1.
Bug Fixes
sentry-go/logrus
(#950)v0.31.0
: 0.31.0Compare Source
Breaking Changes
Remove support for metrics. Read more about the end of the Metrics beta here. (#914)
Remove support for profiling. (#915)
Remove
Segment
field from theUser
struct. This field is no longer used in the Sentry product. (#928)Every integration is now a separate module, reducing the binary size and number of dependencies. Once you update
sentry-go
to latest version, you'll need togo get
the integration you want to use. For example, if you want to use theecho
integration, you'll need to rungo get github.com/getsentry/sentry-go/echo
(#919).Features
Add the ability to override
hub
incontext
for integrations that use custom context. (#931)HubProvider
Hook forsentrylogrus
, enabling dynamic Sentry hub allocation for each log entry or goroutine. (#936)This change enhances compatibility with Sentry's recommendation of using separate hubs per goroutine. To ensure a separate Sentry hub for each goroutine, configure the
HubProvider
like this:Bug Fixes
HTTPTranport
to prevent goroutine leaks. (#894)Worker can be also closed by calling
Close()
method on theHTTPTransport
instance.Close
should be called afterFlush
and before terminating the program otherwise some events may be lost.Misc
Configuration
📅 Schedule: Branch creation - "on tuesday" (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.
This PR was generated by Mend Renovate. View the repository job log.