---
title: "sentry Breaking Changes on crates.io | Since.dev"
description: "What each sentry release removed, renamed or changed: 11 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/sentry
last_updated: 2026-07-29
---

# sentry breaking changes

Every breaking API change we have recorded in sentry on crates.io: 11 breaking changes in 1 version. Below are its newest version, removals and renames first, each with its source.

Newest change July 29, 2026

## 0.49.0

11 breaking changes, first published July 29, 2026.

- **Removed** `ClientOptions.sample_rate`  

The public sample_rate field is gone. Inspect the configured strategy with event_sampling_strategy, and use the sample_rate(...) builder setter to configure fixed-rate sampling. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Removed** `ClientOptions.traces_sample_rate`  

The public traces_sample_rate field is gone. Inspect the configured strategy with traces_sampling_strategy, and use the traces_sample_rate(...) builder setter instead. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Removed** `ClientOptions.traces_sampler`  

The public traces_sampler field is gone. Inspect the configured strategy with traces_sampling_strategy, and use the traces_sampler(...) builder setter instead. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Behavior changed**  

The sentry-opentelemetry integration now supports OpenTelemetry 0.32. Users must update their OpenTelemetry dependencies from 0.29 to 0.32. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Default changed**  

The logs and metrics features are enabled by default in the sentry crate, so new telemetry may be sent. Disable these features explicitly if that telemetry is not wanted. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Signature changed** `ClientOptions`  

ClientOptions can no longer be built with a struct literal. Construct it with ClientOptions::new() and the builder-style setters instead. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Signature changed** `EnvelopeError`  

EnvelopeError is now non-exhaustive, so matches on its variants need a wildcard arm. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Signature changed** `EnvelopeItem`  

The Event and Transaction variants now hold Box values. Code that constructs or matches these variants must account for the extra indirection. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Signature changed** `sentry_log.RecordMapping`  

The Event variant of RecordMapping now stores the event in a Box. Code that constructs or matches it must be updated. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)
- **Signature changed** `sentry_slog.RecordMapping`  

RecordMapping is now non-exhaustive, so matches need a wildcard arm. Its Event variant now stores a boxed Event. [github.com](https://github.com/getsentry/sentry-rust/releases/tag/0.49.0)

And 1 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous management.

Scan a public repository now, or give your agent one line.

### See how out of date your code is.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
