Skip to content

Commit e96ceb9

Browse files
authored
Release v3.0.3 (#2113)
1 parent af520cc commit e96ceb9

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
servers: |
3333
[{
34-
"id": "ossrh",
34+
"id": "central",
3535
"username": "${{ secrets.OSSRH_USERNAME }}",
3636
"password": "${{ secrets.OSSRH_PASSWORD }}"
3737
}]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Maven:
2020
<dependency>
2121
<groupId>org.asynchttpclient</groupId>
2222
<artifactId>async-http-client</artifactId>
23-
<version>3.0.2</version>
23+
<version>3.0.3</version>
2424
</dependency>
2525
</dependencies>
2626
```
2727

2828
Gradle:
2929
```groovy
3030
dependencies {
31-
implementation 'org.asynchttpclient:async-http-client:3.0.2'
31+
implementation 'org.asynchttpclient:async-http-client:3.0.3'
3232
}
3333
```
3434

client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.asynchttpclient</groupId>
2121
<artifactId>async-http-client-project</artifactId>
22-
<version>3.0.2</version>
22+
<version>3.0.3</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

client/src/main/java/org/asynchttpclient/AsyncHttpClientConfig.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,10 @@ public interface AsyncHttpClientConfig {
380380
*
381381
* @return true if the Authorization header should be stripped, false otherwise.
382382
*/
383-
boolean isStripAuthorizationOnRedirect();
383+
default boolean isStripAuthorizationOnRedirect() {
384+
// By default, we throw, so that existing implementations don't break.
385+
throw new UnsupportedOperationException("IsStripAuthorizationOnRedirect is not supported by " + getClass().getName());
386+
}
384387

385388
enum ResponseBodyPartFactory {
386389

pom.xml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<groupId>org.asynchttpclient</groupId>
2222
<artifactId>async-http-client-project</artifactId>
23-
<version>3.0.2</version>
23+
<version>3.0.3</version>
2424
<packaging>pom</packaging>
2525

2626
<name>AHC/Project</name>
@@ -394,15 +394,12 @@
394394
</plugin>
395395

396396
<plugin>
397-
<groupId>org.sonatype.plugins</groupId>
398-
<artifactId>nexus-staging-maven-plugin</artifactId>
399-
<version>1.7.0</version>
397+
<groupId>org.sonatype.central</groupId>
398+
<artifactId>central-publishing-maven-plugin</artifactId>
399+
<version>0.8.0</version>
400400
<extensions>true</extensions>
401401
<configuration>
402-
<serverId>ossrh</serverId>
403-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
404-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
405-
<skipRemoteStaging>false</skipRemoteStaging>
402+
<publishingServerId>central</publishingServerId>
406403
</configuration>
407404
</plugin>
408405

0 commit comments

Comments
 (0)