A new major release that introduces a lot of new features, enhancements and also some breaking changes. The key changes include support for Java 17, dropping Java 8 support, new matchers and dynamic response macros, new API endpoints, etc. We’ve made a small number of breaking changes to the Java API plus some behavioural changes, but the JSON (REST and file) API remains fully compatible with 2.x.
NOTE: A blog post with the user-friendly summary and migration guidelines is coming soon!
Thanks to all contributors! The changelog below represents key changes between 2.35.0 and 3.0.0. The full list of changes is available below in the collapsed section.
WARNING: There are known issues in the WireMock 3.0.0 release. Please be careful when updating, and see the Errata below
Upgrade guide
If you aren’t using WireMock 2.35.0, upgrade to this version first
If you use WireMock Standalone, backup your configurations, logs and other information you might need in the future, just in case the - upgrade goes wrong
If you use any WireMock extensions, private source or open source ones, ensure they are compatible with WireMock 3 by checking this GitHub Issue, documentation and the integration tests. If you discover any incompatible extension, please raise a bug in [wiremock/wiremock/issues (https://github.com/wiremock/wiremock/issues) or comment in [wiremock/wiremock #2323](https://redirect.github.com/wiremock/wiremock/issues/2323), We will triage and route it accordingly
If you use Java 8 on the instance, update to Java 11 or Java 17
Update WireMock to the most recent release of WireMock 3
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show 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)
Bumps com.github.tomakehurst:wiremock-jre8 from 2.35.0 to 3.0.0.
Release notes
Sourced from com.github.tomakehurst:wiremock-jre8's releases.
... (truncated)
Commits
00b664a
Changed version to 3.0.06072223
Merge pull request #2319 from wiremock/dependabot/gradle/org.mockito-mockito-...471d454
Bump org.mockito:mockito-junit-jupiter from 5.4.0 to 5.5.051700a4
Merge pull request #2320 from wiremock/dependabot/gradle/org.mockito-mockito-...dfa98bc
Bump org.mockito:mockito-core from 5.4.0 to 5.5.0fddb5d7
Merge pull request #2315 from wiremock/restore-old-edit-task-for-backwards-co...c85522b
Fixed some formattingc400e5b
Bumped beta version489153a
Restored old edit method to keep 2.x client compatible with 3.x3712b59
Merge pull request #2314 from pks-1981/proxyDependabot 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show