Skip to content

Commit 3888939

Browse files
authored
Merge branch 'main' into fix/mac-catalyst-pdb
2 parents 8f432d1 + 64de9b6 commit 3888939

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ jobs:
226226

227227
- name: Upload code coverage
228228
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
229+
with:
230+
token: ${{ secrets.CODECOV_TOKEN }}
229231

230232
- name: Upload build and test outputs
231233
if: failure()

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- `InvalidOperationException` potentially thrown during a race condition, especially in concurrent high-volume logging scenarios ([#4428](https://github.com/getsentry/sentry-dotnet/pull/4428))
1717
- Blocking calls are no longer treated as unhandled crashes ([#4458](https://github.com/getsentry/sentry-dotnet/pull/4458))
1818
- Only apply Session Replay masks to specific control types when necessary to avoid performance issues in MAUI apps with complex UIs ([#4445](https://github.com/getsentry/sentry-dotnet/pull/4445))
19+
- De-duplicate Java.Lang.RuntimeException on Android ([#4509](https://github.com/getsentry/sentry-dotnet/pull/4509))
1920
- Upload linked PDB to fix symbolication for Mac Catalyst ([#4503](https://github.com/getsentry/sentry-dotnet/pull/4503))
2021

2122
### Dependencies
@@ -29,9 +30,9 @@
2930
- Bump CLI from v2.52.0 to v2.53.0 ([#4486](https://github.com/getsentry/sentry-dotnet/pull/4486))
3031
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2530)
3132
- [diff](https://github.com/getsentry/sentry-cli/compare/2.52.0...2.53.0)
32-
- Bump Java SDK from v8.6.0 to v8.20.0 ([#4496](https://github.com/getsentry/sentry-dotnet/pull/4496))
33-
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8200)
34-
- [diff](https://github.com/getsentry/sentry-java/compare/8.6.0...8.20.0)
33+
- Bump Java SDK from v8.6.0 to v8.21.1 ([#4496](https://github.com/getsentry/sentry-dotnet/pull/4496), [#4502](https://github.com/getsentry/sentry-dotnet/pull/4502), [#4508](https://github.com/getsentry/sentry-dotnet/pull/4508))
34+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8211)
35+
- [diff](https://github.com/getsentry/sentry-java/compare/8.6.0...8.21.1)
3536

3637
## 5.14.1
3738

src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0-android34.0;net9.0-android35.0</TargetFrameworks>
4-
<SentryAndroidSdkVersion>8.20.0</SentryAndroidSdkVersion>
4+
<SentryAndroidSdkVersion>8.21.1</SentryAndroidSdkVersion>
55
<SentryAndroidSdkDirectory>$(BaseIntermediateOutputPath)sdks\$(TargetFramework)\Sentry\Android\$(SentryAndroidSdkVersion)\</SentryAndroidSdkDirectory>
66
<!-- This gets resolved by the DownloadSentryAndroidSdk target -->
77
<SentryNativeNdkVersion></SentryNativeNdkVersion>

src/Sentry/Platforms/Android/SentrySdk.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ private static void InitSentryAndroidSdk(SentryOptions options)
177177
options.CrashedLastRun = () => JavaSdk.Sentry.IsCrashedLastRun()?.BooleanValue() is true;
178178
options.EnableScopeSync = true;
179179
options.ScopeObserver = new AndroidScopeObserver(options);
180+
// Don't capture Java Runtime exceptions in the managed SDK, since we already capture them in the native SDK
181+
options.AddExceptionFilterForType<Java.Lang.RuntimeException>();
180182

181183
// TODO: Pause/Resume
182184
}

0 commit comments

Comments
 (0)