Skip to content

fix(deps): update rust crate sentry to 0.49.2 - #159

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-rust-monorepo
Open

fix(deps): update rust crate sentry to 0.49.2#159
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-rust-monorepo

Conversation

@renovate

@renovate renovate Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
sentry (source) dependencies minor 0.48.20.49.2

Release Notes

getsentry/sentry-rust (sentry)

v0.49.2

Compare Source

Fixes
  • Fix a bug that prevented the Curl transport from respecting Sentry rate limits (#​1279).
Deprecations
  • Deprecated 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 (tracing and log with the logs feature). To stop an integration from sending logs, configure it via its own options (#​1299).
  • Deprecated 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.1

Compare Source

Fixes
  • Preserve floating-point fields in tracing logs as numeric attributes (#​1278).
  • Fix a bug that prevented the Curl transport from respecting Sentry rate limits (#​1279).

v0.49.0

Compare Source

Breaking Changes
  • ClientOptions is now #[non_exhaustive] (#​1230). The struct must now be constructed with the builder-style setters:

    // Before
    let options = sentry::ClientOptions {
        dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
        debug: true,
        release: Some("my-app@1.0.0".into()),
        ..Default::default()
    };
    
    // After
    let options = sentry::ClientOptions::new()
        .dsn("https://examplePublicKey@o0.ingest.sentry.io/0")
        .debug(true)
        .release("my-app@1.0.0");
  • Updated the sentry-opentelemetry integration to support OpenTelemetry 0.32. Users of the integration must update their OpenTelemetry dependencies from 0.29 to 0.32 (#​1262).

  • The logs and metrics features are now enabled by default in the sentry crate. 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_rate field. Use ClientOptions::event_sampling_strategy to inspect the configured event sampling strategy, and use the existing ClientOptions::sample_rate(...) builder setter to configure fixed-rate sampling.

  • Removed the public ClientOptions::sample_rate field. Use ClientOptions::event_sampling_strategy to inspect the configured event sampling strategy, and use the existing ClientOptions::sample_rate(...) builder setter to configure fixed-rate sampling (#​1228).

  • Removed the public ClientOptions::traces_sample_rate and ClientOptions::traces_sampler fields. Use ClientOptions::traces_sampling_strategy to inspect the configured traces sampling strategy, and use the existing ClientOptions::traces_sample_rate(...) and ClientOptions::traces_sampler(...) builder setters to configure fixed-rate and callback-based sampling (#​1227).

  • EnvelopeItem now stores Event and Transaction payloads in Box values. Code that constructs or pattern-matches these variants must account for the additional indirection (#​1255).

  • The sentry_log::RecordMapping enum's Event now stores the event in a Box (#​1269).

  • sentry_slog::RecordMapping is now #[non_exhaustive] and the Event variant now stores a boxed Event<'static> (#​1270)

  • The sentry_tracing::EventMapping enum's Event variant is now stored in a Box (#​1272)

New Features
Improvements
Fixes
  • Restored the reqwest transport's pre-0.13 protocol features by disabling HTTP/2 and native-TLS ALPN (#​1258).
  • EnvelopeError is now #[non_exhaustive] to allow adding new error variants without a breaking change (#​1254).

v0.48.5

Compare Source

Fixes
  • Fixed a bug that could cause the SDK to panic and, in some cases, panic while handling the panic, aborting the process (#​1241).

v0.48.4

Compare Source

New Features
  • Added builder-style setters to ClientOptions (#​1221):

    // Before
    let options = sentry::ClientOptions {
        dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
        debug: true,
        release: Some("my-app@1.0.0".into()),
        ..Default::default()
    };
    
    // After
    let options = sentry::ClientOptions::new()
        .dsn("https://examplePublicKey@o0.ingest.sentry.io/0")
        .debug(true)
        .release("my-app@1.0.0");
Deprecations
  • Constructing ClientOptions with struct-literal syntax, including ..Default::default() functional update syntax, is deprecated and will stop compiling in the next breaking release, as we will mark ClientOptions as #[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.3

Compare 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
Deprecations
Fixes
  • Fixed ureq transport handling for HTTP error statuses so 429 rate limits and 413 payload-too-large responses are processed correctly (#​1177).
Behavior Changes
  • Custom transport factories that implement TransportFactory::create_transport now receive ClientOptions reconstructed from TransportOptions. 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 in create_transport, but the API remains source-compatible and this change is included in a minor/patch release (#​1142).

Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title fix(deps): update rust crate sentry to 0.48.4 fix(deps): update rust crate sentry to 0.48.5 Jul 14, 2026
@renovate
renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 2 times, most recently from 17c4d6b to 28b06f9 Compare July 20, 2026 19:37
@renovate renovate Bot changed the title fix(deps): update rust crate sentry to 0.48.5 fix(deps): update rust crate sentry to 0.49.0 Jul 29, 2026
@renovate
renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 28b06f9 to de15410 Compare July 29, 2026 12:45
@renovate renovate Bot changed the title fix(deps): update rust crate sentry to 0.49.0 fix(deps): update rust crate sentry to 0.49.1 Aug 3, 2026
@renovate
renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from de15410 to 0b803d3 Compare August 3, 2026 19:07
@renovate
renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 0b803d3 to bfc2271 Compare August 26, 2026 18:34
@renovate renovate Bot changed the title fix(deps): update rust crate sentry to 0.49.1 fix(deps): update rust crate sentry to 0.49.2 Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants