From 0a437f5c7c1e2a15ba1b831b723d1dd64f83b771 Mon Sep 17 00:00:00 2001 From: Dmytro Khmara Date: Wed, 11 Feb 2026 11:42:02 +0200 Subject: [PATCH] Add support for System.Text.Json v10. --- Dockerfile | 2 +- README.md | 2 +- .../StrEnum.System.Text.Json.csproj | 2 +- .../StrEnum.System.Text.Json.IntegrationTests.csproj | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc10951..414a300 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /source # copy csproj and restore as distinct layers diff --git a/README.md b/README.md index 13ae04f..99e2a57 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Allows for [StrEnum](https://github.com/StrEnum/StrEnum/) string enum JSON serialization and deserialization with System.Text.Json. -The package targets .NET Standard 2.0 and can be used with System.Text.Json 4.6.0-9.\*. +The package targets .NET Standard 2.0 and can be used with System.Text.Json 4.6.0-10.\*. ## Installation diff --git a/src/StrEnum.System.Text.Json/StrEnum.System.Text.Json.csproj b/src/StrEnum.System.Text.Json/StrEnum.System.Text.Json.csproj index 9007f73..495fe94 100644 --- a/src/StrEnum.System.Text.Json/StrEnum.System.Text.Json.csproj +++ b/src/StrEnum.System.Text.Json/StrEnum.System.Text.Json.csproj @@ -18,7 +18,7 @@ - + diff --git a/test/StrEnum.System.Text.Json.IntegrationTests/StrEnum.System.Text.Json.IntegrationTests.csproj b/test/StrEnum.System.Text.Json.IntegrationTests/StrEnum.System.Text.Json.IntegrationTests.csproj index f7f3523..b07dfca 100644 --- a/test/StrEnum.System.Text.Json.IntegrationTests/StrEnum.System.Text.Json.IntegrationTests.csproj +++ b/test/StrEnum.System.Text.Json.IntegrationTests/StrEnum.System.Text.Json.IntegrationTests.csproj @@ -1,19 +1,19 @@ - net9.0 + net10.0 enable false - - - - + + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all