Skip to content

Commit 4b46864

Browse files
Merge pull request #3694 from aws/staging/e5cbae18-5755-4943-8b53-c6a35c401a3e
Pull request: release <- staging/e5cbae18-5755-4943-8b53-c6a35c401a3e
2 parents 8274bfc + 0d3a4ec commit 4b46864

File tree

529 files changed

+3933
-984
lines changed

Some content is hidden

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

529 files changed

+3933
-984
lines changed

.changes/2.30.23.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "bugfix",
77
"category": "Amazon Cloudfront",
88
"contributor": "",
9-
"description": "Decouple policy logic from resource url for getSignedUrlWithCustomPolicy"
9+
"description": "Allow users to specify resource URL pattern in `CloudFrontUtilities#getSignedUrlWithCustomPolicy`. See [#5577](https://github.com/aws/aws-sdk-java-v2/issues/5577)"
1010
},
1111
{
1212
"type": "feature",

.changes/2.30.30.json

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"version": "2.30.30",
3+
"date": "2025-02-27",
4+
"entries": [
5+
{
6+
"type": "bugfix",
7+
"category": "AWS SDK for Java v2",
8+
"contributor": "",
9+
"description": "Handle SecurityException for ProfileFileLocation access checks while accessing aws shared credentials file."
10+
},
11+
{
12+
"type": "bugfix",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Fixed an issue in AwsServiceException#getMessage() where it returned an empty string instead of null when the message is null."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "AWS Storage Gateway",
20+
"contributor": "",
21+
"description": "This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Agents for Amazon Bedrock Runtime",
26+
"contributor": "",
27+
"description": "Introduces Sessions (preview) to enable stateful conversations in GenAI applications."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon EMR",
32+
"contributor": "",
33+
"description": "Definition update for EbsConfiguration."
34+
},
35+
{
36+
"type": "feature",
37+
"category": "Amazon SageMaker Service",
38+
"contributor": "",
39+
"description": "SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference."
40+
},
41+
{
42+
"type": "feature",
43+
"category": "QBusiness",
44+
"contributor": "",
45+
"description": "This release supports deleting attachments from conversations."
46+
},
47+
{
48+
"type": "feature",
49+
"category": "Redshift Serverless",
50+
"contributor": "",
51+
"description": "Add track support for Redshift Serverless workgroup."
52+
},
53+
{
54+
"type": "feature",
55+
"category": "AWS SDK for Java v2",
56+
"contributor": "",
57+
"description": "Updated endpoint and partition metadata."
58+
}
59+
]
60+
}

CHANGELOG.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.30.30__ __2025-02-27__
3+
## __AWS SDK for Java v2__
4+
- ### Features
5+
- Updated endpoint and partition metadata.
6+
7+
- ### Bugfixes
8+
- Fixed an issue in AwsServiceException#getMessage() where it returned an empty string instead of null when the message is null.
9+
- Handle SecurityException for ProfileFileLocation access checks while accessing aws shared credentials file.
10+
11+
## __AWS Storage Gateway__
12+
- ### Features
13+
- This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3.
14+
15+
## __Agents for Amazon Bedrock Runtime__
16+
- ### Features
17+
- Introduces Sessions (preview) to enable stateful conversations in GenAI applications.
18+
19+
## __Amazon EMR__
20+
- ### Features
21+
- Definition update for EbsConfiguration.
22+
23+
## __Amazon SageMaker Service__
24+
- ### Features
25+
- SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference.
26+
27+
## __QBusiness__
28+
- ### Features
29+
- This release supports deleting attachments from conversations.
30+
31+
## __Redshift Serverless__
32+
- ### Features
33+
- Add track support for Redshift Serverless workgroup.
34+
235
# __2.30.29__ __2025-02-26__
336
## __AWS Batch__
437
- ### Features
@@ -195,7 +228,7 @@
195228

196229
## __Amazon Cloudfront__
197230
- ### Bugfixes
198-
- Decouple policy logic from resource url for getSignedUrlWithCustomPolicy
231+
- Allow users to specify resource URL pattern in `CloudFrontUtilities#getSignedUrlWithCustomPolicy`. See [#5577](https://github.com/aws/aws-sdk-java-v2/issues/5577)
199232

200233
## __Amazon EMR Containers__
201234
- ### Features

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.30.29</version>
54+
<version>2.30.30</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.30.29</version>
88+
<version>2.30.30</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.30.29</version>
93+
<version>2.30.30</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.30.29</version>
105+
<version>2.30.30</version>
106106
</dependency>
107107
```
108108

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.30.29</version>
23+
<version>2.30.30</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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.30.29</version>
23+
<version>2.30.30</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

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.30.29</version>
23+
<version>2.30.30</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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.30.29</version>
23+
<version>2.30.30</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

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.30.29</version>
20+
<version>2.30.30</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

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.30.29</version>
23+
<version>2.30.30</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

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.30.29</version>
20+
<version>2.30.30</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

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.30.29</version>
24+
<version>2.30.30</version>
2525
</parent>
2626
<artifactId>bundle-logging-bridge</artifactId>
2727
<packaging>jar</packaging>

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.30.29</version>
24+
<version>2.30.30</version>
2525
</parent>
2626
<artifactId>bundle-sdk</artifactId>
2727
<packaging>jar</packaging>

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.30.29</version>
24+
<version>2.30.30</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

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.30.29</version>
25+
<version>2.30.30</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

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.30.29</version>
24+
<version>2.30.30</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<name>AWS Java SDK :: Code Generator Lite</name>

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.30.29</version>
25+
<version>2.30.30</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

codegen-maven-plugin/src/main/java/software/amazon/awssdk/codegen/maven/plugin/GenerationMojo.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ public class GenerationMojo extends AbstractMojo {
5959
@Parameter(property = "outputDirectory", defaultValue = "${project.build.directory}")
6060
private String outputDirectory;
6161

62-
@Parameter(defaultValue = "false")
62+
@Parameter(property = "writeIntermediateModel", defaultValue = "false")
6363
private boolean writeIntermediateModel;
6464

65+
6566
@Parameter(defaultValue = "${project}", readonly = true)
6667
private MavenProject project;
6768

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.30.29</version>
24+
<version>2.30.30</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

codegen/src/main/java/software/amazon/awssdk/codegen/CodeGenerator.java

-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,12 @@ public void execute() {
8282
if (fileNamePrefix != null) {
8383
writeIntermediateModel(intermediateModel);
8484
}
85-
8685
emitCode(intermediateModel);
8786

8887
} catch (Exception e) {
8988
log.error(() -> "Failed to generate code. ", e);
9089
throw new RuntimeException(
9190
"Failed to generate code. Exception message : " + e.getMessage(), e);
92-
9391
}
9492
}
9593

codegen/src/main/java/software/amazon/awssdk/codegen/internal/Jackson.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import com.fasterxml.jackson.databind.ObjectWriter;
2121
import com.fasterxml.jackson.databind.SerializationFeature;
2222
import com.fasterxml.jackson.jr.ob.JSON;
23-
import com.fasterxml.jackson.jr.stree.JacksonJrsTreeCodec;
23+
import com.fasterxml.jackson.jr.stree.JrSimpleTreeExtension;
2424
import com.fasterxml.jackson.jr.stree.JrsValue;
2525
import java.io.File;
2626
import java.io.IOException;
@@ -36,7 +36,10 @@ public final class Jackson {
3636
.disable(JSON.Feature.FAIL_ON_UNKNOWN_BEAN_PROPERTY)
3737
.enable(JSON.Feature.PRETTY_PRINT_OUTPUT)
3838
.enable(JSON.Feature.READ_JSON_ARRAYS_AS_JAVA_ARRAYS)
39-
.treeCodec(new JacksonJrsTreeCodec());
39+
// enable BigDecimal Support
40+
.enable(JSON.Feature.USE_BIG_DECIMAL_FOR_FLOATS)
41+
.register(new JrSimpleTreeExtension());
42+
4043

4144
mapperBuilder.streamFactory().enable(JsonParser.Feature.ALLOW_COMMENTS);
4245

0 commit comments

Comments
 (0)