Skip to content

Commit d380f52

Browse files
Merge pull request #3405 from aws/staging/07c19352-027b-402c-81f9-94e0dcc36bae
Pull request: release <- staging/07c19352-027b-402c-81f9-94e0dcc36bae
2 parents 007e11c + e57aa60 commit d380f52

File tree

497 files changed

+1645
-949
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

497 files changed

+1645
-949
lines changed

Diff for: .changes/2.29.6.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.29.6",
3+
"date": "2024-11-01",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "Load Checksum classes of CRT from Classloader instead of direct references of CRT classes."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Agents for Amazon Bedrock",
14+
"contributor": "",
15+
"description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon CloudWatch Logs",
20+
"contributor": "",
21+
"description": "This release introduces an improvement in PutLogEvents"
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon DocumentDB Elastic Clusters",
26+
"contributor": "",
27+
"description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction"
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Tax Settings",
32+
"contributor": "",
33+
"description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "AWS SDK for Java v2",
38+
"contributor": "",
39+
"description": "Updated endpoint and partition metadata."
40+
}
41+
]
42+
}

Diff for: CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.29.6__ __2024-11-01__
3+
## __AWS SDK for Java v2__
4+
- ### Features
5+
- Updated endpoint and partition metadata.
6+
7+
- ### Bugfixes
8+
- Load Checksum classes of CRT from Classloader instead of direct references of CRT classes.
9+
10+
## __Agents for Amazon Bedrock__
11+
- ### Features
12+
- Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience.
13+
14+
## __Amazon CloudWatch Logs__
15+
- ### Features
16+
- This release introduces an improvement in PutLogEvents
17+
18+
## __Amazon DocumentDB Elastic Clusters__
19+
- ### Features
20+
- Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction
21+
22+
## __Tax Settings__
23+
- ### Features
24+
- Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration.
25+
226
# __2.29.5__ __2024-10-31__
327
## __AWS Batch__
428
- ### Features

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To automatically manage module versions (currently all modules have the same ver
5151
<dependency>
5252
<groupId>software.amazon.awssdk</groupId>
5353
<artifactId>bom</artifactId>
54-
<version>2.29.5</version>
54+
<version>2.29.6</version>
5555
<type>pom</type>
5656
<scope>import</scope>
5757
</dependency>
@@ -85,12 +85,12 @@ Alternatively you can add dependencies for the specific services you use only:
8585
<dependency>
8686
<groupId>software.amazon.awssdk</groupId>
8787
<artifactId>ec2</artifactId>
88-
<version>2.29.5</version>
88+
<version>2.29.6</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.29.5</version>
93+
<version>2.29.6</version>
9494
</dependency>
9595
```
9696

@@ -102,7 +102,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
102102
<dependency>
103103
<groupId>software.amazon.awssdk</groupId>
104104
<artifactId>aws-sdk-java</artifactId>
105-
<version>2.29.5</version>
105+
<version>2.29.6</version>
106106
</dependency>
107107
```
108108

Diff for: archetypes/archetype-app-quickstart/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

Diff for: archetypes/archetype-lambda/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

Diff for: archetypes/archetype-tools/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

Diff for: archetypes/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

Diff for: aws-sdk-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.29.5</version>
20+
<version>2.29.6</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

Diff for: bom-internal/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

Diff for: bom/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.29.5</version>
20+
<version>2.29.6</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

Diff for: bundle-logging-bridge/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.29.5</version>
24+
<version>2.29.6</version>
2525
</parent>
2626
<artifactId>bundle-logging-bridge</artifactId>
2727
<packaging>jar</packaging>

Diff for: bundle-sdk/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.29.5</version>
24+
<version>2.29.6</version>
2525
</parent>
2626
<artifactId>bundle-sdk</artifactId>
2727
<packaging>jar</packaging>

Diff for: bundle/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.29.5</version>
24+
<version>2.29.6</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

Diff for: codegen-lite-maven-plugin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

Diff for: codegen-lite/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.29.5</version>
24+
<version>2.29.6</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<name>AWS Java SDK :: Code Generator Lite</name>

Diff for: codegen-maven-plugin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

Diff for: codegen/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.29.5</version>
24+
<version>2.29.6</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

Diff for: core/annotations/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

Diff for: core/arns/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.29.5</version>
23+
<version>2.29.6</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

Diff for: core/auth-crt/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
</parent>
2727

2828
<artifactId>auth-crt</artifactId>

Diff for: core/auth/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

Diff for: core/aws-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
</parent>
2727

2828
<artifactId>aws-core</artifactId>

Diff for: core/checksums-spi/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
</parent>
2727

2828
<artifactId>checksums-spi</artifactId>

Diff for: core/checksums/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.29.5</version>
25+
<version>2.29.6</version>
2626
</parent>
2727

2828
<artifactId>checksums</artifactId>
@@ -55,7 +55,7 @@
5555
<groupId>software.amazon.awssdk.crt</groupId>
5656
<artifactId>aws-crt</artifactId>
5757
<version>${awscrt.version}</version>
58-
<optional>true</optional>
58+
<scope>test</scope>
5959
</dependency>
6060

6161
<dependency>

Diff for: core/checksums/src/main/java/software/amazon/awssdk/checksums/SdkChecksum.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import java.util.zip.Checksum;
2020
import software.amazon.awssdk.annotations.SdkProtectedApi;
2121
import software.amazon.awssdk.checksums.internal.Crc32Checksum;
22-
import software.amazon.awssdk.checksums.internal.Crc32cProvider;
2322
import software.amazon.awssdk.checksums.internal.Crc64NvmeChecksum;
23+
import software.amazon.awssdk.checksums.internal.CrcChecksumProvider;
2424
import software.amazon.awssdk.checksums.internal.Md5Checksum;
2525
import software.amazon.awssdk.checksums.internal.Sha1Checksum;
2626
import software.amazon.awssdk.checksums.internal.Sha256Checksum;
@@ -39,7 +39,7 @@ public interface SdkChecksum extends Checksum {
3939
static SdkChecksum forAlgorithm(ChecksumAlgorithm algorithm) {
4040
switch (algorithm.algorithmId()) {
4141
case "CRC32C":
42-
return Crc32cProvider.create();
42+
return CrcChecksumProvider.crc32cImplementation();
4343
case "CRC32":
4444
return new Crc32Checksum();
4545
case "SHA1":

Diff for: core/checksums/src/main/java/software/amazon/awssdk/checksums/internal/Crc64NvmeChecksum.java

+25-17
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,50 @@
1515

1616
package software.amazon.awssdk.checksums.internal;
1717

18-
import static software.amazon.awssdk.utils.DependencyValidate.requireClass;
1918
import static software.amazon.awssdk.utils.NumericUtils.longToByte;
2019

21-
import java.util.zip.Checksum;
2220
import software.amazon.awssdk.annotations.SdkInternalApi;
2321
import software.amazon.awssdk.checksums.SdkChecksum;
24-
import software.amazon.awssdk.crt.checksums.CRC64NVME;
2522

2623
/**
2724
* Implementation of {@link SdkChecksum} to calculate an CRC64NVME checksum.
2825
*/
2926
@SdkInternalApi
30-
public final class Crc64NvmeChecksum extends BaseCrcChecksum {
31-
private static final String CRT_CRC64NVME_PATH = "software.amazon.awssdk.crt.checksums.CRC64NVME";
32-
private static final String CRT_MODULE = "software.amazon.awssdk.crt:aws-crt";
27+
public final class Crc64NvmeChecksum implements SdkChecksum {
28+
29+
private final SdkChecksum sdkChecksum;
3330

3431
public Crc64NvmeChecksum() {
35-
super(getCrc64Nvme());
32+
this.sdkChecksum = CrcChecksumProvider.crc64NvmeCrtImplementation();
3633
}
3734

38-
private static CRC64NVME getCrc64Nvme() {
39-
requireClass(CRT_CRC64NVME_PATH, CRT_MODULE, "CRC64NVME");
40-
return new CRC64NVME();
35+
@Override
36+
public byte[] getChecksumBytes() {
37+
return longToByte(sdkChecksum.getValue());
4138
}
4239

4340
@Override
44-
public Checksum cloneChecksum(Checksum checksum) {
45-
if (checksum instanceof CRC64NVME) {
46-
return (Checksum) ((CRC64NVME) checksum).clone();
47-
}
41+
public void mark(int readLimit) {
42+
this.sdkChecksum.mark(readLimit);
43+
}
4844

49-
throw new IllegalStateException("Unsupported checksum");
45+
@Override
46+
public void update(int b) {
47+
this.sdkChecksum.update(b);
5048
}
5149

5250
@Override
53-
public byte[] getChecksumBytes() {
54-
return longToByte(getChecksum().getValue());
51+
public void update(byte[] b, int off, int len) {
52+
this.sdkChecksum.update(b, off, len);
53+
}
54+
55+
@Override
56+
public long getValue() {
57+
return sdkChecksum.getValue();
58+
}
59+
60+
@Override
61+
public void reset() {
62+
sdkChecksum.reset();
5563
}
5664
}

0 commit comments

Comments
 (0)