Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 16, 2026

Bumps scripts/update-java.ps1 from 8.29.0 to 8.32.0.

Auto-generated by a dependency updater.

Changelog

8.32.0

Features

  • Add installGroupsOverride parameter and installGroups property to Build Distribution SDK (#5062)
  • Update Android targetSdk to API 36 (Android 16) (#5016)
  • Add AndroidManifest support for Spotlight configuration via io.sentry.spotlight.enable and io.sentry.spotlight.url (#5064)
  • Collect database transaction spans (BEGIN, COMMIT, ROLLBACK) (#5072)
    • To enable creation of these spans, set options.enableDatabaseTransactionTracing to true
    • enable-database-transaction-tracing=true when using sentry.properties
    • For Spring Boot, use sentry.enable-database-transaction-tracing=true in application.properties or in application.yml:
      sentry:
        enable-database-transaction-tracing: true
  • Add support for collecting native crashes using Tombstones (#4933, #5037)
    • Added Tombstone integration that detects native crashes using ApplicationExitInfo.REASON_CRASH_NATIVE on Android 12+
    • Crashes enriched with Tombstones contain more crash details and detailed thread info
    • Tombstone and NDK integrations are now automatically merged into a single crash event, eliminating duplicate reports
    • To enable it, add the integration in your Sentry initialization:
      SentryAndroid.init(context, options -> {
          options.isTombstoneEnabled = true
      })
      or in the AndroidManifest.xml using:
      <meta-data android:name="io.sentry.tombstone.enable" android:value="true" />

Fixes

  • Extract SpotlightIntegration to separate sentry-spotlight module to prevent insecure HTTP URLs from appearing in release APKs (#5064)
    • Breaking: Users who enable Spotlight must now add the io.sentry:sentry-spotlight dependency:
      dependencies {
          debugImplementation("io.sentry:sentry-spotlight:<version>")
      }
  • Fix scroll target detection for Jetpack Compose (#5017)
  • No longer fork Sentry Scopes for reactor-kafka consumer poll Runnable (#5080)
    • This was causing a memory leak because reactor-kafka's poll event reschedules itself infinitely, and each invocation of SentryScheduleHook created forked scopes with a parent reference, building an unbounded chain that couldn't be garbage collected.
  • Fix cold/warm app start type detection for Android devices running API level 34+ (#4999)

Internal

  • Establish new native exception mechanisms to differentiate events generated by sentry-native from ApplicationExitInfo. (#5052)
  • Set write permission for statuses in the changelog preview GHA workflow. (#5053)

Dependencies

8.31.0

Features

  • Added io.sentry.ndk.sdk-name Android manifest option to configure the native SDK's name (#5027)
  • Replace sentry.trace.parent_span_id attribute with spanId property on SentryLogEvent (#5040)

Fixes

  • Only attach user attributes to logs if sendDefaultPii is enabled (#5036)
  • Reject new logs if LoggerBatchProcessor is shutting down (#5041)
  • Downgrade protobuf-javalite dependency from 4.33.1 to 3.25.8 (#5044)

Dependencies

8.30.0

Fixes

  • Fix ANRs when collecting device context (#4970)
    • IMPORTANT: This disables collecting external storage size (total/free) by default, to enable it back
      use options.isCollectExternalStorageContext = true or <meta-data android:name="io.sentry.external-storage-context" android:value="true" />
  • Fix NullPointerException when reading ANR marker (#4979)
  • Report discarded log in batch processor as log_byte (#4971)

Improvements

  • Expose MAX_EVENT_SIZE_BYTES constant in SentryOptions (#4962)
  • Discard envelopes on 4xx and 5xx response (#4950)
    • This aims to not overwhelm Sentry after an outage or load shedding (including HTTP 429) where too many events are sent at once

Feature

  • Add a Tombstone integration that detects native crashes without relying on the NDK integration, but instead using ApplicationExitInfo.REASON_CRASH_NATIVE on Android 12+. (#4933)
    • Currently exposed via options as an internal API only.
    • If enabled alongside the NDK integration, crashes will be reported as two separate events. Users should enable only one; deduplication between both integrations will be added in a future release.
  • Add Sentry Metrics to Java SDK (#5026)
    • Metrics are enabled by default
    • APIs are namespaced under Sentry.metrics()
    • We offer the following APIs:
      • count: A metric that increments counts
      • gauge: A metric that tracks a value that can go up or down
      • distribution: A metric that tracks the statistical distribution of values
    • For more details, see the Metrics documentation: https://docs.sentry.io/product/explore/metrics/getting-started/

@github-actions github-actions bot added the Dependencies Pull requests that update a dependency file label Jan 16, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from d598fdc to 3b98c9e Compare January 16, 2026 03:28
@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.88%. Comparing base (3a4a7f9) to head (186b90b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4843      +/-   ##
==========================================
+ Coverage   73.86%   73.88%   +0.01%     
==========================================
  Files         494      494              
  Lines       17868    17868              
  Branches     3509     3509              
==========================================
+ Hits        13199    13202       +3     
+ Misses       3809     3807       -2     
+ Partials      860      859       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 2 times, most recently from b39ecba to 4160a34 Compare January 21, 2026 03:29
@github-actions github-actions bot changed the title chore(deps): update Java SDK to v8.30.0 chore(deps): update Java SDK to v8.31.0 Jan 22, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 4 times, most recently from 948758b to 0bac229 Compare January 27, 2026 03:30
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 4 times, most recently from 7d7b339 to 4e5880c Compare February 3, 2026 03:45
@github-actions
Copy link
Contributor Author

github-actions bot commented Feb 3, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features ✨

  • feat(metrics): Trace-connected Metrics by Flash0ver in #4834
  • feat: Update error 413 handling by bitsandfoxes in #4863
  • feat: Added Main to SentryThread by bitsandfoxes in #4807

Fixes 🐛

  • fix: Apply Enricher to User Feedback by bitsandfoxes in #4883
  • fix: Allow Sentry failures when SENTRY_ALLOW_FAILURE is set in the Sentry CLI by DanielMcAssey in #4852

Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.32.0 by github-actions[bot] in #4843
  • chore(deps): update Native SDK to v0.12.6 by github-actions in #4897
  • chore(deps): update Native SDK to v0.12.5 by github-actions in #4892
  • chore(deps): update Native SDK to v0.12.4 by github-actions in #4875
  • chore(deps): update Native SDK to v0.12.3 by github-actions in #4832
  • chore(deps): update Java SDK to v8.29.0 by github-actions in #4817

Other

  • chore: Fix auto changelog configuration by jamescrosswell in #4896
  • ci(release): Switch from action-prepare-release to Craft by BYK in #4835
  • chore(test): update PublicApiGenerator from 11.1.0 to 11.5.4 by Flash0ver in #4866
  • chore: update Roslynator.Analyzers from 4.9.0 to 4.15.0 by Flash0ver in #4878
  • chore: upgrade to C# 14.0 by Flash0ver in #4857
  • chore: bump testing dependencies by Flash0ver in #4865
  • chore(test): update FluentAssertions from 6.12.0 to 7.2.0 by Flash0ver in #4864
  • fixed: Thread safety in AssemblyStoreReader when sending events on Android by jamescrosswell in #4814
  • build(deps): bump getsentry/github-workflows/sentry-cli/integration-test from 2.14.1 to 3.2.0 by Flash0ver in #4858
  • chore(repo): Add Claude Code settings with basic permissions by philipphofmann in #4850
  • ci: remove trailing slash from workflow references by copilot-swe-agent in #4837
  • test(integration): prevent auto-relaunch on Android by jpnurmi in #4833
  • build: fix Build of Compiler-Extension by Flash0ver in #4804

🤖 This preview updates automatically when you update the PR.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 2 times, most recently from dba5b42 to 0f9d2d7 Compare February 5, 2026 03:44
@jpnurmi
Copy link
Collaborator

jpnurmi commented Feb 5, 2026

Problem

error XA4242: Java dependency 'com.google.protobuf:protobuf-javalite:3.25.8' is not satisfied. Microsoft maintains the NuGet package 'Xamarin.Protobuf.JavaLite' that could fulfill this dependency.

The nearest available Xamarin.Protobuf.JavaLite versions are 3.25.3.2 and 4.26.1 - neither satisfies the dependency.

Proposal

Claude proposes the following:

<ItemGroup>
  <AndroidMavenLibrary Include="com.google.protobuf:protobuf-javalite" Version="3.25.8" Bind="false" />
</ItemGroup>

Does it sound like the correct thing to do?

Related Java SDK changes:

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from 0f9d2d7 to d4e6b67 Compare February 7, 2026 03:43
@jamescrosswell
Copy link
Collaborator

Proposal

Claude proposes the following:

<ItemGroup>
  <AndroidMavenLibrary Include="com.google.protobuf:protobuf-javalite" Version="3.25.8" Bind="false" />
</ItemGroup>

Does it sound like the correct thing to do?

Possibly... as long as we don't have another (conflicting) version as a transient dependency via one of our NuGets. That would typically occur as an indirect result of having <UseMaui>true</UseMaui> in a project file... worth trying though.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from d4e6b67 to 976c91e Compare February 9, 2026 03:51
@github-actions github-actions bot changed the title chore(deps): update Java SDK to v8.31.0 chore(deps): update Java SDK to v8.32.0 Feb 10, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from 976c91e to 881ae9e Compare February 10, 2026 03:55
jpnurmi and others added 2 commits February 10, 2026 14:44
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The class was removed from the Java SDK, causing:
  warning BG8A00: Metadata.xml element '<remove-node
  path="/api/package[@name='io.sentry.android.core']/class[@name='AnrV2EventProcessor']"
  />' matched no nodes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants