Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

chore(deps): update sentry-ruby monorepo to v5.24.0#300

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/sentry-ruby-monorepo
May 16, 2025
Merged

chore(deps): update sentry-ruby monorepo to v5.24.0#300
renovate[bot] merged 1 commit into
mainfrom
renovate/sentry-ruby-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 15, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-rails (source, changelog) 5.23.0 -> 5.24.0 age adoption passing confidence
sentry-ruby (source, changelog) 5.23.0 -> 5.24.0 age adoption passing confidence

Release Notes

getsentry/sentry-ruby (sentry-rails)

v5.24.0

Compare Source

Features
  • Add new sidekiq config report_only_dead_jobs (#​2581)

  • Add max_nesting of 10 to breadcrumbs data serialization (#​2583)

  • Add sidekiq config propagate_traces to control trace header injection (#​2588)

    If you use schedulers you can get one large trace with all your jobs which is undesirable.
    We recommend using the following to propagate traces only from the Rails server and not elsewhere.

    config.sidekiq.propagate_traces = false unless Rails.const_defined?('Server')
  • Only expose active_storage keys on span data if send_default_pii is on (#​2589)

  • Add new Sentry.logger for Structured Logging feature (#​2620).

    To enable structured logging you need to turn on the enable_logs configuration option:

    Sentry.init do |config|

... your setup ...

config.enable_logs = true

end


Once you configured structured logging, you get access to a new `Sentry.logger` object that can be
used as a regular logger with additional structured data support:

```ruby
Sentry.logger.info("User logged in", user_id: 123)

Sentry.logger.error("Failed to process payment",
  transaction_id: "tx_123",
  error_code: "PAYMENT_FAILED"
)

You can also use message templates with positional or hash parameters:

Sentry.logger.info("User %{name} logged in", name: "Jane Doe")

Sentry.logger.info("User %s logged in", ["Jane Doe"])

Any other arbitrary attributes will be sent as part of the log event payload:

### Here `user_id` and `action` will be sent as extra attributes that Sentry Logs UI displays
Sentry.logger.info("User %{user} logged in", user: "Jane", user_id: 123, action: "create")

⚠️ When enable_logs is true, previous Sentry.logger should no longer be used for internal SDK
logging - it was replaced by Sentry.configuration.sdk_logger and should be used only by the SDK
itself and its extensions.

  • New configuration option called active_job_report_on_retry_error which enables reporting errors on each retry error (#​2617)
Bug Fixes
  • Gracefully fail on malformed utf-8 breadcrumb message (#​2582)
  • Fix breadcrumb serialization error message to be an object (#​2584)
  • Fix compatibility issues with sidekiq-cron 2.2.0 (#​2591)
  • Update sentry-sidekiq to work correctly with Sidekiq 8.0 and its new timestamp format (#​2570)
  • Ensure we capture exceptions after each job retry (#​2597)
Internal
  • Remove user_segment from DSC (#​2586)
  • Replace logger with sdk_logger (#​2621)
  • Sentry.logger is now deprecated when enable_logs is turned off. It's original behavior was ported to Sentry.configuration.sdk_logger. Please notice that this logger is internal and should only be used for SDK-specific logging needs. (#​2621)

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 force-pushed the renovate/sentry-ruby-monorepo branch from 4686651 to 33a228a Compare May 15, 2025 19:19
@renovate renovate Bot force-pushed the renovate/sentry-ruby-monorepo branch from 33a228a to b759f50 Compare May 16, 2025 00:02
@renovate renovate Bot merged commit 36c6d35 into main May 16, 2025
2 checks passed
@renovate renovate Bot deleted the renovate/sentry-ruby-monorepo branch May 16, 2025 03:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants