From 19313bdf93a1c9b37a6f2b4a6ade238ff7addf01 Mon Sep 17 00:00:00 2001 From: Aayush Atharva Date: Mon, 8 Sep 2025 00:35:18 +0530 Subject: [PATCH 1/2] Release v3.0.3 --- .github/workflows/release.yml | 2 +- README.md | 4 ++-- client/pom.xml | 2 +- pom.xml | 13 +++++-------- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b175fa865..059d1640f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: with: servers: | [{ - "id": "ossrh", + "id": "central", "username": "${{ secrets.OSSRH_USERNAME }}", "password": "${{ secrets.OSSRH_PASSWORD }}" }] diff --git a/README.md b/README.md index 0272134ed..61621a682 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Maven: org.asynchttpclient async-http-client - 3.0.2 + 3.0.3 ``` @@ -28,7 +28,7 @@ Maven: Gradle: ```groovy dependencies { - implementation 'org.asynchttpclient:async-http-client:3.0.2' + implementation 'org.asynchttpclient:async-http-client:3.0.3' } ``` diff --git a/client/pom.xml b/client/pom.xml index 9c0cefee3..019e294c0 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -19,7 +19,7 @@ org.asynchttpclient async-http-client-project - 3.0.2 + 3.0.3 4.0.0 diff --git a/pom.xml b/pom.xml index e2a3f7854..22b72aa2c 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.asynchttpclient async-http-client-project - 3.0.2 + 3.0.3 pom AHC/Project @@ -394,15 +394,12 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://oss.sonatype.org/ - false - false + central From f190e038a61f5a543c681b9814b83560304ca27d Mon Sep 17 00:00:00 2001 From: Aayush Atharva Date: Mon, 8 Sep 2025 00:39:41 +0530 Subject: [PATCH 2/2] Release v3.0.3 --- .../main/java/org/asynchttpclient/AsyncHttpClientConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java b/client/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java index 954628b3d..216dc4ed6 100644 --- a/client/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java +++ b/client/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java @@ -380,7 +380,10 @@ public interface AsyncHttpClientConfig { * * @return true if the Authorization header should be stripped, false otherwise. */ - boolean isStripAuthorizationOnRedirect(); + default boolean isStripAuthorizationOnRedirect() { + // By default, we throw, so that existing implementations don't break. + throw new UnsupportedOperationException("IsStripAuthorizationOnRedirect is not supported by " + getClass().getName()); + } enum ResponseBodyPartFactory {