Skip to content

chore(deps): bump io.sentry:sentry-android from 7.16.0 to 8.7.0 #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps io.sentry:sentry-android from 7.16.0 to 8.7.0.

Release notes

Sourced from io.sentry:sentry-android's releases.

8.7.0

Features

  • UI Profiling GA

    Continuous Profiling is now GA, named UI Profiling. To enable it you can use one of the following options. More info can be found at https://docs.sentry.io/platforms/android/profiling/. Note: Both options.profilesSampler and options.profilesSampleRate must not be set to enable UI Profiling. To keep the same transaction-based behaviour, without the 30 seconds limitation, you can use the trace lifecycle mode.

    <application>
      <!-- Enable UI profiling, adjust in production env. This is evaluated only once per session -->
      <meta-data android:name="io.sentry.traces.profiling.session-sample-rate" android:value="1.0" />
      <!-- Set profiling lifecycle, can be `manual` (controlled through `Sentry.startProfiler()` and `Sentry.stopProfiler()`) or `trace` (automatically starts and stop a profile whenever a sampled trace starts and finishes) -->
      <meta-data android:name="io.sentry.traces.profiling.lifecycle" android:value="trace" />
      <!-- Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes -->
      <meta-data android:name="io.sentry.traces.profiling.start-on-app-start" android:value="true" />
    </application>
    import io.sentry.ProfileLifecycle;
    import io.sentry.android.core.SentryAndroid;
    SentryAndroid.init(context, options -> {
    // Enable UI profiling, adjust in production env. This is evaluated only once per session
    options.setProfileSessionSampleRate(1.0);
    // Set profiling lifecycle, can be manual (controlled through Sentry.startProfiler() and Sentry.stopProfiler()) or trace (automatically starts and stop a profile whenever a sampled trace starts and finishes)
    options.setProfileLifecycle(ProfileLifecycle.TRACE);
    // Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes
    options.setStartProfilerOnAppStart(true);
    });

    import io.sentry.ProfileLifecycle
    import io.sentry.android.core.SentryAndroid
    SentryAndroid.init(context, { options ->
    // Enable UI profiling, adjust in production env. This is evaluated only once per session
    options.profileSessionSampleRate = 1.0
    // Set profiling lifecycle, can be manual (controlled through Sentry.startProfiler() and Sentry.stopProfiler()) or trace (automatically starts and stop a profile whenever a sampled trace starts and finishes)
    options.profileLifecycle = ProfileLifecycle.TRACE
    // Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes
    options.isStartProfilerOnAppStart = true
    })

    • Continuous Profiling - Stop when app goes in background (#4311)
    • Continuous Profiling - Add delayed stop (#4293)
    • Continuous Profiling - Out of Experimental (#4310)

... (truncated)

Changelog

Sourced from io.sentry:sentry-android's changelog.

8.7.0

Features

  • UI Profiling GA

    Continuous Profiling is now GA, named UI Profiling. To enable it you can use one of the following options. More info can be found at https://docs.sentry.io/platforms/android/profiling/. Note: Both options.profilesSampler and options.profilesSampleRate must not be set to enable UI Profiling. To keep the same transaction-based behaviour, without the 30 seconds limitation, you can use the trace lifecycle mode.

    <application>
      <!-- Enable UI profiling, adjust in production env. This is evaluated only once per session -->
      <meta-data android:name="io.sentry.traces.profiling.session-sample-rate" android:value="1.0" />
      <!-- Set profiling lifecycle, can be `manual` (controlled through `Sentry.startProfiler()` and `Sentry.stopProfiler()`) or `trace` (automatically starts and stop a profile whenever a sampled trace starts and finishes) -->
      <meta-data android:name="io.sentry.traces.profiling.lifecycle" android:value="trace" />
      <!-- Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes -->
      <meta-data android:name="io.sentry.traces.profiling.start-on-app-start" android:value="true" />
    </application>
    import io.sentry.ProfileLifecycle;
    import io.sentry.android.core.SentryAndroid;
    SentryAndroid.init(context, options -> {
    // Enable UI profiling, adjust in production env. This is evaluated only once per session
    options.setProfileSessionSampleRate(1.0);
    // Set profiling lifecycle, can be manual (controlled through Sentry.startProfiler() and Sentry.stopProfiler()) or trace (automatically starts and stop a profile whenever a sampled trace starts and finishes)
    options.setProfileLifecycle(ProfileLifecycle.TRACE);
    // Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes
    options.setStartProfilerOnAppStart(true);
    });

    import io.sentry.ProfileLifecycle
    import io.sentry.android.core.SentryAndroid
    SentryAndroid.init(context, { options ->
    // Enable UI profiling, adjust in production env. This is evaluated only once per session
    options.profileSessionSampleRate = 1.0
    // Set profiling lifecycle, can be manual (controlled through Sentry.startProfiler() and Sentry.stopProfiler()) or trace (automatically starts and stop a profile whenever a sampled trace starts and finishes)
    options.profileLifecycle = ProfileLifecycle.TRACE
    // Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes
    options.isStartProfilerOnAppStart = true
    })

    • Continuous Profiling - Stop when app goes in background (#4311)
    • Continuous Profiling - Add delayed stop (#4293)
    • Continuous Profiling - Out of Experimental (#4310)

... (truncated)

Commits
  • e4bf535 release: 8.7.0
  • 5c6c11b updated changelog with UI Profiling notes (#4322)
  • c4eeb3c Continuous Profiling - stop when app goes in background (#4311)
  • f6625b0 Add test to verify transactions from sentry-native are sent to relay (#4312)
  • 1e82a71 Compress Screenshots on a background thread (#4295)
  • 5c3cd7a Continuous Profiling - Add delayed stop (#4293)
  • a17f72e Bump actions/create-github-app-token from 1.12.0 to 2.0.2 (#4319)
  • f44cfb7 Continuous Profiling - Out of Experimental (#4310)
  • 6f23a76 Merge branch 'release/8.6.0'
  • 8875a00 release: 8.6.0
  • 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-android](https://github.com/getsentry/sentry-java) from 7.16.0 to 8.7.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@7.16.0...8.7.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-version: 8.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Apr 14, 2025
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.

0 participants