Skip to content

Commit a2dc323

Browse files
authored
chore(deps): bump sentry-rails from 5.26.0 to 5.27.0 (#1080)
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.26.0 to 5.27.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md">sentry-rails's changelog</a>.</em></p> <blockquote> <h2>5.27.0</h2> <h3>Feature</h3> <ul> <li> <p>Propagated sampling rates as specified in <a href="https://develop.sentry.dev/sdk/telemetry/traces/#propagated-random-value">Traces</a> docs (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2671">#2671</a>)</p> </li> <li> <p>Support for Rails ActiveSupport log subscribers (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2690">#2690</a>)</p> </li> <li> <p>Support for defining custom Rails log subscribers that work with Sentry Structured Logging (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2689">#2689</a>)</p> <p>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' <code>config.filter_parameters</code> configuration.</p> <p>To enable structured logging with Rails log subscribers:</p> <pre lang="ruby"><code>Sentry.init do |config| # ... your setup ... <h1>Make sure structured logging is enabled</h1> <p>config.enable_logs = true</p> <h1>Enable default Rails log subscribers (ActionController and ActiveRecord)</h1> <p>config.rails.structured_logging.enabled = true<br /> end<br /> </code></pre></p> <p>To configure all subscribers:</p> <pre lang="ruby"><code>Sentry.init do |config| # ... your setup ... <h1>Make sure structured logging is enabled</h1> <p>config.enable_logs = true</p> <h1>Enable Rails log subscribers</h1> <p>config.rails.structured_logging.enabled = true</p> <h1>Add ActionMailer and ActiveJob subscribers</h1> <p>config.rails.structured_logging.subscribers.update(<br /> action_mailer: Sentry::Rails::LogSubscribers::ActionMailerSubscriber,<br /> active_job: Sentry::Rails::LogSubscribers::ActiveJobSubscriber<br /> )<br /> end<br /> </code></pre></p> <p>You can also define custom log subscribers by extending the base class:</p> <pre lang="ruby"><code>class MyCustomSubscriber &lt; Sentry::Rails::LogSubscriber attach_to :my_component <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-ruby/commit/8320265caa7dddd3c744a000bf8801504bc1cee1"><code>8320265</code></a> release: 5.27.0</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/b8bf85506e5b8eef2078dff01664748830b6d76a"><code>b8bf855</code></a> Silence <code>_perform</code> method redefinition warning (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2682">#2682</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/c51d8ffae2b736be9756e670b7bc36286f540146"><code>c51d8ff</code></a> Introduce structured_logging config namespace (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2692">#2692</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/ec50db470283eff184950da3912c286f11d1616b"><code>ec50db4</code></a> Rails active support log subscribers (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2690">#2690</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/337a4cae425f92f68307b8e2fe622b9e0a8e0aa8"><code>337a4ca</code></a> Rails test runner (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2687">#2687</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/8929aabdd044bc03da6010b9fa1527d48721cc8b"><code>8929aab</code></a> Update common gem deps (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2688">#2688</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/dd8b4187e7e332f0ed39fcdc4f21f2b96c11734d"><code>dd8b418</code></a> Make devcontainer work with ancient Ruby/Rails (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2679">#2679</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/727bf14969c8dff8170046b2c10cb999329b590c"><code>727bf14</code></a> Improved devcontainer setup with e2e test mini infra (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2672">#2672</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/162ca867a544e66630bdc70c180874d8ba031f66"><code>162ca86</code></a> More flaky spec fixes (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2670">#2670</a>)</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-ruby/compare/5.26.0...5.27.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-rails&package-manager=bundler&previous-version=5.26.0&new-version=5.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
2 parents e15eb68 + 9f2bde7 commit a2dc323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ GEM
191191
erubi (>= 1.0.0)
192192
rack (>= 0.9.0)
193193
rouge (>= 1.0.0)
194-
bigdecimal (3.2.2)
194+
bigdecimal (3.2.3)
195195
bindex (0.8.1)
196196
binding_of_caller (1.0.1)
197197
debug_inspector (>= 1.2.0)
@@ -729,10 +729,10 @@ GEM
729729
rexml (~> 3.2, >= 3.2.5)
730730
rubyzip (>= 1.2.2, < 4.0)
731731
websocket (~> 1.0)
732-
sentry-rails (5.26.0)
732+
sentry-rails (5.27.0)
733733
railties (>= 5.0)
734-
sentry-ruby (~> 5.26.0)
735-
sentry-ruby (5.26.0)
734+
sentry-ruby (~> 5.27.0)
735+
sentry-ruby (5.27.0)
736736
bigdecimal
737737
concurrent-ruby (~> 1.0, >= 1.0.2)
738738
shoulda-callback-matchers (1.1.4)

0 commit comments

Comments
 (0)