You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9909415
Browse filesBrowse the repository at this point in the historyBrowse files
feat(nav3): Record why back stack entries are /unknown
An entry recorded as /unknown didn't say why, so outside debug logs a
mapper that threw, returned a blank name, or chose not to name an entry
all looked the same. Record the reason next to the entry as
unknown_entry_reason in the back stack context and the nav
transaction's data, and as to_unknown_entry_reason and
from_unknown_entry_reason on breadcrumbs.
The values are mapping_failed, blank_name, and unmapped. A mapper that
throws now records mapping_failed as its unknown entry reason instead
of as its arguments' drop reason, so one cause has one name.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@
7
7
8
8
## Unreleased
9
9
10
+
### Improvements
11
+
12
+
- Nav3: Record why a back stack entry is `/unknown` via an `unknown_entry_reason` next to it in the Sentry UI ([#6801](https://github.com/getsentry/sentry-java/pull/6801))
13
+
- A `BackStackEntryMapper` that throws now records `"unknown_entry_reason": "mapping_failed"` instead of `"dropped_by_sentry": "mapping_failed"` in the entry's arguments.
14
+
10
15
### Fixes
11
16
12
17
- Session Replay: Mask Compose images loaded with Coil 3.1+ `AsyncImage` when `maskAllImages` is enabled ([#6759](https://github.com/getsentry/sentry-java/pull/6759))
Copy file name to clipboardExpand all lines: sentry-android-navigation3/src/main/kotlin/io/sentry/compose/navigation3/internal/backstack/BackStackConverter.kt
Copy file name to clipboardExpand all lines: sentry-android-navigation3/src/main/kotlin/io/sentry/compose/navigation3/internal/backstack/BackStackObserver.kt
Copy file name to clipboardExpand all lines: sentry-android-navigation3/src/main/kotlin/io/sentry/compose/navigation3/internal/contract/NavDataContract.kt
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,37 @@ internal const val BREADCRUMB_FROM_KEY = "from"
Copy file name to clipboardExpand all lines: sentry-android-navigation3/src/main/kotlin/io/sentry/compose/navigation3/internal/lifecycle/NavTransactionRequest.kt
Copy file name to clipboardExpand all lines: sentry-android-navigation3/src/test/kotlin/io/sentry/compose/navigation3/internal/backstack/BackStackConverterTest.kt
0 commit comments