fix(deps): update rust crate sentry to 0.49.2 - #159
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/sentry-rust-monorepo
branch
2 times, most recently
from
July 20, 2026 19:37
17c4d6b to
28b06f9
Compare
renovate
Bot
force-pushed
the
renovate/sentry-rust-monorepo
branch
from
July 29, 2026 12:45
28b06f9 to
de15410
Compare
renovate
Bot
force-pushed
the
renovate/sentry-rust-monorepo
branch
from
August 3, 2026 19:07
de15410 to
0b803d3
Compare
renovate
Bot
force-pushed
the
renovate/sentry-rust-monorepo
branch
from
August 26, 2026 18:34
0b803d3 to
bfc2271
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:
0.48.2→0.49.2Release Notes
getsentry/sentry-rust (sentry)
v0.49.2Compare Source
Fixes
Deprecations
ClientOptions::enable_logs. The option no longer disables manually captured logs (via the logging APIs); it now only disables automatic log capture by the log-capturing integrations (tracingandlogwith thelogsfeature). To stop an integration from sending logs, configure it via its own options (#1299).ClientOptions::enable_metrics. The option is now a no-op; metrics are always enabled. To stop sending metrics, stop calling the metrics APIs (#1300).v0.49.1Compare Source
Fixes
v0.49.0Compare Source
Breaking Changes
ClientOptionsis now#[non_exhaustive](#1230). The struct must now be constructed with the builder-style setters:Updated the
sentry-opentelemetryintegration to support OpenTelemetry 0.32. Users of the integration must update their OpenTelemetry dependencies from 0.29 to 0.32 (#1262).The
logsandmetricsfeatures are now enabled by default in thesentrycrate. This does not break the API, but may cause new telemetry to be sent to Sentry: log and tracing integrations can send structured logs, and applications can send metrics without adding the feature flags. Disable these features explicitly if this additional telemetry is not desired (#1251).Removed the public
ClientOptions::sample_ratefield. UseClientOptions::event_sampling_strategyto inspect the configured event sampling strategy, and use the existingClientOptions::sample_rate(...)builder setter to configure fixed-rate sampling.Removed the public
ClientOptions::sample_ratefield. UseClientOptions::event_sampling_strategyto inspect the configured event sampling strategy, and use the existingClientOptions::sample_rate(...)builder setter to configure fixed-rate sampling (#1228).Removed the public
ClientOptions::traces_sample_rateandClientOptions::traces_samplerfields. UseClientOptions::traces_sampling_strategyto inspect the configured traces sampling strategy, and use the existingClientOptions::traces_sample_rate(...)andClientOptions::traces_sampler(...)builder setters to configure fixed-rate and callback-based sampling (#1227).EnvelopeItemnow storesEventandTransactionpayloads inBoxvalues. Code that constructs or pattern-matches these variants must account for the additional indirection (#1255).The
sentry_log::RecordMappingenum'sEventnow stores the event in aBox(#1269).sentry_slog::RecordMappingis now#[non_exhaustive]and theEventvariant now stores a boxedEvent<'static>(#1270)The
sentry_tracing::EventMappingenum'sEventvariant is now stored in aBox(#1272)New Features
TracePropagationContextas the preferred type for Sentry trace propagation metadata. The existingSentryTracetype remains available for backwards compatibility (#1212).Dsn::org_id, which parses the Sentry SaaS organization ID from DSN hosts such aso123.ingest.sentry.io(#1202).ClientOptions::org_idandClientOptions::strict_trace_continuation(#1203). These options control how traces are continued and can help prevent traces from third-party services, which happen to be instrumented with Sentry, from being continued.Improvements
sentry-org_idvalues when starting transactions, according to strict trace continuation rules (#1218).Fixes
EnvelopeErroris now#[non_exhaustive]to allow adding new error variants without a breaking change (#1254).v0.48.5Compare Source
Fixes
v0.48.4Compare Source
New Features
Added builder-style setters to
ClientOptions(#1221):Deprecations
ClientOptionswith struct-literal syntax, including..Default::default()functional update syntax, is deprecated and will stop compiling in the next breaking release, as we will markClientOptionsas#[non_exhaustive](#1221). Reading and assigning individual public fields will remain supported. Please migrate to the builder-style setters introduced in this release.v0.48.3Compare Source
The Sentry Rust SDK now reports data discarded by the SDK to Sentry’s Stats page. The SDK reports approximate counts for drops from transports, queues, rate-limit backoff, sampling, event processors, and
before_send*callbacks, including span counts for dropped transactions and byte counts for dropped logs and metrics.New Features
EnvelopeFilterandEnvelopeFilterCallbacks, which let callers observe envelope items removed byEnvelope::filter, including attachments removed after their event or transaction is filtered out. ExistingEnvelope::filterclosure callers continue to work, although some closures may require an explicit item type annotation (#1182).LossSourcetrait, which provides the client report data categories and quantities to report when supported Sentry data is dropped (#1170).TransportFactory::create_transport_with_options, which constructs transports fromTransportOptionsinstead of fullClientOptions(#1142).with_optionsconstructors for built-in HTTP transports, includingReqwestHttpTransportOptions,CurlHttpTransportOptions,UreqHttpTransportOptions, andEmbeddedSVCHttpTransportOptions(#1142).StdTransportThreadOptionsandTokioTransportThreadOptions(#1142).sentry-types, includingClientReport,client_report::Item,client_report::Category, andclient_report::Reason, plus support for serializingclient_reportenvelope items (#1144).Recordertype, which modernTransportFactoryimplementations receive viaTransportOptions. Transports can use this recorder to record discarded Sentry data; the SDK aggregates these reported losses and automatically sends them in a future envelope (#1158).Deprecations
Hub::with. UseHub::currentinstead (#1126).Fixes
ureqtransport handling for HTTP error statuses so429rate limits and413payload-too-large responses are processed correctly (#1177).Behavior Changes
TransportFactory::create_transportnow receiveClientOptionsreconstructed fromTransportOptions. The reconstructed options include only transport-relevant fields, such as DSN, user agent, proxy settings, and TLS certificate validation settings. This may affect code that reads non-transport fields increate_transport, but the API remains source-compatible and this change is included in a minor/patch release (#1142).Configuration
📅 Schedule: (UTC)
🚦 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.