Skip to content

Commit

Permalink
[Tech] Bump io.sentry:sentry-log4j2 from 7.0.0 to 7.5.0 in /backend (#…
Browse files Browse the repository at this point in the history
…3000)

Bumps
[io.sentry:sentry-log4j2](https://github.com/getsentry/sentry-java) from
7.0.0 to 7.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-java/releases">io.sentry:sentry-log4j2's
releases</a>.</em></p>
<blockquote>
<h2>7.5.0</h2>
<h3>Features</h3>
<ul>
<li>Add support for measurements at span level (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3219">#3219</a>)</li>
<li>Add <code>enableScopePersistence</code> option to disable
<code>PersistingScopeObserver</code> used for ANR reporting which may
increase performance overhead. Defaults to <code>true</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3218">#3218</a>)
<ul>
<li>When disabled, the SDK will not enrich ANRv2 events with scope data
(e.g. breadcrumbs, user, tags, etc.)</li>
</ul>
</li>
<li>Configurable defaults for Cron - MonitorConfig (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3195">#3195</a>)</li>
<li>We now display a warning on startup if an incompatible version of
Spring Boot is detected (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3233">#3233</a>)
<ul>
<li>This should help notice a mismatching Sentry dependency, especially
when upgrading a Spring Boot application</li>
</ul>
</li>
<li>Experimental: Add Metrics API (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3205">#3205</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Ensure performance measurement collection is not taken too
frequently (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3221">#3221</a>)</li>
<li>Fix old profiles deletion on SDK init (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3216">#3216</a>)</li>
<li>Fix hub restore point in wrappers: SentryWrapper,
SentryTaskDecorator and SentryScheduleHook (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3225">#3225</a>)
<ul>
<li>We now reset the hub to its previous value on the thread where the
<code>Runnable</code>/<code>Callable</code>/<code>Supplier</code> is
executed instead of setting it to the hub that was used on the thread
where the
<code>Runnable</code>/<code>Callable</code>/<code>Supplier</code> was
created.</li>
</ul>
</li>
<li>Fix add missing thread name/id to app start spans (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3226">#3226</a>)</li>
</ul>
<h2>7.4.0</h2>
<h3>Features</h3>
<ul>
<li>Add new threshold parameters to monitor config (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3181">#3181</a>)</li>
<li>Report process init time as a span for app start performance (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3159">#3159</a>)</li>
<li>(perf-v2): Calculate frame delay on a span level (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3197">#3197</a>)</li>
<li>Resolve spring properties in <a
href="https://github.com/SentryCheckIn"><code>@​SentryCheckIn</code></a>
annotation (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3194">#3194</a>)</li>
<li>Experimental: Add Spotlight integration (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3166">#3166</a>)
<ul>
<li>For more details about Spotlight head over to <a
href="https://spotlightjs.com/">https://spotlightjs.com/</a></li>
<li>Set <code>options.isEnableSpotlight = true</code> to enable
Spotlight</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Don't wait on main thread when SDK restarts (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3200">#3200</a>)</li>
<li>Fix Jetpack Compose widgets are not being correctly identified for
user interaction tracing (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3209">#3209</a>)</li>
<li>Fix issue title on Android when a wrapping
<code>RuntimeException</code> is thrown by the system (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3212">#3212</a>)
<ul>
<li>This will change grouping of the issues that were previously titled
<code>RuntimeInit$MethodAndArgsCaller</code> to have them split up
properly by the original root cause exception</li>
</ul>
</li>
</ul>
<h2>7.3.0</h2>
<h3>Features</h3>
<ul>
<li>Added App Start profiling
<ul>
<li>This depends on the new option
<code>io.sentry.profiling.enable-app-start</code>, other than the
already existing
<code>io.sentry.traces.profiling.sample-rate</code>.</li>
<li>Sampler functions can check the new <code>isForNextAppStart</code>
flag, to adjust startup profiling sampling programmatically.
Relevant PRs:</li>
<li>Decouple Profiler from Transaction (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3101">#3101</a>)</li>
<li>Add options and sampling logic (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3121">#3121</a>)</li>
<li>Add ContentProvider and start profile (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3128">#3128</a>)</li>
</ul>
</li>
<li>Extend internal performance collector APIs (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3102">#3102</a>)</li>
<li>Collect slow and frozen frames for spans using
<code>OnFrameMetricsAvailableListener</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3111">#3111</a>)</li>
<li>Interpolate total frame count to match span duration (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3158">#3158</a>)</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-log4j2's
changelog</a>.</em></p>
<blockquote>
<h2>7.5.0</h2>
<h3>Features</h3>
<ul>
<li>Add support for measurements at span level (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3219">#3219</a>)</li>
<li>Add <code>enableScopePersistence</code> option to disable
<code>PersistingScopeObserver</code> used for ANR reporting which may
increase performance overhead. Defaults to <code>true</code> (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3218">#3218</a>)
<ul>
<li>When disabled, the SDK will not enrich ANRv2 events with scope data
(e.g. breadcrumbs, user, tags, etc.)</li>
</ul>
</li>
<li>Configurable defaults for Cron - MonitorConfig (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3195">#3195</a>)</li>
<li>We now display a warning on startup if an incompatible version of
Spring Boot is detected (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3233">#3233</a>)
<ul>
<li>This should help notice a mismatching Sentry dependency, especially
when upgrading a Spring Boot application</li>
</ul>
</li>
<li>Experimental: Add Metrics API (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3205">#3205</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Ensure performance measurement collection is not taken too
frequently (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3221">#3221</a>)</li>
<li>Fix old profiles deletion on SDK init (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3216">#3216</a>)</li>
<li>Fix hub restore point in wrappers: SentryWrapper,
SentryTaskDecorator and SentryScheduleHook (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3225">#3225</a>)
<ul>
<li>We now reset the hub to its previous value on the thread where the
<code>Runnable</code>/<code>Callable</code>/<code>Supplier</code> is
executed instead of setting it to the hub that was used on the thread
where the
<code>Runnable</code>/<code>Callable</code>/<code>Supplier</code> was
created.</li>
</ul>
</li>
<li>Fix add missing thread name/id to app start spans (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3226">#3226</a>)</li>
</ul>
<h2>7.4.0</h2>
<h3>Features</h3>
<ul>
<li>Add new threshold parameters to monitor config (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3181">#3181</a>)</li>
<li>Report process init time as a span for app start performance (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3159">#3159</a>)</li>
<li>(perf-v2): Calculate frame delay on a span level (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3197">#3197</a>)</li>
<li>Resolve spring properties in <a
href="https://github.com/SentryCheckIn"><code>@​SentryCheckIn</code></a>
annotation (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3194">#3194</a>)</li>
<li>Experimental: Add Spotlight integration (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3166">#3166</a>)
<ul>
<li>For more details about Spotlight head over to <a
href="https://spotlightjs.com/">https://spotlightjs.com/</a></li>
<li>Set <code>options.isEnableSpotlight = true</code> to enable
Spotlight</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Don't wait on main thread when SDK restarts (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3200">#3200</a>)</li>
<li>Fix Jetpack Compose widgets are not being correctly identified for
user interaction tracing (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3209">#3209</a>)</li>
<li>Fix issue title on Android when a wrapping
<code>RuntimeException</code> is thrown by the system (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3212">#3212</a>)
<ul>
<li>This will change grouping of the issues that were previously titled
<code>RuntimeInit$MethodAndArgsCaller</code> to have them split up
properly by the original root cause exception</li>
</ul>
</li>
</ul>
<h2>7.3.0</h2>
<h3>Features</h3>
<ul>
<li>Added App Start profiling
<ul>
<li>This depends on the new option
<code>io.sentry.profiling.enable-app-start</code>, other than the
already existing
<code>io.sentry.traces.profiling.sample-rate</code>.</li>
<li>Sampler functions can check the new <code>isForNextAppStart</code>
flag, to adjust startup profiling sampling programmatically.
Relevant PRs:</li>
<li>Decouple Profiler from Transaction (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3101">#3101</a>)</li>
<li>Add options and sampling logic (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3121">#3121</a>)</li>
<li>Add ContentProvider and start profile (<a
href="https://redirect.github.com/getsentry/sentry-java/pull/3128">#3128</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/c2b79e4ef6bc7a32dc5fd83c980a547b87e5498b"><code>c2b79e4</code></a>
release: 7.5.0</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/01eb25db4a987ad2abf0b3dc33d218fb420266d2"><code>01eb25d</code></a>
Update CHANGELOG.md (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3239">#3239</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/ff8471a818d9202ebdcc5ca92d10b42b2687719a"><code>ff8471a</code></a>
Allow whitespace in metric tag values (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3235">#3235</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/c7addb94d479d2884ae5def714cfc314fc6caad9"><code>c7addb9</code></a>
Show warning if incompatible spring boot version is detected (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3233">#3233</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/a816b3f0a7306d3b0eee8cd680baa3239b544b77"><code>a816b3f</code></a>
Defaults for Cron - MonitorConfig (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3195">#3195</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/7275aa8339aa5725fde284af20317584f3e191ef"><code>7275aa8</code></a>
Add support for measurements at span level (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3219">#3219</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/39e3ed71814ad6ec3406a344aa341c68ed1b98d4"><code>39e3ed7</code></a>
Add metrics API (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3205">#3205</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/9578eabf0700b05205156603f88ced3a3249a1f2"><code>9578eab</code></a>
Fix add missing thread name/id to app start spans (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3226">#3226</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/aa91b8fc8d13c7605736e6d40c251059547bc532"><code>aa91b8f</code></a>
Fix hub restore in async wrappers (<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3225">#3225</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-java/commit/bf82eb30132c30fe180a838dbc99d99f5543b539"><code>bf82eb3</code></a>
Ensure performance measurement collection is not taken too frequently
(<a
href="https://redirect.github.com/getsentry/sentry-java/issues/3221">#3221</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-java/compare/7.0.0...7.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.sentry:sentry-log4j2&package-manager=gradle&previous-version=7.0.0&new-version=7.5.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 Mar 26, 2024
2 parents 2597907 + 452f7fe commit b012d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
api("org.locationtech.jts:jts-core:1.19.0")
api("org.hibernate:hibernate-spatial:6.1.7.Final")
api("io.sentry:sentry:6.31.0")
api("io.sentry:sentry-log4j2:7.0.0")
api("io.sentry:sentry-log4j2:7.5.0")
runtimeOnly("org.postgresql:postgresql:42.6.0")
testImplementation("io.ktor:ktor-client-mock-jvm:2.3.3")
testImplementation("org.assertj:assertj-core:3.25.0")
Expand Down

0 comments on commit b012d41

Please sign in to comment.