Skip to content

chore(deps): bump sentry from 0.47.0 to 0.48.0#242

Merged
Jordonbc merged 1 commit intoDevfrom
dependabot/cargo/Dev/sentry-0.48.0
May 4, 2026
Merged

chore(deps): bump sentry from 0.47.0 to 0.48.0#242
Jordonbc merged 1 commit intoDevfrom
dependabot/cargo/Dev/sentry-0.48.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps sentry from 0.47.0 to 0.48.0.

Release notes

Sourced from sentry's releases.

0.48.0

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

Sourced from sentry's changelog.

0.48.0

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

... (truncated)

Commits
  • 7f8bb3f release: 0.48.0
  • 352cfb8 build(deps): bump actix-http from 3.12.0 to 3.12.1 (#1075)
  • 9a1373a build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 (#1085)
  • 1bcbbe6 build(deps): bump openssl from 0.10.75 to 0.10.78 (#1078)
  • a41084f meta(changelog): Add changelog entries for Metrics PRs
  • 3d57614 feat: Metrics feature
  • afc5b71 feat(metrics): Add trace_metric transport rate limiting (#1066)
  • a68455f feat!(metrics): Add before_send_metric callback (#1064)
  • 3c4abb6 feat(metrics): Add metric user attributes from scope (#1063)
  • 0e46166 feat(metrics): Attach default SDK attributes to metrics (#1062)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added deps Dependency updates rust Rust/Cargo updates labels May 4, 2026
Bumps [sentry](https://github.com/getsentry/sentry-rust) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-rust@0.47.0...0.48.0)

---
updated-dependencies:
- dependency-name: sentry
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/Dev/sentry-0.48.0 branch from 60e5527 to b51372b Compare May 4, 2026 14:11
@Jordonbc Jordonbc merged commit 2e27c90 into Dev May 4, 2026
3 checks passed
@dependabot dependabot Bot deleted the dependabot/cargo/Dev/sentry-0.48.0 branch May 4, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deps Dependency updates rust Rust/Cargo updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant