Bump com.github.tomakehurst:wiremock-jre8 from 2.25.1 to 3.0.1
Bumps com.github.tomakehurst:wiremock-jre8 from 2.25.1 to 3.0.1.
Release notes
Sourced from com.github.tomakehurst:wiremock-jre8's releases.
3.0.1
🐛 Bug fixes
- Stop returning 500s for unmatched path patterns (#2339)
@Mahoney- Ensure that the shadow JAR is always built last to ensure webhooks fat JAR wins (#2344)
@tomakehurst- Added validation of UUIDs in path parameters in the admin API so that clearer errors are reported when non UUIDs are provided or item isn't found rather than throwing a 500 error (#2347)
@tomakehurst- Respect StopAction in V1 Filter (#2335)
@MahoneyThanks to the regression reporters:
@defnngj,@oleg-nenashev,@MahoneyWireMock 3.0.0
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
This guide assumes you would be upgrading from WireMock 2.35.0 to 3.1.0
- 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 the WireMock Webhooks Extension, delete the dependency on it and the downloads. Now the extension is a part of the WireMock core
- 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
🚀 New features and improvements
- Matching and response templating:
- JSON matching via
matchesJsonSchema()@kapishmalik- Form parameter matching support (#2157)
@kapishmaliknot()matcher that inverts other matchers (#2006)@SatyamAK- Support for multi-stub mapping files to the remote loader function (#2198)
@DjerohN- Support for Java time when serialising to/from JSON (#2130 )
@mark-henry- Support for matching multi-valued headers and query parameters with
includesandhasExactly(#2110)@kapishmalik- Matching URLs by path template
@tomakehurst- Matching path variables in the same manner as query, headers, etc.
@tomakehurst- Support for addressing path variables by name in response templates
@tomakehurstProxy mode:
... (truncated)
Commits
34d4930Bump patch version to 3.0.1ae6ed02Stopped updating package-lock.json when bumping versionsa302419Fixed bump patch and minor versions logicae525f9Fixed get patch version function in build0d4cccaMerge pull request #2347 from wiremock/better-stub-id-validation-in-admin-apic5e8230Added validation of UUIDs in path parameters in the admin API so that clearer...5273a43Merge pull request #2339 from wiremock/fix-exception-in-diffab05ee9Ensured that the shadow JAR is always built last. Relocated dependencies in w...9eaaa69Merge pull request #2337 from wiremock/dependabot/gradle/com.diffplug.spotles...36f04c7Merge pull request #2343 from wiremock/semver-release-drafter- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.