diff --git a/CHANGELOG.md b/CHANGELOG.md index f9891af65c..2a7d3b05c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Feat: Sentry closes Android NDK and ShutdownHook integrations (#1358) * Enhancement: Allow inheritance of SentryHandler class in sentry-jul package(#1367) * Fix: Accept only non null value maps (#1368) +* Bump: Upgrade Apache HttpComponents Core to 5.0.3 (#1375) * Enhancement: Make NoOpHub public (#1379) * Fix: Do not bind transactions to scope by default. (#1376) diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index ee6ff6b6d9..e0eecc32ed 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -74,6 +74,8 @@ object Config { val servletApi = "javax.servlet:javax.servlet-api" val apacheHttpClient = "org.apache.httpcomponents.client5:httpclient5:5.0.3" + val apacheHttpCore = "org.apache.httpcomponents.core5:httpcore5:5.0.3" + val apacheHttpCoreH2 = "org.apache.httpcomponents.core5:httpcore5-h2:5.0.3" private val retrofit2Version = "2.9.0" private val retrofit2Group = "com.squareup.retrofit2" diff --git a/sentry-apache-http-client-5/build.gradle.kts b/sentry-apache-http-client-5/build.gradle.kts index 672f1cbbfd..c86622b114 100644 --- a/sentry-apache-http-client-5/build.gradle.kts +++ b/sentry-apache-http-client-5/build.gradle.kts @@ -21,6 +21,8 @@ tasks.withType().configureEach { dependencies { api(project(":sentry")) api(Config.Libs.apacheHttpClient) + api(Config.Libs.apacheHttpCore) + api(Config.Libs.apacheHttpCoreH2) compileOnly(Config.CompileOnly.nopen) errorprone(Config.CompileOnly.nopenChecker)