diff --git a/CHANGELOG.md b/CHANGELOG.md index dac4f24d..230dce99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 2.20.0 (19 October 2026) +- [#1516](https://github.com/wiremock/WireMock.Net/pull/1516) - Add ScribanRegistrationCallback to register custom Scriban functions [feature] contributed by [Quattordici](https://github.com/Quattordici) +- [#1519](https://github.com/wiremock/WireMock.Net/pull/1519) - Bump MessagePack from 2.5.302 to 2.5.303 [dependencies] contributed by [StefH](https://github.com/StefH) +- [#1522](https://github.com/wiremock/WireMock.Net/pull/1522) - Downgrade JsonPath.Net from 3.0.2 to 2.2.0 to avoid Open Source Maintenance Fee issues [dependencies] contributed by [StefH](https://github.com/StefH) +- [#1523](https://github.com/wiremock/WireMock.Net/pull/1523) - Fix workflow permissions contributed by [StefH](https://github.com/StefH) +- [#1515](https://github.com/wiremock/WireMock.Net/issues/1515) - Allow registering custom Scriban functions (ScribanRegistrationCallback), like HandlebarsRegistrationCallback [feature] + # 2.19.0 (07 October 2026) - [#1512](https://github.com/wiremock/WireMock.Net/pull/1512) - Use IDateTimeUtils in WireMockWebSocketContext [bug] contributed by [StefH](https://github.com/StefH) - [#1514](https://github.com/wiremock/WireMock.Net/pull/1514) - Fix DateTime in Response [bug] contributed by [StefH](https://github.com/StefH) diff --git a/Directory.Build.props b/Directory.Build.props index 3c7ff66d..9fdec42e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ - 2.19.0 + 2.20.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 19fad88e..bc5c98b9 100644 --- a/Generate-ReleaseNotes.cmd +++ b/Generate-ReleaseNotes.cmd @@ -1,7 +1,17 @@ rem https://github.com/StefH/GitHubReleaseNotes -SET version=2.19.0 +@echo off +setlocal + +for /f "usebackq delims=" %%v in (`powershell -NoProfile -Command "[xml]$props = Get-Content 'Directory.Build.props'; $props.Project.PropertyGroup | ForEach-Object { $_.VersionPrefix } | Where-Object { $_ } | Select-Object -First 1"`) do set version=%%v + +if "%version%"=="" ( + echo Unable to determine VersionPrefix from Directory.Build.props. + exit /b 1 +) GitHubReleaseNotes --output CHANGELOG.md --skip-empty-releases --exclude-labels wontfix test question invalid doc duplicate example environment --version %version% --token %GH_TOKEN% +if errorlevel 1 exit /b %errorlevel% -GitHubReleaseNotes --output PackageReleaseNotes.txt --skip-empty-releases --exclude-labels wontfix test question invalid doc duplicate example environment --template PackageReleaseNotes.template --version %version% --token %GH_TOKEN% \ No newline at end of file +GitHubReleaseNotes --output PackageReleaseNotes.txt --skip-empty-releases --exclude-labels wontfix test question invalid doc duplicate example environment --template PackageReleaseNotes.template --version %version% --token %GH_TOKEN% +if errorlevel 1 exit /b %errorlevel% \ No newline at end of file diff --git a/PackageReleaseNotes.txt b/PackageReleaseNotes.txt index 877be2da..b51ad166 100644 --- a/PackageReleaseNotes.txt +++ b/PackageReleaseNotes.txt @@ -1,6 +1,8 @@ -# 2.19.0 (07 October 2026) -- #1512 Use IDateTimeUtils in WireMockWebSocketContext [bug] -- #1514 Fix DateTime in Response [bug] -- #1511 Incorrect response datetime for mapped response [bug] +# 2.20.0 (19 October 2026) +- #1516 Add ScribanRegistrationCallback to register custom Scriban functions [feature] +- #1519 Bump MessagePack from 2.5.302 to 2.5.303 [dependencies] +- #1522 Downgrade JsonPath.Net from 3.0.2 to 2.2.0 to avoid Open Source Maintenance Fee issues [dependencies] +- #1523 Fix workflow permissions +- #1515 Allow registering custom Scriban functions (ScribanRegistrationCallback), like HandlebarsRegistrationCallback [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