Skip to content

Commit 15b94b7

Browse files
chore(deps): update .NET SDK to v5.15.0 (#2315)
1 parent dde8dc6 commit 15b94b7

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
### Dependencies
2727

28-
- Bump .NET SDK from v5.12.0 to v5.14.1 ([#2259](https://github.com/getsentry/sentry-unity/pull/2259), [#2274](https://github.com/getsentry/sentry-unity/pull/2274), [#2291](https://github.com/getsentry/sentry-unity/pull/2291))
29-
- [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#5141)
30-
- [diff](https://github.com/getsentry/sentry-dotnet/compare/5.12.0-14-g25a894dd...5.14.1)
28+
- Bump .NET SDK from v5.12.0 to v5.15.0 ([#2259](https://github.com/getsentry/sentry-unity/pull/2259), [#2274](https://github.com/getsentry/sentry-unity/pull/2274), [#2291](https://github.com/getsentry/sentry-unity/pull/2291), [#2315](https://github.com/getsentry/sentry-unity/pull/2315))
29+
- [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#5150)
30+
- [diff](https://github.com/getsentry/sentry-dotnet/compare/5.12.0-14-g25a894dd...5.15.0)
3131
- Bump Cocoa SDK from v8.51.0 to v8.54.0 ([#2265](https://github.com/getsentry/sentry-unity/pull/2265))
3232
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8540)
3333
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.51.0...8.54.0)

src/sentry-dotnet

Submodule sentry-dotnet updated 89 files

test/Sentry.Unity.Tests/SentryUnityOptionsTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ public void Ctor_Environment_IsNull(bool isEditor, bool isBuilding, string expec
4242
[TestCase(false, "some/path", null)]
4343
public void Ctor_IfPlatformIsKnown_SetsCacheDirectoryPath(bool isKnownPlatform, string applicationDataPath, string? expectedCacheDirectoryPath)
4444
{
45-
// Picking a platform based on whether it is supported or not
45+
// Picking obsolete CloudRendering because it won't accidentally be supported
46+
#pragma warning disable CS0618 // CloudRendering obsolete
4647
_fixture.Application.Platform = isKnownPlatform ? RuntimePlatform.LinuxPlayer : RuntimePlatform.CloudRendering;
48+
#pragma warning restore CS0618 // CloudRendering is obsolete
4749
_fixture.Application.PersistentDataPath = applicationDataPath;
4850

4951
var sut = _fixture.GetSut();

test/Sentry.Unity.Tests/SentryUnityTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ public void ConfigureUnsupportedPlatformFallbacks()
184184
DisableFileWrite = false,
185185
AutoSessionTracking = true
186186
};
187+
// Picking obsolete CloudRendering because it won't accidentally be supported
188+
#pragma warning disable CS0618 // CloudRendering obsolete
187189
const RuntimePlatform unsupportedPlatform = RuntimePlatform.CloudRendering;
190+
#pragma warning restore CS0618 // CloudRendering is obsolete
188191

189192
SentryUnitySdk.ConfigureUnsupportedPlatformFallbacks(options, unsupportedPlatform);
190193

0 commit comments

Comments
 (0)