Skip to content

Commit ef217a2

Browse files
authored
Merge current main into the feature/http-1.x branch (#4281)
2 parents 21ed3c4 + 05add99 commit ef217a2

File tree

1,212 files changed

+16892
-6656
lines changed

Some content is hidden

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

1,212 files changed

+16892
-6656
lines changed

.changelog/1752160009.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

.changelog/1755104778.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
applies_to:
3+
- client
4+
- aws-sdk-rust
5+
authors:
6+
- ysaito1001
7+
references:
8+
- smithy-rs#4263
9+
breaking: false
10+
new_feature: false
11+
bug_fix: false
12+
---
13+
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).

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ jobs:
189189
runner: smithy_ubuntu-latest_8-core
190190
- action: check-aws-sdk-standalone-integration-tests
191191
runner: ubuntu-latest
192+
- action: check-aws-sdk-benchmarks
193+
runner: ubuntu-latest
192194
steps:
193195
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
194196
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,95 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
August 18th, 2025
3+
=================
4+
**New this release:**
5+
- :tada: (client, [aws-sdk-rust#169](https://github.com/awslabs/aws-sdk-rust/issues/169)) Add support for proxy environment variables (`HTTP_PROXY, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY`). Service clients will now automatically respect these proxy environment variables on the latest `BehaviorVersion`. Older behavior versions do not automatically detect these environment variables and will require manually building a `aws_smithy_http_client::Connector` with a proxy config explicitly set to use this feature.
6+
- :tada: (client, @WillChilds-Klein) Enable rustls post-quantum by default.
7+
- (client) fix `aws-smithy-eventstream` feature `derive-arbitrary` on `arbitrary` >= 1.4.2
8+
9+
**Contributors**
10+
Thank you for your contributions! ❤
11+
- @WillChilds-Klein
12+
13+
14+
August 13th, 2025
15+
=================
16+
**New this release:**
17+
- :bug: (client) pin crc-fast to <1.4 to workaround SIGILL
18+
19+
20+
August 11th, 2025
21+
=================
22+
**New this release:**
23+
- :tada: (client, [smithy-rs#4208](https://github.com/smithy-lang/smithy-rs/issues/4208)) Add the ability to insert `hints.mostly-unused = true` in Cargo.toml. Enable this hint for the below crates:
24+
- aws-sdk-cloudformation
25+
- aws-sdk-dynamodb
26+
- aws-sdk-ec2
27+
- aws-sdk-s3
28+
- aws-sdk-sns
29+
- aws-sdk-sqs
30+
- aws-sdk-ssm
31+
- aws-sdk-sts
32+
33+
See more information about this hint at https://blog.rust-lang.org/inside-rust/2025/07/15/call-for-testing-hint-mostly-unused/
34+
- :tada: (client, [smithy-rs#4208](https://github.com/smithy-lang/smithy-rs/issues/4208), @joshtriplett) Enable `hints.mostly-unused = true` for `aws-sdk-lambda` (taking a release
35+
build from 57s to 40s) and `aws-sdk-rds` (taking a release build from 1m34s to
36+
49s).
37+
38+
**Contributors**
39+
Thank you for your contributions! ❤
40+
- @joshtriplett ([smithy-rs#4208](https://github.com/smithy-lang/smithy-rs/issues/4208))
41+
42+
43+
August 4th, 2025
44+
================
45+
**New this release:**
46+
- :tada: (all, @Dorenavant) Add EnumSection to allow decorators to modify enum member attributes
47+
- :bug: (client, [smithy-rs#4227](https://github.com/smithy-lang/smithy-rs/issues/4227)) Fix canonical request sort order
48+
49+
**Contributors**
50+
Thank you for your contributions! ❤
51+
- @Dorenavant
52+
53+
54+
July 25th, 2025
55+
===============
56+
**New this release:**
57+
- :bug: (client, [smithy-rs#4232](https://github.com/smithy-lang/smithy-rs/issues/4232)) Add fallback equality on no auth `AuthSchemeId` for backward compatibility, treating `AuthSchemeId::from("no_auth")` (legacy) and `AuthSchemeId::from("noAuth")` (updated) as equivalent.
58+
59+
60+
July 23rd, 2025
61+
===============
62+
63+
July 21st, 2025
64+
===============
65+
**New this release:**
66+
- :tada: (client, [smithy-rs#4203](https://github.com/smithy-lang/smithy-rs/issues/4203)) Add support for configuring auth schemes manually using an auth scheme preference list.
67+
The preference list allows customers to reprioritize the order of auth schemes originally
68+
determined by the auth scheme resolver.
69+
Customers can configure the auth scheme preference at the following locations, listed in order of precedence:
70+
1. Service Client Configuration
71+
```rust
72+
use aws_runtime::auth::sigv4;
73+
use aws_smithy_runtime_api::client::auth::AuthSchemeId;
74+
use aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID;
75+
76+
let config = aws_sdk_s3::Config::builder()
77+
.auth_scheme_preference([AuthSchemeId::from("scheme1"), sigv4::SCHEME_ID, HTTP_BEARER_AUTH_SCHEME_ID])
78+
// ...
79+
.build();
80+
```
81+
2. Environment Variable
82+
```
83+
AWS_AUTH_SCHEME_PREFERENCE=scheme1, sigv4, httpBearerAuth
84+
```
85+
3. Configuration File
86+
```
87+
auth_scheme_preference=scheme1, sigv4, httpBearerAuth
88+
```
89+
With this configuration, the auth scheme resolver will prefer to select them in the specified order,
90+
if they are supported.
91+
92+
293
July 17th, 2025
394
===============
495
**New this release:**

aws/SDK_CHANGELOG.next.json

Lines changed: 79 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,84 +6,137 @@
66
"smithy-rs": [],
77
"aws-sdk-rust": [
88
{
9-
"message": "Temporarily disable fetching account ID from IMDS credentials on EC2.\n",
9+
"message": "Add fallback equality on no auth `AuthSchemeId` for backward compatibility, treating `AuthSchemeId::from(\"no_auth\")` (legacy) and `AuthSchemeId::from(\"noAuth\")` (updated) as equivalent.\n",
1010
"meta": {
11-
"bug": false,
11+
"bug": true,
1212
"breaking": false,
1313
"tada": false
1414
},
1515
"author": "ysaito1001",
1616
"references": [
17-
"smithy-rs#4187"
17+
"smithy-rs#4232"
1818
],
19-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
19+
"since-commit": "a2a7d7aa371ed8d9af191f4220b6c8ddebcb2ce0",
2020
"age": 5
2121
},
2222
{
23-
"message": "Fix hyper 1.x connection refused errors not marked as retryable\n",
23+
"message": "Fix canonical request sort order\n",
2424
"meta": {
2525
"bug": true,
2626
"breaking": false,
2727
"tada": false
2828
},
2929
"author": "aajtodd",
30-
"references": [],
31-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
32-
"age": 5
30+
"references": [
31+
"smithy-rs#4227"
32+
],
33+
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
34+
"age": 4
3335
},
3436
{
35-
"message": "Make Rpc V2 CBOR a compatible protocol for `awsQuery` using `awsQueryCompatible` trait\n",
37+
"message": "Add support for environment token provider for AWS services whose SigV4 service signing name matches `bedrock`. Setting this environment variable, `AWS_BEARER_TOKEN_BEDROCK`, allows SDKs to prefer the `httpBearerAuth` auth scheme and to retrieve a Token value from the said environment. Customers would use the environment variable as follows:\n```\n// export AWS_BEARER_TOKEN_BEDROCK=my-token\nlet sdk_config = aws_config::defaults(BehaviorVersion::latest()).load().await;\nlet bedrock_client = aws_sdk_bedrock::Client::new(&sdk_config);\n// call an operation on `bedrock_client`...\n```\nUnder the hood, this is equivalent roughly to\n```\nlet sdk_config = aws_config::defaults(BehaviorVersion::latest()).load().await;\nlet bedrock_config = aws_sdk_bedrock::config::Builder::from(sdk_config)\n .auth_scheme_preference([HTTP_BEARER_AUTH_SCHEME_ID])\n .token_provider(Token::new(\"my-token\", None))\n .build();\nlet bedrock_client = aws_sdk_bedrock::Client::from_conf(bedrock_config);\n// call an operation on `bedrock_client`...\n```\nHowever, note that if customers create the service client directly from the service config builder, the environment variable will not be applied:\n```\n// export AWS_BEARER_TOKEN_BEDROCK=my-token\nlet bedrock_config = aws_sdk_bedrock::Config::builder()\n // other configurations\n .build();\nlet bedrock_client = aws_sdk_bedrock::Client::from_conf(bedrock_config);\n// `bedrock_client` neither prefers HTTP_BEARER_AUTH_SCHEME_ID nor sets a Token with my-token.\n```\n",
3638
"meta": {
3739
"bug": false,
3840
"breaking": false,
39-
"tada": false
41+
"tada": true
4042
},
4143
"author": "ysaito1001",
4244
"references": [
43-
"smithy-rs#4186"
45+
"smithy-rs#4241"
4446
],
45-
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
46-
"age": 5
47+
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
48+
"age": 4
4749
},
4850
{
49-
"message": "Allows customers to configure the auth schemes and auth scheme resolver. For more information see the GitHub [discussion](https://github.com/smithy-lang/smithy-rs/discussions/4197).\n",
51+
"message": "Add user-agent feature tracking for credential providers in `aws-config`.\n",
5052
"meta": {
5153
"bug": false,
5254
"breaking": false,
53-
"tada": false
55+
"tada": true
5456
},
55-
"author": "ysaito1001",
57+
"author": "landonxjames",
58+
"references": [
59+
"smithy-rs#4238"
60+
],
61+
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
62+
"age": 4
63+
},
64+
{
65+
"message": "Add the ability to insert `hints.mostly-unused = true` in Cargo.toml. Enable this hint for the below crates:\n- aws-sdk-cloudformation\n- aws-sdk-dynamodb\n- aws-sdk-ec2\n- aws-sdk-s3\n- aws-sdk-sns\n- aws-sdk-sqs\n- aws-sdk-ssm\n- aws-sdk-sts\n\nSee more information about this hint at https://blog.rust-lang.org/inside-rust/2025/07/15/call-for-testing-hint-mostly-unused/\n",
66+
"meta": {
67+
"bug": false,
68+
"breaking": false,
69+
"tada": true
70+
},
71+
"author": "landonxjames",
5672
"references": [
57-
"smithy-rs#4076",
58-
"smithy-rs#4198"
73+
"smithy-rs#4208"
5974
],
60-
"since-commit": "ccf374dddc0690ef8aca1ed006b9e9b21299558e",
75+
"since-commit": "fd54b8282920c862db4604f620ab188ec4a235b9",
6176
"age": 3
6277
},
6378
{
64-
"message": "re-use checksums on retry attempts for enhanced durability\n",
79+
"message": "Enable `hints.mostly-unused = true` for `aws-sdk-lambda` (taking a release\nbuild from 57s to 40s) and `aws-sdk-rds` (taking a release build from 1m34s to\n49s).\n",
6580
"meta": {
6681
"bug": false,
6782
"breaking": false,
83+
"tada": true
84+
},
85+
"author": "joshtriplett",
86+
"references": [
87+
"smithy-rs#4208"
88+
],
89+
"since-commit": "fd54b8282920c862db4604f620ab188ec4a235b9",
90+
"age": 3
91+
},
92+
{
93+
"message": "pin crc-fast to <1.4 to workaround SIGILL\n",
94+
"meta": {
95+
"bug": true,
96+
"breaking": false,
6897
"tada": false
6998
},
7099
"author": "aajtodd",
71100
"references": [],
72-
"since-commit": "1378695258e645d2c65a99cc0311b8c3d982e167",
101+
"since-commit": "01aece8b664968ac63354e52b88915e8f8546738",
73102
"age": 2
74103
},
75104
{
76-
"message": "Event streams now allocate a right-sized buffer avoiding repeated reallocations during serialization\n",
105+
"message": "Add support for proxy environment variables (`HTTP_PROXY, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY`). Service clients will now automatically respect these proxy environment variables on the latest `BehaviorVersion`. Older behavior versions do not automatically detect these environment variables and will require manually building a `aws_smithy_http_client::Connector` with a proxy config explicitly set to use this feature.\n",
77106
"meta": {
78107
"bug": false,
79108
"breaking": false,
80-
"tada": false
109+
"tada": true
81110
},
82-
"author": "rcoh",
111+
"author": "aajtodd",
83112
"references": [
84-
"smithy-rs#4212"
113+
"aws-sdk-rust#169"
85114
],
86-
"since-commit": "a23d116a79e8920c2efa813a8f831541a9943e4f",
115+
"since-commit": "520d073c2d739e95d112842be13c924097155d47",
116+
"age": 1
117+
},
118+
{
119+
"message": "Enable rustls post-quantum by default.\n",
120+
"meta": {
121+
"bug": false,
122+
"breaking": false,
123+
"tada": true
124+
},
125+
"author": "WillChilds-Klein",
126+
"references": [],
127+
"since-commit": "520d073c2d739e95d112842be13c924097155d47",
128+
"age": 1
129+
},
130+
{
131+
"message": "fix `aws-smithy-eventstream` feature `derive-arbitrary` on `arbitrary` >= 1.4.2\n",
132+
"meta": {
133+
"bug": false,
134+
"breaking": false,
135+
"tada": false
136+
},
137+
"author": "aajtodd",
138+
"references": [],
139+
"since-commit": "520d073c2d739e95d112842be13c924097155d47",
87140
"age": 1
88141
}
89142
],

0 commit comments

Comments
 (0)