Skip to content

Commit 87989d0

Browse files
Add support for System.Text.Json v10. (#7)
1 parent d0b90f3 commit 87989d0

4 files changed

Lines changed: 9 additions & 9 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Allows for [StrEnum](https://github.com/StrEnum/StrEnum/) string enum JSON serialization and deserialization with System.Text.Json.
44

5-
The package targets .NET Standard 2.0 and can be used with System.Text.Json 4.6.0-9.\*.
5+
The package targets .NET Standard 2.0 and can be used with System.Text.Json 4.6.0-10.\*.
66

77
## Installation
88

src/StrEnum.System.Text.Json/StrEnum.System.Text.Json.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="System.Text.Json" Version="[4.6.0,10.0.0)" />
21+
<PackageReference Include="System.Text.Json" Version="[4.6.0,11.0.0)" />
2222
<PackageReference Include="StrEnum" Version="[2.0.0,3.0.0)" />
2323
</ItemGroup>
2424

test/StrEnum.System.Text.Json.IntegrationTests/StrEnum.System.Text.Json.IntegrationTests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
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.NET.Test.Sdk" Version="17.14.1" />
13-
<PackageReference Include="StrEnum" Version="2.0.2" />
14-
<PackageReference Include="System.Text.Json" Version="8.0.5" />
11+
<PackageReference Include="FluentAssertions" Version="8.8.0" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
13+
<PackageReference Include="StrEnum" Version="2.0.3" />
14+
<PackageReference Include="System.Text.Json" Version="10.0.3" />
1515
<PackageReference Include="xunit" Version="2.9.3" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.1">
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>

0 commit comments

Comments
 (0)