Skip to content

Commit 7d750e1

Browse files
Merge pull request #4039 from aws/staging/4f2a6dc0-5dd4-4f18-b3f8-401689734cc8
Pull request: release <- staging/4f2a6dc0-5dd4-4f18-b3f8-401689734cc8
2 parents ba10f0f + b26ad97 commit 7d750e1

File tree

550 files changed

+7205
-5411
lines changed

Some content is hidden

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

550 files changed

+7205
-5411
lines changed

.changes/2.31.64.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "2.31.64",
3+
"date": "2025-06-16",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "AWS Network Firewall",
8+
"contributor": "",
9+
"description": "You can now create firewalls using a Transit Gateway instead of a VPC, resulting in a TGW attachment."
10+
},
11+
{
12+
"type": "feature",
13+
"category": "AWS SDK for Java v2",
14+
"contributor": "",
15+
"description": "Add tracking of RequestBody/ResponseTransfromer implementations used in UserAgent."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Amazon Bedrock",
20+
"contributor": "",
21+
"description": "This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a Amazon SageMaker trained Amazon Nova model into Amazon Bedrock for inference."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Amazon Elastic Container Registry",
26+
"contributor": "",
27+
"description": "The `DescribeImageScanning` API now includes `lastInUseAt` and `InUseCount` fields that can be used to prioritize vulnerability remediation for images that are actively being used."
28+
},
29+
{
30+
"type": "feature",
31+
"category": "Amazon SageMaker Service",
32+
"contributor": "",
33+
"description": "This release 1) adds a new S3DataType Converse for SageMaker training 2)adds C8g R7gd M8g C6in P6 P6e instance type for SageMaker endpoint 3) adds m7i, r7i, c7i instance type for SageMaker Training and Processing."
34+
}
35+
]
36+
}

.github/workflows/api-surface-area-review-verification.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
types: [ opened, synchronize, reopened, labeled, unlabeled ]
1010
branches:
1111
- master
12+
paths:
13+
- '**/*.java'
1214

1315
jobs:
1416
api-surface-area-review-verification:
@@ -20,7 +22,7 @@ jobs:
2022
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-api-surface-area-change') }}
2123
run: |
2224
git fetch origin ${{ github.base_ref }} --depth 1
23-
FILES=$( git diff remotes/origin/${{ github.base_ref }} --name-only | grep "\.java$" | grep -v -E "(^|/)(internal|test|codegen|v2-migration)/" || true)
25+
FILES=$( git diff remotes/origin/${{ github.base_ref }} --name-only | grep "\.java$" | grep -v -E "(^|/)(internal|test|codegen|v2-migration|it)/" || true)
2426
if [ -n "$FILES" ]; then
2527
echo "::error::Changes around protected/public APIs found:"
2628
echo "$FILES" | while read file; do
@@ -37,4 +39,4 @@ jobs:
3739
echo "::error ::Change around public/protected APIs has been detected. Please either:"
3840
echo "::error ::* Review it with the team and add the 'api-surface-area-reviewed' label to this PR after approval –or–"
3941
echo "::error ::* Add the 'no-api-surface-area-change' label to this PR in case this is a false positive"
40-
exit 1
42+
exit 1

.github/workflows/changelog-verification.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
types: [ opened, synchronize, reopened, labeled, unlabeled ]
1010
branches:
1111
- master
12+
paths:
13+
- '**/*.java'
1214

1315
jobs:
1416
changelog-verification:
@@ -18,12 +20,21 @@ jobs:
1820
- name: Check for changelog entry
1921
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-not-required') }}
2022
run: |
21-
git fetch origin ${{ github.base_ref }} --depth 1 && \
22-
git diff remotes/origin/${{ github.base_ref }} --name-only | grep -P "\.changes/next-release/*[a-zA-Z0-9_-]+\.json"
23+
git fetch origin ${{ github.base_ref }} --depth 1
24+
NON_TEST_FILES=$( git diff remotes/origin/${{ github.base_ref }} --name-only | grep "\.java$" | grep -v -E "(^|/)(test|it)/" || true)
25+
if [ -n "NON_TEST_FILES" ]; then
26+
echo "::error::Non-test Java change found:"
27+
echo "NON_TEST_FILES" | while read file; do
28+
echo "::error::$file"
29+
done
30+
git diff remotes/origin/${{ github.base_ref }} --name-only | grep -P "\.changes/next-release/*[a-zA-Z0-9_-]+\.json"
31+
else
32+
echo "No change that may require a changelog entry found."
33+
fi
2334
- name: Error message
2435
if: ${{ failure() }}
2536
run: |
2637
echo "::error ::No new/updated changelog entry found in /.changes/next-release directory. Please either:"
2738
echo "::error ::* Add a changelog entry (see CONTRIBUTING.md for instructions) –or–"
2839
echo "::error ::* Add the 'changelog-not-required' label to this PR (in rare cases not warranting a changelog entry)"
29-
exit 1
40+
exit 1
Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
name: New Module Verification
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, labeled, unlabeled]
6+
branches:
7+
- master
8+
- feature/master/*
9+
paths:
10+
- '**/*.xml'
11+
- '.brazil.json'
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
new-module-verification:
18+
name: Verify New Modules
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 10
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: Check for new module additions
29+
id: check-new-modules
30+
shell: bash
31+
run: |
32+
set -euo pipefail
33+
34+
echo "::group::Detecting new modules"
35+
git fetch origin ${{ github.base_ref }} --depth 1
36+
37+
# Find new pom.xml files in the diff
38+
NEW_POM_FILES=$(git diff --name-only remotes/origin/${{ github.base_ref }} | grep -E '.*pom\.xml$' | grep -v "target/" || echo "")
39+
40+
if [ -z "$NEW_POM_FILES" ]; then
41+
echo "No new modules detected."
42+
echo "new_modules_found=false" >> $GITHUB_OUTPUT
43+
exit 0
44+
fi
45+
46+
echo "Potential new modules detected:"
47+
echo "$NEW_POM_FILES"
48+
echo "new_modules_found=true" >> $GITHUB_OUTPUT
49+
50+
# Save the list of new pom files for later steps
51+
echo "$NEW_POM_FILES" > new_pom_files.txt
52+
echo "::endgroup::"
53+
54+
- name: Verify new modules
55+
if: steps.check-new-modules.outputs.new_modules_found == 'true'
56+
shell: bash
57+
run: |
58+
set -euo pipefail
59+
60+
NEW_POM_FILES=$(cat new_pom_files.txt)
61+
62+
# Initialize counters and error flag
63+
TEST_MODULES=0
64+
NON_TEST_MODULES=0
65+
HAS_ERRORS=0
66+
67+
echo "::group::Analyzing new modules"
68+
69+
for POM_FILE in $NEW_POM_FILES; do
70+
MODULE_DIR=$(dirname "$POM_FILE")
71+
MODULE_NAME=$(basename "$MODULE_DIR")
72+
73+
# Check if this is a new module (not just an updated pom.xml)
74+
if git show remotes/origin/${{ github.base_ref }}:"$POM_FILE" &>/dev/null; then
75+
echo "Skipping $POM_FILE - file already exists in base branch"
76+
continue
77+
fi
78+
79+
echo "New module detected: $MODULE_DIR"
80+
81+
# Check if it's a test module
82+
if [[ "$MODULE_DIR" == *"/test/"* || "$MODULE_DIR" == *"/it/"* || "$MODULE_DIR" == *"-test"* || "$MODULE_DIR" == *"-tests"* ]]; then
83+
echo "::group::Test module: $MODULE_DIR"
84+
TEST_MODULES=$((TEST_MODULES + 1))
85+
86+
echo "Verifying test module requirements..."
87+
88+
# 1. Check if excluded from maven deploy command
89+
if ! grep -q "$MODULE_NAME" buildspecs/release-to-maven.yml 2>/dev/null; then
90+
echo "::error::Module $MODULE_NAME is not excluded from maven deploy command in buildspecs/release-to-maven.yml"
91+
HAS_ERRORS=1
92+
else
93+
echo "✅ Module is excluded from maven deploy command"
94+
fi
95+
96+
# 2. Check if excluded from javadoc generation
97+
if ! grep -q "$MODULE_NAME" buildspecs/release-javadoc.yml 2>/dev/null; then
98+
echo "::error::Module $MODULE_NAME is not excluded from javadoc generation in buildspecs/release-javadoc.yml"
99+
HAS_ERRORS=1
100+
else
101+
echo "✅ Module is excluded from javadoc generation"
102+
fi
103+
104+
# 3. Check if Brazil import is skipped
105+
if ! grep -q "\"$MODULE_NAME\".*\"skip\".*true" .brazil.json 2>/dev/null; then
106+
echo "::error::Module $MODULE_NAME is not configured to skip Brazil import in .brazil.json"
107+
HAS_ERRORS=1
108+
else
109+
echo "✅ Brazil import is skipped for this module"
110+
fi
111+
echo "::endgroup::"
112+
113+
else
114+
echo "::group::Non-test module: $MODULE_DIR"
115+
NON_TEST_MODULES=$((NON_TEST_MODULES + 1))
116+
117+
echo "Verifying non-test module requirements..."
118+
119+
# 1. Check for Automatic-Module-Name in pom.xml
120+
if ! grep -q "Automatic-Module-Name" "$POM_FILE" 2>/dev/null; then
121+
echo "::error::Automatic-Module-Name is not specified in $POM_FILE"
122+
HAS_ERRORS=1
123+
else
124+
echo "✅ Automatic-Module-Name is specified"
125+
fi
126+
127+
# 2. Check if added to tests-coverage-reporting pom.xml
128+
if ! grep -q "<module>.*$MODULE_NAME</module>" test/tests-coverage-reporting/pom.xml 2>/dev/null; then
129+
echo "::error::Module $MODULE_NAME is not added to tests-coverage-reporting pom.xml"
130+
HAS_ERRORS=1
131+
else
132+
echo "✅ Module is added to tests-coverage-reporting"
133+
fi
134+
135+
# 3. Check if added to aws-sdk-java pom.xml
136+
if ! grep -q "<module>.*$MODULE_NAME</module>" aws-sdk-java/pom.xml 2>/dev/null; then
137+
echo "::error::Module $MODULE_NAME is not added to aws-sdk-java pom.xml"
138+
HAS_ERRORS=1
139+
else
140+
echo "✅ Module is added to aws-sdk-java pom.xml"
141+
fi
142+
143+
# 4. Check if added to architecture-tests pom.xml
144+
if ! grep -q "<module>.*$MODULE_NAME</module>" test/architecture-tests/pom.xml 2>/dev/null; then
145+
echo "::error::Module $MODULE_NAME is not added to architecture-tests pom.xml"
146+
HAS_ERRORS=1
147+
else
148+
echo "✅ Module is added to architecture-tests pom.xml"
149+
fi
150+
151+
# 5. Check if added to bom pom.xml
152+
if ! grep -q "<artifactId>$MODULE_NAME</artifactId>" bom/pom.xml 2>/dev/null; then
153+
echo "::error::Module $MODULE_NAME is not added to bom pom.xml"
154+
HAS_ERRORS=1
155+
else
156+
echo "✅ Module is added to bom pom.xml"
157+
fi
158+
159+
# 6. Check if japicmp plugin config is updated
160+
JAPICMP_CHECK=$(grep -A 50 "<artifactId>japicmp-maven-plugin</artifactId>" pom.xml 2>/dev/null | grep -A 50 "<includeModules>" 2>/dev/null | grep -q "<includeModule>$MODULE_NAME</includeModule>" 2>/dev/null || echo "MISSING")
161+
if [ "$JAPICMP_CHECK" = "MISSING" ]; then
162+
echo "::error::Module $MODULE_NAME is not included in japicmp-maven-plugin includeModules section in pom.xml"
163+
HAS_ERRORS=1
164+
else
165+
echo "✅ Module is included in japicmp-maven-plugin configuration"
166+
fi
167+
168+
# 7. Check if package name mapping is added in .brazil.json
169+
if ! grep -q "\"$MODULE_NAME\"" .brazil.json 2>/dev/null; then
170+
echo "::error::Package name mapping for $MODULE_NAME is not added in .brazil.json"
171+
HAS_ERRORS=1
172+
else
173+
echo "✅ Package name mapping is added in .brazil.json"
174+
fi
175+
echo "::endgroup::"
176+
fi
177+
done
178+
echo "::endgroup::"
179+
180+
echo "::group::Verification summary"
181+
echo "Verification complete."
182+
echo "Test modules found: $TEST_MODULES"
183+
echo "Non-test modules found: $NON_TEST_MODULES"
184+
185+
if [ $HAS_ERRORS -eq 1 ]; then
186+
echo "::error::Some verification checks failed. Please review the errors above and fix them."
187+
exit 1
188+
else
189+
echo "✅ All automated verification checks passed!"
190+
fi
191+
echo "::endgroup::"

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
2+
# __2.31.64__ __2025-06-16__
3+
## __AWS Network Firewall__
4+
- ### Features
5+
- You can now create firewalls using a Transit Gateway instead of a VPC, resulting in a TGW attachment.
6+
7+
## __AWS SDK for Java v2__
8+
- ### Features
9+
- Add tracking of RequestBody/ResponseTransfromer implementations used in UserAgent.
10+
11+
## __Amazon Bedrock__
12+
- ### Features
13+
- This release of the SDK has the API and documentation for the createcustommodel API. This feature lets you copy a Amazon SageMaker trained Amazon Nova model into Amazon Bedrock for inference.
14+
15+
## __Amazon Elastic Container Registry__
16+
- ### Features
17+
- The `DescribeImageScanning` API now includes `lastInUseAt` and `InUseCount` fields that can be used to prioritize vulnerability remediation for images that are actively being used.
18+
19+
## __Amazon SageMaker Service__
20+
- ### Features
21+
- This release 1) adds a new S3DataType Converse for SageMaker training 2)adds C8g R7gd M8g C6in P6 P6e instance type for SageMaker endpoint 3) adds m7i, r7i, c7i instance type for SageMaker Training and Processing.
22+
223
# __2.31.63__ __2025-06-12__
324
## __AWS IoT FleetWise__
425
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
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.31.63</version>
54+
<version>2.31.64</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.31.63</version>
88+
<version>2.31.64</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>software.amazon.awssdk</groupId>
9292
<artifactId>s3</artifactId>
93-
<version>2.31.63</version>
93+
<version>2.31.64</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.31.63</version>
105+
<version>2.31.64</version>
106106
</dependency>
107107
```
108108

archetypes/archetype-app-quickstart/pom.xml

Lines changed: 1 addition & 1 deletion
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.31.63</version>
23+
<version>2.31.64</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/archetype-lambda/pom.xml

Lines changed: 1 addition & 1 deletion
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.31.63</version>
23+
<version>2.31.64</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/archetype-tools/pom.xml

Lines changed: 1 addition & 1 deletion
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.31.63</version>
23+
<version>2.31.64</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

archetypes/pom.xml

Lines changed: 1 addition & 1 deletion
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.31.63</version>
23+
<version>2.31.64</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
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.31.63</version>
20+
<version>2.31.64</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

0 commit comments

Comments
 (0)