fix(deps): update module github.com/getsentry/sentry-go to v0.36.2 #114
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.5.1->v0.36.2Release Notes
getsentry/sentry-go (github.com/getsentry/sentry-go)
v0.36.2: 0.36.2Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.36.2.
Bug Fixes
v0.36.1: 0.36.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.36.1.
Bug Fixes
v0.36.0: 0.36.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.36.0.
Breaking Changes
Behavioral change for the
MaxBreadcrumbsclient option. Removed the hard limit of 100 breadcrumbs, allowing users to set a larger limit and also changed the default limit from 30 to 100 (#1106))The changes to error handling (#1075) will affect issue grouping. It is expected that any wrapped and complex errors will be grouped under a new issue group.
Features
Add support for improved issue grouping with enhanced error chain handling (#1075)
The SDK now provides better handling of complex error scenarios, particularly when dealing with multiple related errors or error chains. This feature automatically detects and properly structures errors created with Go's
errors.Join()function and other multi-error patterns.Add
TraceIgnoreStatusCodesoption to allow filtering of HTTP transactions based on status codes (#1089)TraceIgnoreStatusCodes: [][]int{{404}, {500, 599}}ignores 404 and server errors 500-599Bug Fixes
BeforeSendcallback (#1109)processEventmethod and are sent directly to the transportBeforeSendLog, not by the error/messageBeforeSendcallbackMisc
v0.35.3: 0.35.3Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.35.3.
Bug Fixes
v0.35.2: 0.35.2Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.35.2.
Bug Fixes
Misc
MockTransportto test clients for improved testing (#1071)v0.35.1: 0.35.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.35.1.
Bug Fixes
fasthttpandfiberintegrations (#1055)Misc
github.com/gofiber/fiber/v2from 2.52.5 to 2.52.9 in/fiber(#1067)v0.35.0: 0.35.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.35.0.
Breaking Changes
The logging API now supports a fluent interface for structured logging with attributes:
Bug Fixes
FailureIssueThresholdandRecoveryThresholdonto check-in payloads (#1060)v0.34.1: 0.34.1Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.34.1.
Bug Fixes
Scope.GetSpan()method by adding proper mutex locking (#1044)Close()to prevent panic when called multiple times (#1044)v0.34.0: 0.34.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.34.0.
Breaking Changes
sentrylogrus.Hooksignature from a*Hookto an interface.Features
FlushWithContext(). (#935)Deprecations
Leveloption withEventLevelandLogLeveloptions, for specifying fine-grained levels for capturing events and logs.NewandNewFromClientfunctions toNewEventHook,NewEventHookFromClient, to match the newly addedNewLogHookfunctions, and specify the hook type being created each time.Bug Fixes
ContinueTrace()would panic whensentry-traceheader does not exist. (#1026)sentry.originattribute from Sentry logger to prevent confusion in spans. (#1038)SendDefaultPIIflag for logs. (#1032)Misc
v0.33.0: 0.33.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.33.0.
Breaking Changes
LoggertoDebugLogger. This feature was only used when you setDebug: Truein yoursentry.Init()call. If you haven't used the Logger directly, no changes are necessary. (#1012)Features
Add support for Structured Logging. (#1010)
You can learn more about Sentry Logs on our docs and the examples.
Add new attributes APIs, which are currently only exposed on logs. (#1007)
Bug Fixes
StartSpan. (#1013)httpRouteoverhttpTargetfor span descriptions. (#1002)Misc
github.com/stretchr/testifyto v1.8.4. (#988)v0.32.0: 0.32.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.32.0.
Breaking Changes
span.Extrahas no effect anymore. UseSetData(name string, value interface{})instead. (#864)Features
MockTransportandMockScope. (#972)Bug Fixes
*http.Requestin the Logrus JSONFormatter. (#955)Misc
dataattributes are now seralized as trace context data attributes, allowing you to query these attributes in the Trace Explorer.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
Segmentfield from theUserstruct. 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-goto latest version, you'll need togo getthe integration you want to use. For example, if you want to use theechointegration, you'll need to rungo get github.com/getsentry/sentry-go/echo(#919).Features
Add the ability to override
hubincontextfor integrations that use custom context. (#931)Add
HubProviderHook 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
HubProviderlike this:Bug Fixes
HTTPTranportto prevent goroutine leaks. (#894)Worker can be also closed by calling
Close()method on theHTTPTransportinstance.Closeshould be called afterFlushand 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
sentryzerologintegration (#857)sentryslogintegration (#865)Bug Fixes
fasthttpandfiberintegration 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
sentrynegroniintegration 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
sentrymartiniintegration (#861)WrapResponseWriterhas been moved from thesentryhttppackage to theinternal/httputilspackage. 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-traceandbaggageheader 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.limitifnil(#844)sentry.StartTransaction()returning a transaction with an outdated context on existing transactions (#854)Proxy-Authorizationas a sensitive header (#859)http.Hijackerinterface to thesentrynegronipackage (#871)http.Request.Patternfor HTTP transaction names when usingsentryhttp&sentrynegroni(#875)Misc
spanorigins (#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.ResponseWriterto 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
Fiberperformance tracing & error reporting integration (#795)Echointegration (#722)FastHTTPintegration (#732)Irisintegration (#809)Negroniintegration (#808)FailureIssueThreshold&RecoveryThresholdtoMonitorConfig(#775)errors.Unwrap()to create exception groups (#792)ClientOptions.IgnoreErrors&ClientOptions.IgnoreTransactions(#819)http.request.methodattribute 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.ThreadIdis now typed asuint64. It was wrongly typed asstringbefore. (#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
WithDescriptionspan option (#751)Add support for package name parsing in Go 1.20 and higher (#730)
Bug Fixes
ClientOptions.SampleRateonly 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.Versionwas removed. Usesentry.SDKVersioninstead (#727)sentry.SDKIdentifierwas 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/storeendpoint (#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.Versionto be removed in 0.25.0. Usesentry.SDKVersioninstead.sentry.SDKIdentifierto 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/envelopeendpoint 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.Finisha 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
TracesSampleRateandProfilesSampleRatewhen 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
/storeendpoint (#631)Features
TransctionSource->WithTransactionSourceSpanSampled->WithSpanSampledOpName->WithOpNameTransactionName->WithTransactionNameTransctionSource,SpanSampled,OpName, andTransactionNameare still available but are now deprecated and will be removed in a future release.client.EventFromMessageandclient.EventFromExceptionmethods public (#607)client.SetExceptionmethod (#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
TracesSamplerfunction should be now written as follows:Before:
After:
Features
Span.SetContext()method (#599)hub.Scope().SetContextwhen setting or updating context on transactions.DebugMetainterface toEventand extendFramestructure with more fields (#606)Bug Fixes
Misc
github.com/kataras/iris/v12to 12.2.0,github.com/labstack/echo/v4to v4.10.0 (#595)google.golang.org/protobufminimum required version to 1.29.1 (#604)otelmodule 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/textminimum 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
otelmodulego get github.com/getsentry/sentry-go \ github.com/getsentry/sentry-go/otelConfigure 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
BeforeSendTransactionhook option and corrects two regressions introduced in0.16.0.Features
BeforeSendTransactionhook toClientOptions(#517)Bug Fixes
ClientOptions.SendDefaultPiiis set tofalse(#524)Misc
examplesdirectory to_examples(#521)github.com/golang-jwt/jwtv0.16.0: 0.16.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.16.0.
Due to ongoing work towards a stable API for
v1.0.0, we sadly had to include two breaking changes in this release.Breaking Changes
EnableTracing, a boolean option flag to enable performance monitoring (falseby default).If you're using
TracesSampleRateorTracesSampler, this option is required to enable performance monitoring.TracesSamplerwas changed to a callback that must return afloat64between0.0and1.0.For example, you can apply a sample rate of
1.0(100%) to all/apitransactions, and a sample rate of0.5(50%) to all other transactions.You can read more about this in our SDK docs.
Features
sentry.ClientOptions.Debug: true.Bug Fixes
StartTransaction#505v0.15.0: 0.15.0Compare Source
v0.14.0: 0.14.0Compare Source
max-depthoptions (#428)Contexttype mapping to amap[string]interface{}for all event contexts (#444)ioutilpkg withos&io(#454)stacktrace.gofrom size and speed (#467)go1.19andgo1.18, dropgo1.16andgo1.15support (#432, #477)NOTE: This version drops support for Go 1.16 and Go 1.15. The currently supported Go versions are the last 3 stable releases: 1.19, 1.18 and 1.17.
v0.13.0Compare Source
PCfield (#393)v0.12.0Compare Source
NOTE:
This version drops support for Go 1.14, however no changes have been made that would make the SDK not work with Go 1.14. The currently supported Go versions are the last 3 stable releases: 1.15, 1.16 and 1.17.
There are two behavior changes related to
LastEventID, both of which were intended to align the behavior of the Sentry Go SDK with other Sentry SDKs.The new automatic release detection feature makes it easier to use Sentry and separate events per release without requiring extra work from users. We intend to improve this functionality in a future release by utilizing information that will be available in runtime starting with Go 1.18. The tracking issue is #401.
v0.11.0Compare Source
go docdocumentation (#344, #350, #351)(57123a40, #128, #338, #345, #346, #352, #353, #355)
NOTE:
This version drops support for Go 1.13. The currently supported Go versions are the last 3 stable releases: 1.14, 1.15 and 1.16.
Users of the tracing functionality (
StartSpan, etc) should upgrade to this version to benefit from separate rate limits for errors and transactions.There are no breaking changes and upgrading should be a smooth experience for all users.
v0.10.0Compare Source
Event.Extra(#329)v0.9.0[Compare Source](https://redirect.github.com/getsentry/sen
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.