From 085577292b93b1e1c6b99997c365adb80cbafbe1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 07:12:22 +0000 Subject: [PATCH 1/3] Initial plan From c870772b41488ac91bd96cecb7c8cd238e555d8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 07:16:20 +0000 Subject: [PATCH 2/3] Upgrade to .NET 10 with multitargeting for .NET 9 Co-authored-by: johnkors <206726+johnkors@users.noreply.github.com> --- .github/workflows/CI.yml | 2 +- .github/workflows/PreRelease.yml | 2 +- .github/workflows/Release.yml | 2 +- samples/With/With.csproj | 8 +++---- samples/Without/Without.csproj | 8 +++---- .../MinimalHttpLogger.csproj | 22 ++++++++++--------- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4a51353..cd94f5f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: dotnet restore source - run: dotnet build --no-restore source - run: dotnet test source /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --logger "GitHubActions;report-warnings=false" diff --git a/.github/workflows/PreRelease.yml b/.github/workflows/PreRelease.yml index f725d48..34a75be 100644 --- a/.github/workflows/PreRelease.yml +++ b/.github/workflows/PreRelease.yml @@ -21,6 +21,6 @@ jobs: useConfigFile: true - uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: dotnet pack source /p:Version=${{ steps.gitversion.outputs.NuGetVersionV2 }}-${{ steps.gitversion.outputs.ShortSha }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/$GITHUB_REPOSITORY/releases/tag/${{ steps.gitversion.outputs.NuGetVersionV2 }}" -o ./releases - run: dotnet nuget push ./releases/**/*.nupkg -k=${{ secrets.NUGETORGAPIKEY }} -s=nuget.org diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 26c0bad..176fbab 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -23,7 +23,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Pack run: dotnet pack source /p:Version=${{ steps.gitversion.outputs.majorMinorPatch }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/$GITHUB_REPOSITORY/releases/tag/${{ steps.gitversion.outputs.majorMinorPatch }}" -o ./releases - name: Publish diff --git a/samples/With/With.csproj b/samples/With/With.csproj index 02fa076..38f42b7 100644 --- a/samples/With/With.csproj +++ b/samples/With/With.csproj @@ -1,14 +1,14 @@ - net9.0 + net10.0 enable - - - + + + diff --git a/samples/Without/Without.csproj b/samples/Without/Without.csproj index 85cf14a..10b4f98 100644 --- a/samples/Without/Without.csproj +++ b/samples/Without/Without.csproj @@ -1,13 +1,13 @@ - net9.0 + net10.0 enable - - - + + + diff --git a/source/MinimalHttpLogger/MinimalHttpLogger.csproj b/source/MinimalHttpLogger/MinimalHttpLogger.csproj index 4e67efd..9779534 100644 --- a/source/MinimalHttpLogger/MinimalHttpLogger.csproj +++ b/source/MinimalHttpLogger/MinimalHttpLogger.csproj @@ -1,7 +1,7 @@ - net9.0 + net9.0;net10.0 enable latest enable @@ -16,16 +16,18 @@ https://github.com/johnkors/MinimalHttpLogging - - 9.0.0 - - - + + + + + + - - - - + + + + + From decda8747feee97ac594ce903fdc373ced1fbdea Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:58:37 +0000 Subject: [PATCH 3/3] Bump GitHub Actions to v5 (checkout and setup-dotnet) Co-authored-by: johnkors <206726+johnkors@users.noreply.github.com> --- .github/workflows/CI.yml | 4 ++-- .github/workflows/PreRelease.yml | 4 ++-- .github/workflows/Release.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cd94f5f..b37f788 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-dotnet@v5 with: dotnet-version: 10.0.x - run: dotnet restore source diff --git a/.github/workflows/PreRelease.yml b/.github/workflows/PreRelease.yml index 34a75be..22d1f76 100644 --- a/.github/workflows/PreRelease.yml +++ b/.github/workflows/PreRelease.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV @@ -19,7 +19,7 @@ jobs: id: gitversion with: useConfigFile: true - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v5 with: dotnet-version: 10.0.x - run: dotnet pack source /p:Version=${{ steps.gitversion.outputs.NuGetVersionV2 }}-${{ steps.gitversion.outputs.ShortSha }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/$GITHUB_REPOSITORY/releases/tag/${{ steps.gitversion.outputs.NuGetVersionV2 }}" -o ./releases diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 176fbab..8b9d611 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV @@ -21,7 +21,7 @@ jobs: with: useConfigFile: true - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 10.0.x - name: Pack