Add a negative contains matcher - thanks Damian Orzepowski
Expose a Java API method for removing stubs by ID - thanks Patryk Fraczek
Document the import API in the OpenAPI doc - thanks to user i-whammy
Added the ability to restrict the addresses WireMock can proxy/record to, as a security measure.
Fixes
Strip Maven directories from the standalone JAR as some were appearing that weren't related to dependencies actually present, confusing scanning tools - thanks to user krageon
Dropped back to slf4j 1.7.36 and relocate it in the standalone JAR (ensuring 2.x users won't experience conflicts).
2.34.0
This will be the final 2.x.x release and also the last to support Java 8.
Fixes
Fixed #1689 - incorrect HTTP version header - thanks to user Poojitha
Fixed #1882 - bug preventing matching of date/time query params/headers with custom format - thanks Klaas Dellschaft
#1930 - Fixed a partial path traversal vulnerability in the file source code - thanks Jonathan Leitschuh
Fixed #1783 - proxyUrlPrefixToRemove ignored when using a response definition transformer - thanks to user Ross-H-Projects
Fixed #1872 - create a request entity for POST, PUT etc. proxied requests when a content-length header is present, regardless of whether the size is 0.
Fixed #1946 - maths helper now supports epoch dates as inputs.
Enhancements
Added a public, non-static getScenarios() method allowing access to all scenarios.
All dependencies brought up to date including Jetty to 9.4.48.v20220622.
2.33.2
WireMock 2.33.1 was accidentally released using Java 11 rather than 8, resulting in class incompatibilities in places.
This release is functionally identical but built using Java 8.
2.33.1
Fixes
Put name field back on scenario API object having accidentally removed it.
Improved validation of scenario set and reset so that reasonable errors are returned when attempting to use non-existent scenario names or states.
2.33.0
This is primarily a maintenance release that brings all dependency versions up to date including a version of Jackson containing the fix for CVE-2020-36518.
Enhancements
Added the ability to set and reset a single scenario's state
Proxy will now send a request body for any request method.
CORS response headers are now passed back from proxy responses when stub CORS is disabled.
Performance
Improved performance of Request.getHeaders() - thanks Doug Roper.
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 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 wiremock-jre8 from 2.24.1 to 2.35.0.
Release notes
Sourced from wiremock-jre8's releases.
... (truncated)
Commits
a137ab1
Fixed #1684 - Expose remove stub mapping by ID (#1986)6cfd74d
Bump mockito-core from 4.8.0 to 4.8.1 (#1998)328f6e5
Bumped minor versione1368f4
Added slf4j no-op (disables logging and annoying messages from slf4j) to the ...1f43b27
Dropped back down to slf4j 1.7.36 and relocated it in the standalone JAR to a...b367b7b
Switched BodyChunker to use the configured notifier rather than creating its owndac7adb
Bumping Handlebars library version to 4.3.1, that includes the fixed (#1995)bfc5f1d
removes maven dir in output shadow jar (#1993)0746383
Bump versions.jsonUnit from 2.35.0 to 2.36.0 (#1976)d77938b
Bump asm from 9.3 to 9.4 (#1974)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 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)