Skip to content

Commit b96c8de

Browse files
Merge smithy-rs-release-1.x.y into main (#4193)
2 parents dd10f06 + 62677f4 commit b96c8de

File tree

6 files changed

+56
-89
lines changed

6 files changed

+56
-89
lines changed

.changelog/1750773066.md

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

.changelog/1750789932.md

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

.changelog/1750957379.md

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

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
June 27th, 2025
3+
===============
4+
**New this release:**
5+
- :bug: (client) Fix hyper 1.x connection refused errors not marked as retryable
6+
- (client, [smithy-rs#4186](https://github.com/smithy-lang/smithy-rs/issues/4186)) Make Rpc V2 CBOR a compatible protocol for `awsQuery` using `awsQueryCompatible` trait
7+
8+
29
June 11th, 2025
310
===============
411
**Breaking Changes:**

aws/SDK_CHANGELOG.next.json

Lines changed: 46 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "Fix a bug where fields that were initially annotated with the `required` trait and later updated to use the `addedDefault` trait were not serialized when their values matched the default, even when the values were explicitly set. With this fix, fields with `addedDefault` are now always serialized.\n",
10-
"meta": {
11-
"bug": true,
12-
"breaking": false,
13-
"tada": false
14-
},
15-
"author": "ysaito1001",
16-
"references": [
17-
"smithy-rs#4117"
18-
],
19-
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
20-
"age": 5
21-
},
22-
{
23-
"message": "Promote `aws-smithy-mocks-experimental` to `aws-smithy-mocks`. This crate is now a recommended tool for testing\ngenerated SDK clients. This release includes several fixes as well as a new sequence builder API that can be\nused to test more complex scenarios such as retries.\n\n```rust\nuse aws_sdk_s3::operation::get_object::GetObjectOutput;\nuse aws_sdk_s3::config::retry::RetryConfig;\nuse aws_smithy_types::byte_stream::ByteStream;\nuse aws_smithy_mocks::{mock, mock_client, RuleMode};\n\n#[tokio::test]\nasync fn test_retry_behavior() {\n // Create a rule that returns 503 twice, then succeeds\n let retry_rule = mock!(aws_sdk_s3::Client::get_object)\n .sequence()\n .http_status(503, None)\n .times(2) // Return 503 HTTP status twice\n .output(|| GetObjectOutput::builder() // Finally return a successful output\n .body(ByteStream::from_static(b\"success\"))\n .build())\n .build();\n\n // Create a mocked client with the rule\n let s3 = mock_client!(\n aws_sdk_s3,\n RuleMode::Sequential,\n [&retry_rule],\n |client_builder| {\n client_builder.retry_config(RetryConfig::standard().with_max_attempts(3))\n }\n );\n\n // This should succeed after two retries\n let result = s3\n .get_object()\n .bucket(\"test-bucket\")\n .key(\"test-key\")\n .send()\n .await\n .expect(\"success after retries\");\n\n // Verify the response\n let data = result.body.collect().await.expect(\"successful read\").to_vec();\n assert_eq!(data, b\"success\");\n\n // Verify all responses were used\n assert_eq!(retry_rule.num_calls(), 3);\n}\n```\n",
24-
"meta": {
25-
"bug": true,
26-
"breaking": false,
27-
"tada": true
28-
},
29-
"author": "aajtodd",
30-
"references": [
31-
"smithy-rs#4074",
32-
"smithy-rs#3926"
33-
],
34-
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
35-
"age": 5
36-
},
37-
{
38-
"message": "Update MSRV to 1.82.0\n",
39-
"meta": {
40-
"bug": false,
41-
"breaking": true,
42-
"tada": false
43-
},
44-
"author": "ysaito1001",
45-
"references": [
46-
"smithy-rs#4120"
47-
],
48-
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
49-
"age": 5
50-
},
518
{
529
"message": "Replace once_cell with std equivalents\n",
5310
"meta": {
@@ -60,7 +17,7 @@
6017
"smithy-rs#4105"
6118
],
6219
"since-commit": "f3aebe7b53d7e1be4bd922e13d459f8ef72104fa",
63-
"age": 4
20+
"age": 5
6421
},
6522
{
6623
"message": "Removing the `optimize_crc32_auto` feature flag from the `crc-fast` dependency of the `aws-smithy-checksums` crate since it was causing build issues for some customers.\n",
@@ -74,7 +31,7 @@
7431
"aws-sdk-rust#1291"
7532
],
7633
"since-commit": "4e4a0ee2d663a1212927a8a70ca97eac567d54b6",
77-
"age": 3
34+
"age": 4
7835
},
7936
{
8037
"message": "fix simple rules behavior with `RuleMode::MatchAny`\n",
@@ -88,7 +45,7 @@
8845
"smithy-rs#4135"
8946
],
9047
"since-commit": "4e4a0ee2d663a1212927a8a70ca97eac567d54b6",
91-
"age": 3
48+
"age": 4
9249
},
9350
{
9451
"message": "Introduce a new `repeatedly()` function to `aws-smithy-mocks` sequence builder to build mock rules that behave as an\ninfinite sequence.\n\n```rust\nlet rule = mock!(aws_sdk_s3::Client::get_object)\n .sequence()\n .http_status(503, None)\n .times(2) // repeat the last output twice before moving onto the next response in the sequence\n .output(|| GetObjectOutput::builder()\n .body(ByteStream::from_static(b\"success\"))\n .build()\n )\n .repeatedly() // repeat the last output forever\n .build();\n```\n",
@@ -102,7 +59,7 @@
10259
"smithy-rs#4135"
10360
],
10461
"since-commit": "4e4a0ee2d663a1212927a8a70ca97eac567d54b6",
105-
"age": 3
62+
"age": 4
10663
},
10764
{
10865
"message": "Fix h2 GoAway errors not being retried by hyper legacy client\n",
@@ -116,7 +73,7 @@
11673
"aws-sdk-rust#1272"
11774
],
11875
"since-commit": "7d64b2f9e8fc89159d7fb1ff1309d6d6b8b53189",
119-
"age": 2
76+
"age": 3
12077
},
12178
{
12279
"message": "Fix default supported protocols incorrectly ordered in `ClientProtocolLoader`.\n",
@@ -130,7 +87,7 @@
13087
"smithy-rs#4165"
13188
],
13289
"since-commit": "c624a84d9ecc451854521e363e34cf6f1c10e009",
133-
"age": 1
90+
"age": 2
13491
},
13592
{
13693
"message": "Add support for fetching account ID from IMDS credentials on EC2.\n",
@@ -144,6 +101,46 @@
144101
"smithy-rs#4109"
145102
],
146103
"since-commit": "c624a84d9ecc451854521e363e34cf6f1c10e009",
104+
"age": 2
105+
},
106+
{
107+
"message": "Temporarily disable fetching account ID from IMDS credentials on EC2.\n",
108+
"meta": {
109+
"bug": false,
110+
"breaking": false,
111+
"tada": false
112+
},
113+
"author": "ysaito1001",
114+
"references": [
115+
"smithy-rs#4187"
116+
],
117+
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
118+
"age": 1
119+
},
120+
{
121+
"message": "Fix hyper 1.x connection refused errors not marked as retryable\n",
122+
"meta": {
123+
"bug": true,
124+
"breaking": false,
125+
"tada": false
126+
},
127+
"author": "aajtodd",
128+
"references": [],
129+
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
130+
"age": 1
131+
},
132+
{
133+
"message": "Make Rpc V2 CBOR a compatible protocol for `awsQuery` using `awsQueryCompatible` trait\n",
134+
"meta": {
135+
"bug": false,
136+
"breaking": false,
137+
"tada": false
138+
},
139+
"author": "ysaito1001",
140+
"references": [
141+
"smithy-rs#4186"
142+
],
143+
"since-commit": "dd10f0602682dfabafc465dbcd9eb92d3d915c51",
147144
"age": 1
148145
}
149146
],

aws/sdk/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)