Skip to content

Commit 730371a

Browse files
authored
Build(deps): Bump sentry-rails from 5.23.0 to 5.24.0 (#843)
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.23.0 to 5.24.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.24.0</h2> <h3>Features</h3> <ul> <li> <p>Add new sidekiq config <code>report_only_dead_jobs</code> (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2581">#2581</a>)</p> </li> <li> <p>Add <code>max_nesting</code> of 10 to breadcrumbs data serialization (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2583">#2583</a>)</p> </li> <li> <p>Add sidekiq config <code>propagate_traces</code> to control trace header injection (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2588">#2588</a>)</p> <p>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.</p> <pre lang="ruby"><code>config.sidekiq.propagate_traces = false unless Rails.const_defined?('Server') </code></pre> </li> <li> <p>Only expose <code>active_storage</code> keys on span data if <code>send_default_pii</code> is on (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2589">#2589</a>)</p> </li> <li> <p>Add new <code>Sentry.logger</code> for <a href="https://develop.sentry.dev/sdk/telemetry/logs/">Structured Logging</a> feature (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2620">#2620</a>).</p> <p>To enable structured logging you need to turn on the <code>enable_logs</code> configuration option:</p> <pre lang="ruby"><code>Sentry.init do |config| # ... your setup ... config.enable_logs = true end </code></pre> <p>Once you configured structured logging, you get access to a new <code>Sentry.logger</code> object that can be used as a regular logger with additional structured data support:</p> <pre lang="ruby"><code>Sentry.logger.info(&quot;User logged in&quot;, user_id: 123) <p>Sentry.logger.error(&quot;Failed to process payment&quot;, transaction_id: &quot;tx_123&quot;, error_code: &quot;PAYMENT_FAILED&quot; ) </code></pre></p> <p>You can also use message templates with positional or hash parameters:</p> <pre lang="ruby"><code>Sentry.logger.info(&quot;User %{name} logged in&quot;, name: &quot;Jane Doe&quot;) <p>Sentry.logger.info(&quot;User %s logged in&quot;, [&quot;Jane Doe&quot;]) </code></pre></p> <p>Any other arbitrary attributes will be sent as part of the log event payload:</p> <pre lang="ruby"><code># Here `user_id` and `action` will be sent as extra attributes that Sentry Logs UI displays Sentry.logger.info(&quot;User %{user} logged in&quot;, user: &quot;Jane&quot;, user_id: 123, action: &quot;create&quot;) </code></pre> </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/cad4b3fe4ec8726dd371fb0894e5cf5829b3852d"><code>cad4b3f</code></a> release: 5.24.0</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/63b5162309e449b009ce153fd1ce2e059a216e1b"><code>63b5162</code></a> Replace logger with sdk_logger (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2621">#2621</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/33d0b5dfc1bce344785a2c1d9c3c2ab116b100ef"><code>33d0b5d</code></a> Introduce active_job_report_on_retry_error (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2617">#2617</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/8c699de8f3084189451d8ede225a66287aee3134"><code>8c699de</code></a> [active_job] report on each retry failure (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2598">#2598</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/5e8db8d853dd20cd5e055691145224c8c1972375"><code>5e8db8d</code></a> Fix jruby on CI (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2609">#2609</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/9cd3b2e5900f75d0a772980cdf240d247752a773"><code>9cd3b2e</code></a> Only expose ActiveStorage keys on span data if send_default_pii is on (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2589">#2589</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/7db2c299aff16e8201e3f43923627a5936f6c62e"><code>7db2c29</code></a> [active_job] support exception reporting only after last retry failed (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2573">#2573</a>)</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-ruby/compare/5.23.0...5.24.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.23.0&new-version=5.24.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 a194822 + 45b168f commit 730371a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ GEM
428428
rb-fsevent (~> 0.10, >= 0.10.3)
429429
rb-inotify (~> 0.9, >= 0.9.10)
430430
logger (1.7.0)
431-
loofah (2.24.0)
431+
loofah (2.24.1)
432432
crass (~> 1.0.2)
433433
nokogiri (>= 1.12.0)
434434
mail (2.8.1)
@@ -498,7 +498,7 @@ GEM
498498
pry (0.15.2)
499499
coderay (~> 1.1)
500500
method_source (~> 1.0)
501-
psych (5.2.3)
501+
psych (5.2.6)
502502
date
503503
stringio
504504
public_suffix (6.0.1)
@@ -689,10 +689,10 @@ GEM
689689
rexml (~> 3.2, >= 3.2.5)
690690
rubyzip (>= 1.2.2, < 3.0)
691691
websocket (~> 1.0)
692-
sentry-rails (5.23.0)
692+
sentry-rails (5.24.0)
693693
railties (>= 5.0)
694-
sentry-ruby (~> 5.23.0)
695-
sentry-ruby (5.23.0)
694+
sentry-ruby (~> 5.24.0)
695+
sentry-ruby (5.24.0)
696696
bigdecimal
697697
concurrent-ruby (~> 1.0, >= 1.0.2)
698698
shoulda-callback-matchers (1.1.4)

0 commit comments

Comments
 (0)