Skip to content

Commit

Permalink
[Tech] Bump io.sentry:sentry from 7.19.1 to 8.1.0 in /backend (#4071)
Browse files Browse the repository at this point in the history
Bumps [io.sentry:sentry](https://github.com/getsentry/sentry-java) from
7.19.1 to 8.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-java/releases">io.sentry:sentry's
releases</a>.</em></p>
<blockquote>
<h2>8.1.0</h2>
<h3>Features</h3>
<ul>
<li>Add <code>options.ignoredErrors</code> to filter out errors that
match a certain String or Regex (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4083">#4083</a>)
<ul>
<li>The matching is attempted on <code>event.message</code>,
<code>event.formatted</code>, and <code>{event.throwable.class.name}:
{event.throwable.message}</code></li>
<li>Can be set in <code>sentry.properties</code>, e.g.
<code>ignored-errors=Some error,Another .*</code></li>
<li>Can be set in environment variables, e.g.
<code>SENTRY_IGNORED_ERRORS=Some error,Another .*</code></li>
<li>For Spring Boot, it can be set in
<code>application.properties</code>, e.g.
<code>sentry.ignored-errors=Some error,Another .*</code></li>
</ul>
</li>
<li>Log OpenTelemetry related Sentry config (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4122">#4122</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Avoid logging an error when a float is passed in the manifest (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4031">#4031</a>)</li>
<li>Add <code>request</code> details to transactions created through
OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4098">#4098</a>)
<ul>
<li>We now add HTTP request method and URL where Sentry expects it to
display it in Sentry UI</li>
</ul>
</li>
<li>Remove <code>java.lang.ClassNotFoundException</code> debug logs when
searching for OpenTelemetry marker classes (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4091">#4091</a>)
<ul>
<li>There was up to three of these, one for
<code>io.sentry.opentelemetry.agent.AgentMarker</code>,
<code>io.sentry.opentelemetry.agent.AgentlessMarker</code> and
<code>io.sentry.opentelemetry.agent.AgentlessSpringMarker</code>.</li>
<li>These were not indicators of something being wrong but rather the
SDK looking at what is available at runtime to configure itself
accordingly.</li>
</ul>
</li>
<li>Do not instrument File I/O operations if tracing is disabled (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Do not instrument User Interaction multiple times (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Speed up view traversal to find touched target in
<code>UserInteractionIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Reduce IPC/Binder calls performed by the SDK (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4058">#4058</a>)</li>
</ul>
<h3>Behavioural Changes</h3>
<ul>
<li>Reduce the number of broadcasts the SDK is subscribed for (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4052">#4052</a>)
<ul>
<li>Drop <code>TempSensorBreadcrumbsIntegration</code></li>
<li>Drop <code>PhoneStateBreadcrumbsIntegration</code></li>
<li>Reduce number of broadcasts in
<code>SystemEventsBreadcrumbsIntegration</code></li>
</ul>
</li>
</ul>
<p>Current list of the broadcast events can be found <a
href="https://github.com/getsentry/sentry-java/blob/9b8dc0a844d10b55ddeddf55d278c0ab0f86421c/sentry-android-core/src/main/java/io/sentry/android/core/SystemEventsBreadcrumbsIntegration.java#L131-L153">here</a>.
If you'd like to subscribe for more events, consider overriding the
<code>SystemEventsBreadcrumbsIntegration</code> as follows:</p>
<pre lang="kotlin"><code>SentryAndroid.init(context) { options -&gt;
options.integrations.removeAll { it is
SystemEventsBreadcrumbsIntegration }
options.integrations.add(SystemEventsBreadcrumbsIntegration(context,
SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your
custom actions */)))
}
</code></pre>
<p>If you would like to keep some of the default broadcast events as
breadcrumbs, consider opening a <a
href="https://github.com/getsentry/sentry-java/issues/new">GitHub
issue</a>.</p>
<ul>
<li>Set mechanism <code>type</code> to <code>suppressed</code> for
suppressed exceptions (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4125">#4125</a>)
<ul>
<li>This helps to distinguish an exceptions cause from any suppressed
exceptions in the Sentry UI</li>
</ul>
</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>Bump Spring Boot to <code>3.4.2</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4081">#4081</a>)</li>
<li>Bump Native SDK from v0.7.14 to v0.7.19 (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4076">#4076</a>)
<ul>
<li><a
href="https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0719">changelog</a></li>
<li><a
href="https://github.com/getsentry/sentry-native/compare/v0.7.14...0.7.19">diff</a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md">io.sentry:sentry's
changelog</a>.</em></p>
<blockquote>
<h2>8.1.0</h2>
<h3>Features</h3>
<ul>
<li>Add <code>options.ignoredErrors</code> to filter out errors that
match a certain String or Regex (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4083">#4083</a>)
<ul>
<li>The matching is attempted on <code>event.message</code>,
<code>event.formatted</code>, and <code>{event.throwable.class.name}:
{event.throwable.message}</code></li>
<li>Can be set in <code>sentry.properties</code>, e.g.
<code>ignored-errors=Some error,Another .*</code></li>
<li>Can be set in environment variables, e.g.
<code>SENTRY_IGNORED_ERRORS=Some error,Another .*</code></li>
<li>For Spring Boot, it can be set in
<code>application.properties</code>, e.g.
<code>sentry.ignored-errors=Some error,Another .*</code></li>
</ul>
</li>
<li>Log OpenTelemetry related Sentry config (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4122">#4122</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Avoid logging an error when a float is passed in the manifest (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4031">#4031</a>)</li>
<li>Add <code>request</code> details to transactions created through
OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4098">#4098</a>)
<ul>
<li>We now add HTTP request method and URL where Sentry expects it to
display it in Sentry UI</li>
</ul>
</li>
<li>Remove <code>java.lang.ClassNotFoundException</code> debug logs when
searching for OpenTelemetry marker classes (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4091">#4091</a>)
<ul>
<li>There was up to three of these, one for
<code>io.sentry.opentelemetry.agent.AgentMarker</code>,
<code>io.sentry.opentelemetry.agent.AgentlessMarker</code> and
<code>io.sentry.opentelemetry.agent.AgentlessSpringMarker</code>.</li>
<li>These were not indicators of something being wrong but rather the
SDK looking at what is available at runtime to configure itself
accordingly.</li>
</ul>
</li>
<li>Do not instrument File I/O operations if tracing is disabled (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Do not instrument User Interaction multiple times (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Speed up view traversal to find touched target in
<code>UserInteractionIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4051">#4051</a>)</li>
<li>Reduce IPC/Binder calls performed by the SDK (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4058">#4058</a>)</li>
</ul>
<h3>Behavioural Changes</h3>
<ul>
<li>Reduce the number of broadcasts the SDK is subscribed for (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4052">#4052</a>)
<ul>
<li>Drop <code>TempSensorBreadcrumbsIntegration</code></li>
<li>Drop <code>PhoneStateBreadcrumbsIntegration</code></li>
<li>Reduce number of broadcasts in
<code>SystemEventsBreadcrumbsIntegration</code></li>
</ul>
</li>
</ul>
<p>Current list of the broadcast events can be found <a
href="https://github.com/getsentry/sentry-java/blob/9b8dc0a844d10b55ddeddf55d278c0ab0f86421c/sentry-android-core/src/main/java/io/sentry/android/core/SystemEventsBreadcrumbsIntegration.java#L131-L153">here</a>.
If you'd like to subscribe for more events, consider overriding the
<code>SystemEventsBreadcrumbsIntegration</code> as follows:</p>
<pre lang="kotlin"><code>SentryAndroid.init(context) { options -&gt;
options.integrations.removeAll { it is
SystemEventsBreadcrumbsIntegration }
options.integrations.add(SystemEventsBreadcrumbsIntegration(context,
SystemEventsBreadcrumbsIntegration.getDefaultActions() + listOf(/* your
custom actions */)))
}
</code></pre>
<p>If you would like to keep some of the default broadcast events as
breadcrumbs, consider opening a <a
href="https://github.com/getsentry/sentry-java/issues/new">GitHub
issue</a>.</p>
<ul>
<li>Set mechanism <code>type</code> to <code>suppressed</code> for
suppressed exceptions (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4125">#4125</a>)
<ul>
<li>This helps to distinguish an exceptions cause from any suppressed
exceptions in the Sentry UI</li>
</ul>
</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>Bump Spring Boot to <code>3.4.2</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4081">#4081</a>)</li>
<li>Bump Native SDK from v0.7.14 to v0.7.19 (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/4076">#4076</a>)
<ul>
<li><a
href="https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0719">changelog</a></li>
<li><a
href="https://github.com/getsentry/sentry-native/compare/v0.7.14...0.7.19">diff</a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-java/commit/c322afef5a90cd104404079eba064e31e73ca1b0"><code>c322afe</code></a>
release: 8.1.0</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/2748875ce1e5e71c843a9e30a9e69f643229a80c"><code>2748875</code></a>
Re-apply 7.x.x changes (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4124">#4124</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/a9719c742f118a21086a3bb82dd9a7f22e9cafc7"><code>a9719c7</code></a>
chore(deps): update Native SDK to v0.7.19 (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4076">#4076</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/b68011a07c3c30e51f119a7d0b42d5e92e6d2d3f"><code>b68011a</code></a>
Log debug messages giving info about OpenTelemetry related config
settings (#...</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/2fc1ed7633b3741bc3d8a49b65888cdb95ea5300"><code>2fc1ed7</code></a>
Set mechanism <code>type</code> to <code>suppressed</code> for
suppressed exceptions (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4125">#4125</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/880dc4f322b938aa38f93258fd47598bd36ba754"><code>880dc4f</code></a>
Add JavaDoc to
`SentryOptions.ignoredTransactions,ignoredSpanOrigins,ignoredC...</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/1683fbbc91cebff618029eab3959bd2023f27152"><code>1683fbb</code></a>
Bump Spring Boot to <code>3.4.2</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4081">#4081</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/29a4185d68730c90a62ce47fb0e88a45b0ca79fa"><code>29a4185</code></a>
Add <code>request</code> details to transactions created through
OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4098">#4098</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/5c403ff8a71e31d6b5f92d6e8fc81b96e54f1dc3"><code>5c403ff</code></a>
Add <code>options.ignoredErrors</code> accepting String and Regex (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4083">#4083</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/a136d5be492ce47935ec6f66aa6292c8c1d250af"><code>a136d5b</code></a>
Remove date range for LICENSE (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/4096">#4096</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-java/compare/7.19.1...8.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.sentry:sentry&package-manager=gradle&previous-version=7.19.1&new-version=8.1.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>
  • Loading branch information
louptheron authored Feb 3, 2025
2 parents 3489784 + 4a8ce73 commit 54c059a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ dependencies {
api("io.hypersistence:hypersistence-utils-hibernate-63:3.9.0")
api("org.locationtech.jts:jts-core:1.20.0")
api("org.hibernate:hibernate-spatial:6.6.4.Final")
api("io.sentry:sentry:7.19.1")
api("io.sentry:sentry-log4j2:7.19.1")
api("io.sentry:sentry:8.1.0")
api("io.sentry:sentry-log4j2:8.1.0")
implementation("org.springframework.cloud:spring-cloud-gateway-mvc:4.2.0")
runtimeOnly("org.postgresql:postgresql:42.7.4")
testImplementation("io.ktor:ktor-client-mock-jvm:3.0.3")
Expand Down

0 comments on commit 54c059a

Please sign in to comment.