chore(deps): update sentry-rust monorepo to 0.49.0 #2230

Open
renovate wants to merge 1 commit from renovate/sentry-rust-monorepo into main
Collaborator

This PR contains the following updates:

Package Type Update Change
sentry (source) workspace.dependencies minor 0.48.00.49.0
sentry-tower (source) workspace.dependencies minor 0.48.00.49.0
sentry-tracing (source) workspace.dependencies minor 0.48.00.49.0

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).
Fixes
  • Corrected disabled tracing semantics: transactions and spans created while tracing is disabled are ignored without generating client reports, while sampling decisions received from upstream traces continue to be propagated in outgoing trace headers. An explicit 0.0 trace sample rate remains distinct from disabled tracing and continues to generate client reports for locally unsampled transactions (#​1286).

v0.49.1

Compare Source

Fixes
  • Preserve floating-point fields in tracing logs as numeric attributes (#​1278).

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

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 these updates again.


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

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [sentry](https://sentry.io/welcome/) ([source](https://github.com/getsentry/sentry-rust)) | workspace.dependencies | minor | `0.48.0` → `0.49.0` | | [sentry-tower](https://sentry.io/welcome/) ([source](https://github.com/getsentry/sentry-rust)) | workspace.dependencies | minor | `0.48.0` → `0.49.0` | | [sentry-tracing](https://sentry.io/welcome/) ([source](https://github.com/getsentry/sentry-rust)) | workspace.dependencies | minor | `0.48.0` → `0.49.0` | --- ### Release Notes <details> <summary>getsentry/sentry-rust (sentry)</summary> ### [`v0.49.2`](https://github.com/getsentry/sentry-rust/blob/HEAD/CHANGELOG.md#0492) [Compare Source](https://github.com/getsentry/sentry-rust/compare/0.49.1...0.49.2) ##### Fixes - Fix a bug that prevented the Curl transport from respecting Sentry rate limits ([#&#8203;1279](https://github.com/getsentry/sentry-rust/pull/1279)). ##### Deprecations - Deprecated [`ClientOptions::enable_logs`](https://docs.rs/sentry-core/0.49.2/sentry_core/struct.ClientOptions.html#method.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 ([#&#8203;1299](https://github.com/getsentry/sentry-rust/pull/1299)). - Deprecated [`ClientOptions::enable_metrics`](https://docs.rs/sentry-core/0.49.2/sentry_core/struct.ClientOptions.html#method.enable_metrics). The option is now a no-op; metrics are always enabled. To stop sending metrics, stop calling the metrics APIs ([#&#8203;1300](https://github.com/getsentry/sentry-rust/pull/1300)). ##### Fixes - Corrected disabled tracing semantics: transactions and spans created while tracing is disabled are ignored without generating client reports, while sampling decisions received from upstream traces continue to be propagated in outgoing trace headers. An explicit `0.0` trace sample rate remains distinct from disabled tracing and continues to generate client reports for locally unsampled transactions ([#&#8203;1286](https://github.com/getsentry/sentry-rust/pull/1286)). ### [`v0.49.1`](https://github.com/getsentry/sentry-rust/blob/HEAD/CHANGELOG.md#0491) [Compare Source](https://github.com/getsentry/sentry-rust/compare/0.49.0...0.49.1) ##### Fixes - Preserve floating-point fields in tracing logs as numeric attributes ([#&#8203;1278](https://github.com/getsentry/sentry-rust/pull/1278)). ### [`v0.49.0`](https://github.com/getsentry/sentry-rust/blob/HEAD/CHANGELOG.md#0490) [Compare Source](https://github.com/getsentry/sentry-rust/compare/0.48.5...0.49.0) ##### Breaking Changes - [`ClientOptions`](https://docs.rs/sentry-core/0.49.0/sentry_core/struct.ClientOptions.html) is now `#[non_exhaustive]` ([#&#8203;1230](https://github.com/getsentry/sentry-rust/pull/1230)). The struct must now be constructed with the builder-style setters: ```rust // 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 ([#&#8203;1262](https://github.com/getsentry/sentry-rust/pull/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 ([#&#8203;1251](https://github.com/getsentry/sentry-rust/pull/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 ([#&#8203;1228](https://github.com/getsentry/sentry-rust/pull/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 ([#&#8203;1227](https://github.com/getsentry/sentry-rust/pull/1227)). - [`EnvelopeItem`](https://docs.rs/sentry-types/0.49.0/sentry_types/protocol/envelope/enum.EnvelopeItem.html) now stores `Event` and `Transaction` payloads in `Box` values. Code that constructs or pattern-matches these variants must account for the additional indirection ([#&#8203;1255](https://github.com/getsentry/sentry-rust/pull/1255)). - The `sentry_log::RecordMapping` enum's `Event` now stores the event in a `Box` ([#&#8203;1269](https://github.com/getsentry/sentry-rust/pull/1269)). - `sentry_slog::RecordMapping` is now `#[non_exhaustive]` and the `Event` variant now stores a boxed `Event<'static>` ([#&#8203;1270](https://github.com/getsentry/sentry-rust/pull/1270)) - The `sentry_tracing::EventMapping` enum's `Event` variant is now stored in a `Box` ([#&#8203;1272](https://github.com/getsentry/sentry-rust/pull/1272)) ##### New Features - Added [`TracePropagationContext`](https://docs.rs/sentry-core/latest/sentry_core/struct.TracePropagationContext.html) as the preferred type for Sentry trace propagation metadata. The existing [`SentryTrace`](https://docs.rs/sentry-core/latest/sentry_core/struct.SentryTrace.html) type remains available for backwards compatibility ([#&#8203;1212](https://github.com/getsentry/sentry-rust/pull/1212)). - Added [`Dsn::org_id`](https://docs.rs/sentry-types/latest/sentry_types/struct.Dsn.html#method.org_id), which parses the Sentry SaaS organization ID from DSN hosts such as `o123.ingest.sentry.io` ([#&#8203;1202](https://github.com/getsentry/sentry-rust/pull/1202)). - Added [`ClientOptions::org_id`](https://docs.rs/sentry-core/latest/sentry_core/struct.ClientOptions.html#method.org_id) and [`ClientOptions::strict_trace_continuation`](https://docs.rs/sentry-core/latest/sentry_core/struct.ClientOptions.html#method.strict_trace_continuation) ([#&#8203;1203](https://github.com/getsentry/sentry-rust/pull/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 - Improved trace continuation safety by rejecting incoming traces with incompatible `sentry-org_id` values when starting transactions, according to [strict trace continuation rules](https://develop.sentry.dev/sdk/foundations/trace-propagation/#continuing-traces) ([#&#8203;1218](https://github.com/getsentry/sentry-rust/pull/1218)). ##### Fixes - Restored the reqwest transport's pre-0.13 protocol features by disabling HTTP/2 and native-TLS ALPN ([#&#8203;1258](https://github.com/getsentry/sentry-rust/pull/1258)). - [`EnvelopeError`](https://docs.rs/sentry-types/0.49.0/sentry_types/protocol/envelope/enum.EnvelopeError.html) is now `#[non_exhaustive]` to allow adding new error variants without a breaking change ([#&#8203;1254](https://github.com/getsentry/sentry-rust/pull/1254)). </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jaWVzIiwiRGVwZW5kZW5jaWVzL1Jlbm92YXRlIl19-->
chore(deps): update sentry-rust monorepo to 0.49.0
Some checks failed
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 7s
Checks / Prek / Check changed files (pull_request) Successful in 7s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m29s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m33s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m23s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 6m15s
173b8e9a33
Some checks failed
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 7s
Checks / Prek / Check changed files (pull_request) Successful in 7s
Required
Details
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Required
Details
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m29s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m33s
Required
Details
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m23s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 6m15s
Required
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/sentry-rust-monorepo:renovate/sentry-rust-monorepo
git switch renovate/sentry-rust-monorepo
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!2230
No description provided.