Releases: wiremock/wiremock
3.0.0-beta-15
π New features and improvements
π¦ Dependency updates
- Bump Jetty from 11.0.12 to 11.0.15 (#2302) @Purely-Jonas
- Bump Guava from 32.1.1-jre to 32.1.2-jre (#2291) @dependabot
π» Maintenance
- Partly replace Guava collections by the JDK features (#2297) @pks-1981
- Update the release drafter config for beta versioning (#2300) @oleg-nenashev
3.0.0-beta-14
π New features and improvements
- Add a beforeResponseSent serve event listener hook (#2295) @tomakehurst
π Bug fixes
π Documentation updates
π» Maintenance
π¦ Dependency updates
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 (#2287) @dependabot
- Bump io.netty:netty-all from 4.1.95.Final to 4.1.96.Final (#2286) @dependabot
3.0.0-beta-13
π New features and improvements
- Add support for recording via an existing proxy configuration (forward or reverse) and not having to set the target URI (5637a00) @tomakehurst
- Add
WiremockNetworkTrafficListeners
as unified factory for creating arbitrary notifying traffic listeners.(#2283) @gsmith85 - Add support for custom encoding in
ConsoleNotifyingWiremockNetworkTrafficListener
(#2139) @gsmith85 - Improve error message in
AbstractFileSource#assertFilePathIsUnderRoot()
(#2267) @oleg-nenashev - Add
patch()
method with URL to theWireMock
Admin API client (#2261) @Joel-Schaltenbrand - Add convenient method for matching absence of form param in a request (#2193) @G-Basak
π₯ Breaking changes
- Switch the
com.github.tomakehurst.wiremock.common.Timing
return values toInteger
and allownull
when data isn't ready (#2275) @emilianoalvarez91 ServeEvent
: replace Guava predicate and function with STL, including public API (refs #2111) (#2255) @tomasbjerre- Remove deprecated API routes (47d420) @tomakehurst
- Add deprecation warning to the legacy recorder (7b8a7d) @tomakehurst
π Bug fixes
- Prevent flood mapping matcher log messages about JSON string that cannot be
null
or empty (#2247) @emilianoalvarez91 - Fix admin request crashing when timing responseSendTime is
null
(#2275) @emilianoalvarez91 - Fix ParseJsonHelper not storing parsed result in variable (if any) when json is empty (#2277) @G-Basak
- Fix mis-detection of browser proxy requests over HTTPs (e21394e) @tomakehurst
π» Maintenance
- Add IntelliJ Run Configurations to simplify common tasks (#2274) @picimako
- Replace Guava Files management with STL (refs #2111) (#2256) @tomasbjerre
- Remove dependencies on new:ing collections with Guava (refs #2111) (#2254) @tomasbjerre
- Fixed JRE11 only test cases with broken Mockito verifications due to HTTP client call signature changing (5ec352e) @tomakehurst
π¦ Dependency updates
- Bump versions.junitJupiter from 5.9.3 to 5.10.0 (#2285) @dependabot
- Bump io.netty:netty-all from 4.1.94.Final to 4.1.95.Final (#2282) @dependabot
- Bump com.diffplug.spotless from 6.17.0 to 6.20.0 (#2278) @dependabot
- Update Spotless to 6.17.0 and Google Java Format to 1.17.0 (#2272) @oleg-nenashev
- Bump org.sonarqube from 4.2.1.3168 to 4.3.0.3225 (#2279) @dependabot
3.0.0-beta-12
π New features and improvements
- Add convenient method for matching absence of query param in a request (#2192) @G-Basak
- Add a
WireMock#requestedFor()
method allowing to pass Http method as parameter (#2175) @ytvnr
π Bug fixes
- Add mising schema properties (#2253) @picimako
- Fixed
@WireMockTest
not working with@DisabledInNativeImage
(#2219) @DarkAtra - MatchesJsonSchemaPattern will return no match for null input (#2223) @Mahoney
π Documentation updates
- Add WireMock co-maintainers role and document the merge process (#2207) @oleg-nenashev
π» Maintenance
- Replace Guava Files management with STL (refs #2111) (#2256) @tomasbjerre
- Remove dependencies on new:ing collections with Guava (refs #2111) (#2254) @tomasbjerre
- add-exports in eclipse configuration (#2245) @tomasbjerre
- Replace com.google.common.base.Charsets.UTF_8 -> java.nio.charset.StandardCharsets.UTF_8. Tests. (#2246) @pks-1981
- Replace com.google.common.base.MoreObjects.firstNonNull & com.google.common.base.Preconditions.checkArgument by Java alternatives (#2228) @pks-1981
- Add changelog generation with Release Drafter (#2213) @oleg-nenashev
- Refactor/prefer the java standard library instead of guava (#2206) @timtebeek
- Replace com.google.common.io.BaseEncoding by java.util.Base64 (#2225) @pks-1981
- Add WireMock Java Co-Maintainers as codeowners (#2243) @oleg-nenashev
- Bump org.mockito:mockito-core from 5.3.1 to 5.4.0 (#2226) @dependabot
- Remove duplicate dependencies (#2177) @picimako
- Remove Optional from the Jetty settings class (#2214) @pks-1981
- Replace Guava classes (#2215) @pks-1981
- Prove matches json schema works for path params (#2257) @Mahoney
π¦ Dependency updates
- Bump org.mockito:mockito-junit-jupiter from 5.3.1 to 5.4.0 (#2227) @dependabot
- Bump net.minidev:json-smart from 2.4.11 to 2.5.0 (#2252) @dependabot
- Bump com.networknt:json-schema-validator from 1.0.85 to 1.0.86 (#2251) @dependabot
- Bump com.google.guava:guava from 32.0.1-jre to 32.1.1-jre (#2242) @dependabot
- Bump com.networknt:json-schema-validator from 1.0.83 to 1.0.85 (#2233) @dependabot
- Bump io.netty:netty-all from 4.1.93.Final to 4.1.94.Final (#2229) @dependabot
- Bump org.sonarqube from 4.2.0.3129 to 4.2.1.3168 (#2217) @dependabot
- Bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre (#2212) @dependabot
3.0.0-beta-11
π New features and improvements
- #1913 - Support for sub-events associated with a ServeEvent - Documentation (#2238) @tomakehurst
- #1512 - Extensions API v2 - Documentation (#2238) @tomakehurst
- New extension points:
RequestFilterV2
,TemplateHelperProviderExtension
,TemplateModelDataProviderExtension
,ResponseDefinitionTransformerV2
,ResponseTransformerV2
,ServeEventListener
(#2238) @tomakehurst - New ASCII art on standalone startup (166c3b3) @tomakehurst
See this video to learn more about what's inside. Documentation and a written update are coming soon
π₯ Breaking changes
- Change the Maven repository groupID to
org.wiremock
for all artifacts built from this repository: wiremock , wiremock-standalone , wiremock-webhooks-extension (ee1363c) @tomakehurst - Change the standalone CLI entrypoint (
main()
) fromcom.github.tomakehurst.wiremock.standalone.WireMockServerRunner
towiremock.Run
(166c3b3) @tomakehurst
π Bug fixes
π Documentation updates
- Add WireMock co-maintainers role and document the merge process (#2207) @oleg-nenashev
π» Maintenance
- Replace com.google.common.base.Charsets.UTF_8 -> java.nio.charset.StandardCharsets.UTF_8. Tests. (#2246) @pks-1981
- Replace com.google.common.base.MoreObjects.firstNonNull & com.google.common.base.Preconditions.checkArgument by Java alternatives (#2228) @pks-1981
- Add changelog generation with Release Drafter (#2213) @oleg-nenashev
- Refactor/prefer the java standard library instead of guava (#2206) @timtebeek
- Replace com.google.common.io.BaseEncoding by java.util.Base64 (#2225) @pks-1981
- Add WireMock Java Co-Maintainers as codeowners (#2243) @oleg-nenashev
- Bump org.mockito:mockito-core from 5.3.1 to 5.4.0 (#2226) @dependabot
- Remove duplicate dependencies (#2177) @picimako
- Remove Optional from the Jetty settings class (#2214) @pks-1981
- Replace Guava classes (#2215) @pks-1981
π¦ Dependency updates
- Bump com.google.guava:guava from 32.0.1-jre to 32.1.1-jre (#2242) @dependabot
- Bump com.networknt:json-schema-validator from 1.0.83 to 1.0.85 (#2233) @dependabot
- Bump io.netty:netty-all from 4.1.93.Final to 4.1.94.Final (#2229) @dependabot
- Bump org.sonarqube from 4.2.0.3129 to 4.2.1.3168 (#2217) @dependabot
- Bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre (#2212) @dependabot
3.0.0-beta-10
3.0.0-beta-9
Enhancements
#2157 - Added form parameter matching - finally, thanks @kapishmalik !
#2121, #2200, #2120 - replace Guava functional code with native Java - thanks @pks-1981
#2130 - Added support for Java time when serialising to/from JSON - thanks @mark-henry
#2198 - Added support for mulit-stub mapping files to the remote loader function - thanks @DjerohN
Switched away from using Optional
to store and set the maxEntries
config parameter.
Fixes
#2211 - Improve rendering performance for large response templates - thanks @Mahoney
#2116 - Fixed broken hashCode - thanks @ullenius
#2123 - Fixed bug running declarative + programmatic JUnit5 extension - thanks @parawanderer
3.0.0-beta-8
Enhancements
- Added
matchesJsonSchema
matcher. - Added support for customising the filenames produced when stubs are saved or recorded via a Handlebars template at startup - thanks @craftsman228
Fixes
- Prevent slf4j being shaded into the webhooks JAR.
- Added missing
equals()
andhashCodeI()
methods to matcher classes - thanks @jnt0r
3.0.0-beta-7
Fixes
Excluded slf4j from being shaded into the webhooks JAR
Fixed request log behaviour broken in last release where a null stubMapping
element was returned rather than a default when the request was not matched.
3.0.0-beta-6
Enhancements
#2110 Add support for matching multi-valued headers and query parameters with includes
and hasExactly
- thanks @kapishmalik
Fixes
#2003 Respect keystore type when loading keystores - thanks @kaarefc
#2114 Refactor to lambdas - thanks @timtebeek
Fixed NPE exception thrown when rendering a diff report for a path template matched stub
Fixed a bug where disabling browser proxy pass-through also disabled proxy stubs