Skip to content

Commit 7b5ec7f

Browse files
Add .NET 10 support. (#5)
1 parent 040e649 commit 7b5ec7f

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
22
WORKDIR /source
33

44
# copy csproj and restore as distinct layers

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Allows to use [StrEnum](https://github.com/StrEnum/StrEnum/) string enums with ASP.NET Core.
44

5-
Supports ASP.NET Core 6, 7, 8, and 9.
5+
Supports ASP.NET Core 6-10.
66

77
ASP.NET Core 5 supported in v2.0.0.
88

@@ -91,6 +91,6 @@ public ActionResult<ResponseWithStrEnum> GetFromQuery([FromQuery] Sport[] sports
9191

9292
## License
9393

94-
Copyright &copy; 2025 [Dmytro Khmara](https://dmytrokhmara.com).
94+
Copyright &copy; 2026 [Dmytro Khmara](https://dmytrokhmara.com).
9595

9696
StrEnum is licensed under the [MIT license](LICENSE.txt).

src/StrEnum.AspNetCore/StrEnum.AspNetCore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<RepositoryType>git</RepositoryType>
1313
<RepositoryUrl>https://github.com/StrEnum/StrEnum</RepositoryUrl>
1414

15-
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
15+
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
1616
<ImplicitUsings>enable</ImplicitUsings>
1717
<LangVersion>10.0</LangVersion>
1818
<Nullable>enable</Nullable>
1919
</PropertyGroup>
2020

2121
<ItemGroup>
2222
<PackageReference Include="StrEnum" Version="[2.0.0,3.0.0)" />
23-
<PackageReference Include="StrEnum.System.Text.Json" Version="[2.1.1,10.0.0)" />
23+
<PackageReference Include="StrEnum.System.Text.Json" Version="[2.3.0,3.0.0)" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

test/StrEnum.AspNetCore.IntegrationTests/StrEnum.AspNetCore.IntegrationTests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66

77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="FluentAssertions" Version="8.4.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" />
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
11+
<PackageReference Include="FluentAssertions" Version="8.8.0" />
12+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.3" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1414
<PackageReference Include="xunit" Version="2.9.3" />
15-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.1">
15+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
<PrivateAssets>all</PrivateAssets>
1818
</PackageReference>

0 commit comments

Comments
 (0)