Skip to content

Commit d9d541c

Browse files
authored
Merge 71a1fa0 into d872fbc
2 parents d872fbc + 71a1fa0 commit d9d541c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Avoid forking `rootScopes` for Reactor if current thread has `NoOpScopes` ([#4793](https://github.com/getsentry/sentry-java/pull/4793))
88
- This reduces the SDKs overhead by avoiding unnecessary scope forks
99

10+
### Internal
11+
12+
- Support `span` envelope item type ([#4935](https://github.com/getsentry/sentry-java/pull/4935))
13+
1014
## 8.27.1
1115

1216
### Fixes

sentry/api/sentry.api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3137,6 +3137,7 @@ public final class io/sentry/SentryItemType : java/lang/Enum, io/sentry/JsonSeri
31373137
public static final field ReplayRecording Lio/sentry/SentryItemType;
31383138
public static final field ReplayVideo Lio/sentry/SentryItemType;
31393139
public static final field Session Lio/sentry/SentryItemType;
3140+
public static final field Span Lio/sentry/SentryItemType;
31403141
public static final field Transaction Lio/sentry/SentryItemType;
31413142
public static final field Unknown Lio/sentry/SentryItemType;
31423143
public static final field UserFeedback Lio/sentry/SentryItemType;

sentry/src/main/java/io/sentry/SentryItemType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public enum SentryItemType implements JsonSerializable {
2323
CheckIn("check_in"),
2424
Feedback("feedback"),
2525
Log("log"),
26+
Span("span"),
2627
Unknown("__unknown__"); // DataCategory.Unknown
2728

2829
private final String itemType;

sentry/src/test/java/io/sentry/protocol/SentryItemTypeSerializationTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class SentryItemTypeSerializationTest {
3232
assertEquals(serialize(SentryItemType.ReplayVideo), json("replay_video"))
3333
assertEquals(serialize(SentryItemType.CheckIn), json("check_in"))
3434
assertEquals(serialize(SentryItemType.Feedback), json("feedback"))
35+
assertEquals(serialize(SentryItemType.Span), json("span"))
3536
}
3637

3738
@Test
@@ -49,6 +50,7 @@ class SentryItemTypeSerializationTest {
4950
assertEquals(deserialize(json("replay_video")), SentryItemType.ReplayVideo)
5051
assertEquals(deserialize(json("check_in")), SentryItemType.CheckIn)
5152
assertEquals(deserialize(json("feedback")), SentryItemType.Feedback)
53+
assertEquals(deserialize(json("span")), SentryItemType.Span)
5254
}
5355

5456
private fun json(type: String): String = "{\"type\":\"${type}\"}"

0 commit comments

Comments
 (0)