Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8.29.0
Choose a base ref
...
head repository: getsentry/sentry-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8.30.0
Choose a head ref
  • 18 commits
  • 203 files changed
  • 13 contributors

Commits on Dec 16, 2025

  1. Merge branch 'release/8.29.0'

    getsentry-bot committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    6aaaed4 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump actions/download-artifact from 6 to 7 (#4966)

    Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](actions/download-artifact@v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
    dependabot[bot] and romtsn authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    421ee46 View commit details
    Browse the repository at this point in the history
  3. Discard envelopes on 4xx and 5xx response (#4950)

    * Discard envelopes on 4xx and 5xx response
    
    * do not discard on 429
    
    * changelog
    
    * also discard cached envelope on 429
    
    * move changelog; reword
    
    * shorten changelog entry
    adinauer authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    3d5a001 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2025

  1. fix(device): Fix ANR when collecting device context (#4970)

    * fix(device): Fix ANR when collecting device context
    
    * fix formatting
    
    * disable external storage collection
    
    * Changelog
    
    * Fix tests
    romtsn authored Dec 17, 2025
    Configuration menu
    Copy the full SHA
    9139b91 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. feat(core): Expose MAX_EVENT_SIZE_BYTES constant in SentryOptions (#4962

    )
    
    * feat(core): Expose MAX_EVENT_SIZE_BYTES constant in SentryOptions
    
    * changelog
    
    * api
    
    ---------
    
    Co-authored-by: Alexander Dinauer <adinauer@users.noreply.github.com>
    Co-authored-by: Alexander Dinauer <alexander.dinauer@sentry.io>
    3 people authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    ed33deb View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2025

  1. Configuration menu
    Copy the full SHA
    c65ce8a View commit details
    Browse the repository at this point in the history
  2. build(deps): bump JamesIves/github-pages-deploy-action (#4978)

    Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.7.4 to 4.7.6.
    - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
    - [Commits](JamesIves/github-pages-deploy-action@4a3abc7...9d877ee)
    
    ---
    updated-dependencies:
    - dependency-name: JamesIves/github-pages-deploy-action
      dependency-version: 4.7.6
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    2168e13 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump github/codeql-action from 4.31.5 to 4.31.8 (#4967)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.5 to 4.31.8.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@fdbfb4d...1b168cd)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-version: 4.31.8
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    4a0dbf5 View commit details
    Browse the repository at this point in the history
  4. build(deps): bump codecov/codecov-action from 5.5.1 to 5.5.2 (#4977)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.1 to 5.5.2.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@5a10915...671740a)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-version: 5.5.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    916bcc9 View commit details
    Browse the repository at this point in the history
  5. build(deps): bump codecov/test-results-action from 1.1.1 to 1.2.1 (#4976

    )
    
    Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.1.1 to 1.2.1.
    - [Release notes](https://github.com/codecov/test-results-action/releases)
    - [Commits](codecov/test-results-action@47f89e9...0fa95f0)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/test-results-action
      dependency-version: 1.2.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    c082256 View commit details
    Browse the repository at this point in the history
  6. fix(cache): Do not throw NPE when reading ANR marker (#4979)

    * fix(cache): Do not throw NPE when reading ANR marker
    
    * Changelog
    romtsn authored Dec 22, 2025
    Configuration menu
    Copy the full SHA
    d15471f View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. Configuration menu
    Copy the full SHA
    2387c2c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. feat: minimal tombstone integration (#4933)

    * feat: minimal tombstone integration (disabled by default, options internal)
    
    * redo a seemingly missed spotlessApply
    
    * use non-plural option + mark integration also as internal + update API
    
    * init size exceptions since we know we only need one
    
    Co-authored-by: Markus Hintersteiner <m.hintersteiner@gmail.com>
    
    * move `instructionAddressAdjustment` to `SentryStackTrace`
    
    * add copyright notice to tombstone.proto
    
    * add historical tombstone option
    
    * looks like we need to add a TombstoneEventProcessor anyway.
    
    * ...so let's add it to the options if the SDK supports it (adapt to >= S, since that is the earliest version where `REASON_CRASH_NATIVE` provides tombstones via the `traceInputStream`)
    
    * Adapt `AndroidEnvelopeCache` to also write Tombstone timestamp markers
    
    * Integrate handling of historical Tombstone option + last tombstone marker
    
    This currently does not work:
    
    While we now can optionally enable reporting of "historical" tombstones, by making the `TombstoneHint` `Backfillable` it will automatically be enriched by the `ANRv2EventProcessor` which is currently the only `BackfillingEventProcessor`.
    
    The `ANRv2EventProcessor` is partially written in way that is potentially generic for events with `Backfillable` hints, but other parts are enriching as if those are always were ANRs, which up to now was true, but with Tombstones that assumption now breaks.
    
    Next Steps:
    
    * There is considerable duplication between the ANRv2Integration and TombstoneIntegration
    
    * sprinkle with TODOs to highlight next PR steps
    
    * fix typo
    
    * implement TombstoneParser as Closable and close the tombstone stream
    
    * tighten code with final and null annotations.
    
    * eliminate obsolete null check
    
    * Deduplicate ApplicationExitInfo handling for corresponding Integrations via HistoryDispatcher
    
    * also update api dumps and formatting for sentry changes
    
    * update tombstone message construction
    
    * fix abortMessage check
    
    * convert AnrV2EventProcessor to a more generic ApplicationExitInfoEventProcessor
    
    this handles all events with Backfillable hint, but adds an interface HintEnricher, to allow hint-specific enrichment (like for ANRs) before and after the generic backfilling happened.
    
    * reintroduce, update and correct old inline docs where they make sense.
    
    * remove obsolete TombstoneEventProcessor
    
    * clean up tombstone error handling
    
    * convert ApplicationExitInfoHistoryDispatcher.removeLatest() to use an iterator instead of for-each
    
    * add TombstoneIntegrationTest
    
    * replace assertions with explicit RuntimeException
    
    * use test base class for AEI
    
    * remove obsolete TODO RE: mechanism change
    
    * clarify open TODO RE: AbnormalExit discriminator for ANR hints
    
    * refactor instructionAddressAdjustment from String to enum
    
    * deduplicate hex formatting of addresses and TombstoneParser
    
    * adapt tryEndPreviousSession() in EnvelopeCache to NativeCrashExit hint
    
    * move isBackgroundAnr() to the AnrHintEnricher since it is only used there.
    
    * revert method-references back to lambdas
    
    * clean up exception assignment in TombstoneParser
    
    * properly format the debug-id as an OLE GUID
    
    * remove obsolete equality between code-id and debug-id
    
    * ensure that errors in the char->digit conversion is also handled
    
    * fix debugId/codeId look-up and checks in TombstoneIntegrationTest
    
    * make movePreviousSession idempotent wrt the previous session
    
    * reuse existing codeId -> debugId conversion instead of adding a new converter
    
    * make PreviousSessionFinalizer aware of tombstone handled sessions and add crashedLastRun
    
    * bump SDK config for TombstoneIntegrationTest to version 31 (S)
    
    * add changelog entry
    
    * retrieve test tombstone.pb fixture as a resource rather than a file path.
    
    * attribute pb to be binary and re-commit the non-corrupted tombstone.pb
    
    * reset crashedLastRun in PreviousSessionFinalizer and add test-case
    
    * format
    
    * fix Ok Session termination test
    
    * format
    
    * clarify comments and variable names in PreviousSessionFinalizer
    
    * only enable distribution and sizeAnalysis if the SENTRY_AUTH_TOKEN environment variable is present and `isNotBlank()``
    
    * compress tombstone test resource to reduce its repo weight down to less than 20%
    
    * add round-trip serialization test for `instructionAddressAdjustment`
    
    ---------
    
    Co-authored-by: Markus Hintersteiner <m.hintersteiner@gmail.com>
    supervacuus and markushi authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    f56490b View commit details
    Browse the repository at this point in the history
  2. Add profiling to more samples, add E2E Tests (#4969)

    Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
    lbloder and getsentry-bot authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    f064536 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. feat(metrics): Trace Metrics (#5026)

    * Metrics Options
    
    * MetricsApi stub
    
    * Add transport types for metrics
    
    * Enable metrics by default
    
    * Format code
    
    * Add batch processor for Metrics
    
    * Wire up Metrics parts
    
    * Metrics counter basic API
    
    * Metrics Count API
    
    * Metrics Distribution API
    
    * Metrics Gauge API
    
    * Metrics Envelope item deserialization
    
    * Record client report for discarded metrics envelope item
    
    * Metrics external options
    
    * Metrics Manifest options for Android
    
    * Android Metrics batch processor and factory
    
    * Only send user attributes if sendDefaultPii is true
    
    * Remove Experimental Annotation from Metrics Options
    
    * Add unit tests for Metrics
    
    * Create SentryMetricsParameters for Metrics
    
    * Use uv for managing python version
    
    * fix
    
    * Add device and OS attributes to metrics
    
    * Add AI rules files for Metrics (and update feature flags rule)
    
    * Close and flush MetricsBatchProcessor from SentryClient
    
    * fix
    
    * Add E2E tests for Metrics
    
    * Final keyword in Metrics methods
    
    * Add Hint to Metrics
    
    * SentryMetricsParameters create shortcut for attributes map
    
    * Automatically use SentryOptions.Metrics.BeforeSendMetricCallback Spring beans
    
    * Rename sample API param, remove sleep
    
    * Create MetricsUnit constants
    
    * Format code
    
    * Metrics Options (#4980)
    
    * feat(metrics): [Trace Metrics 2] MetricsApi stub (#4981)
    
    * Metrics Options
    
    * MetricsApi stub
    
    * More PR review changes (#5028)
    
    * Some more PR review changes
    
    * Format code
    
    ---------
    
    Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
    
    * changelog
    
    * non nullable trace id
    
    * error log now says metric instead of log
    
    ---------
    
    Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
    Co-authored-by: lcian <17258265+lcian@users.noreply.github.com>
    3 people authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    abf451a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2026

  1. Report discarded log in batch processor as log_byte (#4971)

    * Report discarded log in batch processor as log_byte
    
    * changelog
    
    * fix test to expect log_byte
    adinauer authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    349c8e9 View commit details
    Browse the repository at this point in the history
  2. Add metrics documentation link (#5029)

    Added a link to the Metrics documentation for more details.
    markushi authored Jan 15, 2026
    Configuration menu
    Copy the full SHA
    6c08e7b View commit details
    Browse the repository at this point in the history
  3. release: 8.30.0

    getsentry-bot committed Jan 15, 2026
    Configuration menu
    Copy the full SHA
    c0cc0fa View commit details
    Browse the repository at this point in the history
Loading