Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2025

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry 8.14.0 -> 8.19.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-java (io.sentry:sentry)

v8.19.1

Compare Source

Various fixes & improvements

v8.19.0

Compare Source

Features
  • Add a isEnableSystemEventBreadcrumbsExtras option to disable reporting system events extras for breadcrumbs (#​4625)
Improvements
  • Session Replay: Use main thread looper to schedule replay capture (#​4542)
  • Use single LifecycleObserver and multi-cast it to the integrations interested in lifecycle states (#​4567)
  • Add sentry.origin attribute to logs (#​4618)
    • This helps identify which integration captured a log event
  • Prewarm SentryExecutorService for better performance at runtime (#​4606)
Fixes
  • Cache network capabilities and status to reduce IPC calls (#​4560)
  • Deduplicate battery breadcrumbs (#​4561)
  • Remove unused method in ManifestMetadataReader (#​4585)
  • Have single NetworkCallback registered at a time to reduce IPC calls (#​4562)
  • Do not register for SystemEvents and NetworkCallbacks immediately when launched with non-foreground importance (#​4579)
  • Limit ProGuard keep rules for native methods within sentry-android-ndk to the io.sentry.** namespace. (#​4427)
    • If you relied on the Sentry SDK to keep native method names for JNI compatibility within your namespace, please review your ProGuard rules and ensure the configuration still works. Especially when you're not consuming any of the default Android proguard rules (proguard-android.txt or proguard-android-optimize.txt) the following config should be present:
    -keepclasseswithmembernames class * {
      native <methods>;
    }
    
  • Fix abstract method error in SentrySupportSQLiteDatabase (#​4597)
  • Ensure frame metrics listeners are registered/unregistered on the main thread (#​4582)
  • Do not report cached events as lost (#​4575)
    • Previously events were recorded as lost early despite being retried later through the cache
  • Move and flush unfinished previous session on init (#​4624)
    • This removes the need for unnecessary blocking our background queue for 15 seconds in the case of a background app start
  • Switch to compileOnly dependency for compose-ui-material (#​4630)
    • This fixes StackOverflowError when using OSS Licenses plugin
Dependencies

v8.18.0

Compare Source

Features
  • Add SentryUserFeedbackButton Composable (#​4559)
    • Also added Sentry.showUserFeedbackDialog static method
  • Add deadlineTimeout option (#​4555)
  • Add Ktor client integration (#​4527)
    • To use the integration, add a dependency on io.sentry:sentry-ktor-client, then install the SentryKtorClientPlugin on your HttpClient,
      e.g.:
      val client =
        HttpClient(Java) {
          install(io.sentry.ktorClient.SentryKtorClientPlugin) {
            captureFailedRequests = true
            failedRequestTargets = listOf(".*")
            failedRequestStatusCodes = listOf(HttpStatusCodeRange(500, 599))
          }
        }
Fixes
  • Allow multiple UncaughtExceptionHandlerIntegrations to be active at the same time (#​4462)
  • Prevent repeated scroll target determination during a single scroll gesture (#​4557)
    • This should reduce the number of ANRs seen in SentryGestureListener
  • Do not use Sentry logging API in JUL if logs are disabled (#​4574)
    • This was causing Sentry SDK to log warnings: "Sentry Log is disabled and this 'logger' call is a no-op."
  • Do not use Sentry logging API in Log4j2 if logs are disabled (#​4573)
    • This was causing Sentry SDK to log warnings: "Sentry Log is disabled and this 'logger' call is a no-op."
  • SDKs send queue is no longer shutdown immediately on re-init (#​4564)
    • This means we're no longer losing events that have been enqueued right before SDK re-init.
  • Reduce scope forking when using OpenTelemetry (#​4565)
    • Sentry.withScope now has the correct current scope passed to the callback. Previously our OpenTelemetry integration forked scopes an additional.
    • Overall the SDK is now forking scopes a bit less often.

v8.17.0

Compare Source

Features
  • Send Timber logs through Sentry Logs (#​4490)
    • Enable the Logs feature in your SentryOptions or with the io.sentry.logs.enabled manifest option and the SDK will automatically send Timber logs to Sentry, if the TimberIntegration is enabled.
    • The SDK will automatically detect Timber and use it to send logs to Sentry.
  • Send logcat through Sentry Logs (#​4487)
    • Enable the Logs feature in your SentryOptions or with the io.sentry.logs.enabled manifest option and the SDK will automatically send logcat logs to Sentry, if the Sentry Android Gradle plugin is applied.
    • To set the logcat level check the Logcat integration documentation.
  • Read build tool info from sentry-debug-meta.properties and attach it to events (#​4314)
Dependencies
  • Bump OpenTelemetry (#​4532)
    • opentelemetry-sdk to 1.51.0
    • opentelemetry-instrumentation to 2.17.0
    • opentelemetry-javaagent to 2.17.0
    • opentelemetry-semconv to 1.34.0
    • We are now configuring OpenTelemetry to still behave the same way it did before for span names it generates in GraphQL auto instrumentation (#​4537)
  • Bump Gradle from v8.14.2 to v8.14.3 (#​4540)
Fixes
  • Use Spring Boot Starter 3 in sentry-spring-boot-starter-jakarta (#​4545)
    • While refactoring our dependency management, we accidentally added Spring Boot 2 and Spring Boot Starter 2 as dependencies of sentry-spring-boot-starter-jakarta, which is intended for Spring Boot 3.
    • Now, the correct dependencies (Spring Boot 3 and Spring Boot Starter 3) are being added.

v8.16.0

Compare Source

Features
  • Send JUL logs to Sentry as logs (#​4518)
    • You need to enable the logs feature, either in sentry.properties:
      logs.enabled=true
    • Or, if you manually initialize Sentry, you may also enable logs on Sentry.init:
      Sentry.init(options -> {
        ...
        options.getLogs().setEnabled(true);
      });
    • It is also possible to set the minimumLevel in logging.properties, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:
      io.sentry.jul.SentryHandler.minimumLevel=CONFIG
  • Send Log4j2 logs to Sentry as logs (#​4517)
    • You need to enable the logs feature either in sentry.properties:
      logs.enabled=true
    • If you manually initialize Sentry, you may also enable logs on Sentry.init:
      Sentry.init(options -> {
        ...
        options.getLogs().setEnabled(true);
      });
    • It is also possible to set the minimumLevel in log4j2.xml, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:
      <Sentry name="Sentry"
          dsn="your DSN"
          minimumBreadcrumbLevel="DEBUG"
          minimumEventLevel="WARN"
          minimumLevel="DEBUG"
      />

v8.15.1

Compare Source

Fixes
  • Enabling Sentry Logs through Logback in Spring Boot config did not work in 3.15.0 (#​4523)

v8.15.0

Compare Source

Features
  • Add chipset to device context (#​4512)
Fixes
  • No longer send out empty log envelopes (#​4497)
  • Session Replay: Expand fix for crash on devices to all Unisoc/Spreadtrum chipsets (#​4510)
  • Log parameter objects are now turned into String via toString (#​4515)
    • One of the two SentryLogEventAttributeValue constructors did not convert the value previously.
  • Logs are now flushed on shutdown (#​4503)
  • User Feedback: Do not redefine system attributes for SentryUserFeedbackButton, but reference them instead (#​4519)
Features
  • Send Logback logs to Sentry as logs (#​4502)
    • You need to enable the logs feature and can also set the minimumLevel for log events:
      <appender name="sentry" class="io.sentry.logback.SentryAppender">
        <options>
          <!-- NOTE: Replace the test DSN below with YOUR OWN DSN to see the events from this app in your Sentry project/dashboard -->
          <dsn>https://502f25099c204a2fbf4cb16edc5975d1@&#8203;o447951.ingest.sentry.io/5428563</dsn>
          <logs>
            <enabled>true</enabled>
          </logs>
        </options>
        <!-- Demonstrates how to modify the minimum values -->
        <!-- Default for Events is ERROR -->
        <minimumEventLevel>WARN</minimumEventLevel>
        <!-- Default for Breadcrumbs is INFO -->
        <minimumBreadcrumbLevel>DEBUG</minimumBreadcrumbLevel>
        <!-- Default for Log Events is INFO -->
        <minimumLevel>INFO</minimumLevel>
      </appender>
    • For Spring Boot you may also enable it in application.properties / application.yml:
      sentry.logs.enabled=true
      sentry.logging.minimum-level=error
    • If you manually initialize Sentry, you may also enable logs on Sentry.init:
      Sentry.init(options -> {
        ...
        options.getLogs().setEnabled(true);
      });
    • Enabling via sentry.properties is also possible:
      logs.enabled=true
  • Automatically use SentryOptions.Logs.BeforeSendLogCallback Spring beans (#​4509)
Dependencies

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 92f6697 to b184dbf Compare June 26, 2025 11:14
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.15.0 fix(deps): update dependency io.sentry:sentry to v8.15.1 Jun 26, 2025
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.15.1 fix(deps): update dependency io.sentry:sentry to v8.16.0 Jun 27, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from b184dbf to 99ff567 Compare June 27, 2025 11:08
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 99ff567 to 8fcf75b Compare July 8, 2025 13:10
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.16.0 fix(deps): update dependency io.sentry:sentry to v8.17.0 Jul 8, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 8fcf75b to 6510d72 Compare July 30, 2025 17:32
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.17.0 fix(deps): update dependency io.sentry:sentry to v8.18.0 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 6510d72 to 9df8eb0 Compare August 11, 2025 15:35
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.18.0 fix(deps): update dependency io.sentry:sentry to v8.19.0 Aug 11, 2025
@renovate renovate bot changed the title fix(deps): update dependency io.sentry:sentry to v8.19.0 fix(deps): update dependency io.sentry:sentry to v8.19.1 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 9df8eb0 to b9d2946 Compare August 12, 2025 12:04
@FireMasterK FireMasterK merged commit 3ed94b9 into master Aug 23, 2025
2 of 14 checks passed
@FireMasterK FireMasterK deleted the renovate/io.sentry-sentry-8.x branch August 23, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants