Skip to content

Commit 035fcb2

Browse files
authored
Merge smithy-rs-release-1.x.y into main (#4259)
2 parents fd54b82 + 3d3dcc1 commit 035fcb2

File tree

4 files changed

+55
-56
lines changed

4 files changed

+55
-56
lines changed

.changelog/hints-mostly-unused-lambda-rds.md

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

.changelog/hints-mostly-unused.md

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

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
August 11th, 2025
3+
=================
4+
**New this release:**
5+
- :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:
6+
- aws-sdk-cloudformation
7+
- aws-sdk-dynamodb
8+
- aws-sdk-ec2
9+
- aws-sdk-s3
10+
- aws-sdk-sns
11+
- aws-sdk-sqs
12+
- aws-sdk-ssm
13+
- aws-sdk-sts
14+
15+
See more information about this hint at https://blog.rust-lang.org/inside-rust/2025/07/15/call-for-testing-hint-mostly-unused/
16+
- :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
17+
build from 57s to 40s) and `aws-sdk-rds` (taking a release build from 1m34s to
18+
49s).
19+
20+
**Contributors**
21+
Thank you for your contributions! ❤
22+
- @joshtriplett ([smithy-rs#4208](https://github.com/smithy-lang/smithy-rs/issues/4208))
23+
24+
225
August 4th, 2025
326
================
427
**New this release:**

aws/SDK_CHANGELOG.next.json

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "Event streams now allocate a right-sized buffer avoiding repeated reallocations during serialization\n",
10-
"meta": {
11-
"bug": false,
12-
"breaking": false,
13-
"tada": false
14-
},
15-
"author": "rcoh",
16-
"references": [
17-
"smithy-rs#4212"
18-
],
19-
"since-commit": "a23d116a79e8920c2efa813a8f831541a9943e4f",
20-
"age": 5
21-
},
228
{
239
"message": "Add support for configuring auth schemes manually using an auth scheme preference list.\nThe preference list allows customers to reprioritize the order of auth schemes originally\ndetermined by the auth scheme resolver.\nCustomers can configure the auth scheme preference at the following locations, listed in order of precedence:\n1. Service Client Configuration\n```rust\nuse aws_runtime::auth::sigv4;\nuse aws_smithy_runtime_api::client::auth::AuthSchemeId;\nuse aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID;\n\nlet config = aws_sdk_s3::Config::builder()\n .auth_scheme_preference([AuthSchemeId::from(\"scheme1\"), sigv4::SCHEME_ID, HTTP_BEARER_AUTH_SCHEME_ID])\n // ...\n .build();\n```\n2. Environment Variable\n```\nAWS_AUTH_SCHEME_PREFERENCE=scheme1, sigv4, httpBearerAuth\n```\n3. Configuration File\n```\nauth_scheme_preference=scheme1, sigv4, httpBearerAuth\n```\nWith this configuration, the auth scheme resolver will prefer to select them in the specified order,\nif they are supported.\n",
2410
"meta": {
@@ -31,7 +17,7 @@
3117
"smithy-rs#4203"
3218
],
3319
"since-commit": "6649098171e33e1e65eaacffb12be58e858a4782",
34-
"age": 4
20+
"age": 5
3521
},
3622
{
3723
"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",
@@ -45,7 +31,7 @@
4531
"smithy-rs#4232"
4632
],
4733
"since-commit": "a2a7d7aa371ed8d9af191f4220b6c8ddebcb2ce0",
48-
"age": 2
34+
"age": 3
4935
},
5036
{
5137
"message": "Fix canonical request sort order\n",
@@ -59,7 +45,7 @@
5945
"smithy-rs#4227"
6046
],
6147
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
62-
"age": 1
48+
"age": 2
6349
},
6450
{
6551
"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",
@@ -73,7 +59,7 @@
7359
"smithy-rs#4241"
7460
],
7561
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
76-
"age": 1
62+
"age": 2
7763
},
7864
{
7965
"message": "Add user-agent feature tracking for credential providers in `aws-config`.\n",
@@ -87,6 +73,34 @@
8773
"smithy-rs#4238"
8874
],
8975
"since-commit": "ca76037be5edef991257dc7d1d8425c859468d5a",
76+
"age": 2
77+
},
78+
{
79+
"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",
80+
"meta": {
81+
"bug": false,
82+
"breaking": false,
83+
"tada": true
84+
},
85+
"author": "landonxjames",
86+
"references": [
87+
"smithy-rs#4208"
88+
],
89+
"since-commit": "fd54b8282920c862db4604f620ab188ec4a235b9",
90+
"age": 1
91+
},
92+
{
93+
"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",
94+
"meta": {
95+
"bug": false,
96+
"breaking": false,
97+
"tada": true
98+
},
99+
"author": "joshtriplett",
100+
"references": [
101+
"smithy-rs#4208"
102+
],
103+
"since-commit": "fd54b8282920c862db4604f620ab188ec4a235b9",
90104
"age": 1
91105
}
92106
],

0 commit comments

Comments
 (0)