Skip to content

core: bump sentry from 0.47.0 to 0.48.0 - #22081

Merged
BeryJu merged 1 commit into
mainfrom
dependabot/cargo/sentry-0.48.0
May 6, 2026
Merged

BeryJu merged 1 commit into
mainfrom
dependabot/cargo/sentry-0.48.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 6, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner May 6, 2026 04:31
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 6, 2026
@codecov

codecov Bot commented May 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.18%. Comparing base (f6024a2) to head (49369b5).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22081      +/-   ##
==========================================
- Coverage   93.21%   93.18%   -0.03%     
==========================================
  Files        1024     1024              
  Lines       59343    59343              
  Branches      400      400              
==========================================
- Hits        55315    55299      -16     
- Misses       4028     4044      +16     
Flag Coverage Δ
conformance 36.88% <ø> (+<0.01%) ⬆️
e2e 42.06% <ø> (-0.01%) ⬇️
integration 32.78% <ø> (-0.50%) ⬇️
rust 0.00% <ø> (ø)
unit 92.14% <ø> (ø)
unit-migrate 92.18% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@netlify

netlify Bot commented May 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 49369b5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69fac41a1d94870008016203
😎 Deploy Preview https://deploy-preview-22081--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@BeryJu
BeryJu merged commit 459fa8e into main May 6, 2026
110 checks passed
@BeryJu
BeryJu deleted the dependabot/cargo/sentry-0.48.0 branch May 6, 2026 10:48
kensternberg-authentik added a commit that referenced this pull request May 6, 2026
* main: (338 commits)
  root: ensure uv sync does not update uv.lock (#22084)
  core: bump dramatiq from 1.17.1 to 2.1.0 (#22076)
  web: Fix Vendored Lex package. Add Unit Tests  (#22083)
  core, web: update translations (#22074)
  website: bump the build group in /website with 6 updates (#22075)
  web: bump ip-address from 10.1.0 to 10.2.0 in /web (#22082)
  web: bump the swc group across 1 directory with 11 updates (#22078)
  ci: bump taiki-e/install-action from 2.75.29 to 2.75.30 in /.github/actions/setup (#22077)
  web: bump country-flag-icons from 1.6.16 to 1.6.17 in /web (#22079)
  web: bump yaml from 2.8.3 to 2.8.4 in /web (#22080)
  core: bump sentry from 0.47.0 to 0.48.0 (#22081)
  packages/client-ts: Fix TypeScript config, ESBuild warnings (#21863)
  web: fix identification stage OUIA attributes (#22049)
  stages/invitation: Invitation wizard (#20399)
  Web/release202604/nits 2 (#22040)
  web: Gracefully handle missing element construction. (#21787)
  root: update django to 5.2.14 (#22064)
  tenants: add option to mark flag as deprecated (#22063)
  web/stages: better wording for webauthn authenticator attachments options (#22062)
  web: bump vite from 8.0.8 to 8.0.10 in /web (#21842)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant