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 9fd9105
Browse filesBrowse the repository at this point in the historyBrowse files
Commit:
1. Defines a LocalSentrySpan that lets Sentry and host apps deliver ISpan instances throughout composable subtrees. The delivered span can be used to parent any spans the receiving subtree produces, thereby freeing child composables from having to care about the ISpan hierarchies constructed by their ancestors.
2. Introduces an internal UnsetSentrySpan + bootstrapping system that lets existing Sentry composable infrastructure provide its own ISpan in situations where the environment doesn't set a LocalSentrySpan.
3. Updates SentryTraced to use both LocalSentrySpan and the bootstrapping system.
---------
Co-authored-by: Tabish Ahmad <tabishahmad1@gmail.com>
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
@@ -2,6 +2,10 @@
2
2
3
3
## Unreleased
4
4
5
+
### Features
6
+
7
+
- Add `LocalSentrySpan` to `sentry-compose` so apps can provide a parent `ISpan` to a composable subtree and have nested `SentryTraced` spans attach to it ([#6112]https://github.com/getsentry/sentry-java/pull/6112)
8
+
5
9
### Fixes
6
10
7
11
- Disable URL caching when reading `META-INF/MANIFEST.MF` files during version detection so that the SDK no longer keeps jar file handles open for the life of the process ([#6124](https://github.com/getsentry/sentry-java/pull/6124)
Copy file name to clipboardExpand all lines: sentry-compose/api/android/sentry-compose.api
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ public final class io/sentry/compose/BuildConfig {
6
6
public fun <init> ()V
7
7
}
8
8
9
+
public final class io/sentry/compose/LocalSentrySpanKt {
10
+
public static final fun getLocalSentrySpan ()Landroidx/compose/runtime/ProvidableCompositionLocal;
11
+
}
12
+
9
13
public final class io/sentry/compose/SentryComposeHelperKt {
10
14
public static final fun boundsInWindow (Landroidx/compose/ui/layout/LayoutCoordinates;Landroidx/compose/ui/layout/LayoutCoordinates;)Landroidx/compose/ui/geometry/Rect;
0 commit comments