Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d67a814
Http-1x update phase 1 (#4181)
landonxjames Jun 25, 2025
c2152b9
Revert version 2.1 of the IMDS credentials provider (#4187)
ysaito1001 Jun 24, 2025
edfe24c
Make Rpc V2 CBOR `awsQuery` compatible (#4186)
ysaito1001 Jun 24, 2025
729b2da
Merge branch 'main' into feature/http-1.x
landonxjames Jul 1, 2025
c5d1233
Merge branch 'main' into feature/http-1.x
landonxjames Jul 3, 2025
46c93b2
Update SdkBody to support http-1x bodies (#4199)
landonxjames Jul 10, 2025
92fb5d8
Merge branch 'main' into feature/http-1.x
landonxjames Jul 10, 2025
e685a31
Aligning http-1x checksum updates with checksum changes from #4200 (#…
landonxjames Jul 11, 2025
21ed3c4
Merge branch 'main' into feature/http-1.x
landonxjames Jul 21, 2025
12ce4b8
Merge branch 'main' into feature/http-1.x
landonxjames Aug 26, 2025
80fbf85
Bump crate versions
landonxjames Aug 26, 2025
dae64c7
Bump http dep version in aws-smithy-http-client
landonxjames Aug 26, 2025
3d18614
Attempt to bump fuzzgen to http-1x
landonxjames Aug 26, 2025
05add99
Bump http-body-util
landonxjames Aug 27, 2025
ef217a2
Merge current `main` into the `feature/http-1.x` branch (#4281)
landonxjames Aug 27, 2025
fc5ab84
Merge branch 'main' into feature/http-1.x
landonxjames Oct 6, 2025
2a810a8
Bump aws-smithy-http to 0.63 per request from server team (#4334)
landonxjames Oct 6, 2025
e45bd5c
Merge branch 'main' into feature/http-1.x
landonxjames Oct 23, 2025
17ffedf
Bump aws-smithy-json to 0.62 per request from Fahad
landonxjames Oct 23, 2025
2efc880
Remove features = ["http-body-1-x"] from aws-smithy-types for aws-smi…
landonxjames Oct 23, 2025
1fbe327
Merge branch 'main' into feature/http-1.x
landonxjames Oct 23, 2025
0cd9a06
Merge main into feature/http-1.x (#4391)
ysaito1001 Nov 12, 2025
8a24b9a
Merge branch main into feature/http-1.x (#4402)
ysaito1001 Nov 18, 2025
d38979e
Merge main to feature/http-1.x (#4422)
landonxjames Nov 28, 2025
53cd75e
aws-smithy-http-server - http/1 support (#4373)
drganjoo Dec 2, 2025
448b981
Update examples to use http-1
Dec 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .changelog/1750773066.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
applies_to:
- aws-sdk-rust
- client
authors:
- ysaito1001
references:
- smithy-rs#4186
breaking: false
new_feature: false
bug_fix: false
---
Make Rpc V2 CBOR a compatible protocol for `awsQuery` using `awsQueryCompatible` trait
12 changes: 12 additions & 0 deletions .changelog/1750789932.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
applies_to:
- aws-sdk-rust
authors:
- ysaito1001
references:
- smithy-rs#4187
breaking: false
new_feature: false
bug_fix: false
---
Temporarily disable fetching account ID from IMDS credentials on EC2.
14 changes: 0 additions & 14 deletions .changelog/1758554358.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changelog/1759254918.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changelog/1760124260.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changelog/1760126889.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changelog/1760625617.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changelog/1760625769.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changelog/1760632713.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changelog/1760981645.md

This file was deleted.

11 changes: 11 additions & 0 deletions .changelog/1762538321.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
applies_to: ["client"]
authors:
- greenwoodcm
references:
- smithy-rs#4388
breaking: false
new_feature: false
bug_fix: false
---
Add `then_compute_response` to Smithy mock
11 changes: 11 additions & 0 deletions .changelog/1763495472.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
applies_to:
- client
authors:
- annahay
references: []
breaking: false
new_feature: true
bug_fix: false
---
Added methods in token bucket to indicate if bucket is full or empty
10 changes: 10 additions & 0 deletions .changelog/1763575687.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
applies_to: ["client", "server", "aws-sdk-rust"]
authors: ["arielby"]
references: []
breaking: false
new_feature: false
bug_fix: true
---
Publish an MSRV for all packages

9 changes: 0 additions & 9 deletions .changelog/changelog.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci-pr-forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
timeout-minutes: 60
runs-on: smithy_ubuntu-latest_8-core
timeout-minutes: 90
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: ../smithy-rs/tools/ci-scripts/configure-tls/configure-badssl
- name: Build SDK
working-directory: smithy-rs
run: ./gradlew :aws:sdk:assemble -Paws.services=+sts,+sso,+ssooidc
run: ./gradlew :aws:sdk:assemble -Paws.services=+sts,+sso,+ssooidc,+signin
- name: Build trytls
shell: bash
working-directory: trytls
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
required: false

env:
rust_version: 1.86.0
rust_version: 1.88.0
rust_toolchain_components: clippy,rustfmt
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
name: Test the SDK
needs: generate
runs-on: ${{ matrix.test.runner }}
timeout-minutes: 30
timeout-minutes: 45
# To avoid repeating setup boilerplate, we have the actual test commands
# in a matrix strategy. These commands get run in the steps after all the setup.
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claim-crate-names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.86.0
rust_version: 1.88.0

name: Claim unpublished crate names on crates.io
run-name: ${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
name: Update GitHub Pages

env:
rust_version: 1.86.0
rust_version: 1.88.0

# Allow only one doc pages build to run at a time for the entire smithy-rs repo
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
contents: read
needs:
- get-pr-info
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_8-core
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ jobs:
toolchain: ${{ env.rust_nightly_version }}
- name: Generate doc preview
id: generate-preview
# Only generate three of the smallest services since the doc build can be very large. STS and SSO must be
# Only generate three of the smallest services since the doc build can be very large. STS, SSO, and SignIn must be
# included since aws-config depends on them. Transcribe Streaming and DynamoDB (paginators/waiters) were chosen
# below to stay small while still representing most features. Combined, they are about ~20MB at time of writing.
run: |
./gradlew -Paws.services=+sts,+sso,+ssooidc,+transcribestreaming,+dynamodb :aws:sdk:assemble
./gradlew -Paws.services=+sts,+sso,+ssooidc,+signin,+transcribestreaming,+dynamodb :aws:sdk:assemble

# Copy the Server runtime crate(s) in
cp -r rust-runtime/aws-smithy-http-server rust-runtime/aws-smithy-http-server-python rust-runtime/aws-smithy-http-server-typescript aws/sdk/build/aws-sdk/sdk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.86.0
rust_version: 1.88.0

name: Release smithy-rs
on:
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_16-core
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Install Rust
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
needs:
- release
if: always() && needs.release.result == 'success'
runs-on: ubuntu-latest
runs-on: smithy_ubuntu-latest_8-core
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.86.0
toolchain: 1.88.0
- name: Delete old SDK
run: |
- name: Generate a fresh SDK
Expand Down
42 changes: 42 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,26 @@ operation MyOperation {
- **`codegen-core/common-test-models/constraints.smithy`** - Constraint validation tests with restJson1
- **`codegen-client-test/model/main.smithy`** - awsJson1_1 protocol tests

### httpQueryParams Bug Investigation

When investigating the `@httpQueryParams` bug (where query parameters weren't appearing in requests), the issue was in `RequestBindingGenerator.kt` line 173. The bug occurred when:

1. An operation had ONLY `@httpQueryParams` (no regular `@httpQuery` parameters)
2. The condition `if (dynamicParams.isEmpty() && literalParams.isEmpty() && mapParams.isEmpty())` would skip generating the `uri_query` function

The fix was to ensure `mapParams.isEmpty()` was included in the condition check. The current implementation correctly generates query parameters for `@httpQueryParams` even when no other query parameters exist.

**Testing httpQueryParams**: Create operations with only `@httpQueryParams` to ensure they generate proper query strings in requests.

## rustTemplate Formatting

**CRITICAL**: Because `#` is the formatting character in `rustTemplate`, Rust attributes must be escaped:

❌ Wrong: `#[derive(Debug)]`
✅ Correct: `##[derive(Debug)]`

This applies to ALL Rust attributes: `##[non_exhaustive]`, `##[derive(...)]`, `##[cfg(...)]`, etc.

## preludeScope: Rust Prelude Types

**Always use `preludeScope` for Rust prelude types:**
Expand Down Expand Up @@ -127,6 +147,28 @@ gh pr view <number> --repo smithy-lang/smithy-rs
gh pr diff <number> --repo smithy-lang/smithy-rs
```

**Debug CI failures:**

```bash
# Get PR status and identify failed checks
gh pr view <PR_NUMBER> --repo smithy-lang/smithy-rs --json statusCheckRollup | \
jq '.statusCheckRollup[] | select(.conclusion == "FAILURE") | {name: .name, url: .detailsUrl}'

# Get run ID from PR
gh pr view <PR_NUMBER> --repo smithy-lang/smithy-rs --json statusCheckRollup | \
jq -r '.statusCheckRollup[0].detailsUrl' | grep -oP 'runs/\K[0-9]+'

# List failed jobs in a run
gh api repos/smithy-lang/smithy-rs/actions/runs/<RUN_ID>/jobs | \
jq '.jobs[] | select(.conclusion == "failure") | {name: .name, id: .id}'

# Get logs for a specific failed job
gh api repos/smithy-lang/smithy-rs/actions/jobs/<JOB_ID>/logs | grep -B 5 -A 10 "error:"

# Search logs for specific patterns
gh api repos/smithy-lang/smithy-rs/actions/jobs/<JOB_ID>/logs | grep -i "lint\|doctest\|aborting"
```

**Add comments (use single quotes for complex markdown):**

```bash
Expand Down
Loading
Loading