diff --git a/CHANGELOG.md b/CHANGELOG.md index a49943e2..c470c372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [2.6.1] - 2024-07-12 +### Fixed +- Upgraded dependencies to fix security vulnerabilities (log4j-log4j & commons-logging:commons-logging) + ## [2.6.0] - 2024-06-13 ### Added - (On Device Decisioning) Added new configuration option (`shouldArtifactRequestBypassProxyCache`). When enabled and a proxy is configured, send empty Authorization header on artifact rules request to bypass proxy-level cache diff --git a/build.gradle b/build.gradle index ba4c15bd..96b90460 100644 --- a/build.gradle +++ b/build.gradle @@ -144,7 +144,7 @@ dependencies { implementation "com.fasterxml.jackson.core:jackson-annotations:2.11.3" implementation "com.fasterxml.jackson.core:jackson-core:2.11.3" implementation "com.fasterxml.jackson.core:jackson-databind:2.11.3" - implementation "com.konghq:unirest-java:3.11.02" + implementation "com.konghq:unirest-java:3.14.5" implementation "io.github.jamsesso:json-logic-java:1.0.5" implementation "com.google.guava:guava:16.0.1" diff --git a/gradle.properties b/gradle.properties index 86234fe0..303f8657 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=com.adobe.target -version=2.6.0 +version=2.6.1 mavenCentralUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2 pomDescription=Adobe Target Java SDK pomURL=https://docs.adobe.com/content/help/en/target/using/implement-target/server-side/api-and-sdk-overview.html diff --git a/src/test/java/com/adobe/target/edge/client/ondevice/DefaultRuleLoaderTest.java b/src/test/java/com/adobe/target/edge/client/ondevice/DefaultRuleLoaderTest.java index 5f5eeb3b..17c15afb 100644 --- a/src/test/java/com/adobe/target/edge/client/ondevice/DefaultRuleLoaderTest.java +++ b/src/test/java/com/adobe/target/edge/client/ondevice/DefaultRuleLoaderTest.java @@ -175,6 +175,11 @@ public E mapError(Class errorClass) { public Cookies getCookies() { return null; } + + @Override + public HttpRequestSummary getRequestSummary() { + return null; + } }; } diff --git a/src/test/java/com/adobe/target/edge/client/utils/MockRawResponse.java b/src/test/java/com/adobe/target/edge/client/utils/MockRawResponse.java index 87bbc8c1..23941e51 100644 --- a/src/test/java/com/adobe/target/edge/client/utils/MockRawResponse.java +++ b/src/test/java/com/adobe/target/edge/client/utils/MockRawResponse.java @@ -15,6 +15,7 @@ import java.io.InputStreamReader; import kong.unirest.Config; import kong.unirest.Headers; +import kong.unirest.HttpRequestSummary; import kong.unirest.HttpResponseSummary; import kong.unirest.RawResponse; @@ -84,4 +85,9 @@ public Config getConfig() { public HttpResponseSummary toSummary() { return null; } + + @Override + public HttpRequestSummary getRequestSummary() { + return null; + } } diff --git a/src/test/java/com/adobe/target/edge/client/utils/TargetTestDeliveryRequestUtils.java b/src/test/java/com/adobe/target/edge/client/utils/TargetTestDeliveryRequestUtils.java index 8d32eb52..4aabc1ba 100644 --- a/src/test/java/com/adobe/target/edge/client/utils/TargetTestDeliveryRequestUtils.java +++ b/src/test/java/com/adobe/target/edge/client/utils/TargetTestDeliveryRequestUtils.java @@ -258,6 +258,11 @@ public Config getConfig() { public HttpResponseSummary toSummary() { return null; } + + @Override + public HttpRequestSummary getRequestSummary() { + return null; + } }; }