fix(deps): update module github.com/getsentry/sentry-go to v0.44.1#119
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update module github.com/getsentry/sentry-go to v0.44.1#119renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
c1c705b to
7882ce6
Compare
7882ce6 to
59622e2
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.44.1Release Notes
getsentry/sentry-go (github.com/getsentry/sentry-go)
v0.44.1: 0.44.1Compare Source
New Features ✨
Scope.SetExtra,Scope.SetExtras, andScope.RemoveExtrain favor ofScope.SetAttributesandScope.RemoveAttributeby @giortzisg in #1224SetAttributesto attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, useSetTagorSetContextinstead.Bug Fixes 🐛
Internal Changes 🔧
Ai
Deps
Other
v0.44.0: 0.44.0Compare Source
New Features ✨
Scope.SetExtra,Scope.SetExtras, andScope.RemoveExtrain favor ofScope.SetAttributesandScope.RemoveAttributeby @giortzisg in #1224SetAttributesto attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, useSetTagorSetContextinstead.Bug Fixes 🐛
Internal Changes 🔧
Ai
Deps
Other
v0.43.0: 0.43.0Compare Source
Breaking Changes 🛠
New Features ✨
Bug Fixes 🐛
Internal Changes 🔧
Deps
Other
v0.42.0: 0.42.0Compare Source
Breaking Changes 🛠
New Features ✨
Internal Changes 🔧
Release
Other
v0.41.0: 0.41.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0.
Features
sentryhttpclientpackage (#876)http.RoundTripperimplementation that automatically creates spans for outgoing HTTP requestsWithTracePropagationTargetsoptionClientOptions.PropagateTraceparentoption to control W3Ctraceparentheader propagation in outgoing HTTP requests (#1161)SpanIDfield to structured logs (#1169)v0.40.0: 0.40.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.40.0.
Bug Fixes
DisableTelemetryBufferflag and noop Telemetry Buffer, to prevent a panic at runtime (#1149).v0.39.0: 0.39.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.39.0.
Features
Bug Fixes
hasWork()method to check if buffers are ready to flush. The previous implementation was causing CPU spikes (#1143).v0.38.0: 0.38.0Compare Source
Breaking Changes
Features
Introduce a new async envelope transport and telemetry buffer to prioritize and batch events (#1094, #1093, #1107).
Add
ClientOptions.DisableTelemetryBufferto opt out and fall back to the legacy transport layer (HTTPTransport/HTTPSyncTransport).Notes
Transportis provided, the SDK automatically disables the telemetry buffer and uses the legacy transport for compatibility.v0.37.0: 0.37.0Compare Source
The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.37.0.
Breaking Changes
TraceIgnoreStatusCodesoption. The option now defaults to ignoring 404 status codes (#1122).Features
sentry.originattribute to structured logs to identify log origin forslogandlogrusintegrations (auto.log.slog,auto.log.logrus) (#1121).Bug Fixes
slogevent handler to use the initial context, ensuring events use the correct hub/span when the emission context lacks one (#1133).Misc
golang.org/x/netto v0.38.0 (#1126).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:
TraConfiguration
📅 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.