diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c529435..8bdce359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.5.52 (06 April 2024) +- [#1091](https://github.com/WireMock-Net/WireMock.Net/pull/1091) - Add RegEx support to JsonMatcher [feature] contributed by [StefH](https://github.com/StefH) +- [#1088](https://github.com/WireMock-Net/WireMock.Net/issues/1088) - Regex support for JsonMatcher [feature] + # 1.5.51 (20 March 2024) - [#1085](https://github.com/WireMock-Net/WireMock.Net/pull/1085) - Fix FluentAssertions (actual body is not displayed in error message) [bug] contributed by [StefH](https://github.com/StefH) - [#1084](https://github.com/WireMock-Net/WireMock.Net/issues/1084) - FluentAssertions - Actual body is not displayed in error message when using Json Body [bug] diff --git a/Directory.Build.props b/Directory.Build.props index 600bb509..bf222fcf 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ - 1.5.51 + 1.5.52 WireMock.Net-Logo.png https://github.com/WireMock-Net/WireMock.Net Apache-2.0 diff --git a/Generate-ReleaseNotes.cmd b/Generate-ReleaseNotes.cmd index 9e95a1a4..9e154485 100644 --- a/Generate-ReleaseNotes.cmd +++ b/Generate-ReleaseNotes.cmd @@ -1,6 +1,6 @@ rem https://github.com/StefH/GitHubReleaseNotes -SET version=1.5.51 +SET version=1.5.52 GitHubReleaseNotes --output CHANGELOG.md --skip-empty-releases --exclude-labels question invalid doc duplicate example --version %version% --token %GH_TOKEN% diff --git a/PackageReleaseNotes.txt b/PackageReleaseNotes.txt index 85fc07b4..70b40852 100644 --- a/PackageReleaseNotes.txt +++ b/PackageReleaseNotes.txt @@ -1,5 +1,5 @@ -# 1.5.51 (20 March 2024) -- #1085 Fix FluentAssertions (actual body is not displayed in error message) [bug] -- #1084 FluentAssertions - Actual body is not displayed in error message when using Json Body [bug] +# 1.5.52 (06 April 2024) +- #1091 Add RegEx support to JsonMatcher [feature] +- #1088 Regex support for JsonMatcher [feature] The full release notes can be found here: https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md \ No newline at end of file diff --git a/src/WireMock.Net/Matchers/JsonMatcher.cs b/src/WireMock.Net/Matchers/JsonMatcher.cs index 5d1f7040..79cd3904 100644 --- a/src/WireMock.Net/Matchers/JsonMatcher.cs +++ b/src/WireMock.Net/Matchers/JsonMatcher.cs @@ -112,7 +112,7 @@ public class JsonMatcher : IJsonMatcher return true; } - // If input, return false. + // If input is null, return false. if (input == null) { return false;