Skip to content

Commit 273bbe5

Browse files
Release 2026-02-24: merge develop into main
2 parents 058d23a + b6cdc7b commit 273bbe5

507 files changed

Lines changed: 7838 additions & 7732 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: API Changelog Check
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, labeled, unlabeled]
6+
paths:
7+
- 'codegen/aws-models/**'
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
check-changelog:
14+
runs-on: ubuntu-latest
15+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-changelog') }}
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
19+
with:
20+
fetch-depth: 0
21+
persist-credentials: false
22+
23+
- name: Get changed model files
24+
id: changed-models
25+
run: |
26+
changed_models=$(git diff --name-only origin/${GITHUB_BASE_REF}...HEAD -- 'codegen/aws-models/*.json' | xargs -I {} basename {} .json)
27+
echo "models<<EOF" >> $GITHUB_OUTPUT
28+
echo "$changed_models" >> $GITHUB_OUTPUT
29+
echo "EOF" >> $GITHUB_OUTPUT
30+
31+
- name: Check for changelog entries
32+
run: |
33+
missing_changelogs=""
34+
35+
while IFS= read -r service; do
36+
[ -z "$service" ] && continue
37+
38+
changelog_dir="clients/aws-sdk-${service}/.changes/next-release"
39+
40+
if [ ! -d "$changelog_dir" ]; then
41+
missing_changelogs="${missing_changelogs}\n - ${service} (directory does not exist: ${changelog_dir})"
42+
continue
43+
fi
44+
45+
# Check for valid changelog JSON files with required fields
46+
valid_entry_found=false
47+
for file in "$changelog_dir"/*.json; do
48+
[ -e "$file" ] || continue
49+
if jq -e '.type == "api-change" and .description' "$file" > /dev/null 2>&1; then
50+
valid_entry_found=true
51+
break
52+
fi
53+
done
54+
55+
if [ "$valid_entry_found" = false ]; then
56+
missing_changelogs="${missing_changelogs}\n - ${service} (no valid changelog entry in ${changelog_dir})"
57+
fi
58+
done <<< "${STEPS_CHANGED_MODELS_OUTPUTS_MODELS}"
59+
60+
if [ -n "$missing_changelogs" ]; then
61+
printf "::error::Missing changelog entries for the following services:%b\n" "$missing_changelogs"
62+
echo ""
63+
echo "Please add a changelog entry in clients/aws-sdk-<service>/.changes/next-release/ for each modified model."
64+
echo "Entry must be a JSON file with 'type: \"api-change\"' and 'description' fields."
65+
exit 1
66+
fi
67+
68+
echo "All modified models have corresponding changelog entries."
69+
env:
70+
STEPS_CHANGED_MODELS_OUTPUTS_MODELS: ${{ steps.changed-models.outputs.models }}

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# macOS system files
2+
.DS_Store
3+
4+
# MkDocs build artifacts
5+
site/
6+
docs/SUMMARY.md
7+
docs/clients/
8+
**/docs/client/
9+
10+
# Virtual environments
11+
.venv
12+
venv
13+
14+
# Caches
15+
__pycache__/
16+
.ruff_cache/
17+
.pytest_cache/
18+
19+
# Dependency lock file for uv
20+
uv.lock
21+
22+
# Distribution / packaging
23+
dist/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ If you discover a potential security issue in this project we ask that you notif
5656

5757
## Licensing
5858

59-
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
59+
See the [LICENSE](https://github.com/awslabs/aws-sdk-python/blob/develop/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
DOCS_PORT ?= 8000
2+
PYTHON_VERSION := 3.12
3+
4+
.PHONY: docs docs-serve docs-clean docs-install venv
5+
6+
venv:
7+
uv venv --python $(PYTHON_VERSION)
8+
9+
docs-install: venv
10+
uv pip install -r requirements-docs.in
11+
uv pip install -e clients/*
12+
13+
docs-clean:
14+
rm -rf site docs/clients docs/SUMMARY.md
15+
16+
docs-generate:
17+
uv run python scripts/docs/generate_all_doc_stubs.py
18+
uv run python scripts/docs/generate_nav.py
19+
20+
docs: docs-generate
21+
uv run mkdocs build
22+
23+
docs-serve:
24+
@[ -d site ] || $(MAKE) docs
25+
uv run python -m http.server $(DOCS_PORT) --bind 127.0.0.1 --directory site

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This is the preferred mechanism to give feedback so that other users can engage
3131

3232
## Security
3333

34-
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
34+
See [CONTRIBUTING](https://github.com/awslabs/aws-sdk-python/blob/develop/CONTRIBUTING.md#security-issue-notifications) for more information.
3535

3636
## License
3737

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"changes": [
3+
{
4+
"type": "feature",
5+
"description": "Initial Client Release with support for current Amazon Bedrock Runtime operations."
6+
},
7+
{
8+
"type": "feature",
9+
"description": "Added support for new InvokeModelWithBidirectionalStream API."
10+
}
11+
]
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"changes": [
3+
{
4+
"type": "dependency",
5+
"description": "Updated support for all smithy dependencies in the 0.0.x minor version."
6+
}
7+
]
8+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"changes": [
3+
{
4+
"type": "api-change",
5+
"description": "Fixed stop sequence limit for converse API."
6+
},
7+
{
8+
"type": "api-change",
9+
"description": "Launch CountTokens API to allow token counting."
10+
},
11+
{
12+
"type": "api-change",
13+
"description": "This release adds support for Automated Reasoning checks output models for the Amazon Bedrock Guardrails ApplyGuardrail API."
14+
},
15+
{
16+
"type": "api-change",
17+
"description": "Document update to support on-demand custom model."
18+
},
19+
{
20+
"type": "api-change",
21+
"description": "Add API Key and document citations support for Bedrock Runtime APIs."
22+
},
23+
{
24+
"type": "api-change",
25+
"description": "This release adds native h2 support for the Bedrock Runtime API. Support is limited to SDKs that support h2 requests natively."
26+
},
27+
{
28+
"type": "api-change",
29+
"description": "You can now reference images and documents stored in Amazon S3 when using InvokeModel and Converse APIs with Amazon Nova Lite and Nova Pro. This enables direct integration of S3-stored multimedia assets in your model requests without manual downloading or base64 encoding."
30+
},
31+
{
32+
"type": "dependency",
33+
"description": "Updated support for all smithy dependencies in the 0.1.x minor version."
34+
}
35+
]
36+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"changes": [
3+
{
4+
"type": "breaking",
5+
"description": "Removed unused `serialize.py` and `deserialize.py` modules."
6+
},
7+
{
8+
"type": "api-change",
9+
"description": "New stop reason for Converse and ConverseStream."
10+
},
11+
{
12+
"type": "enhancement",
13+
"description": "Improvements to the underlying AWS CRT HTTP client result in a significant decrease in CPU usage. Addresses [aws-sdk-python#11](https://github.com/awslabs/aws-sdk-python/issues/11)."
14+
},
15+
{
16+
"type": "dependency",
17+
"description": "**Updated**: `smithy_http[awscrt]` from `~=0.1.0` to `~=0.2.0`."
18+
}
19+
]
20+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"changes": [
3+
{
4+
"type": "api-change",
5+
"description": "Add support to automatically enforce safeguards across accounts within an AWS Organization."
6+
},
7+
{
8+
"type": "api-change",
9+
"description": "This release includes support for Search Results."
10+
},
11+
{
12+
"type": "api-change",
13+
"description": "Amazon Bedrock Runtime Service Tier Support Launch."
14+
},
15+
{
16+
"type": "api-change",
17+
"description": "Add support for system tool and web citation response."
18+
},
19+
{
20+
"type": "enhancement",
21+
"description": "Add Standard Retry Mode."
22+
},
23+
{
24+
"type": "dependency",
25+
"description": "**Updated**: `smithy_aws_core[eventstream, json]` from `~=0.1.0` to `~=0.2.0`."
26+
},
27+
{
28+
"type": "dependency",
29+
"description": "**Updated**: `smithy_core` from `~=0.1.0` to `~=0.2.0`."
30+
},
31+
{
32+
"type": "dependency",
33+
"description": "**Updated**: `smithy_http[awscrt]~=0.3.0` from `~=0.2.0` to `~=0.3.0`."
34+
}
35+
]
36+
}

0 commit comments

Comments
 (0)