author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
686,936 | 25.09.2019 18:49:31 | -3,600 | a2014e3daa573a6eca59017f5e46f6c3215b592a | Added HTTP/2 support in the jre8 version | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -43,11 +43,10 @@ allprojects {\njackson : '2.9.9',\njacksonDatabind: '2.9.9.3',\nxmlUnit : '2.6.2'\n-\n],\njava8: [\nhandlebars : '4.1.2',\n- jetty : '9.4.19.v20190610',\n+ jetty : '9.4.20.v20190813',\ngua... | Java | Apache License 2.0 | tomakehurst/wiremock | Added HTTP/2 support in the jre8 version |
686,936 | 25.09.2019 18:59:49 | -3,600 | b4013ffafc9d86ba0d3785dc05829fed054e2d48 | Fixed java7 test broken by littleproxy version switching | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -54,7 +54,7 @@ allprojects {\n]\n]\n- def isJava7 = project.name == 'wiremock'\n+ def isJava7 = project.name in ['wiremock', 'java7']\ndef versions = isJava7 ?\nversionSets.java7 :\nversionSets[project.nam... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed java7 test broken by littleproxy version switching |
686,983 | 26.09.2019 10:39:50 | -7,200 | 89b98398a29a68f3ac8fd14869f33bfdb10592ae | Jackson version bump (fixing multiple CVEs) | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -40,16 +40,16 @@ allprojects {\nhandlebars : '4.0.7',\njetty : '9.2.28.v20190418', // Please don't raise PRs upgrading this to the latest version as it drops Java 7 support. See https://github.com/tomakehu... | Java | Apache License 2.0 | tomakehurst/wiremock | Jackson version bump (fixing multiple CVEs) (#1191) |
686,936 | 26.09.2019 09:39:37 | -3,600 | a125dd914d2f5db79966bc5db9ebc8a040a700b1 | Made junit a compileOnly (provided) dependency to avoid hamcrest class clashes when using newer test libraries | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -70,13 +70,15 @@ allprojects {\n\"com.fasterxml.jackson.core:jackson-databind:$versions.jacksonDatabind\"\ncompile \"org.apache.httpcomponents:httpclient:4.5.6\"\ncompile \"org.xmlunit:xmlunit-core:$versio... | Java | Apache License 2.0 | tomakehurst/wiremock | Made junit a compileOnly (provided) dependency to avoid hamcrest class clashes when using newer test libraries |
686,936 | 26.09.2019 09:58:09 | -3,600 | f7fbb846cd7b259fddc16ae136056b6582ec47bf | Tweaked test logging in CI | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -12,5 +12,5 @@ install:\n- JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses -x generateApiDocs\nscript:\n- - ./gradlew check --info --stacktrace --no-daemon\n+ - ./gradlew check --stackt... | Java | Apache License 2.0 | tomakehurst/wiremock | Tweaked test logging in CI |
686,936 | 30.09.2019 11:55:56 | -3,600 | 0a0fabdf9b1fb58dc0b1383bb514c65bb6bec6a3 | Fixed broken versions in Swagger and doc files | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_config.yml",
"new_path": "docs-v2/_config.yml",
"diff": "@@ -216,4 +216,4 @@ compress_html:\nignore:\nenvs: development\n-wiremock_version: 2.24.2\n+wiremock_version: 2.25.0\n"
},
{
"change_type": "MODIFY",
"old_path": "src/main/resources/... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed broken versions in Swagger and doc files |
686,936 | 02.10.2019 08:33:48 | -3,600 | bb1159d56a1f228087df2b22f5e280d9ea4905c1 | Removed 0 Jetty shutdown timeout as this appears to produce bad behaviour in the Java HTTPURLConnection client in some cases | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyHttpServer.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyHttpServer.java",
"diff": "@@ -325,9 +325,6 @@ public class JettyHttpServer implements HttpServer {\n);\nconnecto... | Java | Apache License 2.0 | tomakehurst/wiremock | Removed 0 Jetty shutdown timeout as this appears to produce bad behaviour in the Java HTTPURLConnection client in some cases |
686,936 | 02.10.2019 08:40:05 | -3,600 | c5d457595aac4ab4dc8743f2169e48efe36fda1d | Fixed shading for some new dependencies in standalone JAR | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -210,7 +210,7 @@ subprojects {\nrelocate \"org.mortbay\", 'wiremock.org.mortbay'\nrelocate \"org.eclipse\", 'wiremock.org.eclipse'\nrelocate \"org.codehaus\", 'wiremock.org.codehaus'\n- relocate \"com.goog... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed shading for some new dependencies in standalone JAR |
686,936 | 03.10.2019 08:29:35 | -3,600 | 4c052a31ca4b1c42e9cb52aab31f28c36e820ea6 | Fixed - response templates not rendered when using jsonBody | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/client/ResponseDefinitionBuilder.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/client/ResponseDefinitionBuilder.java",
"diff": "@@ -107,6 +107,11 @@ public class ResponseDefinitionBuilder {\nret... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1197 - response templates not rendered when using jsonBody |
686,936 | 03.10.2019 08:44:50 | -3,600 | 989cf4263b9028ccf3a78be59a30385347086bb9 | Fixed - documentation bug showing incorrect use of pathSegments in response templating | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/response-templating.md",
"new_path": "docs-v2/_docs/response-templating.md",
"diff": "@@ -116,7 +116,7 @@ The body file for a response can be selected dynamically by templating the file\n```java\nwm.stubFor(get(urlPathMatching(\"/static/.*\"))\n.... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1181 - documentation bug showing incorrect use of pathSegments in response templating |
686,936 | 08.10.2019 09:27:28 | -3,600 | cf453ca2e33e2cce9f82559b816396ed74bbf7fb | Fixed - blocked/timed out requests with default (too low) acceptor and container thread counts | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/core/Options.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/core/Options.java",
"diff": "@@ -41,7 +41,7 @@ public interface Options {\nint DEFAULT_PORT = 8080;\nint DYNAMIC_PORT = 0;\n- int DEFAU... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1190 - blocked/timed out requests with default (too low) acceptor and container thread counts |
686,983 | 28.10.2019 19:57:48 | -3,600 | e5c11e45258705a0e811de54a5073d9481e00c1b | Exclude transitive jackson dependencies | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -82,7 +82,10 @@ allprojects {\nexclude group: \"org.hamcrest\", module: \"hamcrest-core\"\n}\ncompile 'org.apache.commons:commons-lang3:3.7'\n- compile 'com.flipkart.zjsonpatch:zjsonpatch:0.4.4'\n+ compile... | Java | Apache License 2.0 | tomakehurst/wiremock | Exclude transitive jackson dependencies (#1215) |
686,936 | 26.11.2019 09:33:25 | 0 | 24532f76996ad52b908ad52712c5236427bdd22f | Fix for - shutdown not working when async responses enabled | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyHttpServer.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyHttpServer.java",
"diff": "@@ -64,6 +64,8 @@ public class JettyHttpServer implements HttpServer {\nprivate final ... | Java | Apache License 2.0 | tomakehurst/wiremock | Fix for #1209 - shutdown not working when async responses enabled |
686,935 | 26.11.2019 01:38:10 | 28,800 | 4385dbbfc765664adf9c41995d087a6947122d50 | Fix asm dependency convergence errors | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -74,7 +74,9 @@ allprojects {\nexclude group: 'junit', module: 'junit'\n}\ncompile \"org.xmlunit:xmlunit-placeholders:$versions.xmlUnit\"\n- compile \"com.jayway.jsonpath:json-path:2.4.0\"\n+ compile \"com.... | Java | Apache License 2.0 | tomakehurst/wiremock | Fix asm dependency convergence errors (#1227) |
687,033 | 26.11.2019 01:42:27 | 28,800 | e5b50de2a3aa44ef45809b7750e48d0e1fb8860e | Feature: Add --http-disabled flag
Added ability to disable the HTTP connector, leaving just the HTTPS connector enabled. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/https.md",
"new_path": "docs-v2/_docs/https.md",
"diff": "@@ -43,6 +43,12 @@ The keystore type defaults to JKS, but this can be changed if you're using anoth\n.keystoreType(\"BKS\")\n```\n+To allow only HTTPS requests, disable HTTP by adding:\n+`... | Java | Apache License 2.0 | tomakehurst/wiremock | Feature: Add --http-disabled flag (#1200)
Added ability to disable the HTTP connector, leaving just the HTTPS connector enabled. |
686,936 | 27.11.2019 17:48:15 | 0 | 959fb613ac101391cc5f217a346537ee15ac0f53 | Updated Spring Cloud Contract WireMock URL to unversioned doc | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/spring-boot.md",
"new_path": "docs-v2/_docs/spring-boot.md",
"diff": "@@ -9,4 +9,4 @@ The team behind Spring Cloud Contract have created a library to support running\nIt also simplifies some aspects of configuration and eliminates some common iss... | Java | Apache License 2.0 | tomakehurst/wiremock | Updated Spring Cloud Contract WireMock URL to unversioned doc |
687,060 | 11.12.2019 16:42:25 | -39,600 | d49836d525a223d3d6a272e269309128b3ca139d | Don't update the gems. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/Gemfile.lock",
"new_path": "docs-v2/Gemfile.lock",
"diff": "GEM\nremote: https://rubygems.org/\nspecs:\n- activesupport (6.0.1)\n- concurrent-ruby (~> 1.0, >= 1.0.2)\n- i18n (>= 0.7, < 2)\n+ activesupport (4.2.9)\n+ i18n (~> 0.7)\nminitest (~> 5.1)\n+ ... | Java | Apache License 2.0 | tomakehurst/wiremock | Don't update the gems. |
687,060 | 12.12.2019 09:49:29 | -39,600 | 6247dfe5ed52a4a1653b33f8127480c34b059d46 | Update the swagger cli. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/package-lock.json",
"new_path": "docs-v2/package-lock.json",
"diff": "\"safer-buffer\": \"^2.1.0\"\n}\n},\n+ \"emoji-regex\": {\n+ \"version\": \"7.0.3\",\n+ \"resolved\": \"https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz\",\n+ \"integri... | Java | Apache License 2.0 | tomakehurst/wiremock | Update the swagger cli. |
686,936 | 10.01.2020 18:11:59 | 0 | 901ab5b4ceb105b508c3104130bd328b34a788f1 | Fixed - mark all stubs as persistent when /__admin/mappings/save or saveAllMappings() is called so that they are deleted when the corresponding stub is deleted. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/core/WireMockApp.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/core/WireMockApp.java",
"diff": "@@ -240,10 +240,15 @@ public class WireMockApp implements StubServer, Admin {\n@Override\npublic v... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1240 - mark all stubs as persistent when /__admin/mappings/save or saveAllMappings() is called so that they are deleted when the corresponding stub is deleted. |
686,939 | 17.01.2020 09:29:45 | 0 | b840940f6069d562a32e8259439b66aeb0c82297 | Correct link to standalone JAR
Link to download standalone JAR from Maven central was using HTTP rather than HTTPS.
The HTTP URL now gives a `501` error:
> 501 HTTPS Required.
> Use
>More information at | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/running-standalone.md",
"new_path": "docs-v2/_docs/running-standalone.md",
"diff": "@@ -16,7 +16,7 @@ description: Running WireMock as a standalone mock server.\nThe WireMock server can be run in its own process, and configured via\nthe Java API,... | Java | Apache License 2.0 | tomakehurst/wiremock | Correct link to standalone JAR (#1244)
Link to download standalone JAR from Maven central was using HTTP rather than HTTPS.
The HTTP URL now gives a `501` error:
> 501 HTTPS Required.
> Use https://repo1.maven.org/maven2/
>More information at https://links.sonatype.com/central/501-https-required |
686,936 | 29.01.2020 14:06:33 | 0 | f9e64d249889fb346b57bb6ea693b9da7d32de10 | Now uses the wrapped request rather than the raw one as the original request passed to the proxy renderer | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/AbstractRequestHandler.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/AbstractRequestHandler.java",
"diff": "@@ -53,11 +53,13 @@ public abstract class AbstractRequestHandler implements ... | Java | Apache License 2.0 | tomakehurst/wiremock | Now uses the wrapped request rather than the raw one as the original request passed to the proxy renderer |
686,936 | 30.01.2020 15:26:02 | 0 | 4bf599ed9c0caaad3f4adbdd69e1f5aedb51fd43 | Fixed Ignore meta property on stub mapping collections so that exports can be used as files without modification. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/stubbing/StubMappingCollection.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/stubbing/StubMappingCollection.java",
"diff": "package com.github.tomakehurst.wiremock.stubbing;\nimport com.fasterxm... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1253. Ignore meta property on stub mapping collections so that exports can be used as files without modification. |
686,989 | 30.01.2020 16:45:43 | -3,600 | 14b8226f0bce71676b3903216acc32a36fc0b8b2 | Docs: Fix handlebar syntax in formData example | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/response-templating.md",
"new_path": "docs-v2/_docs/response-templating.md",
"diff": "@@ -425,7 +425,7 @@ indicating that values should be URL decoded. The folowing example will parse th\n{% raw %}\n```\n-{{formData request.body 'form' urlDecode=... | Java | Apache License 2.0 | tomakehurst/wiremock | Docs: Fix handlebar syntax in formData example (#1229) |
686,978 | 30.01.2020 16:33:26 | 0 | cf282c16241abb61b5f70c450733b6cddb4f3ed0 | Update tests to handle windows file separators | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/AdminApiTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/AdminApiTest.java",
"diff": "@@ -40,6 +40,7 @@ import org.junit.After;\nimport org.junit.Test;\nimport org.skyscreamer.jsonassert.JSONA... | Java | Apache License 2.0 | tomakehurst/wiremock | Update tests to handle windows file separators (#1248) |
686,936 | 30.01.2020 17:32:37 | 0 | c4f22df64c4068a3828aac66d199c01bdabbb3c6 | Upgraded to latest Jackson for | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -40,8 +40,8 @@ allprojects {\nhandlebars : '4.0.7',\njetty : '9.2.28.v20190418', // Please don't raise PRs upgrading this to the latest version as it drops Java 7 support. See https://github.com/tomakehurs... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded to latest Jackson for #1228 |
686,936 | 30.01.2020 18:00:20 | 0 | d1a7833ded0894eee7313c1f5383a10689e709b9 | Fixed - matcher operators are now validated as non-null and for string type | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/matching/ContentPattern.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/matching/ContentPattern.java",
"diff": "@@ -17,6 +17,7 @@ package com.github.tomakehurst.wiremock.matching;\nimport com.fast... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1241 - matcher operators are now validated as non-null and for string type |
686,936 | 30.01.2020 18:18:47 | 0 | 4d00ea2cbbc89436afb245ba0361261c9fd09a38 | Fixed some test failures caused by the non-null validation of matcher operands | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/matching/AbsentPattern.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/matching/AbsentPattern.java",
"diff": "@@ -39,4 +39,9 @@ public class AbsentPattern extends StringValuePattern {\npublic Stri... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed some test failures caused by the non-null validation of matcher operands |
686,936 | 05.12.2019 19:26:28 | 0 | 7ead912283b9c89d010eaf523e877ff5a5a5a728 | Switched EqualToJson implementation to use JsonUnit (thanks !) | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -84,16 +84,13 @@ allprojects {\nexclude group: \"org.hamcrest\", module: \"hamcrest-core\"\n}\ncompile 'org.apache.commons:commons-lang3:3.7'\n- compile 'com.flipkart.zjsonpatch:zjsonpatch:0.4.4', {\n- exc... | Java | Apache License 2.0 | tomakehurst/wiremock | Switched EqualToJson implementation to use JsonUnit (thanks @lukas-krecan !) |
686,936 | 31.01.2020 13:30:16 | 0 | 3134d95eb76a01b86159ed61e6d5c1bd5e17a41f | Removed redundant equal to JSON test class | [
{
"change_type": "DELETE",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/matching/EqualToJsonPattern2Test.java",
"new_path": null,
"diff": "-package com.github.tomakehurst.wiremock.matching;\n-\n-import com.github.tomakehurst.wiremock.common.Json;\n-import org.json.JSONException;\n-impo... | Java | Apache License 2.0 | tomakehurst/wiremock | Removed redundant equal to JSON test class |
686,936 | 31.01.2020 13:31:11 | 0 | 71adecdd536254eac7a38cd364375c8470de13bd | Removed redundant EqualToJsonPattern constructor | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/matching/EqualToJsonPattern.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/matching/EqualToJsonPattern.java",
"diff": "@@ -37,10 +37,6 @@ public class EqualToJsonPattern extends StringValuePatter... | Java | Apache License 2.0 | tomakehurst/wiremock | Removed redundant EqualToJsonPattern constructor |
686,936 | 31.01.2020 13:41:34 | 0 | ffe8b58c45441a591f33cb83623fa0b0816c25b1 | Fixed - added tests confirming support for JsonUnit placeholders | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/matching/EqualToJsonTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/matching/EqualToJsonTest.java",
"diff": "@@ -540,9 +540,48 @@ public class EqualToJsonTest {\nString actual = \"[\\\"b\\\",... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1121 - added tests confirming support for JsonUnit placeholders |
686,936 | 31.01.2020 14:09:01 | 0 | 13da0c0fce7a836bbf4092072e7a4028258d58c1 | Documented JSON placeholders | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/request-matching.md",
"new_path": "docs-v2/_docs/request-matching.md",
"diff": "@@ -391,6 +391,8 @@ JSON with string literal:\n}\n```\n+#### Less strict matching\n+\nBy default different array orderings and additional object attributes will trigg... | Java | Apache License 2.0 | tomakehurst/wiremock | Documented JSON placeholders |
686,936 | 31.01.2020 15:14:21 | 0 | c7028449c35d6521accf5d956dc618f7d6cf5b7b | Fixed - added a configuration option to disable logging of request/responses to the notifier, for use in performance tests. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/running-standalone.md",
"new_path": "docs-v2/_docs/running-standalone.md",
"diff": "@@ -128,6 +128,8 @@ The last of these will cause chunked encoding to be used only when a stub define\n`--disable-gzip`: Prevent response bodies from being gzipped... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1255 - added a configuration option to disable logging of request/responses to the notifier, for use in performance tests. |
686,936 | 31.01.2020 17:23:48 | 0 | ef4cf3426e50121b4a8985aa0983fd8f0ba36fd3 | Restricted JsonUnit implementation of EqualToJson to JRE8, since this is the minimum supported version for the library. | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -90,7 +90,11 @@ allprojects {\ncompile(\"com.github.jknack:handlebars-helpers:$versions.handlebars\") {\nexclude group: 'org.mozilla', module: 'rhino'\n}\n- compile 'net.javacrumbs.json-unit:json-unit-core... | Java | Apache License 2.0 | tomakehurst/wiremock | Restricted JsonUnit implementation of EqualToJson to JRE8, since this is the minimum supported version for the library. |
686,936 | 11.02.2020 17:18:54 | 0 | 60e14c4c29fe9f85751269178a8a177ff5672690 | Attempt at fixing Travis config so that correct Java version tests are run | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -12,5 +12,5 @@ install:\n- JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses -x generateApiDocs\nscript:\n- - ./gradlew check --stacktrace --no-daemon\n+ - if [[ $TRAVIS_JDK_VERSION == *\... | Java | Apache License 2.0 | tomakehurst/wiremock | Attempt at fixing Travis config so that correct Java version tests are run |
686,936 | 26.02.2020 11:09:46 | 0 | e207c0fc2c8bb9129b7a533ca34c7737fe3c9fab | Improved performance of XPath Handlebars helper by caching the XML document builder and XPath objects | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsXPathHelper.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsXPathHelper.java",
"diff": "@@ -40,6 +40,2... | Java | Apache License 2.0 | tomakehurst/wiremock | Improved performance of XPath Handlebars helper by caching the XML document builder and XPath objects |
686,936 | 26.02.2020 13:40:22 | 0 | 92e2e106efabf013f6e753bc832ed79da448fe8b | Optimised the XPath Handlebars helper's performance by caching parsed XML documents and evaluated XPath expressions | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/HandlebarsOptimizedTemplate.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/HandlebarsOptimizedTemplate.java",
"diff": "@@ -17,6 +17,7 @@ ... | Java | Apache License 2.0 | tomakehurst/wiremock | Optimised the XPath Handlebars helper's performance by caching parsed XML documents and evaluated XPath expressions |
686,936 | 26.02.2020 14:03:59 | 0 | 618d82517f3180340b7b54ce051dbfd3004addd3 | Improved performance of JsonPath Handlebars helper by caching parsed documents and evaluated expressions | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsHelper.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsHelper.java",
"diff": "package com.github.tomak... | Java | Apache License 2.0 | tomakehurst/wiremock | Improved performance of JsonPath Handlebars helper by caching parsed documents and evaluated expressions |
687,033 | 26.02.2020 07:02:14 | 28,800 | ec9219a73b9b8ce46238cf866a1bc8faf87c6065 | Bugfix / http-disabled flag
Fix logic to display dynamically chosen port number when HTTPS only is enabled | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/standalone/WireMockServerRunner.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/standalone/WireMockServerRunner.java",
"diff": "@@ -74,7 +74,8 @@ public class WireMockServerRunner {\ntry {\nwireMo... | Java | Apache License 2.0 | tomakehurst/wiremock | Bugfix / http-disabled flag (#1257)
Fix logic to display dynamically chosen port number when HTTPS only is enabled |
686,936 | 02.03.2020 13:53:33 | 0 | 117472c0cabcdf18c3863330707cf68018dbf077 | Added --stacktrace parameter to release build tasks | [
{
"change_type": "MODIFY",
"old_path": "go",
"new_path": "go",
"diff": "@@ -50,10 +50,10 @@ test-java11() {\nrelease() {\nuse-java7\n- ./gradlew -c release-settings.gradle clean :java7:release\n+ ./gradlew -c release-settings.gradle clean :java7:release --stacktrace\nuse-java8\n- ./gradlew -c releas... | Java | Apache License 2.0 | tomakehurst/wiremock | Added --stacktrace parameter to release build tasks |
686,936 | 02.03.2020 13:56:33 | 0 | 6971f180588746bb9b517c7ce592fda42ca533fb | Fixed - NPE when attempting to directly call the JsonPath or XPath handlebars helpers | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsHelper.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsHelper.java",
"diff": "@@ -77,6 +77,6 @@ public... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1277 - NPE when attempting to directly call the JsonPath or XPath handlebars helpers |
686,936 | 05.03.2020 20:10:42 | 0 | 6e12577cf73567c70b501d9bb399263a62115dc1 | Fixed bug causing multiple Access-Control-* response headers being sent when proxying to a CORS-enabled target. Enabled CORS for stubs. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/ProxyResponseRenderer.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/ProxyResponseRenderer.java",
"diff": "@@ -48,6 +48,11 @@ public class ProxyResponseRenderer implements ResponseRende... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed bug causing multiple Access-Control-* response headers being sent when proxying to a CORS-enabled target. Enabled CORS for stubs. |
686,936 | 05.03.2020 20:37:38 | 0 | 21b8a4f859d8da2d3606679731b96790c64da404 | Fixed printing of http and https ports on command-line startup. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/standalone/CommandLineOptions.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/standalone/CommandLineOptions.java",
"diff": "@@ -102,7 +102,8 @@ public class CommandLineOptions implements Options {... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed printing of http and https ports on command-line startup. Fixes #1278. |
686,936 | 05.03.2020 21:04:13 | 0 | 214a3a8f89bd7d6ecafd80118a2c6f10aad70241 | Fixed - exception thrown when characters not considered valid by java.net.URI are present unescaped in request URL | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyUtils.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyUtils.java",
"diff": "@@ -82,18 +82,9 @@ public class JettyUtils {\n}\n}\n- public static URI getUri(Request request) ... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1259 - exception thrown when characters not considered valid by java.net.URI are present unescaped in request URL |
686,936 | 06.03.2020 10:26:56 | 0 | 6b6d058b27e9660fbf3e04dc27b14b2ab377599b | Fixed - added example certificate conf file accidentally excluded | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -59,5 +59,6 @@ src/main/resources/swagger/wiremock-admin-api.json\nsrc/main/resources/assets/swagger-ui/swagger-ui-dist\nscripts/client-cert.*\n+!scripts/client-cert.conf\nnotes.txt\n\\ No newline at end of fi... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1279 - added example certificate conf file accidentally excluded |
686,936 | 06.03.2020 16:54:39 | 0 | 1a025e9d8ce927f749895d9c066dc8c068912906 | Upgraded to latest Jackson version | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -35,21 +35,23 @@ allprojects {\nmavenCentral()\n}\n+ def jacksonVersion = '2.10.3'\n+\ndef versionSets = [\njava7: [\nhandlebars : '4.0.7',\njetty : '9.2.28.v20190418', // Please don't raise PRs upgrading ... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded to latest Jackson version |
686,936 | 11.03.2020 15:09:23 | 0 | 682e8eeab3c3e8925180081462eac10b867bad02 | Changed the standalone download link in the docs to point to the jre8 version | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/download-and-installation.md",
"new_path": "docs-v2/_docs/download-and-installation.md",
"diff": "@@ -93,4 +93,4 @@ testCompile \"com.github.tomakehurst:wiremock-jre8-standalone:{{ site.wiremock_ve\n## Direct download\nIf you want to run WireMock... | Java | Apache License 2.0 | tomakehurst/wiremock | Changed the standalone download link in the docs to point to the jre8 version |
686,936 | 12.03.2020 12:09:27 | 0 | 07dbb61cf689aac7239bb009becb39ede079be7f | Added link to Pivotal Spring SSO blog post | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/spring-boot.md",
"new_path": "docs-v2/_docs/spring-boot.md",
"diff": "@@ -8,5 +8,8 @@ description: Running WireMock with Spring Boot.\nThe team behind Spring Cloud Contract have created a library to support running WireMock using the \"ambient\" ... | Java | Apache License 2.0 | tomakehurst/wiremock | Added link to Pivotal Spring SSO blog post |
686,936 | 14.05.2020 16:08:44 | -3,600 | 4b72751cd455b2b659f5f73d0faac468dca9475b | Added a test-java8 task to the go script | [
{
"change_type": "MODIFY",
"old_path": "go",
"new_path": "go",
"diff": "@@ -13,6 +13,7 @@ help() {\necho -e\necho -e \"Common commands: \"\necho -e \" test Run all tests against Java 7 and 8\"\n+ echo -e \" test-java8 Run all tests against Java 8\"\necho -e \" test-java11 Run all tests against Java ... | Java | Apache License 2.0 | tomakehurst/wiremock | Added a test-java8 task to the go script |
686,936 | 14.05.2020 16:21:45 | -3,600 | 9a8a9b23d488e110a5b30d97cfabec461ab509f5 | Upgraded JDK8 variant to latest Jetty version | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -48,7 +48,7 @@ allprojects {\n],\njava8: [\nhandlebars : '4.1.2',\n- jetty : '9.4.20.v20190813',\n+ jetty : '9.4.28.v20200408',\nguava : '27.0.1-jre',\njackson : jacksonVersion,\njacksonDatabind: jacksonVe... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded JDK8 variant to latest Jetty version |
686,936 | 14.05.2020 16:24:23 | -3,600 | cd85809195d3fba3283f9e6149a3c3587006d757 | Upgraded to Handlebars 4.2.0 | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -47,7 +47,7 @@ allprojects {\nxmlUnit : '2.6.2'\n],\njava8: [\n- handlebars : '4.1.2',\n+ handlebars : '4.2.0',\njetty : '9.4.28.v20200408',\nguava : '27.0.1-jre',\njackson : jacksonVersion,\n"
}
] | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded to Handlebars 4.2.0 |
686,936 | 14.05.2020 16:26:37 | -3,600 | f7a692d355191bab6a91fb2e0eb54667b3c7b992 | Upgraded JDK8 variant to latest Guava | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -49,7 +49,7 @@ allprojects {\njava8: [\nhandlebars : '4.2.0',\njetty : '9.4.28.v20200408',\n- guava : '27.0.1-jre',\n+ guava : '29.0-jre',\njackson : jacksonVersion,\njacksonDatabind: jacksonVersion,\nxmlU... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded JDK8 variant to latest Guava |
686,936 | 14.05.2020 16:33:30 | -3,600 | b67371fc0c11072849f4e0c2adfaa28e62f33717 | Upgraded to Apache HTTPClient 4.5.12 | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -70,7 +70,7 @@ allprojects {\ncompile \"com.fasterxml.jackson.core:jackson-core:$versions.jackson\",\n\"com.fasterxml.jackson.core:jackson-annotations:$versions.jackson\",\n\"com.fasterxml.jackson.core:jac... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded to Apache HTTPClient 4.5.12 |
686,940 | 14.05.2020 21:11:57 | -19,080 | cd27ad87e2a1a3242f1d39074485ad7ee500ecf4 | Add request details to VerificationException | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/client/VerificationException.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/client/VerificationException.java",
"diff": "@@ -89,7 +89,8 @@ public class VerificationException extends AssertionErro... | Java | Apache License 2.0 | tomakehurst/wiremock | Add request details to VerificationException (#1287) |
686,999 | 14.05.2020 19:23:49 | -7,200 | 9b4b3851556e749375f0533a5c0216709d842f25 | Added clarification for proxy authentication. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/running-standalone.md",
"new_path": "docs-v2/_docs/running-standalone.md",
"diff": "@@ -80,7 +80,8 @@ creating stub mappings that proxy to other hosts), route via another\nproxy server (useful when inside a corporate network that only permits\nin... | Java | Apache License 2.0 | tomakehurst/wiremock | Added clarification for proxy authentication. (#1294) |
686,936 | 15.05.2020 12:47:07 | -3,600 | 514627553c8600d4d230a6ceb5bfcd7f26eed37c | Improved performance, particularly when requests go unmatched by memoizing match results and only calculating near misses once (originally this happened twice - once in the response renderer, once for logging) | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/core/WireMockApp.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/core/WireMockApp.java",
"diff": "@@ -67,7 +67,6 @@ public class WireMockApp implements StubServer, Admin {\nprivate final Container... | Java | Apache License 2.0 | tomakehurst/wiremock | Improved performance, particularly when requests go unmatched by memoizing match results and only calculating near misses once (originally this happened twice - once in the response renderer, once for logging) |
686,936 | 15.05.2020 15:50:29 | -3,600 | d429d81906ab088c745062fcd0861fba76022206 | Fixed by putting stub CORS headers under a config switch, disabled by default to restore backwards compatibility. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/configuration.md",
"new_path": "docs-v2/_docs/configuration.md",
"diff": "@@ -172,3 +172,13 @@ Valid values are:\nThis might put a lot of strain on the garbage collector if you're using large response bodies.\n* `BODY_FILE` - Use chunked encoding... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed #1283 by putting stub CORS headers under a config switch, disabled by default to restore backwards compatibility. |
686,936 | 15.05.2020 18:54:47 | -3,600 | 766ae5d2e016f79fff992e2c1ea93e9c7e142abf | Fixed bug causing an exception to be thrown when attempting to use the JUnit rule with HTTP disabled | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/WireMockServer.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/WireMockServer.java",
"diff": "@@ -62,7 +62,7 @@ public class WireMockServer implements Container, Stubbing, Admin {\nprivate final H... | Java | Apache License 2.0 | tomakehurst/wiremock | Fixed bug causing an exception to be thrown when attempting to use the JUnit rule with HTTP disabled |
686,936 | 18.05.2020 10:46:45 | -3,600 | 35e1dc5fcf9fb75c6579f5dd9d268661c79d1466 | Upgraded Java versions used in the go script | [
{
"change_type": "MODIFY",
"old_path": "go",
"new_path": "go",
"diff": "set -eo pipefail\nexport JAVA7_HOME=~/.sdkman/candidates/java/7.0.181-zulu\n-export JAVA8_HOME=~/.sdkman/candidates/java/8.0.181-zulu\n-export JAVA11_HOME=~/.sdkman/candidates/java/11.0.1-open\n+export JAVA8_HOME=~/.sdkman/candi... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded Java versions used in the go script |
686,981 | 20.05.2020 11:15:50 | -3,600 | fde8d69bd53ee8ea4962626429c6a5dc82ba5795 | Always use an HTTP proxy
Changing the scheme of the proxy depending on the scheme of the requested
target doesn't make sense; an HTTP proxy can forward HTTPS over a CONNECT
tunnel anyway. | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/testsupport/WireMockTestClient.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/testsupport/WireMockTestClient.java",
"diff": "@@ -102,7 +102,7 @@ public class WireMockTestClient {\npublic WireMock... | Java | Apache License 2.0 | tomakehurst/wiremock | Always use an HTTP proxy
Changing the scheme of the proxy depending on the scheme of the requested
target doesn't make sense; an HTTP proxy can forward HTTPS over a CONNECT
tunnel anyway. |
686,981 | 20.05.2020 11:17:39 | -3,600 | 908d6395204bc6f0926b9443e3f5fea131a0b2d3 | Add ignored failing test for https forward proxying | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/BrowserProxyAcceptanceTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/BrowserProxyAcceptanceTest.java",
"diff": "@@ -27,7 +27,10 @@ import static org.hamcrest.MatcherAssert.assertThat;\npubli... | Java | Apache License 2.0 | tomakehurst/wiremock | Add ignored failing test for https forward proxying |
686,936 | 19.05.2020 10:46:51 | -3,600 | 708a97a1956b641d117c930ddea9ac68c457e338 | Upgraded XMLUnit to 2.7.0 | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -44,7 +44,7 @@ allprojects {\nguava : '20.0',\njackson : jacksonVersion,\njacksonDatabind: jacksonVersion,\n- xmlUnit : '2.6.2'\n+ xmlUnit : '2.7.0'\n],\njava8: [\nhandlebars : '4.2.0',\n@@ -52,7 +52,7 @@ ... | Java | Apache License 2.0 | tomakehurst/wiremock | Upgraded XMLUnit to 2.7.0 |
686,936 | 22.05.2020 18:21:27 | -3,600 | 29798296b0e4dbff8dcd83c7e0316df229a7d020 | Created XmlDocument and XmlNode classes as wrappers around their DOM equivalents and embedding XPath functionality. Eventually these should completely replace most of the static methods on the Xml class. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/common/ClientError.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/common/ClientError.java",
"diff": "@@ -26,6 +26,11 @@ public class ClientError extends RuntimeException {\nthis.errors = errors;\... | Java | Apache License 2.0 | tomakehurst/wiremock | Created XmlDocument and XmlNode classes as wrappers around their DOM equivalents and embedding XPath functionality. Eventually these should completely replace most of the static methods on the Xml class. |
686,936 | 22.05.2020 19:07:47 | -3,600 | f3e263176c709010cafcfaff8e33b3605ea0c310 | Switched MatchesXPathPattern to use new XmlDocument and XmlNode | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/main/java/com/github/tomakehurst/wiremock/common/xml/XPathException.java",
"diff": "+/*\n+ * Copyright (C) 2011 Thomas Akehurst\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except... | Java | Apache License 2.0 | tomakehurst/wiremock | Switched MatchesXPathPattern to use new XmlDocument and XmlNode |
686,957 | 23.05.2020 17:12:00 | -7,200 | 7067b9af59b3c78e43ff9cb799e778aefaa2e289 | Changed to RequestTemplateModel adaptedHeaders to TreeMap with CASE_INSENSITIVE_ORDER to ignore case for headers in response templating | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/RequestTemplateModel.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/RequestTemplateModel.java",
"diff": "@@ -22,6 +22,7 @@ import com.git... | Java | Apache License 2.0 | tomakehurst/wiremock | Changed to RequestTemplateModel adaptedHeaders to TreeMap with CASE_INSENSITIVE_ORDER to ignore case for headers in response templating (#1314) |
686,981 | 25.05.2020 10:22:20 | -3,600 | 57d932b97a983b5b25aeba02ddd82a34c288f5c7 | Allow WireMockClassRule to work when HTTP is disabled | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/junit/WireMockClassRule.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/junit/WireMockClassRule.java",
"diff": "@@ -64,7 +64,12 @@ public class WireMockClassRule extends WireMockServer implements ... | Java | Apache License 2.0 | tomakehurst/wiremock | Allow WireMockClassRule to work when HTTP is disabled |
686,981 | 25.05.2020 10:43:19 | -3,600 | 37fb1abff86aba3d58e5bf4722677cacb5d72aa9 | Allow stubbing & recording of forward proxy https traffic
This allows WireMock to act as a forward (browser) proxy for HTTPS as well as
HTTP origins whilst stubbing & recording.
Step towards implementing | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -54,3 +54,19 @@ To build both JARs (thin and standalone):\nThe built JAR will be placed under ``java8/build/libs``.\n+Developing on IntelliJ IDEA\n+---------------------------\n+\n+IntelliJ can't import the grad... | Java | Apache License 2.0 | tomakehurst/wiremock | Allow stubbing & recording of forward proxy https traffic
This allows WireMock to act as a forward (browser) proxy for HTTPS as well as
HTTP origins whilst stubbing & recording.
Step towards implementing #401. |
686,981 | 25.05.2020 10:47:13 | -3,600 | 75d00c8901dd1226b20f73c92153cc259253c593 | Finish half written JavaDoc | [
{
"change_type": "MODIFY",
"old_path": "java8/src/main/java/com/github/tomakehurst/wiremock/jetty94/ManInTheMiddleSslConnectHandler.java",
"new_path": "java8/src/main/java/com/github/tomakehurst/wiremock/jetty94/ManInTheMiddleSslConnectHandler.java",
"diff": "@@ -15,13 +15,8 @@ import static org.ecl... | Java | Apache License 2.0 | tomakehurst/wiremock | Finish half written JavaDoc |
686,981 | 26.05.2020 16:54:06 | -3,600 | c7b540308c34f92f462f8a65fc9b481cb5b89a82 | Simplify code & prove it works over https
But not over http2 | [
{
"change_type": "MODIFY",
"old_path": "java8/src/main/java/com/github/tomakehurst/wiremock/jetty94/ManInTheMiddleSslConnectHandler.java",
"new_path": "java8/src/main/java/com/github/tomakehurst/wiremock/jetty94/ManInTheMiddleSslConnectHandler.java",
"diff": "@@ -2,7 +2,8 @@ package com.github.tomak... | Java | Apache License 2.0 | tomakehurst/wiremock | Simplify code & prove it works over https
But not over http2 |
686,936 | 28.05.2020 11:22:27 | -3,600 | be8934c1c2b0be0be372cb86a537d99654ee29bc | Marked two methods as private in the Xml class now that they are not used anywhere else | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/common/xml/Xml.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/common/xml/Xml.java",
"diff": "@@ -129,7 +129,7 @@ public class Xml {\n}\n}\n- public static String render(Node node) {\n+ private st... | Java | Apache License 2.0 | tomakehurst/wiremock | Marked two methods as private in the Xml class now that they are not used anywhere else |
686,936 | 28.05.2020 11:48:16 | -3,600 | a295984f19053d43c03cfa29941b59dc434bef69 | Refactored the XPath helper to use XmlDocument and XmlNode | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsXPathHelper.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/HandlebarsXPathHelper.java",
"diff": "package com.gi... | Java | Apache License 2.0 | tomakehurst/wiremock | Refactored the XPath helper to use XmlDocument and XmlNode |
686,936 | 28.05.2020 13:19:07 | -3,600 | 19e0f03125c96fe347f0b0ededaf0ff9b209bf15 | XPath handlebars helper now returns lists of nodes that can be iterated over, attributes read etc. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/common/xml/XmlNode.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/common/xml/XmlNode.java",
"diff": "@@ -100,6 +100,14 @@ public class XmlNode {\nreturn nodes;\n}\n+ public String getName() {\n+ ... | Java | Apache License 2.0 | tomakehurst/wiremock | XPath handlebars helper now returns lists of nodes that can be iterated over, attributes read etc. |
686,936 | 28.05.2020 15:01:19 | -3,600 | 461dd85e2248d2ebe84599f93da60d3631fca6ba | Switched out deprecated assertions in EqualToXmlPatternTest | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/matching/EqualToXmlPatternTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/matching/EqualToXmlPatternTest.java",
"diff": "@@ -34,6 +34,7 @@ import static com.github.tomakehurst.wiremock.client... | Java | Apache License 2.0 | tomakehurst/wiremock | Switched out deprecated assertions in EqualToXmlPatternTest |
686,981 | 28.05.2020 17:17:22 | -3,600 | 3545fa1ef91ce96fab8102ca3721c22de581771d | Rename poorly named test | [
{
"change_type": "RENAME",
"old_path": "java8/src/test/java/com/github/tomakehurst/wiremock/Http2BrowserProxyAcceptanceTest.java",
"new_path": "java8/src/test/java/com/github/tomakehurst/wiremock/HttpsBrowserProxyAcceptanceTest.java",
"diff": "@@ -43,7 +43,7 @@ import static com.github.tomakehurst.w... | Java | Apache License 2.0 | tomakehurst/wiremock | Rename poorly named test |
686,981 | 25.05.2020 15:26:20 | -3,600 | 3d7ad8a00b747f8e74af9e93e55879fb9114625f | Prove no validation of origin certificates | [
{
"change_type": "MODIFY",
"old_path": "java8/build.gradle",
"new_path": "java8/build.gradle",
"diff": "@@ -11,6 +11,7 @@ dependencies {\ncompile \"org.eclipse.jetty:jetty-alpn-server:$jettyVersion\"\ncompile \"org.eclipse.jetty:jetty-alpn-conscrypt-server:$jettyVersion\"\ncompile \"org.eclipse.jett... | Java | Apache License 2.0 | tomakehurst/wiremock | Prove no validation of origin certificates |
686,981 | 28.05.2020 17:17:56 | -3,600 | be285b87a6c17f58cfa2a9243d7ef95e2d758276 | Add failing test proving we don't validate certs on forward proxy | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/http/ProxyResponseRendererTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/http/ProxyResponseRendererTest.java",
"diff": "@@ -10,9 +10,10 @@ import com.github.tomakehurst.wiremock.junit.WireMo... | Java | Apache License 2.0 | tomakehurst/wiremock | Add failing test proving we don't validate certs on forward proxy |
686,936 | 28.05.2020 18:11:55 | -3,600 | 0643425187d36805941a0c5e168009e11e279e4f | Implemented - Support for exempting comparison types in equalToXml | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java",
"diff": "@@ -192,16 +192,16 @@ public class WireMock {\nreturn new MatchesJsonPathPattern(value, valuePattern... | Java | Apache License 2.0 | tomakehurst/wiremock | Implemented #1150 - Support for exempting comparison types in equalToXml |
686,981 | 29.05.2020 08:14:26 | -3,600 | e1ff9cb6f996e3519a18d87cf3bdd1b268d15012 | Validate certs by default on forward proxy
Provide an option `--trust-all` to allow turning this behaviour off. | [
{
"change_type": "MODIFY",
"old_path": "java8/src/test/java/com/github/tomakehurst/wiremock/HttpsBrowserProxyAcceptanceTest.java",
"new_path": "java8/src/test/java/com/github/tomakehurst/wiremock/HttpsBrowserProxyAcceptanceTest.java",
"diff": "@@ -68,7 +68,9 @@ public class HttpsBrowserProxyAcceptan... | Java | Apache License 2.0 | tomakehurst/wiremock | Validate certs by default on forward proxy
Provide an option `--trust-all` to allow turning this behaviour off. |
686,981 | 29.05.2020 08:38:09 | -3,600 | c18ded1f2236653e818436d613ef9371295c36b2 | Document `--trust-all` & HTTPS forward proxying | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/proxying.md",
"new_path": "docs-v2/_docs/proxying.md",
"diff": "@@ -132,6 +132,11 @@ stubFor(get(urlEqualTo(\"/users/12345.json\"))\n.withStatus(503)));\n```\n+wiremock-jre8 allows forward proxying, stubbing & recording of HTTPS traffic. By defau... | Java | Apache License 2.0 | tomakehurst/wiremock | Document `--trust-all` & HTTPS forward proxying |
686,981 | 29.05.2020 08:53:57 | -3,600 | d3dc53e2ed045e5758f15957701f720dd92a123a | Fix java7 build | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/crypto/X509CertificateSpecification.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/crypto/X509CertificateSpecification.java",
"diff": "@@ -2,7 +2,9 @@ package com.github.tomakehurst.wiremock.cryp... | Java | Apache License 2.0 | tomakehurst/wiremock | Fix java7 build |
686,936 | 29.05.2020 17:31:13 | -3,600 | daa4454a141c59336bb07baa2941e3b435adf6e8 | Documented XML equality comparison type exemption | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/request-matching.md",
"new_path": "docs-v2/_docs/request-matching.md",
"diff": "@@ -685,7 +685,9 @@ The XMLUnit [placeholders](https://github.com/xmlunit/user-guide/wiki/Placeholde\nJava:\n```java\n-.withRequestBody(equalToXml(\"<message><id>${xm... | Java | Apache License 2.0 | tomakehurst/wiremock | Documented XML equality comparison type exemption |
686,936 | 29.05.2020 17:58:08 | -3,600 | 61a92dfc26e52e8617d219103da4f478b2bef067 | Documented change to XPath behaviour when matching namespaced XML documents | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/request-matching.md",
"new_path": "docs-v2/_docs/request-matching.md",
"diff": "@@ -815,7 +815,10 @@ JSON:\n}\n```\n-The above example will only work with non-namespaced XML. If you need to match a namespaced document with it is necessary to decl... | Java | Apache License 2.0 | tomakehurst/wiremock | Documented change to XPath behaviour when matching namespaced XML documents |
686,936 | 29.05.2020 17:58:32 | -3,600 | d7cdd27836185883effdf130f689f6fb664f6726 | Documented enhancement to XPath helper permitting use of results in further helpers | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/response-templating.md",
"new_path": "docs-v2/_docs/response-templating.md",
"diff": "@@ -321,6 +321,32 @@ The following will render \"success\" in the output:\n{% endraw %}\n+### Using the output of `xPath` in other helpers\n+\n+Since version 2.... | Java | Apache License 2.0 | tomakehurst/wiremock | Documented enhancement to XPath helper permitting use of results in further helpers |
686,981 | 01.06.2020 10:32:02 | -3,600 | 03d29c3c54c7a19927272577ff7e79a23c502365 | Rename trust-all to trust-all-proxy-targets
More explicit name. | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/proxying.md",
"new_path": "docs-v2/_docs/proxying.md",
"diff": "@@ -134,7 +134,7 @@ stubFor(get(urlEqualTo(\"/users/12345.json\"))\nwiremock-jre8 allows forward proxying, stubbing & recording of HTTPS traffic. By default, this will verify the ori... | Java | Apache License 2.0 | tomakehurst/wiremock | Rename trust-all to trust-all-proxy-targets
More explicit name. |
686,981 | 01.06.2020 10:34:52 | -3,600 | 46da3df242228308eef9fc864f15ef7361b7ea75 | Fix misnamed tests
They are testing forward proxying, not reverse proxying. | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/http/ProxyResponseRendererTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/http/ProxyResponseRendererTest.java",
"diff": "@@ -55,7 +55,7 @@ public class ProxyResponseRendererTest {\n}\n@Test\n... | Java | Apache License 2.0 | tomakehurst/wiremock | Fix misnamed tests
They are testing forward proxying, not reverse proxying. |
686,936 | 01.06.2020 10:50:13 | -3,600 | c327c5b20033d7b53bf108eb3f264799c147d65f | Started caching expected XML in EqualToXmlPattern as a Document to reduce repeated parsing | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/matching/EqualToXmlPattern.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/matching/EqualToXmlPattern.java",
"diff": "@@ -22,6 +22,7 @@ import com.google.common.collect.FluentIterable;\nimport com... | Java | Apache License 2.0 | tomakehurst/wiremock | Started caching expected XML in EqualToXmlPattern as a Document to reduce repeated parsing |
686,936 | 01.06.2020 15:29:36 | -3,600 | e584b16253d487ffb6dde1e444d4920e05ec3d0d | Flattened the response template request model to save keystrokes and sanity. Also fixed the distinction between path and url (path + query string). | [
{
"change_type": "MODIFY",
"old_path": "docs-v2/_docs/response-templating.md",
"new_path": "docs-v2/_docs/response-templating.md",
"diff": "@@ -116,7 +116,7 @@ The body file for a response can be selected dynamically by templating the file\n```java\nwm.stubFor(get(urlPathMatching(\"/static/.*\"))\n.... | Java | Apache License 2.0 | tomakehurst/wiremock | Flattened the response template request model to save keystrokes and sanity. Also fixed the distinction between path and url (path + query string). |
686,981 | 29.05.2020 09:23:33 | -3,600 | c77f79b7256a71dafcbc355d063d1c0c9627d3ba | Fix the simple to fix deprecation warnings | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -20,24 +20,21 @@ import com.github.tomakehurst.wiremock.common.ProxySettings;\nimpo... | Java | Apache License 2.0 | tomakehurst/wiremock | Fix the simple to fix deprecation warnings |
686,981 | 01.06.2020 11:36:35 | -3,600 | 16394dd8605b614a335dc0313cd118772c046205 | Add failing tests for per-host certificate validation | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -36,6 +36,8 @@ import org.apache.http.ssl.SSLContexts;\nimport javax.net.ssl.SSLCon... | Java | Apache License 2.0 | tomakehurst/wiremock | Add failing tests for per-host certificate validation |
686,981 | 01.06.2020 12:04:36 | -3,600 | a51d523a24bea6e23838d168f2b1c8e5d3bdbab0 | Use a fork of the Apache SSLContextBuilder
We need to make changes to the way the SSL context is built. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -30,8 +30,6 @@ import org.apache.http.impl.client.BasicCredentialsProvider;\nimport... | Java | Apache License 2.0 | tomakehurst/wiremock | Use a fork of the Apache SSLContextBuilder
We need to make changes to the way the SSL context is built. |
686,936 | 01.06.2020 17:39:43 | -3,600 | 10395e81d13e2ada40a0e714761ef4998c4ccb1a | Increased error margin in response dribble test to reduce flakeyness | [
{
"change_type": "MODIFY",
"old_path": "src/test/java/com/github/tomakehurst/wiremock/ResponseDribbleAcceptanceTest.java",
"new_path": "src/test/java/com/github/tomakehurst/wiremock/ResponseDribbleAcceptanceTest.java",
"diff": "@@ -40,6 +40,7 @@ public class ResponseDribbleAcceptanceTest {\nprivate ... | Java | Apache License 2.0 | tomakehurst/wiremock | Increased error margin in response dribble test to reduce flakeyness |
686,936 | 01.06.2020 17:40:28 | -3,600 | 7ba99b0f69e3c85b08ef2ed1be00576b60408f1f | Made URL match type explicit in diff reports if not path+query equality | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/verification/diff/Diff.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/verification/diff/Diff.java",
"diff": "@@ -21,6 +21,9 @@ import com.github.tomakehurst.wiremock.common.xml.Xml;\nimport com.g... | Java | Apache License 2.0 | tomakehurst/wiremock | Made URL match type explicit in diff reports if not path+query equality |
686,981 | 01.06.2020 13:46:56 | -3,600 | f0af7942595b9dc08f7e52cab718060e0fe0069f | For testing, trust a public certificate added to the client key store
This fixes some of the tests. Breaks the new `realCertificateIsAccepted` test.
This is because calling `loadTrustMaterial` with a key store doesn't add its
certificates to the default trusted certificates, but instead replaces them
with the given key store. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -23,6 +23,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;\nimport org... | Java | Apache License 2.0 | tomakehurst/wiremock | For testing, trust a public certificate added to the client key store
This fixes some of the tests. Breaks the new `realCertificateIsAccepted` test.
This is because calling `loadTrustMaterial` with a key store doesn't add its
certificates to the default trusted certificates, but instead replaces them
with the given key store. |
686,981 | 01.06.2020 16:10:05 | -3,600 | aa3dee9e49f889c3af78a08ab95695fef924a541 | Move SSL classes into their own package | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -17,6 +17,7 @@ package com.github.tomakehurst.wiremock.http;\nimport com.github.tom... | Java | Apache License 2.0 | tomakehurst/wiremock | Move SSL classes into their own package |
686,981 | 01.06.2020 16:36:45 | -3,600 | aada711a86bbc29ce132b8faef4692c42196acb1 | Allow trusting additional certificates
Previously a client had to choose between the default trusted certificates
and those in a custom trust store. This commit allows trusting the certificates
in a custom trust store in addition to those in the default trusted certificates. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/main/java/com/github/tomakehurst/wiremock/common/ArrayFunctions.java",
"diff": "+package com.github.tomakehurst.wiremock.common;\n+\n+import static java.util.Arrays.copyOf;\n+\n+public final class ArrayFunctions {\n+\n+ public static <T> T[]... | Java | Apache License 2.0 | tomakehurst/wiremock | Allow trusting additional certificates
Previously a client had to choose between the default trusted certificates
and those in a custom trust store. This commit allows trusting the certificates
in a custom trust store in addition to those in the default trusted certificates. |
686,985 | 02.06.2020 16:30:38 | -7,200 | 33717fb74f36c081b76a5f70024d7f3767921bef | In scenarios where one wants to use a subclass of ResponseDefinition, they should be able to override the copy method. The reason for that is that the static copyOf is already used in Wiremock codebase. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/ResponseDefinition.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/ResponseDefinition.java",
"diff": "@@ -203,21 +203,25 @@ public class ResponseDefinition {\n}\npublic static ResponseDe... | Java | Apache License 2.0 | tomakehurst/wiremock | In scenarios where one wants to use a subclass of ResponseDefinition, they should be able to override the copy method. The reason for that is that the static copyOf is already used in Wiremock codebase. (#1324)
Co-authored-by: Wojtek <wojtek@trafficparrot.com> |
686,981 | 02.06.2020 15:39:19 | -3,600 | df6d7a4dae045c7637cc7f3a8ab02ada79ad8f7f | Simplify loading of trust material
`loadTrustMaterial` was always called with one of the two values being null,
so separate it into two methods. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -124,9 +124,9 @@ public class HttpClientFactory {\n.loadKeyMaterial(trustStore, tru... | Java | Apache License 2.0 | tomakehurst/wiremock | Simplify loading of trust material
`loadTrustMaterial` was always called with one of the two values being null,
so separate it into two methods. |
686,981 | 02.06.2020 16:01:51 | -3,600 | 4c3fb3fa8e71d165595839b889eb894864cf0151 | Extract a `buildSslContext` method | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -32,6 +32,7 @@ import org.apache.http.impl.client.BasicCredentialsProvider;\nimport... | Java | Apache License 2.0 | tomakehurst/wiremock | Extract a `buildSslContext` method |
686,981 | 03.06.2020 09:57:48 | -3,600 | 1efd22467ce5023a47495a3b9f031843d01effd9 | Make CompositeTrustManager extend X509ExtendedTrustManager
Will allow deciding how to verify on the basis of requested host.
Involves switching to Mockito as JMock doesn't like mocking classes. | [
{
"change_type": "MODIFY",
"old_path": "build.gradle",
"new_path": "build.gradle",
"diff": "@@ -113,6 +113,7 @@ allprojects {\nexclude group: \"org.hamcrest\", module: \"hamcrest-core\"\nexclude group: \"org.hamcrest\", module: \"hamcrest-library\"\n}\n+ testCompile 'org.mockito:mockito-core:3.3.3'\... | Java | Apache License 2.0 | tomakehurst/wiremock | Make CompositeTrustManager extend X509ExtendedTrustManager
Will allow deciding how to verify on the basis of requested host.
Involves switching to Mockito as JMock doesn't like mocking classes. |
686,981 | 03.06.2020 10:40:34 | -3,600 | 8dd8c702bde0b5ff2351771589d82d7190328aa4 | Make TrustManagerDelegate extend X509ExtendedTrustManager
Will allow deciding how to verify on the basis of requested host. | [
{
"change_type": "MODIFY",
"old_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"new_path": "src/main/java/com/github/tomakehurst/wiremock/http/HttpClientFactory.java",
"diff": "@@ -18,6 +18,8 @@ package com.github.tomakehurst.wiremock.http;\nimport com.github.tom... | Java | Apache License 2.0 | tomakehurst/wiremock | Make TrustManagerDelegate extend X509ExtendedTrustManager
Will allow deciding how to verify on the basis of requested host. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.