From 9d05be371a48413890855a78730b46282152548b Mon Sep 17 00:00:00 2001 From: Tim Schneider <43130816+DerStimmler@users.noreply.github.com> Date: Thu, 13 Nov 2025 17:48:55 +0100 Subject: [PATCH 1/4] chore: add support for net10.0 --- .github/workflows/check.yml | 1 + .github/workflows/publish.yml | 1 + .github/workflows/test-version.yml | 1 + .../CSharpFunctionalExtensions.HttpResults.Tests.csproj | 2 +- .../CSharpFunctionalExtensions.HttpResults.csproj | 2 +- global.json | 2 +- 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d37f70d..65a930c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -31,6 +31,7 @@ jobs: 7 8 9.0.201 + 10.0.100 - name: Install .NET tools run: dotnet tool restore diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b30b53b..1b7df84 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,6 +31,7 @@ jobs: 7 8 9.0.201 + 10.0.100 - name: Install .NET tools run: dotnet tool restore diff --git a/.github/workflows/test-version.yml b/.github/workflows/test-version.yml index 6507774..236180d 100644 --- a/.github/workflows/test-version.yml +++ b/.github/workflows/test-version.yml @@ -27,6 +27,7 @@ jobs: 7 8 9.0.201 + 10.0.100 - name: Override CSharpFunctionalExtensions Version run: | diff --git a/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj b/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj index c2a6d64..0b0f0be 100644 --- a/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0;net9.0 + net7.0;net8.0;net9.0;net10.0 enable enable latest diff --git a/CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj b/CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj index ebfbd69..2076840 100644 --- a/CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj +++ b/CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj @@ -1,7 +1,7 @@  - net7.0;net8.0;net9.0 + net7.0;net8.0;net9.0;net10.0 enable enable latest diff --git a/global.json b/global.json index 039c683..6a6aeda 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.201", + "version": "10.0.100", "rollForward": "latestMinor", "allowPrerelease": false } From e662957e1032e67cc17231deb785078322bd2b4b Mon Sep 17 00:00:00 2001 From: Tim Schneider <43130816+DerStimmler@users.noreply.github.com> Date: Thu, 13 Nov 2025 17:50:04 +0100 Subject: [PATCH 2/4] chore: update projects to net10 --- .../CSharpFunctionalExtensions.HttpResults.Examples.csproj | 2 +- ...harpFunctionalExtensions.HttpResults.Generators.Tests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj b/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj index 8fb84cb..8bf074b 100644 --- a/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj b/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj index f4d3f35..d65344f 100644 --- a/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable false From 210fdf8f814edd1efd5fb2a95d79485737d713fc Mon Sep 17 00:00:00 2001 From: Tim Schneider <43130816+DerStimmler@users.noreply.github.com> Date: Thu, 13 Nov 2025 17:59:32 +0100 Subject: [PATCH 3/4] chore: update dependencies --- ...CSharpFunctionalExtensions.HttpResults.Examples.csproj | 8 ++++---- ...nctionalExtensions.HttpResults.Generators.Tests.csproj | 4 ++-- ...harpFunctionalExtensions.HttpResults.Generators.csproj | 2 +- .../CSharpFunctionalExtensions.HttpResults.Tests.csproj | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj b/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj index 8bf074b..18b0964 100644 --- a/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj @@ -7,10 +7,10 @@ - - - - + + + + diff --git a/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj b/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj index d65344f..c2e3521 100644 --- a/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj @@ -15,10 +15,10 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CSharpFunctionalExtensions.HttpResults.Generators/CSharpFunctionalExtensions.HttpResults.Generators.csproj b/CSharpFunctionalExtensions.HttpResults.Generators/CSharpFunctionalExtensions.HttpResults.Generators.csproj index 51dff7c..c3f2d3f 100644 --- a/CSharpFunctionalExtensions.HttpResults.Generators/CSharpFunctionalExtensions.HttpResults.Generators.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Generators/CSharpFunctionalExtensions.HttpResults.Generators.csproj @@ -21,7 +21,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj b/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj index 0b0f0be..babf0f4 100644 --- a/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj +++ b/CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 259a2711cfe049d8aac27cd8e2c0b44da060f2ec Mon Sep 17 00:00:00 2001 From: Tim Schneider <43130816+DerStimmler@users.noreply.github.com> Date: Thu, 13 Nov 2025 18:08:55 +0100 Subject: [PATCH 4/4] refactor: remove deprecated open api method --- .../Features/CRUD/BooksGroup.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/CSharpFunctionalExtensions.HttpResults.Examples/Features/CRUD/BooksGroup.cs b/CSharpFunctionalExtensions.HttpResults.Examples/Features/CRUD/BooksGroup.cs index 8d526de..0d75c66 100644 --- a/CSharpFunctionalExtensions.HttpResults.Examples/Features/CRUD/BooksGroup.cs +++ b/CSharpFunctionalExtensions.HttpResults.Examples/Features/CRUD/BooksGroup.cs @@ -13,7 +13,6 @@ public static IEndpointRouteBuilder MapBooksGroup(this IEndpointRouteBuilder end { endpointRouteBuilder .MapGroup("/books") - .WithOpenApi() .MapGetBooks() .MapFindBook() .MapFindBookCover()