Skip to content

Commit 277216f

Browse files
authored
Merge branch 'main' into fix/sentry-traced-one-composition-span
2 parents a110425 + cdb89fd commit 277216f

6 files changed

Lines changed: 12 additions & 5 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 8.55.0
44

55
### Features
66

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ android.newDsl=false
1616
android.experimental.lint.version=9.2.1
1717

1818
# Release information
19-
versionName=8.54.0
19+
versionName=8.55.0
2020

2121
# Override the SDK name on native crashes on Android
2222
sentryAndroidSdkName=sentry.native.android

‎gradle/wrapper/gradle-wrapper.jar‎

-957 Bytes
Binary file not shown.

‎gradle/wrapper/gradle-wrapper.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
44
networkTimeout=10000
55
retries=0
66
retryBackOffMs=500

‎sentry-compose/src/androidMain/kotlin/io/sentry/compose/SentryComposeTracing.kt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ public fun SentryTraced(
107107
val compositionStart =
108108
if (!alreadyComposed.value) parentCompositionSpan?.let { dateProvider.now() } else null
109109

110+
val parentCompositionSpan = localSentryCompositionParentSpan.current.item
111+
val parentRenderingSpan = localSentryRenderingParentSpan.current.item
112+
val dateProvider = Sentry.getCurrentScopes().options.dateProvider
113+
114+
// Only record spans if we have a parent for them.
115+
val compositionStart = parentCompositionSpan?.let { dateProvider.now() }
116+
110117
Box(
111118
modifier =
112119
baseModifier.drawWithContent {

‎settings.gradle.kts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818
}
1919

2020
plugins {
21-
id("com.gradle.develocity") version "4.4.2"
22-
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.6.0"
21+
id("com.gradle.develocity") version "4.5.0"
22+
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.8.0"
2323
}
2424

2525
develocity {

0 commit comments

Comments
 (0)