Skip to content

Commit efdd38b

Browse files
committed
Add support for .NET 10
1 parent 951eea1 commit efdd38b

File tree

10 files changed

+22
-11
lines changed

10 files changed

+22
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A clear and concise description of what you expected to happen.
2525

2626
**Background (please complete the following information):**
2727
- Version of library: [e.g. 0.10]
28-
- Version of .NET: [e.g. 8.0]
28+
- Version of .NET: [e.g. 10.0]
2929

3030
**Additional context**
3131
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/vulnerability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A clear and concise description of what you expected to happen.
2525

2626
**Background (please complete the following information):**
2727
- Version of library: [e.g. 0.10]
28-
- Version of .NET: [e.g. 7.0]
28+
- Version of .NET: [e.g. 10.0]
2929

3030
**Additional context**
3131
Add any other context about the vulnerability here.

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dotnet-version: |
3030
8.0.x
3131
9.0.x
32+
10.0.x
3233
- name: Dump .NET info
3334
run: dotnet --info
3435
- name: Restore dotnet tools
@@ -80,6 +81,7 @@ jobs:
8081
dotnet-version: |
8182
8.0.x
8283
9.0.x
84+
10.0.x
8385
- name: Dump .NET info
8486
run: dotnet --info
8587
- name: Restore dependencies
@@ -100,7 +102,7 @@ jobs:
100102
uses: actions/setup-dotnet@v4
101103
with:
102104
dotnet-version: |
103-
9.0.x
105+
10.0.x
104106
- uses: actions/download-artifact@v4
105107
with:
106108
name: artifacts

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
dotnet-version: |
2929
8.0.x
3030
9.0.x
31+
10.0.x
3132
- name: Initialize CodeQL
3233
uses: github/codeql-action/init@v3
3334
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1010
- .NET Framework 4.6.2, 4.7.0 and 4.7.2, since these can't be tested using xUnit v3
1111
### Added
1212
- Support for .NET 9.0
13+
- support for .NET 10.0
1314

1415
## [0.11] - 2024-06-15
1516
### Removed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ The following versions are being actively tested and thus supported:
8484
- .NET Framework 4.7.2 and 4.8
8585
- .NET 8.0
8686
- .NET 9.0
87+
- .NET 10.0
8788

8889
These versions are supported as long as Microsoft supports them, we do our best to test and support newer versions as soon as possible.
8990

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk": {
3-
"version": "9.0.100",
3+
"version": "10.0.100",
44
"allowPrerelease": false,
5-
"rollForward": "latestMajor"
5+
"rollForward": "latestMinor"
66
}
77
}

src/TestableHttpClient/TestableHttpClient.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;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>

test/TestableHttpClient.IntegrationTests/TestableHttpClient.IntegrationTests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net48;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net8.0;net9.0;net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77

@@ -17,9 +17,15 @@
1717
</ItemGroup>
1818

1919
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
20-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[9.0.*,)" />
21-
<PackageReference Include="Microsoft.Extensions.Http" Version="[9.0.*,)" />
22-
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="[9.0.*,)" />
20+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[9.0.*,10.0.0)" />
21+
<PackageReference Include="Microsoft.Extensions.Http" Version="[9.0.*,10.0.0)" />
22+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="[9.0.*,10.0.0)" />
23+
</ItemGroup>
24+
25+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
26+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[10.0.*,)" />
27+
<PackageReference Include="Microsoft.Extensions.Http" Version="[10.0.*,)" />
28+
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="[10.0.*,)" />
2329
</ItemGroup>
2430

2531
<ItemGroup>

test/TestableHttpClient.Tests/TestableHttpClient.Tests.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>net472;net48;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net472;net48;net8.0;net9.0;net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)