Releases: wiremock/wiremock
Releases Β· wiremock/wiremock
3.5.4
π¦ Dependency updates
- Bump versions.jetty from 12.0.7 to 12.0.8 (#2668) @dependabot
β Other changes
- Allow commons-fileupload to load commons-io as a transitive dependency (#2691) @leeturner
- Fix some Sonar or/and "IDEA inspect code" issues (partly) (#2686) @pks-1981
3.5.3
Some minor improvements, bug fixes and dependency updates.
π¦ Dependency updates
- Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 (#2673) @dependabot
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 (#2676) @dependabot
- Bump org.sonarqube from 4.4.1.3373 to 5.0.0.4638 (#2649) @dependabot
π Bug fixes
- removeEventsMatching supports custom matchers (#2682) @Mahoney
- Near miss takes custom matchers into account (#2683) @Mahoney
β Other changes
- Fixes #2665 - WireMock.stubFor throws descriptive exception message on 404 error code from non-WireMock server instead of unclear JsonException (#2666) @vasiliy-sarzhynskyi
- Use modern Gradle GHA setup (#2685) @Mahoney
- Support sub events on partial matchers (#2681) @Mahoney
- Remove deprecated java.security.AccessControl (#2672) @pks-1981
- Fix some Sonar or/and "IDEA inspect code" issues (partly) (#2669) @pks-1981
- Make it easier to fix issue with file's path (#2670) @Mahoney
- Replace commons-io:commons-io (#2632) @pks-1981
- Move template benchmark into benchmarks (#2667) @Mahoney
- Use Temurin JDK (#2663) @sullis
3.5.2
3.5.0 and 3.5.1 have a problem with their POM files, meaning Maven fails to properly load all of the transitive dependencies. This release is primarily to fix this issue.
π Bug fixes
π¦ Dependency updates
- Bump commons-io:commons-io from 2.15.1 to 2.16.0 (#2656) @dependabot
3.5.1
β Other changes
- Make Jetty11Utils and Jetty12Utils public
3.5.0
π New features and improvements
- Flip HTTP/2 toggles to "disable". Support changing them via the CLI. (#2653) @tomakehurst
- Added toggles for plain text and TLS HTTP/2 (#2652) @tomakehurst
- Add support of Jetty 12 (#2593) @reta
- JSONPath performance tuning (#2629) @tomakehurst
- Allow configuring accept-encoding when proxying (#2646) @Mahoney
- Allow removal of headers from a proxied request. (#2644) @kyle-winkelman
- Optional default for SystemValueHelper. (#2630) @kyle-winkelman
- A Stubmapping can be removed by ID #2393 (#2408) @burcuakkayaa
π» Maintenance
- Replace net.jockx:littleproxy by JDK (#2624) @pks-1981
- Mini update dependencies (#2620) @pks-1981
- Remove dependencies (#2633) @pks-1981
- Replace org.apache.commons.lang3.StringUtils (#2622) @pks-1981
β Other changes
- Add project icon for IntelliJ (#2639) @ghusta
- Replace org.apache.commons.lang3.StringUtils (#2622) @pks-1981
- Remove dependencies (#2633) @pks-1981
π¦ Dependency updates
- Bump com.fasterxml.jackson:jackson-bom from 2.16.2 to 2.17.0 (#2636) @dependabot
- Bump net.minidev:json-smart from 2.5.0 to 2.5.1 (#2645) @dependabot
- Bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre (#2640) @dependabot
- Bump com.networknt:json-schema-validator from 1.3.3 to 1.4.0 (#2642) @dependabot
- Bump org.awaitility:awaitility from 4.2.0 to 4.2.1 (#2643) @dependabot
- Bump com.fasterxml.jackson:jackson-bom from 2.16.1 to 2.16.2 (#2634) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.10.0 to 5.11.0 (#2625) @dependabot
- Bump org.mockito:mockito-core from 5.10.0 to 5.11.0 (#2626) @dependabot
- Update org.skyscreamer:jsonassert (#2631) @pks-1981
3.4.2
π Bug fixes
- Fixed xPath concurrency issues (#2618) @BublG
- Request matching performance regression (#2619) @tomakehurst
π¦ Dependency updates
- Bump com.networknt:json-schema-validator from 1.3.2 to 1.3.3 (#2615) @dependabot
- Bump org.scala-lang:scala-library from 2.13.12 to 2.13.13 (#2617) @dependabot
3.4.1
π Bug fixes
- Revert "Fix json-body not escaped properly" (#2613) @tomakehurst
- Fixes #2606 - avoid appending identical sub-events repeatedly (#2614) @tomakehurst
- Add a custom number comparator to the Json Diff to trim trailing zeros (#2611) @leeturner
- Refactor JsonNodeFactory(true) in favour of a JsonNodeFeature (#2612) @leeturner
3.5.4
A bug fix for an issue with WireMock standalone not finding the commons-io IOUtils class and a dependency update and minor refactors.
π¦ Dependency updates
- Bump versions.jetty from 12.0.7 to 12.0.8 (#2668) @dependabot
β Other changes
- Allow commons-fileupload to load commons-io as a transitive dependency (#2691) @leeturner
- Fix some Sonar or/and "IDEA inspect code" issues (partly) (#2686) @pks-1981
3.4.0
π New features and improvements
- Version number add to the endpoint /health - healthcheck Issue Nro 1339 (#2498) @gorostiaga
- Allow @wiremocktest to be applied on base classes (#2500) @kkocel
- Expose numberOfParameters on PathTemplate (#2509) @Mahoney
- Add the version number to the output when wiremock starts (#2485) @leeturner
- Add ability to return application version from new admin endpoint and wiremock standalone cli (#2453) @leeturner
π Bug fixes
- Do not return null objects in getAll of the InMemoryRequestJournalStore (#2508) @coder-hugo
- Fix
NullPointerException
inResponseDefinition.getProxyUrl()
(#2490) @mfruizs - Generalize function calculating normalized distance between date/time values (#2543) @papiomytoglou
- Show correct diff for unescaped
?
in regex (#2596) @Mahoney - Disable XML External Entities (#2603) @Pr0methean
- Disable connection reuse only for proxy clients not for the admin client (#2597) @coder-hugo
- [FIX] Fix the deserialization behavior which change the precision of decimal (#2588) @AlEmerich
- Fix json-body not escaping special characters (#2551) @G-Basak
- Fix sonarqube scanner (#2577) @dieppa
- correct handling of empty request body with Handlebars (#2546) (#2552) @dirkbolte
π¦ Dependency updates
38 changes
- Bump io.netty:netty-all from 4.1.106.Final to 4.1.107.Final (#2608) @dependabot
- Bump com.fasterxml.jackson:jackson-bom from 2.15.3 to 2.16.1 (#2548) @dependabot
- Bump org.eclipse.jetty:jetty-bom from 11.0.19 to 11.0.20 (#2599) @dependabot
- Bump com.networknt:json-schema-validator from 1.3.1 to 1.3.2 (#2605) @dependabot
- Bump versions.junitJupiter from 5.10.1 to 5.10.2 (#2602) @dependabot
- Bump org.slf4j:log4j-over-slf4j from 2.0.11 to 2.0.12 (#2604) @dependabot
- Bump com.networknt:json-schema-validator from 1.3.0 to 1.3.1 (#2598) @dependabot
- Bump com.networknt:json-schema-validator from 1.2.0 to 1.3.0 (#2595) @dependabot
- Bump org.mockito:mockito-core from 5.9.0 to 5.10.0 (#2589) @dependabot
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.3 to 5.3.1 (#2591) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.9.0 to 5.10.0 (#2590) @dependabot
- Bump io.netty:netty-all from 4.1.105.Final to 4.1.106.Final (#2581) @dependabot
- Bump com.diffplug.spotless from 6.24.0 to 6.25.0 (#2587) @dependabot
- Bump com.toomuchcoding.jsonassert:jsonassert from 0.7.0 to 0.8.0 (#2586) @dependabot
- Bump com.jayway.jsonpath:json-path from 2.8.0 to 2.9.0 (#2582) @dependabot
- Bump com.networknt:json-schema-validator from 1.1.0 to 1.2.0 (#2583) @dependabot
- Bump io.netty:netty-all from 4.1.104.Final to 4.1.105.Final (#2580) @dependabot
- Bump com.networknt:json-schema-validator from 1.0.88 to 1.1.0 (#2537) @dependabot
- Bump io.netty:netty-all from 4.1.101.Final to 4.1.104.Final (#2538) @dependabot
- Bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre (#2539) @dependabot
- Bump org.eclipse.jetty:jetty-bom from 11.0.18 to 11.0.19 (#2542) @dependabot
- Bump org.slf4j:log4j-over-slf4j from 2.0.9 to 2.0.11 (#2563) @dependabot
- Bump org.mockito:mockito-core from 5.7.0 to 5.9.0 (#2571) @dependabot
- Bump com.diffplug.spotless from 6.23.3 to 6.24.0 (#2575) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.7.0 to 5.9.0 (#2570) @dependabot
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.3 (#2524) @dependabot
- Bump com.networknt:json-schema-validator from 1.0.87 to 1.0.88 (#2527) @dependabot
- Bump ch.qos.logback:logback-classic from 1.2.0 to 1.2.13 in /testlogging (#2522) @dependabot
- Bump commons-io:commons-io from 2.15.0 to 2.15.1 (#2512) @dependabot
- Bump com.toomuchcoding.jsonassert:jsonassert from 0.6.2 to 0.7.0 (#2520) @dependabot
- Bump com.diffplug.spotless from 6.23.0 to 6.23.3 (#2521) @dependabot
- Bump com.diffplug.spotless from 6.22.0 to 6.23.0 (#2507) @dependabot
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 (#2496) @dependabot
- Bump org.junit-pioneer:junit-pioneer from 2.1.0 to 2.2.0 (#2493) @dependabot
- Bump io.netty:netty-all from 4.1.99.Final to 4.1.101.Final (#2484) @dependabot
- Bump versions.junitJupiter from 5.10.0 to 5.10.1 (#2483) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.6.0 to 5.7.0 (#2477) @dependabot
- Bump org.mockito:mockito-core from 5.6.0 to 5.7.0 (#2476) @dependabot
π Documentation updates
- Add operationId to openApi/swagger documents (#2487) @j1mr10rd4n
π» Maintenance
- chore: minor internal refactors (#2491) @Marvin9
- Proposal for: Flaky port allocation tests #2281 (#2421) @dkhozyainov
β Other changes
- Improve Scenario error message for unsupported state (#2594) @nlisgo
- Supply lazy TemplateEngine, HttpClientFactory, and DefaultHttpClient. (#2564) @kyle-winkelman
- Parsing config files with BOM character (#2535) @salehjafarli
- Clean up duplicative isAbsent and unused serializer. (#2567) @kyle-winkelman
- Allow matchesJsonSchema to be supplied as a json object. (#2566) @kyle-winkelman
- Adding a few unit tests for Body (#2559) @G-Basak
- Add gzipDisabled at the ResponseDefinitionBuilder level (#2481) @dkhozyainov
- Update wrapper scripts version to match gradle version. (#2574) @HappyHacker123
- Remove and log warning before loading webhooks (#2568) @prithvitewatia
- Add extensionScanningEnabled option to @wiremocktest. (#2561) @kyle-winkelman
- Adding build function for all kind of UrlPattern in RequestPatternBuilder (#2536) @AlEmerich
- Added GET_OR_HEAD method. (#2555) @prithvitewatia
3.3.1
π New features and improvements
- Allow empty URI path segments after the first (#2404) @Mahoney
- Switch the Webhooks Extension to use the injected template engine so that it respects standard configuration providers, e.g. system properties and environment variables (#2473) @tomakehurst
- Introduce the substitutable HTTP client (#2455) @tomakehurst
- Make
NetworkAddressRules
into an interface so that it can be implemented in a fully customised way @tomakehurst
π Bug fixes
- Fix network address rules breaking change - regression in WireMock
3.3.0
(#2478) @tomakehurst - Ignore IPv6 addresses when checking network security rules (#2475) @tomakehurst
- #2415 - Fix warning in the log due to SLF4J-API 1.7.36 to 2.0.7 replacement by Gradle (#2449) @Xabibax
- Fix API contract for
FileSourceBlobStore
(#2451) @dkhozyainov - Add
null
check for actual date/time truncation (#2466) (#2467) @papiomytoglou - #2422 - URL not matched by path template when query parameter present in request (#2429) @tomakehurst
π Documentation updates
- Add BEFORE_RESPONSE_SENT request phase to the stub-mapping schema (#2428) @picimako
- Update the co-maintainer policy beyond WireMock 3 (#2435) @oleg-nenashev
- Turn reference link into actual link (#2443) @SimonVerhoeven
π» Maintenance
- chore: use List.of where possible if only one argument is passed (#2468) @SimonVerhoeven
- fix: introduce a slight delay given the 2-3 results is slightly flakey (#2463) @SimonVerhoeven
- chore: infer explicit type arguments where possible (#2462) @SimonVerhoeven
- Refactor: split getLines method of Diff class (#2460) @julianahrens1999
- Replace Optional.orElse() calls with Optional.orElseGet() (#2450) @picimako
- Do not use deprecated jackson iso8601 class (#2423) @SimonVerhoeven
- feat: use expression lambdas over statement lambdas (#2444) @SimonVerhoeven
- Replace Guava by JDK (Partly) (#2384) @pks-1981
- Remove unnecessary type unboxing (#2424) @SimonVerhoeven
- Replace Guava by JDK (Partly) (#2409) @pks-1981
π¦ Dependency updates
- Bump org.eclipse.jetty:jetty-bom from 11.0.17 to 11.0.18 (#2469) @dependabot
- Bump commons-io:commons-io from 2.14.0 to 2.15.0 (#2464) @dependabot
- Bump com.google.guava:guava from 32.1.2-jre to 32.1.3-jre (#2433) @dependabot
- Bump com.fasterxml.jackson:jackson-bom from 2.15.2 to 2.15.3 (#2441) @dependabot
- Bump org.eclipse.jetty:jetty-bom from 11.0.16 to 11.0.17 (#2430) @dependabot
- Bump org.sonarqube from 4.3.1.3277 to 4.4.1.3373 (#2410) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.6.0 (#2426) @dependabot
- Bump org.ow2.asm:asm from 9.5 to 9.6 (#2406) @dependabot
- Bump org.mockito:mockito-core from 5.5.0 to 5.6.0 (#2425) @dependabot
- Bump io.netty:netty-all from 4.1.98.Final to 4.1.99.Final (#2403) @dependabot
- Bump com.diffplug.spotless from 6.21.0 to 6.22.0 (#2402) @dependabot
- Bump commons-io:commons-io from 2.13.0 to 2.14.0 (#2407) @dependabot