Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Fixes

- Nav3: `sentry-android-navigation3` no longer declares a dependency on `androidx.lifecycle:lifecycle-runtime-compose`. Nav3 apps already depend on it via `navigation3-ui`, so no app changes are necessary ([#6699](https://github.com/getsentry/sentry-java/pull/6699))
- Profiling: No longer crash on API 35+ devices whose framework can't load `ProfilingManager`. Perfetto profiling is turned off on those devices instead ([#6742](https://github.com/getsentry/sentry-java/pull/6742))

## 8.65.1
Expand Down
2 changes: 1 addition & 1 deletion sentry-android-navigation3/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

dependencies {
implementation(projects.sentry)
implementation(libs.androidx.lifecycle.runtime.compose)
compileOnly(libs.androidx.lifecycle.runtime.compose)

Check warning on line 77 in sentry-android-navigation3/build.gradle.kts

View check run for this annotation

@sentry/warden / warden: code-review

compileOnly lifecycle-runtime-compose drops LocalLifecycleOwner from test runtime

After this switch, add `testImplementation(libs.androidx.lifecycle.runtime.compose)` so unit tests that reference `LocalLifecycleOwner` still have the artifact at runtime; sibling modules pair every `compileOnly` AndroidX dep the same way.
Comment thread
0xadam-brown marked this conversation as resolved.
Resolved

compileOnly(libs.androidx.compose.runtime)
compileOnly(libs.androidx.compose.ui)
Expand Down
Loading