Skip to content
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

Update module github.com/getsentry/sentry-go to v0.31.1 #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/getsentry/sentry-go v0.29.0 -> v0.31.1 age adoption passing confidence

Release Notes

getsentry/sentry-go (github.com/getsentry/sentry-go)

v0.31.1: 0.31.1

Compare Source

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 (#​950)

v0.31.0: 0.31.0

Compare 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 the User 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 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 (#​919).

Features

Add the ability to override hub in context for integrations that use custom context. (#​931)

  • Add HubProvider Hook for sentrylogrus, 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:

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. (#​894)
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.

transport := sentry.NewHTTPTransport()
defer transport.Close()
Misc

v0.30.0: 0.30.0

Compare Source

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

Features
  • Add sentryzerolog integration (#​857)
  • Add sentryslog integration (#​865)
  • Always set Mechanism Type to generic (#​896)
Bug Fixes
  • Prevent panic in fasthttp and fiber integration in case a malformed URL has to be parsed (#​912)
Misc

Drop support for Go 1.18, 1.19 and 1.20. The currently supported Go versions are the last 3 stable releases: 1.23, 1.22 and 1.21.

v0.29.1: 0.29.1

Compare Source

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

Bug Fixes
  • Correlate errors to the current trace (#​886)
  • Set the trace context when the transaction finishes (#​888)
Misc
  • Update the sentrynegroni integration to use the latest (v3.1.1) version of Negroni (#​885)

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.29.1 Update module github.com/getsentry/sentry-go to v0.29.1 - autoclosed Oct 29, 2024
@renovate renovate bot closed this Oct 29, 2024
@renovate renovate bot deleted the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch October 29, 2024 03:31
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.29.1 - autoclosed Update module github.com/getsentry/sentry-go to v0.29.1 Oct 29, 2024
@renovate renovate bot restored the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch October 29, 2024 07:18
@renovate renovate bot reopened this Oct 29, 2024
@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from f8d1e67 to ad72cd7 Compare October 29, 2024 07:19
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.29.1 Update module github.com/getsentry/sentry-go to v0.29.1 - autoclosed Nov 12, 2024
@renovate renovate bot closed this Nov 12, 2024
@renovate renovate bot deleted the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch November 12, 2024 22:11
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.29.1 - autoclosed Update module github.com/getsentry/sentry-go to v0.29.1 Nov 13, 2024
@renovate renovate bot reopened this Nov 13, 2024
@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from 66e2021 to ad72cd7 Compare November 13, 2024 00:01
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.29.1 Update module github.com/getsentry/sentry-go to v0.30.0 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from ad72cd7 to 4220392 Compare December 3, 2024 17:56
Copy link
Contributor Author

renovate bot commented Dec 3, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.13 -> 1.23.4

@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from 4220392 to c6df3ec Compare December 22, 2024 19:09
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.30.0 Update module github.com/getsentry/sentry-go to v0.31.0 Jan 2, 2025
@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from c6df3ec to ffece5f Compare January 2, 2025 14:21
@renovate renovate bot changed the title Update module github.com/getsentry/sentry-go to v0.31.0 Update module github.com/getsentry/sentry-go to v0.31.1 Jan 2, 2025
@renovate renovate bot force-pushed the renovate/jackfan.us.kg-getsentry-sentry-go-0.x branch from ffece5f to 0e298c8 Compare January 2, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants