Skip to content

Commit 631da42

Browse files
authored
DXE-4485 Merge pull request #57 from akamai/release/6.0.1
Release/6.0.1
2 parents 2036ea0 + bfd9d22 commit 631da42

File tree

11 files changed

+24
-19
lines changed

11 files changed

+24
-19
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
# Change log
22

3+
## 6.0.1 (December 17, 2024)
4+
5+
### Fixes
6+
7+
* Fixed vulnerability by upgrading the `asynchttpclient` module to 3.0.1 .
8+
* Removed checks in the `AsyncHttpClientEdgeGridRequestSigner` class for the `ReactiveStreamsBodyGenerator` case, which is no longer available in a new version of the `asynchttpclient` module.
9+
* Fixed some build errors by upgrading the JaCoCo library.
10+
311
## 6.0.0 (August 21, 2024)
412

513
### BREAKING CHANGES
614

7-
* Replaced deprecated `ApacheHttpTransport` with `com.google.api.client.http.apache.v2.ApacheHttpTransport` in `edgegrid-signer-google-http-client`.
8-
* Updated `README.md` for `edgegrid-signer-google-http-client` to include changes in the instructions for signing HTTP requests with specified client credentials.
15+
* Replaced the deprecated `ApacheHttpTransport` method with `com.google.api.client.http.apache.v2.ApacheHttpTransport` in the `edgegrid-signer-google-http-client` module.
16+
* Updated the `README.md` file for the `edgegrid-signer-google-http-client` module to include changes in the instructions for signing HTTP requests with specified client credentials.
917

1018
### Improvements
1119

12-
* Add support for `ProxySelector` in `ApacheHttpClientEdgeGridRoutePlanner` to enable the use of custom proxy servers.
20+
* Added support for `ProxySelector` in the `ApacheHttpClientEdgeGridRoutePlanner` method to enable the use of custom proxy servers.
1321

1422
### Fixes
1523

edgegrid-signer-apache-http-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>edgegrid-signer-parent</artifactId>
88
<groupId>com.akamai.edgegrid</groupId>
9-
<version>6.0.0</version>
9+
<version>6.0.1</version>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
1212

edgegrid-signer-apache-http-client5/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>edgegrid-signer-parent</artifactId>
88
<groupId>com.akamai.edgegrid</groupId>
9-
<version>6.0.0</version>
9+
<version>6.0.1</version>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
1212

edgegrid-signer-async-http-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>edgegrid-signer-parent</artifactId>
77
<groupId>com.akamai.edgegrid</groupId>
8-
<version>6.0.0</version>
8+
<version>6.0.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

edgegrid-signer-async-http-client/src/main/java/com/akamai/edgegrid/signer/ahc/AsyncHttpClientEdgeGridRequestSigner.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.asynchttpclient.RequestBuilderBase;
2727
import org.asynchttpclient.request.body.generator.FileBodyGenerator;
2828
import org.asynchttpclient.request.body.generator.InputStreamBodyGenerator;
29-
import org.asynchttpclient.request.body.generator.ReactiveStreamsBodyGenerator;
3029
import org.asynchttpclient.uri.Uri;
3130

3231
import java.net.URI;
@@ -112,8 +111,6 @@ private byte[] serializeBody(Request request) {
112111
throw new UnsupportedOperationException("Serializing FileBodyGenerator in request body is not supported");
113112
} else if (request.getBodyGenerator() instanceof InputStreamBodyGenerator) {
114113
throw new UnsupportedOperationException("Serializing InputStreamBodyGenerator in request body is not supported");
115-
} else if (request.getBodyGenerator() instanceof ReactiveStreamsBodyGenerator) {
116-
throw new UnsupportedOperationException("Serializing ReactiveStreamsBodyGenerator in request body is not supported");
117114
} else if (request.getBodyGenerator() != null) {
118115
throw new UnsupportedOperationException("Serializing generic BodyGenerator in request body is not supported");
119116
} else {

edgegrid-signer-async-http-client/src/test/java/com/akamai/edgegrid/signer/ahc/AsyncHttpClientEdgeGridSignatureCalculatorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void testCalculateAndAddSignatureForGet(Request request) throws Exception
4343
.host("endpoint.net")
4444
.build();
4545

46-
RequestBuilder requestToUpdate = new RequestBuilder(request);
46+
RequestBuilder requestToUpdate = new RequestBuilder(request.toString());
4747
new AsyncHttpClientEdgeGridSignatureCalculator(credential).calculateAndAddSignature(
4848
request, requestToUpdate);
4949
Request updatedRequest = requestToUpdate.build();
@@ -65,7 +65,7 @@ public void testPreservingQueryString() throws Exception {
6565
.build();
6666

6767
Request request = new RequestBuilder().setUrl("http://localhost/test?x=y").build();
68-
RequestBuilder requestToUpdate = new RequestBuilder(request);
68+
RequestBuilder requestToUpdate = new RequestBuilder(request.toString());
6969

7070
new AsyncHttpClientEdgeGridSignatureCalculator(credential).calculateAndAddSignature(
7171
request, requestToUpdate);
@@ -86,7 +86,7 @@ public void testNotDuplicatingQueryString() throws Exception {
8686
.build();
8787

8888
Request request = new RequestBuilder().setUrl("http://localhost/test").addQueryParam("x", "y").build();
89-
RequestBuilder requestToUpdate = new RequestBuilder(request);
89+
RequestBuilder requestToUpdate = new RequestBuilder(request.toString());
9090

9191
new AsyncHttpClientEdgeGridSignatureCalculator(credential).calculateAndAddSignature(
9292
request, requestToUpdate);

edgegrid-signer-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>edgegrid-signer-parent</artifactId>
88
<groupId>com.akamai.edgegrid</groupId>
9-
<version>6.0.0</version>
9+
<version>6.0.1</version>
1010
</parent>
1111

1212
<artifactId>edgegrid-signer-core</artifactId>

edgegrid-signer-google-http-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>edgegrid-signer-parent</artifactId>
88
<groupId>com.akamai.edgegrid</groupId>
9-
<version>6.0.0</version>
9+
<version>6.0.1</version>
1010
</parent>
1111

1212
<artifactId>edgegrid-signer-google-http-client</artifactId>

edgegrid-signer-rest-assured/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>edgegrid-signer-parent</artifactId>
88
<groupId>com.akamai.edgegrid</groupId>
9-
<version>6.0.0</version>
9+
<version>6.0.1</version>
1010
</parent>
1111

1212
<artifactId>edgegrid-signer-rest-assured</artifactId>

edgerc-reader/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>edgegrid-signer-parent</artifactId>
77
<groupId>com.akamai.edgegrid</groupId>
8-
<version>6.0.0</version>
8+
<version>6.0.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)