Skip to content

chore(deps): Bump sentry from 0.48.3 to 0.49.2 - #35

Merged
sebyx07 merged 3 commits into
mainfrom
dependabot/cargo/sentry-0.49.2
Nov 7, 2026
Merged

sebyx07 merged 3 commits into
mainfrom
dependabot/cargo/sentry-0.49.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps sentry from 0.48.3 to 0.49.2.

Release notes

Sourced from sentry's releases.

0.49.2

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

0.49.1

Fixes

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

0.49.0

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

... (truncated)

Changelog

Sourced from sentry's changelog.

0.49.2

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

0.49.1

Fixes

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

0.49.0

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

... (truncated)

Commits

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)

Bumps [sentry](https://github.com/getsentry/sentry-rust) from 0.48.3 to 0.49.2.
- [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.48.3...0.49.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 2, 2026
sentry 0.49 marks ClientOptions #[non_exhaustive] and replaces the
traces_sample_rate field with a builder. Same settings, new construction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@developerz-ai

developerz-ai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🔴 Changes requested

0 actionable comment(s) · grounded on your code

⚠️ 3 config note(s): the pull request title was withheld by the untrusted-input screen (empty) — the reviewer did not read it, and developerz.ai will not auto-merge this pull request until a new review of it (the next push, or an @developerz-ai review comment) reads that text as clean · 1 noise file(s) auto-skipped (lockfiles/generated/vendored — re-include with path_filters) · test files were not shown to the reviewer — this diff touched no path recognised as a test, so no assertion was available to read the change against

⏱ 31s wall clock · glm-5.3-flash via router · 1 model call(s) · 486 output token(s)

🤖 developerz.ai — automated review, running on your model and your box.

@developerz-ai developerz-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary — 2 file(s), 0 finding(s).

Bumps sentry 0.48.3→0.49.2 and adapts init to the new non_exhaustive ClientOptions builder. The new default-on logs/metrics features don't apply because default-features = false is kept; no code uses removed public fields.

  • the pull request title was withheld by the untrusted-input screen (empty) — the reviewer did not read it, and developerz.ai will not auto-merge this pull request until a new review of it (the next push, or an @developerz-ai review comment) reads that text as clean
  • 1 noise file(s) auto-skipped (lockfiles/generated/vendored — re-include with path_filters)
  • test files were not shown to the reviewer — this diff touched no path recognised as a test, so no assertion was available to read the change against

🤖 developerz.ai review — automated, running on your model and your box. What is this? · Reviewed by router/glm-5.3-flash on box hv-dedicated-dev-din — 23.8k in / 438 out over 1 call, on your flat-rate plan: no per-token charge (~<$0.01 at list price).

@developerz-ai developerz-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary — 2 file(s), 0 finding(s).

Bumps sentry 0.48→0.49 with default-features = false, so the new logs/metrics default-on features stay off — no new telemetry; adaptive ClientOptions rewrite to the builder API (matching #[non_exhaustive]) is equivalent and compiles under CI (clippy/test green). No findings.

  • the pull request title was withheld by the untrusted-input screen (empty) — the reviewer did not read it, and developerz.ai will not auto-merge this pull request until a new review of it (the next push, or an @developerz-ai review comment) reads that text as clean
  • 1 noise file(s) auto-skipped (lockfiles/generated/vendored — re-include with path_filters)
  • test files were not shown to the reviewer — this diff touched no path recognised as a test, so no assertion was available to read the change against

🤖 developerz.ai review — automated, running on your model and your box. What is this? · Reviewed by router/glm-5.3-flash on box hv-dedicated-dev-din — 23.9k in / 486 out over 1 call, on your flat-rate plan: no per-token charge (~<$0.01 at list price).

@sebyx07
sebyx07 merged commit c6b8ac8 into main Nov 7, 2026
5 checks passed
@sebyx07
sebyx07 deleted the dependabot/cargo/sentry-0.49.2 branch November 7, 2026 06:10
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant