Commit 730371a
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("User logged in",
user_id: 123)
<p>Sentry.logger.error("Failed to process payment",
transaction_id: "tx_123",
error_code: "PAYMENT_FAILED"
)
</code></pre></p>
<p>You can also use message templates with positional or hash
parameters:</p>
<pre lang="ruby"><code>Sentry.logger.info("User %{name} logged
in", name: "Jane Doe")
<p>Sentry.logger.info("User %s logged in", ["Jane
Doe"])
</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("User %{user} logged in", user:
"Jane", user_id: 123, action: "create")
</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 />
[](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>1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
| 501 | + | |
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
694 | | - | |
695 | | - | |
| 694 | + | |
| 695 | + | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| |||
0 commit comments