From e2e83abeb514a5b0d2318ad1507d5996b0e29acf Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sun, 24 May 2026 10:21:02 +0200 Subject: [PATCH 1/2] Trusted Publishing (#1465) * Trusted Publishing * push: * " * pwsh * pack * push: * Trusted Publishing = OK --- .github/workflows/PublishToNuGet.yml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/PublishToNuGet.yml diff --git a/.github/workflows/PublishToNuGet.yml b/.github/workflows/PublishToNuGet.yml new file mode 100644 index 00000000..49bdc6f7 --- /dev/null +++ b/.github/workflows/PublishToNuGet.yml @@ -0,0 +1,40 @@ +name: Publish to NuGet + +on: + workflow_dispatch: + +jobs: + publish: + name: Build, Pack, and Publish + runs-on: windows-2022 + permissions: + id-token: write # enable GitHub OIDC token issuance for this job + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build projects + shell: pwsh + run: | + Get-ChildItem ./src -Recurse -Filter *.csproj | + ForEach-Object { + dotnet build $_.FullName -c Release + } + + - name: Pack projects + shell: pwsh + run: | + Get-ChildItem ./src -Recurse -Filter *.csproj | + ForEach-Object { + dotnet pack $_.FullName -c Release --no-build -o ./packages + } + + - name: NuGet login (OIDC → temp API key) + uses: NuGet/login@v1 + id: login + with: + user: ${{ secrets.NUGET_USER }} + + - name: Push to NuGet + run: dotnet nuget push "**/packages/*.nupkg" --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source "https://api.nuget.org/v3/index.json" --skip-duplicate \ No newline at end of file From fed1c87663e2cb7a2be3f841d3136c106301f5e4 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sun, 24 May 2026 10:25:30 +0200 Subject: [PATCH 2/2] 2.7.0 --- CHANGELOG.md | 11 +++++++++-- Directory.Build.props | 2 +- Generate-ReleaseNotes.cmd | 2 +- PackageReleaseNotes.txt | 9 ++++++--- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dee677c9..7c0bf410 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,23 @@ +# 2.7.0 (24 May 2026) +- [#1457](https://github.com/wiremock/WireMock.Net/pull/1457) - Update OpenTelemetry.Api from 1.14.0 to 1.15.3 in unit test project [dependencies] contributed by [dependabot[bot]](https://github.com/apps/dependabot) +- [#1459](https://github.com/wiremock/WireMock.Net/pull/1459) - chore: update Handlebars 2.5.2 to 2.5.5 [dependencies] contributed by [kamisoft-fr](https://github.com/kamisoft-fr) +- [#1461](https://github.com/wiremock/WireMock.Net/pull/1461) - Update Testcontainers nuget package to 4.12.0 [dependencies] contributed by [MD-V](https://github.com/MD-V) +- [#1462](https://github.com/wiremock/WireMock.Net/pull/1462) - Update Scriban.Signed to latest [dependencies] contributed by [StefH](https://github.com/StefH) +- [#1458](https://github.com/wiremock/WireMock.Net/issues/1458) - update Handlebars Humanizer package version [feature] + # 2.6.0 (11 May 2026) - [#1455](https://github.com/wiremock/WireMock.Net/pull/1455) - Fix request storing when RequestLogExpirationDuration is set [bug] [bug] contributed by [pbenko-xitaso](https://github.com/pbenko-xitaso) - [#1454](https://github.com/wiremock/WireMock.Net/issues/1454) - No requests stored in Standalone when RequestLogExpirationDuration is set [bug] # 2.5.0 (04 May 2026) - [#1451](https://github.com/wiremock/WireMock.Net/pull/1451) - Feature/early mismatch [feature] contributed by [Stepami](https://github.com/Stepami) -- [#1452](https://github.com/wiremock/WireMock.Net/pull/1452) - Bump log4net from 2.0.15 to 3.3.0 in example console app [dependencies, .NET] contributed by [dependabot[bot]](https://github.com/apps/dependabot) +- [#1452](https://github.com/wiremock/WireMock.Net/pull/1452) - Bump log4net from 2.0.15 to 3.3.0 in example console app [dependencies] contributed by [dependabot[bot]](https://github.com/apps/dependabot) - [#1453](https://github.com/wiremock/WireMock.Net/pull/1453) - Fix CVE-2026-40021: upgrade log4net to 3.3.0 in examples/WireMock.Net.Service/packages.config [dependencies] contributed by [Copilot](https://github.com/apps/copilot-swe-agent) - [#1442](https://github.com/wiremock/WireMock.Net/issues/1442) - Bug: [grpc] WithBodyAsProtoBuf exception on match [bug] # 2.4.0 (24 April 2026) - [#1437](https://github.com/wiremock/WireMock.Net/pull/1437) - Added feature to enable and disable mappings [feature] contributed by [jayaraman-venkatesan](https://github.com/jayaraman-venkatesan) -- [#1450](https://github.com/wiremock/WireMock.Net/pull/1450) - Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.14.0 to 1.15.x [dependencies, .NET] contributed by [dependabot[bot]](https://github.com/apps/dependabot) +- [#1450](https://github.com/wiremock/WireMock.Net/pull/1450) - Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.14.0 to 1.15.x [dependencies] contributed by [dependabot[bot]](https://github.com/apps/dependabot) - [#1421](https://github.com/wiremock/WireMock.Net/issues/1421) - Deactivate mapping without deleting it [feature] # 2.3.0 (20 April 2026) diff --git a/Directory.Build.props b/Directory.Build.props index c7aa4b47..0c7b9a0f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ - 2.6.0 + 2.7.0 WireMock.Net-Logo.png https://github.com/wiremock/WireMock.Net Apache-2.0 diff --git a/Generate-ReleaseNotes.cmd b/Generate-ReleaseNotes.cmd index dfda97ef..4377e5e6 100644 --- a/Generate-ReleaseNotes.cmd +++ b/Generate-ReleaseNotes.cmd @@ -1,6 +1,6 @@ rem https://github.com/StefH/GitHubReleaseNotes -SET version=2.6.0 +SET version=2.7.0 GitHubReleaseNotes --output CHANGELOG.md --skip-empty-releases --exclude-labels wontfix test question invalid doc duplicate example environment --version %version% --token %GH_TOKEN% diff --git a/PackageReleaseNotes.txt b/PackageReleaseNotes.txt index 8b963ea2..09b40f1b 100644 --- a/PackageReleaseNotes.txt +++ b/PackageReleaseNotes.txt @@ -1,5 +1,8 @@ -# 2.6.0 (11 May 2026) -- #1455 Fix request storing when RequestLogExpirationDuration is set [bug] [bug] -- #1454 No requests stored in Standalone when RequestLogExpirationDuration is set [bug] +# 2.7.0 (24 May 2026) +- #1457 Update OpenTelemetry.Api from 1.14.0 to 1.15.3 in unit test project [dependencies] +- #1459 chore: update Handlebars 2.5.2 to 2.5.5 [dependencies] +- #1461 Update Testcontainers nuget package to 4.12.0 [dependencies] +- #1462 Update Scriban.Signed to latest [dependencies] +- #1458 update Handlebars Humanizer package version [feature] The full release notes can be found here: https://github.com/wiremock/WireMock.Net/blob/master/CHANGELOG.md \ No newline at end of file