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 1765464
Browse filesBrowse the repository at this point in the historyBrowse files
BackStackEntryMapper.SerialName names each back stack entry after its
kotlinx.serialization serial name, which R8 doesn't obfuscate, and
records no properties. kotlinx-serialization-core is a compileOnly
dependency at 1.7.3 or later. If the app's version can't be linked, the
mapper falls back to naming every entry /unknown.
The mapper returns null, which is public API, for entries it can't
name, so it reports why through an internal per-thread side channel
that the converter reads around each mapping call. Its reasons are
entry_not_annotated, generic_entry_type, serializer_not_found,
serializer_access_threw, and kotlinx_serialization_version.
Unit tests run against the 1.7.3 floor by default, and against the
latest stable release with -Pnav3TestKotlinx=latestStable.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@
7
7
8
8
## Unreleased
9
9
10
+
### Features
11
+
12
+
- Nav3: Add `BackStackEntryMapper.SerialName`, a convenience mapper that names back stack entries after their [serial names](https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization.descriptors/-serial-descriptor/serial-name.html) ([#6703](https://github.com/getsentry/sentry-java/pull/6703))
13
+
10
14
### Improvements
11
15
12
16
- 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))
0 commit comments