Skip to content

Update sentry-rust monorepo to 0.47.0#530

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

Update sentry-rust monorepo to 0.47.0#530
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/sentry-rust-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 24, 2025

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-rust (sentry)

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

v0.46.2

Compare Source

New Features
  • Log HTTP 413 responses as oversized envelope discards in HTTP transports (#​966)
Minimum Supported Rust Version
  • Bump minimum supported Rust version to 1.88 (#​970).

v0.46.1

Compare Source

Improvements
  • Make it possible to == Transaction/Span/TransactionOrSpan (#​942)
Dependencies
  • Update reqwest from 0.12.15 to 0.12.25 (#​951)

v0.46.0

Compare Source

Breaking changes
  • Removed the ClientOptions struct's trim_backtraces and extra_border_frames fields (#​925).
    • These fields configured backtrace trimming, which is being removed in this release.
Improvements
  • Removed backtrace trimming to align the Rust SDK with the general principle that Sentry SDKs should only truncate telemetry data when needed to comply with documented size limits (#​925). This change ensures that as much data as possible remains available for debugging.
    • If you notice any new issues being created for existing errors after this change, please open an issue on GitHub.
Fixes

v0.45.0

Compare Source

Breaking changes
  • Add custom variant to AttachmentType that holds an arbitrary String. (#​916)

v0.44.0

Compare Source

Breaking changes
  • feat(log): support combined LogFilters and RecordMappings (#​914) by @​lcian
    • Breaking change: sentry::integrations::log::LogFilter has been changed to a bitflags struct.
    • It's now possible to map a log record to multiple items in Sentry by combining multiple log filters in the filter, e.g. log::Level::ERROR => LogFilter::Event | LogFilter::Log.
    • If using a custom mapper instead, it's possible to return a Vec<sentry::integrations::log::RecordMapping> to map a log record to multiple items in Sentry.
Behavioral changes
  • ref(log): send logs by default when logs feature flag is enabled (#​915) by @​lcian
    • If the logs feature flag is enabled, the default Sentry log logger now sends logs for all events at or above INFO.
  • ref(logs): enable logs by default if logs feature flag is used (#​910) by @​lcian
    • This changes the default value of sentry::ClientOptions::enable_logs to true.
    • This simplifies the setup of Sentry structured logs by requiring users to just add the log feature flag to the sentry dependency to opt-in to sending logs.
    • When the log feature flag is enabled, the tracing and log integrations will send structured logs to Sentry for all logs/events at or above INFO level by default.

v0.43.0

Compare Source

Breaking changes
  • ref(tracing): rework tracing to Sentry span name/op conversion (#​887) by @​lcian
    • The tracing integration now uses the tracing span name as the Sentry span name by default.
    • Before this change, the span name would be set based on the tracing span target (<module>::<function> when using the tracing::instrument macro).
    • The tracing integration now uses <span target>::<span name> as the default Sentry span op (i.e. <module>::<function> when using tracing::instrument).
    • Before this change, the span op would be set based on the tracing span name.
    • Read below to learn how to customize the span name and op.
    • When upgrading, please ensure to adapt any queries, metrics or dashboards to use the new span names/ops.
  • ref(tracing): use standard code attributes (#​899) by @​lcian
    • Logs now carry the attributes code.module.name, code.file.path and code.line.number standardized in OTEL to surface the respective information, in contrast with the previously sent tracing.module_path, tracing.file and tracing.line.
  • fix(actix): capture only server errors (#​877) by @​lcian
    • The Actix integration now properly honors the capture_server_errors option (enabled by default), capturing errors returned by middleware only if they are server errors (HTTP status code 5xx).
    • Previously, if a middleware were to process the request after the Sentry middleware and return an error, our middleware would always capture it and send it to Sentry, regardless if it was a client, server or some other kind of error.
    • With this change, we capture errors returned by middleware only if those errors can be classified as server errors.
    • There is no change in behavior when it comes to errors returned by services, in which case the Sentry middleware only captures server errors exclusively.
  • fix: send trace origin correctly (#​906) by @​lcian
    • TraceContext now has an additional field origin, used to report which integration created a transaction.
Behavioral changes
  • feat(tracing): send both breadcrumbs and logs by default (#​878) by @​lcian
    • If the logs feature flag is enabled, and enable_logs: true is set on your client options, the default Sentry tracing layer now sends logs for all events at or above INFO.
Features
  • ref(tracing): rework tracing to Sentry span name/op conversion (#​887) by @​lcian

    • Additional special fields have been added that allow overriding certain data on the Sentry span:
      • sentry.op: override the Sentry span op.
      • sentry.name: override the Sentry span name.
      • sentry.trace: given a string matching a valid sentry-trace header (sent automatically by client SDKs), continues the distributed trace instead of starting a new one. If the value is not a valid sentry-trace header or a trace is already started, this value is ignored.
    • sentry.op and sentry.name can also be applied retroactively by declaring fields with value tracing::field::Empty and then recorded using tracing::Span::record.
    • Example usage:
      #[tracing::instrument(skip_all, fields(
          sentry.op = "http.server",
          sentry.name = "GET /payments",
          sentry.trace = headers.get("sentry-trace").unwrap_or(&"".to_owned()),
      ))]
      async fn handle_request(headers: std::collections::HashMap<String, String>) {
          // ...
      }
    • Additional attributes are sent along with each span by default:
      • sentry.tracing.target: corresponds to the tracing span's metadata.target()
      • code.module.name, code.file.path, code.line.number
  • feat(core): add Response context (#​874) by @​lcian

    • The Response context can now be attached to events, to include information about HTTP responses such as headers, cookies and status code.
    • Example:
      let mut event = Event::new();
      let response = ResponseContext {
          cookies: Some(r#""csrftoken": "1234567""#.to_owned()),
          headers: Some(headers_map),
          status_code: Some(500),
          body_size: Some(15),
          data: Some("Invalid request"),
      };
      event
          .contexts
          .insert("response".to_owned(), response.into());
Fixes
  • build(panic): Fix build without other dependencies (#​883) by @​liskin
    • The sentry-panic crate now builds successfully when used as a standalone dependency.
  • fix(transport): add rate limits for logs (#​894) by @​giortzisg

Configuration

📅 Schedule: 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 September 24, 2025 09:58
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 2 times, most recently from 08b7aa7 to 5590131 Compare October 1, 2025 23:42
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 5590131 to b52b071 Compare October 7, 2025 14:36
@renovate renovate Bot changed the title Update sentry-rust monorepo to 0.43.0 Update sentry-rust monorepo to 0.44.0 Oct 7, 2025
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from b52b071 to aca5b6c Compare October 8, 2025 10:13
@renovate renovate Bot changed the title Update sentry-rust monorepo to 0.44.0 Update sentry-rust monorepo to 0.45.0 Oct 8, 2025
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 9 times, most recently from 29d4524 to df0541a Compare October 15, 2025 09:35
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from df0541a to 2978815 Compare October 20, 2025 22:11
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 4 times, most recently from 0db495b to dbedb6b Compare November 3, 2025 00:49
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 7 times, most recently from 0d0d9de to 86e8b6d Compare November 20, 2025 21:56
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 86e8b6d to c7ca9fe Compare November 24, 2025 13:42
@renovate renovate Bot changed the title Update sentry-rust monorepo to 0.45.0 Update sentry-rust monorepo Nov 24, 2025
@renovate renovate Bot changed the title Update sentry-rust monorepo Update sentry-rust monorepo to 0.46.0 Nov 24, 2025
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch 3 times, most recently from 58891c9 to f7f05d4 Compare November 28, 2025 15:01
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from f7f05d4 to 92eb2e2 Compare December 4, 2025 04:16
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 92eb2e2 to 5b7c11c Compare January 7, 2026 10:34
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 5b7c11c to 867bc87 Compare February 4, 2026 15:07
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 867bc87 to 59afe98 Compare February 25, 2026 10:51
@renovate renovate Bot force-pushed the renovate/sentry-rust-monorepo branch from 59afe98 to ab357c3 Compare March 10, 2026 18:45
@renovate renovate Bot changed the title Update sentry-rust monorepo to 0.46.0 Update sentry-rust monorepo to 0.47.0 Mar 10, 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