fix(deps): update module github.com/getsentry/sentry-go to v0.31.1 #5237
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.26.0
->v0.31.1
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)Add
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
v0.30.0
: 0.30.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.30.0.
Features
sentryzerolog
integration (#857)sentryslog
integration (#865)Bug Fixes
fasthttp
andfiber
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.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.29.1.
Bug Fixes
Misc
sentrynegroni
integration to use the latest (v3.1.1) version of Negroni (#885)v0.29.0
: 0.29.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.29.0.
Breaking Changes
sentrymartini
integration (#861)WrapResponseWriter
has been moved from thesentryhttp
package to theinternal/httputils
package. If you've imported it previosuly, you'll need to copy the implementation in your project. (#871)Features
Add new convenience methods to continue a trace and propagate tracing headers for error-only use cases. (#862)
If you are not using one of our integrations, you can manually continue an incoming trace by using
sentry.ContinueTrace()
by providing thesentry-trace
andbaggage
header received from a downstream SDK.You can use
hub.GetTraceparent()
andhub.GetBaggage()
to fetch the necessary header values for outgoing HTTP requests.Bug Fixes
HTTPTransport.limit
ifnil
(#844)sentry.StartTransaction()
returning a transaction with an outdated context on existing transactions (#854)Proxy-Authorization
as a sensitive header (#859)http.Hijacker
interface to thesentrynegroni
package (#871)http.Request.Pattern
for HTTP transaction names when usingsentryhttp
&sentrynegroni
(#875)Misc
span
origins (#849)v0.28.1
: 0.28.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.28.1.
Bug Fixes
http.ResponseWriter
to hook into various parts of the response process (#837)v0.28.0
: 0.28.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.28.0.
Features
Fiber
performance tracing & error reporting integration (#795)Echo
integration (#722)FastHTTP
integration (#732)Iris
integration (#809)Negroni
integration (#808)FailureIssueThreshold
&RecoveryThreshold
toMonitorConfig
(#775)errors.Unwrap()
to create exception groups (#792)ClientOptions.IgnoreErrors
&ClientOptions.IgnoreTransactions
(#819)http.request.method
attribute for performance span data (#786)interface{}
for span data values (#784)Fixes
logrusentry
(#689)v0.27.0
: 0.27.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.27.0.
Breaking Changes
Exception.ThreadId
is now typed asuint64
. It was wrongly typed asstring
before. (#770)Misc
Event.Attachments
(#771)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 is behind base branch, 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.