fix(deps): update module github.com/getsentry/sentry-go to v0.31.1 #54
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.16.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)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)v0.26.0
: 0.26.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.26.0.
Breaking Changes
As previously announced, this release removes some methods from the SDK.
sentry.TransactionName()
usesentry.WithTransactionName()
instead.sentry.OpName()
usesentry.WithOpName()
instead.sentry.TransctionSource()
usesentry.WithTransactionSource()
instead.sentry.SpanSampled()
usesentry.WithSpanSampled()
instead.Features
Add
WithDescription
span option (#751)Add support for package name parsing in Go 1.20 and higher (#730)
Bug Fixes
ClientOptions.SampleRate
only to errors & messages (#754)v0.25.0
: 0.25.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.25.0.
Breaking Changes
As previously announced, this release removes two global constants from the SDK.
sentry.Version
was removed. Usesentry.SDKVersion
instead (#727)sentry.SDKIdentifier
was removed. UseClient.GetSDKIdentifier()
instead (#727)Features
ClientOptions.IgnoreTransactions
, which allows you to ignore specific transactions based on their name (#717)ClientOptions.Tags
, which allows you to set global tags that are applied to all events. You can also define tags by settingSENTRY_TAGS_
environment variables (#718)Bug fixes
Misc
dsn.RequestHeaders()
is not to be removed, though it is still considered deprecated and should only be used when using a custom transport that sends events to the/store
endpoint (#720)v0.24.1
: 0.24.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.24.1.
Bug fixes
sentryotel.flushSpanProcessor()
((#711))v0.24.0
: 0.24.0Compare Source
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. Usesentry.SDKVersion
instead.sentry.SDKIdentifier
to be removed in 0.25.0. UseClient.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
debug.ReadBuildInfo
(#704)Bug fixes
attributes.Value.AsString
(#684)Misc
v0.23.0
: 0.23.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.23.0.
Features
Initial support for Cron Monitoring (#661)
This is how the basic usage of the feature looks like:
A full example of using Crons Monitoring is available here.
More documentation on configuring and using Crons can be found here.
Add support for Event Attachments (#670)
It's now possible to add file/binary payloads to Sentry events:
The attachment will then be accessible on the Issue Details page.
Add sampling decision to trace envelope header (#666)
Expose SpanFromContext function (#672)
Bug fixes
Span.Finish
a no-op when the span is already finished (#660)v0.22.0
: 0.22.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.22.0.
This release contains initial profiling support, as well as a few bug fixes and improvements.
Features
Initial (alpha) support for profiling (#626)
Profiling is disabled by default. To enable it, configure both
TracesSampleRate
andProfilesSampleRate
when initializing the SDK:More documentation on profiling and current limitations can be found here.
Add transactions/tracing support go the Gin integration (#644)
Bug fixes
v0.21.0
: 0.21.0Compare Source
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
/store
endpoint (#631)Features
TransctionSource
->WithTransactionSource
SpanSampled
->WithSpanSampled
OpName
->WithOpName
TransactionName
->WithTransactionName
TransctionSource
,SpanSampled
,OpName
, andTransactionName
are still available but are now deprecated and will be removed in a future release.client.EventFromMessage
andclient.EventFromException
methods public (#607)client.SetException
method (#607)Event
.Bug Fixes
Misc
v0.20.0
: 0.20.0Compare Source
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)Span.Name should be used instead to access the transaction's name.
For example, the following
TracesSampler
function should be now written as follows:Before:
After:
Features
Span.SetContext()
method (#599)hub.Scope().SetContext
when setting or updating context on transactions.DebugMeta
interface toEvent
and extendFrame
structure with more fields (#606)Bug Fixes
Misc
github.com/kataras/iris/v12
to 12.2.0,github.com/labstack/echo/v4
to v4.10.0 (#595)google.golang.org/protobuf
minimum required version to 1.29.1 (#604)otel
module when building in GOPATH mode (#615)v0.19.0
: 0.19.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.19.0.
Features
Bug Fixes
Misc
golang.org/x/text
minimum required version to 0.3.8 (#586)v0.18.0
: 0.18.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.18.0.
This release contains initial support for OpenTelemetry and various other bug fixes and improvements.
Note: This is the last release supporting Go 1.17.
Features
Initial support for OpenTelemetry.
You can now send all your OpenTelemetry spans to Sentry.
Install the
otel
moduleConfigure the Sentry and OpenTelemetry SDKs
You can read more about using OpenTelemetry with Sentry in our docs.
Bug Fixes
span.ToBaggage()
(#566)Misc
Span.SetDynamicSamplingContext()
(#539)Dsn
(#540)SpanOption::SpanSampled
(#546)Span.SetData()
(#542)Span.IsTransaction()
(#543)Span.GetTransaction()
method (#558)v0.17.0
: 0.17.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.17.0.
This release contains a new
BeforeSendTransaction
hook option and corrects two regressions introduced in0.16.0
.Features
BeforeSendTransaction
hook toClientOptions
(#517)Bug Fixes
ClientOptions.SendDefaultPii
is set tofalse
(#524)Misc
examples
directory to_examples
(#521)github.com/golang-jwt/jwt
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 was generated by Mend Renovate. View the repository job log.