Update sentry-ruby monorepo to v5.27.0 #19

Open
renovate wants to merge 1 commit from renovate/sentry-ruby-monorepo into main
Collaborator

This PR contains the following updates:

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

Release Notes

getsentry/sentry-ruby (sentry-rails)

v5.27.0

Compare Source

Feature
  • Propagated sampling rates as specified in Traces docs (#​2671)

  • Support for Rails ActiveSupport log subscribers (#​2690)

  • Support for defining custom Rails log subscribers that work with Sentry Structured Logging (#​2689)

    Rails applications can now define custom log subscribers that integrate with Sentry's structured logging system. The feature includes built-in subscribers for ActionController, ActiveRecord, ActiveJob, and ActionMailer events, with automatic parameter filtering that respects Rails' config.filter_parameters configuration.

    To enable structured logging with Rails log subscribers:

    Sentry.init do |config|
    

... your setup ...

Make sure structured logging is enabled

config.enable_logs = true

Enable default Rails log subscribers (ActionController and ActiveRecord)

config.rails.structured_logging.enabled = true

end


To configure all subscribers:

```ruby
Sentry.init do |config|

### ... your setup ...
### Make sure structured logging is enabled
  config.enable_logs = true

### Enable Rails log subscribers
  config.rails.structured_logging.enabled = true

### Add ActionMailer and ActiveJob subscribers
  config.rails.structured_logging.subscribers.update(
    action_mailer: Sentry::Rails::LogSubscribers::ActionMailerSubscriber,
    active_job: Sentry::Rails::LogSubscribers::ActiveJobSubscriber
  )
end

You can also define custom log subscribers by extending the base class:

class MyCustomSubscriber < Sentry::Rails::LogSubscriber
  attach_to :my_component

  def my_event(event)
    log_structured_event(
      message: "Custom event occurred",
      level: :info,
      attributes: { duration_ms: event.duration }
    )
  end
end

Sentry.init do |config|

### ... your setup ...
### Make sure structured logging is enabled
  config.enable_logs = true

### Enable Rails log subscribers
  config.rails.structured_logging.enabled = true

### Add custom subscriber
  config.rails.structured_logging.subscribers[:my_component] = MyCustomSubscriber
end
  • Introduce structured_logging config namespace (#​2692)
Bug Fixes
  • Silence _perform method redefinition warning (#​2682)
  • Update sentry trace regexp (#​2678)
  • Remove redundant attr_reader (#​2673)
Internal
  • Factor out do_request in HTTP transport (#​2662)
  • Add Sentry::DebugTransport that captures events and stores them as JSON for debugging purposes (#​2664)
  • Add Sentry::DebugStructuredLogger that caputres log events and stores them as JSON to a file for debugging purposes (#​2693)
  • Rails test runner (#​2687)
  • Update common gem deps for development (#​2688)
  • Make devcontainer work with ancient Ruby/Rails (#​2679)
  • Improved devcontainer setup with e2e test mini infra (#​2672)
  • Address various flaky specs

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sentry-rails](https://github.com/getsentry/sentry-ruby/tree/5.27.0/sentry-rails) ([source](https://github.com/getsentry/sentry-ruby/tree/HEAD/sentry-rails), [changelog](https://github.com/getsentry/sentry-ruby/blob/5.27.0/CHANGELOG.md)) | `5.26.0` -> `5.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/sentry-rails/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/sentry-rails/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/sentry-rails/5.26.0/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/sentry-rails/5.26.0/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [sentry-ruby](https://github.com/getsentry/sentry-ruby/tree/5.27.0/sentry-ruby) ([source](https://github.com/getsentry/sentry-ruby/tree/HEAD/sentry-ruby), [changelog](https://github.com/getsentry/sentry-ruby/blob/5.27.0/CHANGELOG.md)) | `5.26.0` -> `5.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/sentry-ruby/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/sentry-ruby/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/sentry-ruby/5.26.0/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/sentry-ruby/5.26.0/5.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-ruby (sentry-rails)</summary> ### [`v5.27.0`](https://github.com/getsentry/sentry-ruby/releases/tag/5.27.0) [Compare Source](https://github.com/getsentry/sentry-ruby/compare/5.26.0...5.27.0) ##### Feature - Propagated sampling rates as specified in [Traces](https://develop.sentry.dev/sdk/telemetry/traces/#propagated-random-value) docs ([#&#8203;2671](https://github.com/getsentry/sentry-ruby/pull/2671)) - Support for Rails ActiveSupport log subscribers ([#&#8203;2690](https://github.com/getsentry/sentry-ruby/pull/2690)) - Support for defining custom Rails log subscribers that work with Sentry Structured Logging ([#&#8203;2689](https://github.com/getsentry/sentry-ruby/pull/2689)) Rails applications can now define custom log subscribers that integrate with Sentry's structured logging system. The feature includes built-in subscribers for ActionController, ActiveRecord, ActiveJob, and ActionMailer events, with automatic parameter filtering that respects Rails' `config.filter_parameters` configuration. To enable structured logging with Rails log subscribers: ```ruby Sentry.init do |config| ``` ### ... your setup ... ### Make sure structured logging is enabled ``` config.enable_logs = true ``` ### Enable default Rails log subscribers (ActionController and ActiveRecord) ``` config.rails.structured_logging.enabled = true ``` end ```` To configure all subscribers: ```ruby Sentry.init do |config| ### ... your setup ... ### Make sure structured logging is enabled config.enable_logs = true ### Enable Rails log subscribers config.rails.structured_logging.enabled = true ### Add ActionMailer and ActiveJob subscribers config.rails.structured_logging.subscribers.update( action_mailer: Sentry::Rails::LogSubscribers::ActionMailerSubscriber, active_job: Sentry::Rails::LogSubscribers::ActiveJobSubscriber ) end ```` You can also define custom log subscribers by extending the base class: ```ruby class MyCustomSubscriber < Sentry::Rails::LogSubscriber attach_to :my_component def my_event(event) log_structured_event( message: "Custom event occurred", level: :info, attributes: { duration_ms: event.duration } ) end end Sentry.init do |config| ### ... your setup ... ### Make sure structured logging is enabled config.enable_logs = true ### Enable Rails log subscribers config.rails.structured_logging.enabled = true ### Add custom subscriber config.rails.structured_logging.subscribers[:my_component] = MyCustomSubscriber end ``` - Introduce `structured_logging` config namespace ([#&#8203;2692](https://github.com/getsentry/sentry-ruby/pull/2692)) ##### Bug Fixes - Silence `_perform` method redefinition warning ([#&#8203;2682](https://github.com/getsentry/sentry-ruby/pull/2682)) - Update sentry trace regexp ([#&#8203;2678](https://github.com/getsentry/sentry-ruby/pull/2678)) - Remove redundant `attr_reader` ([#&#8203;2673](https://github.com/getsentry/sentry-ruby/pull/2673)) ##### Internal - Factor out do\_request in HTTP transport ([#&#8203;2662](https://github.com/getsentry/sentry-ruby/pull/2662)) - Add `Sentry::DebugTransport` that captures events and stores them as JSON for debugging purposes ([#&#8203;2664](https://github.com/getsentry/sentry-ruby/pull/2664)) - Add `Sentry::DebugStructuredLogger` that caputres log events and stores them as JSON to a file for debugging purposes ([#&#8203;2693](https://github.com/getsentry/sentry-ruby/pull/2693)) - Rails test runner ([#&#8203;2687](https://github.com/getsentry/sentry-ruby/pull/2687)) - Update common gem deps for development ([#&#8203;2688](https://github.com/getsentry/sentry-ruby/pull/2688)) - Make devcontainer work with ancient Ruby/Rails ([#&#8203;2679](https://github.com/getsentry/sentry-ruby/pull/2679)) - Improved devcontainer setup with e2e test mini infra ([#&#8203;2672](https://github.com/getsentry/sentry-ruby/pull/2672)) - Address various flaky specs - Fix test failures under JRuby ([#&#8203;2665](https://github.com/getsentry/sentry-ruby/pull/2665)) - Fix flaky faraday spec ([#&#8203;2666](https://github.com/getsentry/sentry-ruby/pull/2666)) - Fix flaky net/http spec ([#&#8203;2667](https://github.com/getsentry/sentry-ruby/pull/2667)) - Fix flaky tracing specs ([#&#8203;2670](https://github.com/getsentry/sentry-ruby/pull/2670)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update sentry-ruby monorepo to v5.27.0
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
89393618a1
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/sentry-ruby-monorepo:renovate/sentry-ruby-monorepo
git switch renovate/sentry-ruby-monorepo

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/sentry-ruby-monorepo
git switch renovate/sentry-ruby-monorepo
git rebase main
git switch main
git merge --ff-only renovate/sentry-ruby-monorepo
git switch renovate/sentry-ruby-monorepo
git rebase main
git switch main
git merge --no-ff renovate/sentry-ruby-monorepo
git switch main
git merge --squash renovate/sentry-ruby-monorepo
git switch main
git merge --ff-only renovate/sentry-ruby-monorepo
git switch main
git merge renovate/sentry-ruby-monorepo
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: casper/bsky_handle_provider#19
No description provided.