Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2026

Bumps io.sentry:sentry from 8.0.0 to 8.31.0.

Release notes

Sourced from io.sentry:sentry's releases.

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/

8.29.0

Fixes

... (truncated)

Changelog

Sourced from io.sentry:sentry's changelog.

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/

8.29.0

... (truncated)

Commits
  • 96c10a1 release: 8.31.0
  • 57b852f chore(changelog): Merge changelog sections (#5048)
  • feb0da6 fix(dependencies): Downgrade protobuf-javalite from 4.33.1 to 3.25.8 (#5044)
  • 1564554 fix(logs): Reject new logs if LoggerBatchProcessor is shutting down (#5041)
  • 8df0d02 feat(logs): Replace sentry.trace.parent_span_id attribute with spanId pro...
  • 8107c75 fix(logs): Check sendDefaultPii before attaching user attributes (#5036)
  • 804bd88 chore(repo): Add Claude Code settings with basic permissions (#5038)
  • 94bff8d ci(release): Switch from action-prepare-release to Craft (#5014)
  • fb05841 build(deps): bump JamesIves/github-pages-deploy-action (#5015)
  • 847c2d4 chore: update scripts/update-sentry-native-ndk.sh to 0.12.3 (#5012)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [io.sentry:sentry](https://github.com/getsentry/sentry-java) from 8.0.0 to 8.31.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@8.0.0...8.31.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry
  dependency-version: 8.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 21, 2026
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 java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant