Skip to content

Commit b7e5b14

Browse files
chore(deps): update .NET SDK to v5.0.0 (#1940)
1 parent 2b5279e commit b7e5b14

File tree

5 files changed

+26
-3
lines changed

5 files changed

+26
-3
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ jobs:
8484
run: ./scripts/ci-docker.sh '${{ matrix.unity-version }}' 'ios' '${{ secrets.UNITY_LICENSE_SERVER_CONFIG }}'
8585
shell: bash
8686

87+
- name: Install .NET SDK
88+
if: runner.os != 'Windows'
89+
uses: actions/setup-dotnet@v4
90+
with:
91+
dotnet-version: |
92+
9.0.100
93+
8794
# Required by sentry-dotnet since 3.19.0
8895
- name: Install Android dotnet workflow
8996
run: dotnet workload install android --temp-dir "${{ runner.temp }}"

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ The initialization behaviour is controlled by `IosNativeInitializationType` and
1313

1414
### Dependencies
1515

16+
- Bump .NET SDK from v4.13.0 to v5.0.0 ([#1940](https://github.com/getsentry/sentry-unity/pull/1940))
17+
- [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#500)
18+
- [diff](https://github.com/getsentry/sentry-dotnet/compare/4.13.0...5.0.0)
1619
- Bump CLI from v2.39.0 to v2.39.1 ([#1922](https://github.com/getsentry/sentry-unity/pull/1922))
1720
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2391)
1821
- [diff](https://github.com/getsentry/sentry-cli/compare/2.39.0...2.39.1)

Sentry.Unity.sln

+15
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Unity.Android.Tests"
4545
EndProject
4646
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Unity.Native", "src\Sentry.Unity.Native\Sentry.Unity.Native.csproj", "{F291F324-D17C-4732-9E54-099D326B0929}"
4747
EndProject
48+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Analyzers", "src\sentry-dotnet\src\Sentry.Analyzers\Sentry.Analyzers.csproj", "{C1798B72-5382-4C13-96F0-EAFDA28428F0}"
49+
EndProject
4850
Global
4951
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5052
Debug|Any CPU = Debug|Any CPU
@@ -199,6 +201,18 @@ Global
199201
{F291F324-D17C-4732-9E54-099D326B0929}.Release|x64.Build.0 = Release|Any CPU
200202
{F291F324-D17C-4732-9E54-099D326B0929}.Release|x86.ActiveCfg = Release|Any CPU
201203
{F291F324-D17C-4732-9E54-099D326B0929}.Release|x86.Build.0 = Release|Any CPU
204+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
205+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
206+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|x64.ActiveCfg = Debug|Any CPU
207+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|x64.Build.0 = Debug|Any CPU
208+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|x86.ActiveCfg = Debug|Any CPU
209+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Debug|x86.Build.0 = Debug|Any CPU
210+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
211+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|Any CPU.Build.0 = Release|Any CPU
212+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|x64.ActiveCfg = Release|Any CPU
213+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|x64.Build.0 = Release|Any CPU
214+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|x86.ActiveCfg = Release|Any CPU
215+
{C1798B72-5382-4C13-96F0-EAFDA28428F0}.Release|x86.Build.0 = Release|Any CPU
202216
EndGlobalSection
203217
GlobalSection(SolutionProperties) = preSolution
204218
HideSolutionNode = FALSE
@@ -219,5 +233,6 @@ Global
219233
{35A9BDB0-253E-4753-9D47-99CE6AAA4F07} = {36979A3D-4741-4D8A-82BF-4010474388E1}
220234
{DC954ED7-3DFA-4197-B511-202CB70AA816} = {6A85CE0A-6FE4-4190-ABEE-7E8BCFF9AF4D}
221235
{F291F324-D17C-4732-9E54-099D326B0929} = {36979A3D-4741-4D8A-82BF-4010474388E1}
236+
{C1798B72-5382-4C13-96F0-EAFDA28428F0} = {36979A3D-4741-4D8A-82BF-4010474388E1}
222237
EndGlobalSection
223238
EndGlobal

src/sentry-dotnet

Submodule sentry-dotnet updated 405 files

test/Sentry.Unity.Tests/Stubs/TestHub.cs

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ internal sealed class TestHub : IHub
1616
public TestHub(bool isEnabled = true)
1717
{
1818
IsEnabled = isEnabled;
19-
Metrics = null!; // TODO: Don't do it like that
2019
}
2120
public bool IsEnabled { get; }
2221

@@ -100,7 +99,6 @@ public void WithScope(Action<Scope> scopeCallback)
10099
}
101100

102101
public SentryId LastEventId { get; }
103-
public IMetricAggregator Metrics { get; }
104102

105103
public ITransactionTracer StartTransaction(ITransactionContext context, IReadOnlyDictionary<string, object?> customSamplingContext)
106104
{

0 commit comments

Comments
 (0)