Skip to content

chore(deps): Bump sentry from 0.39.0 to 0.40.0#1485

Merged
notheotherben merged 1 commit intomainfrom
dependabot/cargo/sentry-0.40.0
Jun 18, 2025
Merged

chore(deps): Bump sentry from 0.39.0 to 0.40.0#1485
notheotherben merged 1 commit intomainfrom
dependabot/cargo/sentry-0.40.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jun 18, 2025

Bumps sentry from 0.39.0 to 0.40.0.

Release notes

Sourced from sentry's releases.

0.40.0

Logs

We've released two new integrations for Sentry structured logs, the tracing and log integration. Read below on how to start sending logs to Sentry.

Breaking changes

  • refactor(logs): apply user attributes to log regardless of send_default_pii (#843) by @​lcian
    • User attributes should be applied to logs regardless of send_default_pii. Therefore, that parameter was removed from sentry_core::Scope::apply_to_log.

Features

  • feat(tracing): add support for logs (#840) by @​lcian
    • To capture tracing events as Sentry structured logs, enable the logs feature of the sentry crate.
    • Then, initialize the SDK with enable_logs: true in your client options.
    • Finally, set up a custom event filter to map events to logs based on criteria such as severity. For example:
        let sentry_layer = sentry_tracing::layer().event_filter(|md| match *md.level() {
            tracing::Level::ERROR => EventFilter::Event,
            tracing::Level::TRACE => EventFilter::Ignore,
            _ => EventFilter::Log,
        });
  • feat(log): add support for logs (#841) by @​lcian
    • To capture log records as Sentry structured logs, enable the logs feature of the sentry crate.
    • Then, initialize the SDK with enable_logs: true in your client options.
    • Finally, set up a custom event filter to map records to Sentry logs based on criteria such as severity. For example:
        let logger = sentry::integrations::log::SentryLogger::new().filter(|md| match md.level() {
            log::Level::Error => LogFilter::Event,
            log::Level::Trace => LogFilter::Ignore,
            _ => LogFilter::Log,
        });
  • refactor(logs): cache default attributes and add OS attributes (#842) by @​lcian
    • os.name and os.version are now being attached to logs as default attributes.

Fixes

  • fix(logs): send environment in sentry.environment default attribute (#837) by @​lcian

Behavioral changes

  • refactor(tracing): refactor internal code and improve docs (#839) by @​lcian
    • Errors carried by breadcrumbs will now be stored in the breadcrumb data under their original field name.
    • Before, they were all stored under a single key called errors.

Dependencies

Changelog

Sourced from sentry's changelog.

0.40.0

Breaking changes

  • refactor(logs): apply user attributes to log regardless of send_default_pii (#843) by @​lcian
    • User attributes should be applied to logs regardless of send_default_pii. Therefore, that parameter was removed from sentry_core::Scope::apply_to_log.

Features

  • feat(tracing): add support for logs (#840) by @​lcian
    • To capture tracing events as Sentry structured logs, enable the logs feature of the sentry crate.
    • Then, initialize the SDK with enable_logs: true in your client options.
    • Finally, set up a custom event filter to map events to logs based on criteria such as severity. For example:
        let sentry_layer = sentry_tracing::layer().event_filter(|md| match *md.level() {
            tracing::Level::ERROR => EventFilter::Event,
            tracing::Level::TRACE => EventFilter::Ignore,
            _ => EventFilter::Log,
        });
  • feat(log): add support for logs (#841) by @​lcian
    • To capture log records as Sentry structured logs, enable the logs feature of the sentry crate.
    • Then, initialize the SDK with enable_logs: true in your client options.
    • Finally, set up a custom event filter to map records to Sentry logs based on criteria such as severity. For example:
        let logger = sentry::integrations::log::SentryLogger::new().filter(|md| match md.level() {
            log::Level::Error => LogFilter::Event,
            log::Level::Trace => LogFilter::Ignore,
            _ => LogFilter::Log,
        });
  • refactor(logs): cache default attributes and add OS attributes (#842) by @​lcian
    • os.name and os.version are now being attached to logs as default attributes.

Fixes

  • fix(logs): send environment in sentry.environment default attribute (#837) by @​lcian

Behavioral changes

  • refactor(tracing): refactor internal code and improve docs (#839) by @​lcian
    • Errors carried by breadcrumbs will now be stored in the breadcrumb data under their original field name.
    • Before, they were all stored under a single key called errors.

Dependencies

Commits
  • 25be1a5 release: 0.40.0
  • 4553e2e refactor(logs): cache default attributes and add OS attributes (#842)
  • 34db51d feat(log): add support for logs (#841)
  • 88b00f3 refactor(logs): apply user attributes to log regardless of send_default_pii...
  • 0b251dc feat(tracing): add support for logs (#840)
  • c42ed3f refactor(tracing): refactor internal code and improve docs (#839)
  • 2b1455b chore(deps): upgrade ureq to 3.x (#835)
  • c92d8d8 feat(scripts): add command to update Cargo.lock (#838)
  • 644ee85 fix(logs): send environment in sentry.environment default attribute (#837)
  • 5cd032d Merge branch 'release/0.39.0'
  • See full diff 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.39.0 to 0.40.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.39.0...0.40.0)

---
updated-dependencies:
- dependency-name: sentry
  dependency-version: 0.40.0
  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 Jun 18, 2025
Copy link
Copy Markdown
Member

@notheotherben notheotherben left a comment

Choose a reason for hiding this comment

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

This PR has been automatically approved because it was created by @dependabot.

@notheotherben notheotherben enabled auto-merge June 18, 2025 07:16
@notheotherben notheotherben merged commit 2dc26e9 into main Jun 18, 2025
8 of 9 checks passed
@notheotherben notheotherben deleted the dependabot/cargo/sentry-0.40.0 branch June 18, 2025 07:19
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.49%. Comparing base (d37fc97) to head (2f3d314).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1485   +/-   ##
=======================================
  Coverage   85.49%   85.49%           
=======================================
  Files          98       98           
  Lines       10143    10143           
=======================================
  Hits         8672     8672           
  Misses       1471     1471           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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