Skip to content

Commit b07b05e

Browse files
authored
Document breaking change in 6.2.1 and remove internal annotation (#3148)
1 parent 54d51f2 commit b07b05e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,9 @@ val apolloClient = ApolloClient.Builder()
996996
- New package `sentry-compose` for Jetpack Compose support (Navigation) ([#2136](https://github.com/getsentry/sentry-java/pull/2136))
997997
- Add sample rate to baggage as well as trace in envelope header and flatten user ([#2135](https://github.com/getsentry/sentry-java/pull/2135))
998998

999+
Breaking Changes:
1000+
- The boolean parameter `samplingDecision` in the `TransactionContext` constructor has been replaced with a `TracesSamplingDecision` object. Feel free to ignore the `@ApiStatus.Internal` in this case.
1001+
9991002
## 6.1.4
10001003

10011004
### Fixes

sentry/src/main/java/io/sentry/TracesSamplingDecision.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package io.sentry;
22

3-
import org.jetbrains.annotations.ApiStatus;
43
import org.jetbrains.annotations.NotNull;
54
import org.jetbrains.annotations.Nullable;
65

7-
@ApiStatus.Internal
86
public final class TracesSamplingDecision {
97

108
private final @NotNull Boolean sampled;

0 commit comments

Comments
 (0)