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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,26 @@
2
2
3
3
## Unreleased
4
4
5
+
### Features
6
+
7
+
- The `ignoredErrors` option is now configurable via the manifest property `io.sentry.traces.ignored-errors` ([#4178](https://github.com/getsentry/sentry-java/pull/4178))
8
+
- A list of active Spring profiles is attached to payloads sent to Sentry (errors, traces, etc.) and displayed in the UI when using our Spring or Spring Boot integrations ([#4147](https://github.com/getsentry/sentry-java/pull/4147))
9
+
- This consists of an empty list when only the default profile is active
10
+
- Added `enableTraceIdGeneration` to the AndroidOptions. This allows Hybrid SDKs to "freeze" and control the trace and connect errors on different layers of the application ([4188](https://github.com/getsentry/sentry-java/pull/4188))
11
+
- Move to a single NetworkCallback listener to reduce number of IPC calls on Android ([#4164](https://github.com/getsentry/sentry-java/pull/4164))
12
+
- Add GraphQL Apollo Kotlin 4 integration ([#4166](https://github.com/getsentry/sentry-java/pull/4166))
13
+
5
14
### Fixes
6
15
7
16
-`SentryOptions.setTracePropagationTargets` is no longer marked internal ([#4170](https://github.com/getsentry/sentry-java/pull/4170))
8
17
- Session Replay: Fix crash when a navigation breadcrumb does not have "to" destination ([#4185](https://github.com/getsentry/sentry-java/pull/4185))
18
+
- Session Replay: Cap video segment duration to maximum 5 minutes to prevent endless video encoding in background ([#4185](https://github.com/getsentry/sentry-java/pull/4185))
19
+
- Check `tracePropagationTargets` in OpenTelemetry propagator ([#4191](https://github.com/getsentry/sentry-java/pull/4191))
20
+
- If a URL can be retrieved from OpenTelemetry span attributes, we check it against `tracePropagationTargets` before attaching `sentry-trace` and `baggage` headers to outgoing requests
21
+
- If no URL can be retrieved we always attach the headers
22
+
- Fix `ignoredErrors`, `ignoredTransactions` and `ignoredCheckIns` being unset by external options like `sentry.properties` or ENV vars ([#4207](https://github.com/getsentry/sentry-java/pull/4207))
23
+
- Whenever parsing of external options was enabled (`enableExternalConfiguration`), which is the default for many integrations, the values set on `SentryOptions` passed to `Sentry.init` would be lost
24
+
- Even if the value was not set in any external configuration it would still be set to an empty list
9
25
10
26
### Behavioural Changes
11
27
@@ -115,7 +131,11 @@ Version 8 of the Sentry Android/Java SDK brings a variety of features and fixes.
115
131
- New `Scope` types have been introduced, see "Behavioural Changes" for more details.
116
132
- Lifecycle tokens have been introduced to manage `Scope` lifecycle, see "Behavioural Changes" for more details.
117
133
- Bumping `minSdk` level to 21 (Android 5.0)
118
-
- Our `sentry-opentelemetry-agent` has been improved and now works in combination with the rest of Sentry. You may now mix and match OpenTelemetry and Sentry API for instrumenting your application.
134
+
- Our `sentry-opentelemetry-agent` has been improved and now works in combination with the rest of Sentry. You may now combine OpenTelemetry and Sentry for instrumenting your application.
135
+
- You may now use both OpenTelemetry SDK and Sentry SDK to capture transactions and spans. They can also be mixed and end up on the same transaction.
136
+
- OpenTelemetry extends the Sentry SDK by adding spans for numerous integrations, like Ktor, Vert.x and MongoDB. Please check [the OpenTelemetry GitHub repository](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation) for a full list.
137
+
- OpenTelemetry allows propagating trace information from and to additional libraries, that Sentry did not support before, for example gRPC.
138
+
- OpenTelemetry also has broader support for propagating the Sentry `Scopes` through reactive libraries like RxJava.
119
139
- The SDK is now compatible with Spring Boot 3.4
120
140
- We now support GraphQL v22 (`sentry-graphql-22`)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,36 @@ To run the build and tests:
27
27
make compile
28
28
```
29
29
30
+
# Format
31
+
32
+
To format the changed code and make CI happy you can run:
33
+
34
+
```shell
35
+
make format
36
+
```
37
+
38
+
or
39
+
40
+
```shell
41
+
./gradlew spotlessApply
42
+
```
43
+
44
+
# Binary compatibility validation
45
+
46
+
To prevent breaking ABI changes and exposing things we should not, we make use of https://github.com/Kotlin/binary-compatibility-validator. If your change intended to introduce a new public method/property or modify the existing one you can overwrite the API declarations to make CI happy as follows (overwrites them from scratch):
47
+
48
+
```shell
49
+
make api
50
+
```
51
+
52
+
or
53
+
54
+
```shell
55
+
./gradlew apiDump
56
+
```
57
+
58
+
However, if your change did not intend to modify the public API, consider changing the method/property visibility or removing the change altogether.
59
+
30
60
# CI
31
61
32
62
Build and tests are automatically run against branches and pull requests
Copy file name to clipboardExpand all lines: sentry-android-core/src/main/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProvider.java
0 commit comments