Releases: wiremock/wiremock
Releases Β· wiremock/wiremock
3.12.0
π New Features
- Support optional removal of null-valued attributes in jsonMerge helper (#2957) @tomakehurst
- feat: add namespace parameter to equalToXml. (#2954) @RafeArnold
π¦ Dependency updates
- Bump net.minidev:json-smart from 2.5.1 to 2.5.2 (#2962) @dependabot
- Bump me.champeau.jmh from 0.7.2 to 0.7.3 (#2950) @dependabot
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.4.1 to 5.4.2 (#2952) @dependabot
β Other changes
- Drop to the version of spotless where we didn't have any issues (#2955) @leeturner
3.11.0
π New Features
- Support filename capabilities for Multipart's part (#2888) @aatifansari
π Bug fixes
- Always use the system default
TransformerFactory
inFormatXmlHelper
(#2918) @ianprime0509 - Disable problematic protocol update for httpclient 5.4 (#2951) @sven-carstens
- make EqualToXmlPattern namespace aware by default. (#2945) @RafeArnold
π¦ Dependency updates
- Bump jetty 12 version to
12.0.16
(#2947) @leeturner - Bump com.networknt:json-schema-validator from 1.5.4 to 1.5.5 (#2935) @dependabot
- Bump com.diffplug.spotless from 7.0.1 to 7.0.2 (#2934) @dependabot
- Bump org.mockito:mockito-core from 5.14.2 to 5.15.2 (#2924) @dependabot
- Bump com.diffplug.spotless from 6.25.0 to 7.0.1 (#2930) @dependabot
- Bump org.mockito:mockito-junit-jupiter from 5.14.2 to 5.15.2 (#2925) @dependabot
- Bump org.scala-lang:scala-library from 2.13.15 to 2.13.16 (#2932) @dependabot
- Bump versions.junitJupiter from 5.11.3 to 5.11.4 (#2916) @dependabot
- Bump com.google.guava:guava from 33.3.1-jre to 33.4.0-jre (#2917) @dependabot
β Other changes
- improve performance of EqualToXmlPattern. (#2944) @RafeArnold
- Update after-pattern.yaml to fix typo (#2949) @ascopes
- Fix serialization of nested AdvancedPathPattern where @JsonUnwrapped is used (#2919) @leeturner
- Throw descriptive exception when no suitable HttpServerFactory extension was found (#2920) @andipabst
3.10.0
π New Features
- Added ability for extension factories to be declared as classes (#2909) @tomakehurst
- HTTP server loading refinement (#2891) @tomakehurst
- New JSON and XML handlebars helpers (#2904) @RafeArnold
π Bug fixes
- Add null check in WireMockExtension.stopServerIfRunning() (#2901) @baezzys
- fix serialization of ignoreOrderOfSameNode for equalToXml (#2896) @viktormelnychuk
π¦ Dependency updates
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.3.1 to 5.4.1 (#2883) @dependabot
- Bump com.networknt:json-schema-validator from 1.5.2 to 1.5.4 (#2905) @dependabot
- Bump com.fasterxml.jackson:jackson-bom from 2.17.2 to 2.18.2 (#2908) @dependabot
- Bump org.sonarqube from 5.1.0.4882 to 6.0.1.5171 (#2907) @dependabot
- Bump commons-io:commons-io from 2.7 to 2.14.0 in /testlogging (#2862) @dependabot
- Bump commons-io:commons-io from 2.17.0 to 2.18.0 (#2902) @dependabot
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