Skip to content

Commit

Permalink
Merge branch 'master' into sugmanue/unmarshalling-single-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sugmanue authored Oct 10, 2024
2 parents b33fa34 + 0fa11d2 commit 1b93fce
Show file tree
Hide file tree
Showing 480 changed files with 1,013 additions and 881 deletions.
24 changes: 24 additions & 0 deletions .changes/2.28.19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "2.28.19",
"date": "2024-10-09",
"entries": [
{
"type": "bugfix",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "This change adds the default retry conditions in the client builder if none are configured to behave similarly to retry policies that are configured behind the scenes without the users having to do that themselves. This will prevent customers using directly the retry strategies builders from `DefaultRetryStrategy` to end up with a no-op strategy."
},
{
"type": "feature",
"category": "AWS CodePipeline",
"contributor": "",
"description": "AWS CodePipeline introduces a Compute category"
},
{
"type": "feature",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "Updated endpoint and partition metadata."
}
]
}
6 changes: 0 additions & 6 deletions .changes/next-release/bugfix-AWSSDKforJavav2-8d6fb63.json

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
# __2.28.19__ __2024-10-09__
## __AWS CodePipeline__
- ### Features
- AWS CodePipeline introduces a Compute category

## __AWS SDK for Java v2__
- ### Features
- Updated endpoint and partition metadata.

- ### Bugfixes
- This change adds the default retry conditions in the client builder if none are configured to behave similarly to retry policies that are configured behind the scenes without the users having to do that themselves. This will prevent customers using directly the retry strategies builders from `DefaultRetryStrategy` to end up with a no-op strategy.

# __2.28.18__ __2024-10-08__
## __AWS SDK for Java v2__
- ### Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To automatically manage module versions (currently all modules have the same ver
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.28.18</version>
<version>2.28.19</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -85,12 +85,12 @@ Alternatively you can add dependencies for the specific services you use only:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ec2</artifactId>
<version>2.28.18</version>
<version>2.28.19</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.28.18</version>
<version>2.28.19</version>
</dependency>
```

Expand All @@ -102,7 +102,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java</artifactId>
<version>2.28.18</version>
<version>2.28.19</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-app-quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetype-lambda</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetypes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>aws-sdk-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions buildspecs/release-javadoc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 0.2
env:
variables:
JAVA_HOME: "/usr/lib/jvm/java-21-amazon-corretto/"
JAVA_HOME: "/usr/lib/jvm/java-23-amazon-corretto/"
phases:
install:
commands:
- apt-get update; apt-get install -y java-21-amazon-corretto-jdk
- apt-get update; apt-get install -y java-23-amazon-corretto-jdk
- update-alternatives --auto javac
- update-alternatives --auto java
- pip install awscli==1.19.34 --upgrade --user
Expand Down
2 changes: 1 addition & 1 deletion bundle-logging-bridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<artifactId>bundle-logging-bridge</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<artifactId>bundle-sdk</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-lite-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<artifactId>codegen-lite</artifactId>
<name>AWS Java SDK :: Code Generator Lite</name>
Expand Down
2 changes: 1 addition & 1 deletion codegen-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<artifactId>codegen</artifactId>
<name>AWS Java SDK :: Code Generator</name>
Expand Down
2 changes: 1 addition & 1 deletion core/annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/arns/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/auth-crt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>auth-crt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>auth</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/aws-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>aws-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,15 @@ private void configureRetryPolicy(SdkClientConfiguration.Builder config) {
private void configureRetryStrategy(SdkClientConfiguration.Builder config) {
RetryStrategy strategy = config.option(SdkClientOption.RETRY_STRATEGY);
if (strategy != null) {
// Fix the retry strategy if no retry predicates were configured. Users using
// DefaultRetryStrategy do not have any conditions configured as that package
// does not know anything about the SDK or AWS retry conditions. This mimics the
// retry policies behavior that are configured behind the scenes and avoids the
// risk of customers inadvertently using a no-op retry strategy.
// TODO(10/09/24) This is a temporal workaround and not a long term solution. It will fail to add the SDK and AWS
// defaults if the users add one or more if their own retry predicates. A long term fix is needed that can
// "remember" which defaults have been already applied, e.g.,
// if (strategy.shouldAddDefaults("aws")) {
// strategy = strategy.toBuilder()
// .applyMutation(AwsRetryStrategy::applyDefaults)
// .markDefaultsAdded("aws")
// .build();
// }
if (strategy.maxAttempts() > 1
&& (strategy instanceof BaseRetryStrategy)
&& !((BaseRetryStrategy) strategy).hasRetryPredicates()
Expand Down
2 changes: 1 addition & 1 deletion core/checksums-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>checksums-spi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/checksums/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>checksums</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/crt-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>crt-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/endpoints-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion core/http-auth-aws-crt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>http-auth-aws-crt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/http-auth-aws-eventstream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>http-auth-aws-eventstream</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/http-auth-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>http-auth-aws</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/http-auth-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>http-auth-spi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/http-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>http-auth</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/identity-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>core</artifactId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>

<artifactId>identity-spi</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/imds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>imds</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/json-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>core</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.28.19-SNAPSHOT</version>
<version>2.28.20-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 1b93fce

Please sign in to comment.