Releases: wiremock/wiremock
Releases Β· wiremock/wiremock
3.9.2
π Bug Fixes
- write RenderableDate to JSON correctly. (#2875) @RafeArnold
- Fixed method name typo in MultipartBodyMatchingAcceptanceTest.class (#2867) @aatifansari
- Header checks should be case-insensitive in RequestWrapper (#2851) @leeturner
- fix failing diffing for multiple path params. (#2827) @RafeArnold
π¦ Dependency updates
25 changes
- Bump versions.junitJupiter from 5.11.2 to 5.11.3 (#2877) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.14.1 to 5.14.2 (#2869) @dependabot
- Bump org.mockito:mockito-core from 5.14.1 to 5.14.2 (#2870) @dependabot
- Bump org.junit-pioneer:junit-pioneer from 2.2.0 to 2.3.0 (#2865) @dependabot
- Bump versions.junitJupiter from 5.11.1 to 5.11.2 (#2864) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.14.0 to 5.14.1 (#2859) @dependabot
- Bump versions.junitJupiter from 5.11.0 to 5.11.1 (#2854) @dependabot
- Bump org.mockito:mockito-core from 5.14.0 to 5.14.1 (#2858) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.13.0 to 5.14.0 (#2857) @dependabot
- Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 (#2856) @dependabot
- Bump com.google.guava:guava from 33.3.0-jre to 33.3.1-jre (#2850) @dependabot
- Bump commons-io:commons-io from 2.16.1 to 2.17.0 (#2846) @dependabot
- Bump com.networknt:json-schema-validator from 1.5.1 to 1.5.2 (#2848) @dependabot
- Bump org.scala-lang:scala-library from 2.13.14 to 2.13.15 (#2849) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.12.0 to 5.13.0 (#2836) @dependabot
- Bump org.mockito:mockito-core from 5.12.0 to 5.13.0 (#2837) @dependabot
- Bump versions.jsonUnit from 2.40.0 to 2.40.1 (#2805) @dependabot
- Bump org.sonarqube from 5.0.0.4638 to 5.1.0.4882 (#2796) @dependabot
- Bump versions.junitJupiter from 5.10.3 to 5.11.0 (#2828) @dependabot
- Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre (#2832) @dependabot
- Bump com.networknt:json-schema-validator from 1.5.0 to 1.5.1 (#2817) @dependabot
- Bump org.awaitility:awaitility from 4.2.1 to 4.2.2 (#2824) @dependabot
- Bump org.hamcrest:hamcrest-library from 2.2 to 3.0 (#2820) @dependabot
- Bump org.hamcrest:hamcrest-core from 2.2 to 3.0 (#2821) @dependabot
- Bump both versions of jetty to the latest versions (#2873) @leeturner
βοΈ Other Updates
- Add support for reversing order of offsetting and truncating expected date/time values (#2788) @papiomytoglou
- support multipart/related Requests (#2830) @mufasa1976
- Update the now deprecated upload-artifact action (#2844) @leeturner
- chore: remove node vulnerabilities 2 (#2834) @Mahoney
- chore: remove node vulnerabilities (#2833) @Mahoney
3.9.1
π Bug Fixes
- disallow json schemas to be invalid json. (#2814) @RafeArnold
3.9.0
π New features and improvements
- add listener registration to Store. (#2811) @RafeArnold
- Pick random helper enhancements (#2812) @tomakehurst
- Add support for request matching with dynamic year and dynamic year/month values (#2741) @papiomytoglou
π OpenAPI updates
- OpenAPI improvements (#2798) @tomakehurst
- Updated and corrected JSON schemas for matcher in the OpenAPI spec (#2797) @tomakehurst
- Add missing admin endpoints to open api spec (#2791) @leeturner
π Bug fixes
- update MatchesJsonSchemaPattern to handle invalid json schemas. (#2803) @RafeArnold
- correctly handle InMemoryObjectStore.compute returning null. (#2804) @RafeArnold
π¦ Dependency updates
- Bump com.fasterxml.jackson:jackson-bom from 2.17.1 to 2.17.2 (#2800) @dependabot
- Bump com.networknt:json-schema-validator from 1.4.3 to 1.5.0 (#2799) @dependabot
- Bump versions.jsonUnit from 2.39.0 to 2.40.0 (#2793) @dependabot
- Bump versions.jsonUnit from 2.38.0 to 2.39.0 (#2787) @dependabot
- Bump com.dorongold.task-tree from 3.0.0 to 4.0.0 (#2767) @dependabot
3.8.0
π New features and improvements
- Add a toString to the ResponsePartTemplateModel class (#2785) @leeturner
- Multipart request template model (#2782) @leeturner
- 2758 self description matchresult (#2771) @leeturner
π¦ Dependency updates
- Bump versions.junitJupiter from 5.10.2 to 5.10.3 (#2780) @dependabot
- Bump com.networknt:json-schema-validator:1.4.0 -> 1.4.3 (#2781) @Mahoney
π Bug fixes
- Fix matching of multiple expected zoned date/time values with multiple actual local ones (#2650) @papiomytoglou
3.7.0
π New features and improvements
- Ignore order of xml nodes on same level when matching request body (#2747) @viktormelnychuk
- Add request id to the template model (#2757) @leeturner
- Allow configuring max items of an ObjectStore (#2763) @Mahoney
- TestNotifier.get{Level}Messages return a snapshot (#2762) @Mahoney
- Add preserveUserAgentProxyHeader to keep User-Agent header (#2733) @raycoarana
- Default the max template cache entries to 1000 instead of infinite (#2752) @leeturner
- feat: add admin api route to get file contents from file store (#2743) @pedro37
- 2759 report webhook errors and results as sub events (#2766) @leeturner
π Bug fixes
- Stop ejecting existing key on read of missing key (#2772) @Mahoney
- Fix race condition in getObjectStore (#2761) @Mahoney
- Fix scala warnings (#2768) @Mahoney
- Fix HttpClientBuilder Ρode and add options for Connection Management to increase the proxying performance (#2744) @MuTalKing
- Fixed #2739 - prevent automatic creation of __files dir on startup and instead create lazily on write (#2760) @tomakehurst
- fix: stop showing path parameter non match message incorrectly. (#2753) @RafeArnold
- Prevent creating multiple stub mappings with the same ID (#2742) @RafeArnold
β Other changes
- Disabled DNS filtering when no custom proxy security rules are set (#2737) @egerix
- Path params and serve event ID in request (#2769) @tomakehurst
π¦ Dependency updates
- Bump com.google.guava:guava from 33.2.0-jre to 33.2.1-jre (#2745) @dependabot
3.6.0
π New features and improvements
- arrayJoin - Handlebar helper (#2725) @dieppa
- Added arrayAdd, arrayRemove and val helpers (#2724) @tomakehurst
- Added an object store to the Stores interface plus a default in-memory implementation (#2723) @tomakehurst
- Move the serve event triggered prior to responding before transformers are applied (#2722) @tomakehurst
- Added an overload of andMatching to stub builders taking a defintion object parameter (#2721) @tomakehurst
- 2711 Add start and stop hooks for extensions (#2726) @leeturner
- Allow subclasses of WireMockExtension to get the ExtensionContext (#1981) @tsmock
- Added supported-proxy-encodings as a CLI parameter (#2694) @tomakehurst
π Bug fixes
- Fixes #2696 - xPath helper returns error when result is primitive value (#2717) @tomakehurst
- Content-Type Header for Multipart-Requests should be checked case-insensitive (#2707) @mufasa1976
- Fix parsing of date/time query parameter values with an offset ahead of UTC (#2703) @papiomytoglou
- fix: handlebars math helper handles large negative integers (#2706) @RafeArnold
π¦ Dependency updates
- Bump org.mockito:mockito-junit-jupiter from 5.11.0 to 5.12.0 (#2716) @dependabot
- Bump org.mockito:mockito-core from 5.11.0 to 5.12.0 (#2715) @dependabot
- Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 (#2687) @dependabot
- Bump com.fasterxml.jackson:jackson-bom from 2.17.0 to 2.17.1 (#2708) @dependabot
- Bump versions.xmlUnit from 2.9.1 to 2.10.0 (#2698) @dependabot
- Bump org.scala-lang:scala-library from 2.13.13 to 2.13.14 (#2700) @dependabot
- Bump com.google.guava:guava from 33.1.0-jre to 33.2.0-jre (#2704) @dependabot
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