Skip to content

Bump WireMock.Net from 2.7.0 to 2.8.0#36

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/nuget/src/Tests/IntegrationTests/WireMock.Net-2.8.0
Jun 11, 2026
Merged

Bump WireMock.Net from 2.7.0 to 2.8.0#36
github-actions[bot] merged 2 commits into
mainfrom
dependabot/nuget/src/Tests/IntegrationTests/WireMock.Net-2.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Updated WireMock.Net from 2.7.0 to 2.8.0.

Release notes

Sourced from WireMock.Net's releases.

2.8.0

What's Changed

Full Changelog: wiremock/WireMock.Net@2.7.0...2.8.0

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: WireMock.Net
  dependency-version: 2.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 3, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 3, 2026 23:53
@dependabot dependabot Bot added the .NET Pull requests that update .NET code label Jun 3, 2026
@github-actions github-actions Bot enabled auto-merge (squash) June 3, 2026 23:53
WireMock.Net 2.8.0 changed JsonMatcher's handling of date-valued
strings, so the `"lastChecked": "0001-01-01T00:00:00"` field in the two
POST /vcs-roots stub patterns no longer matched the (byte-identical)
serialized request body. WireMock then returned 404 "No matching
mapping found", failing it_create_new_vsc and
it_throws_exception_create_new_vsc_forbidden.

Switch the body matchers to JsonPartialMatcher and drop the volatile
lastChecked field. The remaining fields still pin the request; partial
matching tolerates the extra serialized field and avoids parsing a date
in the pattern.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot merged commit 2cb19f1 into main Jun 11, 2026
3 checks passed
@matt-richardson

Copy link
Copy Markdown
Contributor

Pushed a fix for the failing CI build (commit 31eb557).

Why it failed: WireMock.Net 2.8.0 changed how JsonMatcher compares date-valued strings. The two POST /httpAuth/app/rest/vcs-roots stubs matched the request body on "lastChecked": "0001-01-01T00:00:00". Even though the serialized request body is byte-identical to the pattern, 2.8.0's matcher no longer treated it as a match, so WireMock returned 404 No matching mapping found. The client then threw HttpException, failing it_create_new_vsc and it_throws_exception_create_new_vsc_forbidden.

Fix: Switched both stubs' body matcher from JsonMatcher to JsonPartialMatcher and dropped the volatile lastChecked field. The remaining fields still pin the request; partial matching tolerates the extra serialized field and avoids parsing a date in the pattern.

Verified locally against WireMock.Net 2.8.0 — full integration suite: 127 passed, 8 skipped (pre-existing), 0 failed.

@dependabot dependabot Bot deleted the dependabot/nuget/src/Tests/IntegrationTests/WireMock.Net-2.8.0 branch June 11, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant