fix(deps): update module github.com/getsentry/sentry-go to v0.48.0#126
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/getsentry/sentry-go to v0.48.0#126renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
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.48.0Release Notes
getsentry/sentry-go (github.com/getsentry/sentry-go)
v0.48.0: 0.48.0Compare Source
Breaking Changes 🛠
New Features ✨
ClientOptions.DataCollectionfor granular control over data collected by automatic instrumentation, replacing the broadSendDefaultPIIswitch.DataCollectioncan independently configure automaticuser.*population, cookies, request/response headers, HTTP bodies, and query parameters. When configured, it is the source of truth andSendDefaultPIIis ignored. by @giortzisg in #1339DataCollectionkeep a best-effort mapping of the previousSendDefaultPIIbehavior. To opt in to the new defaults, pass an emptyDataCollectionand then restrict individual categories as needed.Bug Fixes 🐛
Internal Changes 🔧
Deps
c802283to4013fc6by @dependabot in #1344Other
v0.47.0: 0.47.0Compare Source
Breaking Changes 🛠
transaction_infosource getting set incorrectly across HTTP middleware integrations (http, fasthttp, fiber). Users should now expect traces to properly get grouped with their parameterized path. Transactions in affected integrations may regroup after upgrading. by @giortzisg in #1325otel.NewSentrySpanProcessor. Users should now use thesentryotlp.NewTraceExporterinstead by @giortzisg in #1307sentry.NewLoggeror any supported integration. Also the EnableLogs flag changes to DisableLogs for a global override switch by @giortzisg in #1306ContextifyFramesintegration. The recommended way to add source context is SCM by @giortzisg in #1302New Features ✨
sentrysql.Open(...),sentrysql.OpenDB(...), and wrapped drivers/connectors for custom setups.sentrysql.WithDatabaseName(...)so spans are populated correctly.Internal Changes 🔧
Deps
71588ddtoc802283by @dependabot in #1314Other
v0.46.2: 0.46.2Compare Source
Bug Fixes 🐛
v0.46.1: 0.46.1Compare Source
Bug Fixes 🐛
v0.46.0: 0.46.0Compare Source
Breaking Changes 🛠
New Features ✨
DisableTelemetryBufferflag by @giortzisg in #1254internal/protocol.Dsnand make it safe to access by @giortzisg in #1254Internal Changes 🔧
Deps
Other
v0.45.1: 0.45.1Compare Source
Bug Fixes 🐛
v0.45.0: 0.45.0Compare Source
Breaking Changes 🛠
New Features ✨
sentryotlp.NewTraceExporterinstead:Bug Fixes 🐛
Internal Changes 🔧
Deps
Other
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: