Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
8490f68
Bump MSRV to 1.88.0 (#4367)
ysaito1001 Oct 27, 2025
1881946
Purge `qldbsession` from smithy-rs (#4368)
ysaito1001 Oct 27, 2025
1de7020
Temporarily disable cloudwatch-logs event-stream test (#4362)
ysaito1001 Oct 28, 2025
cf1e783
Add support for Unframing SigV4 signed messages for Servers (#4356)
rcoh Oct 30, 2025
9db18ab
Update changelog
aws-sdk-rust-ci Oct 30, 2025
2bdb9a5
Synchronize the SDK lockfile
aws-sdk-rust-ci Oct 30, 2025
0a0fb2e
Merge smithy-rs-release-1.x.y into main (#4370)
aws-sdk-rust-ci Oct 31, 2025
9dd0c23
Add S3 Express bucket metric tracking-v2 (#4365)
vcjana Oct 31, 2025
9a0c5d6
Update smithy-rs-maintainers.txt (#4371)
jasgin Nov 3, 2025
f216e17
Run `cargo update` on the runtime lockfiles and the SDK lockfile (#4369)
aws-sdk-rust-ci Nov 3, 2025
77b68a6
Run `cargo update` on the runtime lockfiles and the SDK lockfile (#4381)
aws-sdk-rust-ci Nov 5, 2025
c71b922
Bump crc-fast to 1.6.0 (#4379)
landonxjames Nov 5, 2025
4533810
validate region is a valid host label when used in endpoints (#4383)
aajtodd Nov 6, 2025
a42af98
Update changelog
aws-sdk-rust-ci Nov 6, 2025
d427add
Synchronize the SDK lockfile
aws-sdk-rust-ci Nov 6, 2025
41ea15d
Merge smithy-rs-release-1.x.y into main (#4387)
aws-sdk-rust-ci Nov 6, 2025
d0dede7
Refactor `RequestChecksumInterceptor` into distinct interceptors (#4384)
ysaito1001 Nov 10, 2025
a3523d7
Merge branch 'main' into ysaito/merge-main-into-http-1
ysaito1001 Nov 11, 2025
a5120ba
Allow `clippy::large_enum_variant`
ysaito1001 Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

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

This file was deleted.

2 changes: 1 addition & 1 deletion .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
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/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
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
20 changes: 20 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
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,55 @@
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
November 6th, 2025
==================
**New this release:**
- (client) Bump crc-fast version to 1.6.0
- (client) Validate `Region` is a valid host label when constructing endpoints.


October 30th, 2025
==================
**Breaking Changes:**
- :warning::tada: (server, [smithy-rs#4356](https://github.com/smithy-lang/smithy-rs/issues/4356)) Parse EventStream signed-frames for servers marked with `@sigv4`.

This is a breaking change, because events from SigV4 services are wrapped in a SignedEvent frame.
- :warning: (all, [smithy-rs#4367](https://github.com/smithy-lang/smithy-rs/issues/4367)) Upgrade MSRV to Rust 1.88.0.

**New this release:**
- :bug::tada: (server, [smithy-rs#4352](https://github.com/smithy-lang/smithy-rs/issues/4352), [smithy-rs#4345](https://github.com/smithy-lang/smithy-rs/issues/4345)) Update smithy-rs servers to support sending `initial-response` events over event streams.

Prior to this change, event streams that had initial responses were unsupported. This change also adds a new codegen setting, `alwaysSendEventStreamInitialResponse`.

When this setting is set to `true`, the generated server will unconditionally send `initial-response` objects, even when empty. This is required for compatibility with smithy-java as well as a few other clients.

This setting defaults to false currently because smithy-rs based clients do not currently support this behavior.

```json
"codegen": {
"alwaysSendEventStreamInitialResponse": true // default false
}
```
- :tada: (all, @arielby) Include the protocol name in `package.metadata.smithy.protocol` in `Cargo.toml`
to allow easily figuring out which protocol was used to generate a crate.
- :bug::tada: (client, [smithy-rs#4349](https://github.com/smithy-lang/smithy-rs/issues/4349), @arielby) Make Hyper idle pool timeout configurable, and fix the bug where pool timeouts
would not work if the client was built directly.
- :tada: (server, [smithy-rs#4317](https://github.com/smithy-lang/smithy-rs/issues/4317), @jasgin) Adds validators and codegen support for the custom traits custom traits `@validationException`, `@validationMessage`,
`@validationFieldList`, `@validationFieldName`, and `@validationFieldMessage` for defining a custom validation exception
to use instead of `smithy.framework#ValidationException`.
- :bug: (client, [smithy-rs#4346](https://github.com/smithy-lang/smithy-rs/issues/4346)) Fix bug where httpQueryParams were silently dropped when no other query parameters were modeled.
- :bug: (server, [smithy-rs#4344](https://github.com/smithy-lang/smithy-rs/issues/4344), [smithy-rs#4325](https://github.com/smithy-lang/smithy-rs/issues/4325)) Fix bug where servers did not attempt to parse an `initial-request`. `initial-requests` may be sent by clients both when they would contain valid data
and when they are empty.
- :bug: (client, [smithy-rs#4352](https://github.com/smithy-lang/smithy-rs/issues/4352), [smithy-rs#4353](https://github.com/smithy-lang/smithy-rs/issues/4353)) Update clients to allow `initial-response` events to be accepted on event streams, even when know modeled initial response exists.

This is required for spec compliance, backwards compatibility, and compatibility with non-smithy-rs based servers that
MAY unconditionally send `initial-response` messages.
- :bug: (client, [smithy-rs#4265](https://github.com/smithy-lang/smithy-rs/issues/4265), [smithy-rs#4189](https://github.com/smithy-lang/smithy-rs/issues/4189)) Adds new `with_test_defaults_v2()` for all clients supporting region configuration which applies `us-east-1` as default region if not set by user. This allows `aws-smithy-mocks` to work for non AWS SDK generated clients. Also clarify `test-util` feature requirement when using `aws-smithy-mocks`.

**Contributors**
Thank you for your contributions! ❤
- @arielby ([smithy-rs#4349](https://github.com/smithy-lang/smithy-rs/issues/4349))
- @jasgin ([smithy-rs#4317](https://github.com/smithy-lang/smithy-rs/issues/4317))


October 6th, 2025
=================
**New this release:**
Expand Down
76 changes: 72 additions & 4 deletions aws/SDK_CHANGELOG.next.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,86 @@
"smithy-rs": [],
"aws-sdk-rust": [
{
"message": "Make [`TokenBucket`](https://docs.rs/aws-smithy-runtime/latest/aws_smithy_runtime/client/retries/struct.TokenBucket.html) and [`ClientRateLimiter`](https://docs.rs/aws-smithy-runtime/latest/aws_smithy_runtime/client/retries/struct.ClientRateLimiter.html) configurable through [`RetryPartition`](https://docs.rs/aws-smithy-runtime/latest/aws_smithy_runtime/client/retries/struct.RetryPartition.html).\n",
"message": "Update clients to allow `initial-response` events to be accepted on event streams, even when know modeled initial response exists.\n\nThis is required for spec compliance, backwards compatibility, and compatibility with non-smithy-rs based servers that\nMAY unconditionally send `initial-response` messages.\n",
"meta": {
"bug": true,
"breaking": false,
"tada": false
},
"author": "rcoh",
"references": [
"smithy-rs#4352",
"smithy-rs#4353"
],
"since-commit": "cf1e783d15842aab12e1ee02ce9d329b8443e848",
"age": 2
},
{
"message": "Add tags to `AssumeRoleProviderBuilder`\n",
"meta": {
"bug": false,
"breaking": false,
"tada": true
},
"author": "c-thiel",
"references": [
"aws-sdk-rust#1366"
],
"since-commit": "cf1e783d15842aab12e1ee02ce9d329b8443e848",
"age": 2
},
{
"message": "Adds new `with_test_defaults_v2()` for all clients supporting region configuration which applies `us-east-1` as default region if not set by user. This allows `aws-smithy-mocks` to work for non AWS SDK generated clients. Also clarify `test-util` feature requirement when using `aws-smithy-mocks`.\n",
"meta": {
"bug": true,
"breaking": false,
"tada": false
},
"author": "aajtodd",
"references": [
"smithy-rs#4265",
"smithy-rs#4189"
],
"since-commit": "cf1e783d15842aab12e1ee02ce9d329b8443e848",
"age": 2
},
{
"message": "Upgrade MSRV to Rust 1.88.0.\n",
"meta": {
"bug": false,
"breaking": true,
"tada": false
},
"author": "ysaito1001",
"references": [
"smithy-rs#4263"
"smithy-rs#4367"
],
"since-commit": "f18c70d36c40fa0f40860547394c134566704e69",
"age": 5
"since-commit": "cf1e783d15842aab12e1ee02ce9d329b8443e848",
"age": 2
},
{
"message": "Bump crc-fast version to 1.6.0\n",
"meta": {
"bug": false,
"breaking": false,
"tada": false
},
"author": "landonxjames",
"references": [],
"since-commit": "4533810c833251e78df3d8a4992b8ccc5f2fc67c",
"age": 1
},
{
"message": "Validate `Region` is a valid host label when constructing endpoints.\n",
"meta": {
"bug": false,
"breaking": false,
"tada": false
},
"author": "aajtodd",
"references": [],
"since-commit": "4533810c833251e78df3d8a4992b8ccc5f2fc67c",
"age": 1
}
],
"aws-sdk-model": []
Expand Down
Loading
Loading