Skip to content

fix(deps): update sentry-rust monorepo to 0.48.0 - autoclosed#598

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/sentry-rust-monorepo
Closed

fix(deps): update sentry-rust monorepo to 0.48.0 - autoclosed#598
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/sentry-rust-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 10, 2026

This PR contains the following updates:

Package Type Update Change
sentry (source) dependencies minor 0.46.00.48.0
sentry-tower (source) dependencies minor 0.46.00.48.0
sentry-tracing (source) dependencies minor 0.46.00.48.0

Release Notes

getsentry/sentry-rust (sentry)

v0.48.2

Compare Source

New Features
  • Added rustls-no-provider feature flag in the sentry crate to allow using the rustls transport with a different crypto provider (#​1103).
Fixes
  • Serialize attachment envelope headers as JSON to correctly encode header values (#​1109).
  • Use checked arithmetic to handle possible overflows (#​1119, #​1121, #​1122).

v0.48.1

Compare Source

Fixes
  • Changed ClientOptions::enable_metrics to default to true, aligning metrics behavior with other Sentry SDKs (#​1106). Metric capture APIs still require the metrics feature flag at compile time.

v0.48.0

Compare Source

Breaking Changes
New Features

📊📈💯 The Sentry-Rust SDK now supports emitting Sentry Metrics (#​1073)!

To get started, you will need to add the metrics feature flag when compiling the sentry crate. You will also need to enable metrics when initializing the SDK, like so:

use sentry::ClientOptions;

let _guard = sentry::init((
    "(your DSN here)",
    ClientOptions {
        enable_metrics: true,
        // ... other options ...
        ..Default::default()
    },
));

You can then capture metrics as follows:

use sentry::metrics;
use sentry::types::protocol::latest::Unit;

// We support counter, gauge, and distribution metrics.
metrics::counter("example.counter", 1).capture();
metrics::gauge("connections", 20).capture();
metrics::distribution("response.time", 123.4)
    .unit(Unit::Millisecond) // units can also be set on gauges
    .attribute("http.status", 200) // attributes can be set on all metric types
    .capture();
Fixes
  • Fixed several feature additivity SemVer violations, where enabling a feature flag could have introduced breaking changes. All known violations are fixed now, so simply enabling an additional feature flag in any Sentry SDK crate should no longer cause any public API breakages. Fixing these issues required us to break the public API in some places; those breakages are detailed above.

v0.47.0

Compare Source

Breaking Changes
  • Update reqwest from 0.12.25 to 0.13.1 (#​998). This change is breaking for users who use the RequestHttpTransport::with_client method.
  • sentry_core::HubSwitchGuard is now !Send, preventing it from being moved across threads (#​957).
New Features
Fixes
  • Fixed thread corruption bug where HubSwitchGuard could be dropped on wrong thread (#​957).
  • We now fork the Hub every time a span is entered. This prevents data from leaking across spans (#​957).

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from auguwu as a code owner March 10, 2026 18:06
@renovate renovate Bot added the deps label Mar 10, 2026
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 5 times, most recently from 3a1725f to 9b42bbf Compare March 19, 2026 01:32
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 3 times, most recently from 2aa5a5d to 0d0e1f8 Compare April 16, 2026 19:30
@renovate renovate Bot changed the title fix(deps): update sentry-rust monorepo to 0.47.0 fix(deps): update sentry-rust monorepo to 0.48.0 Apr 28, 2026
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 2 times, most recently from 97071d5 to 585a3d2 Compare May 4, 2026 12:28
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 585a3d2 to c90ae19 Compare May 11, 2026 09:55
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 9 times, most recently from 242d6df to 2812853 Compare May 30, 2026 00:17
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 2812853 to 2c3aea6 Compare May 30, 2026 00:22
@renovate renovate Bot changed the title fix(deps): update sentry-rust monorepo to 0.48.0 fix(deps): update sentry-rust monorepo to 0.48.0 - autoclosed May 30, 2026
@renovate renovate Bot closed this May 30, 2026
@renovate renovate Bot deleted the renovate/sentry-rust-monorepo branch May 30, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants