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.34.1
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.35.0
Choose a head ref
  • 12 commits
  • 115 files changed
  • 9 contributors

Commits on Mar 5, 2026

  1. Merge branch 'release/8.34.1'

    getsentry-bot committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    b67bb28 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. feat(anr): Profile main thread when ANR and report ANR profiles to Se…

    …ntry (#4899)
    
    * Profile main thread when ANR and report ANR profiles to sentry
    
    * docs(changelog): Add ANR profiling integration entry
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * Fix api dump file
    
    * Address PR feedback
    
    * refactor(anr): Implement lazy file rotation for ANR profiling
    
    * Update Changelog
    
    * Address PR feedback
    
    * Improve folding logic, cleanup tests
    
    * Add more tests and address feedback
    
    * Update CHANGELOG.md
    
    * Address PR feedcback
    
    * Move logic to event processor
    
    * Update changelog
    
    * Ensure integration is tracked
    
    * Address PR feedback
    
    * Fix tests
    
    * Match manifest property to convention, enable profiling in sample app
    
    * Add more bound checks and null guards
    
    * Remove outdated meta-data
    
    * Properly handle foreground transitions
    
    * Address PR comments
    
    * Address PR feedback
    
    * Address PR feedback
    
    * Address PR feedback
    
    * Re-use thread
    
    * Update Changelop
    
    * Address review
    
    * Address PR feedback
    
    * Replace ANR profiling boolean flag with sample-rate (#5156)
    
    * feat(android): Add enableAnrFingerprinting option (#5168)
    
    * feat(android): Add enableAnrFingerprinting option
    
    Decouple ANR fingerprinting from ANR profiling into a standalone
    opt-in option. This allows static fingerprinting of system-frame-only
    ANRs regardless of whether profiling is enabled.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * feat(android): Mark enableAnrFingerprinting as experimental
    
    Also enable the option in the sample app.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * feat(android): Default enableAnrFingerprinting to true
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * refactor(android): Remove experimental flag from enableAnrFingerprinting
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * Fix api dump
    
    * Address PR feedback
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    
    * Fix tests
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
    3 people authored Mar 6, 2026
    Configuration menu
    Copy the full SHA
    d501a7e View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2026

  1. Configuration menu
    Copy the full SHA
    dde4bad View commit details
    Browse the repository at this point in the history
  2. fix: remove the dependency on protobuf-lite for tombstones (#5157)

    * fix: remove the dependency on protobuf-lite for tombstones
    
    * update changelog
    
    * gate the close() on the underlying input stream
    
    * add scheduled GHA workflow to check for changes in the tombstone protobuf schema
    supervacuus authored Mar 9, 2026
    Configuration menu
    Copy the full SHA
    08ffa5a View commit details
    Browse the repository at this point in the history
  3. docs: Add collection branch safety warnings to PR workflow (#5176)

    Add explicit warnings to pr.mdc and create-java-pr skill that the
    collection branch must never be manually merged or fast-forwarded.
    Updating it causes GitHub to auto-merge all stack PRs and delete
    their branches, destroying the entire stack.
    
    Co-authored-by: Claude <noreply@anthropic.com>
    adinauer and claude authored Mar 9, 2026
    Configuration menu
    Copy the full SHA
    6a6b6c6 View commit details
    Browse the repository at this point in the history
  4. docs: Improve stacked PR workflow for collection branch and merge met…

    …hod (#5178)
    
    * docs: Add collection branch safety warnings to PR workflow
    
    Add explicit warnings to pr.mdc and create-java-pr skill that the
    collection branch must never be manually merged or fast-forwarded.
    Updating it causes GitHub to auto-merge all stack PRs and delete
    their branches, destroying the entire stack.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * docs: Include collection branch PR in stack list updates
    
    The stack list update instructions only mentioned "all PRs in the
    stack" which was ambiguous — it could be read as excluding the
    collection branch PR. Now both pr.mdc and the create-java-pr skill
    explicitly call out that the collection branch PR must also be updated
    with the stack list.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * docs: Add merge commit reminder to stack PR descriptions
    
    Stack PRs must be merged with merge commits, not squash. Add a
    reminder to the PR description so reviewers/mergers pick the right
    method. This only applies to stack PRs — not standalone PRs or the
    collection branch PR.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    adinauer and claude authored Mar 9, 2026
    Configuration menu
    Copy the full SHA
    b1045ed View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2026

  1. feat(samples): [Global Attributes 6] Showcase scope attributes in all…

    … sample modules (#5149)
    
    * feat(core): Add scope-level attributes API
    
    Add setAttribute, setAttributes, removeAttribute, and getAttributes
    to IScope/IScopes/Sentry so users can set attributes on the scope
    that are automatically included in logs and metrics events.
    
    Also refactor type inference logic into SentryAttributeType.inferFrom
    and add SentryLogEventAttributeValue.fromAttribute factory method,
    removing duplicate getType helpers from LoggerApi and MetricsApi.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * changelog
    
    * ref: Split out LoggerApi/MetricsApi changes for stacked PR
    
    Move factory method extractions (SentryAttributeType.inferFrom,
    SentryLogEventAttributeValue.fromAttribute) and LoggerApi/MetricsApi
    scope attribute integration to a separate stacked PR.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * feat(core): Wire scope attributes into LoggerApi and MetricsApi
    
    Extract factory methods SentryAttributeType.inferFrom and
    SentryLogEventAttributeValue.fromAttribute to reduce duplication.
    Apply scope attributes to log and metric events automatically.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * changelog
    
    * feat(samples): Showcase scope attributes in Spring Boot 4 samples
    
    Add Sentry.setAttribute() calls to PersonController and
    MetricController across all Spring Boot 4 sample variants to
    demonstrate scope attributes being auto-attached to logs and metrics.
    
    Add e2e test assertions and TestHelper methods to verify scope
    attributes appear on captured log and metric events.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * changelog
    
    * Revert "changelog"
    
    This reverts commit 7189bdc.
    
    * ref: Remove redundant comments from variant controllers
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * ref: Limit scope attributes sample to base Spring Boot 4 variant
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * fix: Detect integer attribute type correctly for all integer Number subtypes
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * changelog
    
    * feat: Support collections and arrays in log attribute type inference
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * changelog
    
    * test: Add coverage for arrayAttribute factory method
    
    Add arrayAttribute and named array attribute usage to the four
    attribute tests in ScopesTest (log, count metric, distribution metric,
    gauge metric) to verify the factory method works end-to-end.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * feat(samples): Showcase scope attributes in all sample modules
    
    Add Sentry.setAttribute() calls to all sample source files and
    corresponding attribute assertions to all system tests. This extends
    the scope attributes showcase from sentry-samples-spring-boot-4 to
    all 19 remaining sample modules with system tests.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    * Format code
    
    * ci: trigger CI re-run
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * ci: retrigger CI
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * remove duplicate changelog
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
    3 people authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    ee611d9 View commit details
    Browse the repository at this point in the history
  2. chore: Use GitHub native PR references in stack list format (#5166)

    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    adinauer and claude authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    d6f6aaa View commit details
    Browse the repository at this point in the history
  3. ref(docs): Avoid shell redirects in PR workflow docs (#5180)

    Replace shell redirect examples (>, >>, |, &&) with Write/Edit tool
    instructions in pr.mdc and create-java-pr skill. This prevents
    permission prompt spam when agents update PR descriptions, since
    compound shell commands don't match simple permission patterns.
    adinauer authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    9770665 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2026

  1. Fix Changelog (#5187)

    * Fix Changelog
    
    * Update CHANGELOG.md
    
    Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
    
    * Update CHANGELOG with breaking change for ANR fingerprinting
    
    Added breaking change for enableAnrFingerprinting option to reduce ANR noise.
    
    ---------
    
    Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
    markushi and romtsn authored Mar 11, 2026
    Configuration menu
    Copy the full SHA
    092f017 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2026

  1. Refine Changelog for enableAnrFingerprinting option (#5188)

    * Refine Changelog for enableAnrFingerprinting option
    
    #skip-changelog
    
    * Apply suggestion from @romtsn
    
    ---------
    
    Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
    markushi and romtsn authored Mar 12, 2026
    Configuration menu
    Copy the full SHA
    8733a06 View commit details
    Browse the repository at this point in the history
  2. release: 8.35.0

    markushi committed Mar 12, 2026
    Configuration menu
    Copy the full SHA
    7f68594 View commit details
    Browse the repository at this point in the history
Loading