Skip to content

Commit cb0a35c

Browse files
Drop support for EOL TFMs (#3807)
1 parent 9c7854f commit cb0a35c

File tree

53 files changed

+1084
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1084
-110
lines changed

.github/actions/environment/action.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,12 @@ runs:
5656
brew link --overwrite mono
5757
5858
- name: Install .NET SDK
59-
if: runner.os != 'Windows'
6059
uses: actions/setup-dotnet@v4
6160
with:
6261
dotnet-version: |
63-
6.0.x
64-
7.0.x
6562
8.0.x
6663
9.0.100
6764
68-
- name: Install .NET 9
69-
if: runner.os == 'Windows'
70-
uses: actions/setup-dotnet@v4
71-
with:
72-
dotnet-version: |
73-
9.0.100
74-
7565
- name: Install .NET Workloads
7666
shell: bash
7767
run: >

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### API Changes
66

7+
- Removed net6.0 and net7.0 TFMs as Microsoft has stopped supporting both of these now. If you need to target net6.0 or net7.0 then we recommend using version 4.x of the .NET SDK for Sentry. ([#3807](https://github.com/getsentry/sentry-dotnet/pull/3807))
78
- Temporarily removed experimental Session Replay support ([#3827](https://github.com/getsentry/sentry-dotnet/pull/3827))
89

910
### Fixes

src/Sentry.Android.AssemblyReader/Sentry.Android.AssemblyReader.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

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
55
<Description>.NET assembly reader for Android</Description>
66
</PropertyGroup>
77

src/Sentry.AspNetCore.Blazor.WebAssembly/Sentry.AspNetCore.Blazor.WebAssembly.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
55
<RootNamespace>Sentry.AspNetCore.Blazor.WebAssembly</RootNamespace>
66
</PropertyGroup>
77

@@ -10,8 +10,8 @@
1010
<ProjectReference Include="..\Sentry\Sentry.csproj" />
1111
</ItemGroup>
1212

13-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
14-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.30" />
13+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
14+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
1515
</ItemGroup>
1616

1717
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">

src/Sentry.AspNetCore.Grpc/Sentry.AspNetCore.Grpc.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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<PackageTags>$(PackageTags);AspNetCore;gRPC</PackageTags>
66
<Description>Official ASP.NET Core gRPC integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.AspNetCore/Sentry.AspNetCore.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

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
55
<PackageTags>$(PackageTags);AspNetCore;MVC</PackageTags>
66
<Description>Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.Azure.Functions.Worker/Sentry.Azure.Functions.Worker.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
55
<PackageTags>$(PackageTags);Azure;Functions;Worker</PackageTags>
66
<Description>Official Azure Functions Worker SDK integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>
@@ -16,7 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.9.0" />
19+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.0.0" />
2020
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.12" />
2121
</ItemGroup>
2222

src/Sentry.Extensions.Logging/Sentry.Extensions.Logging.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net8.0;netstandard2.0</TargetFrameworks>
55
<PackageTags>$(PackageTags);Logging;Microsoft.Extensions.Logging</PackageTags>
66
<Description>Official Microsoft.Extensions.Logging integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>
@@ -20,17 +20,18 @@
2020
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
2121
</ItemGroup>
2222

23-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
24-
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="6.0.0" />
25-
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
26-
</ItemGroup>
27-
2823
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
2924
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
3025
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="8.0.0" />
3126
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
3227
</ItemGroup>
3328

29+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
30+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
31+
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="9.0.0" />
32+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
33+
</ItemGroup>
34+
3435
<ItemGroup>
3536
<InternalsVisibleTo Include="Sentry.AspNetCore" PublicKey="$(SentryPublicKey)" />
3637
<InternalsVisibleTo Include="Sentry.AspNetCore.Blazor.WebAssembly" PublicKey="$(SentryPublicKey)" />

src/Sentry.Google.Cloud.Functions/Sentry.Google.Cloud.Functions.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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<PackageTags>$(PackageTags);GCP;Google Cloud Functions</PackageTags>
66
<Description>Official Google Cloud Functions integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
77
</PropertyGroup>

src/Sentry.Hangfire/Sentry.Hangfire.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Official Hangfire integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.</Description>
55
<PackageTags>$(PackageTags);Hangfire</PackageTags>
6-
<TargetFrameworks>net8.0;net6.0;net462</TargetFrameworks>
6+
<TargetFrameworks>net9.0;net8.0;net462</TargetFrameworks>
77
<ImplicitUsings>enable</ImplicitUsings>
88
</PropertyGroup>
99

0 commit comments

Comments
 (0)