Skip to content

Commit 1b0f2a6

Browse files
Merge smithy-rs-release-1.x.y into main (#4134)
2 parents f3aebe7 + 4fa77c0 commit 1b0f2a6

File tree

5 files changed

+33
-64
lines changed

5 files changed

+33
-64
lines changed

.changelog/1747202677.md

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

.changelog/unknown-variants.md

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

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
May 15th, 2025
3+
==============
4+
**New this release:**
5+
- :bug: (all, [smithy-rs#4132](https://github.com/smithy-lang/smithy-rs/issues/4132)) Smithy unions that contain members named "unknown" will now codegen correctly
6+
- (all, [smithy-rs#4105](https://github.com/smithy-lang/smithy-rs/issues/4105), @FalkWoldmann) Replace once_cell with std equivalents
7+
8+
**Contributors**
9+
Thank you for your contributions! ❤
10+
- @FalkWoldmann ([smithy-rs#4105](https://github.com/smithy-lang/smithy-rs/issues/4105))
11+
12+
213
May 9th, 2025
314
=============
415
**Breaking Changes:**

aws/SDK_CHANGELOG.next.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "Update spans to better align with spec.\n",
10-
"meta": {
11-
"bug": false,
12-
"breaking": false,
13-
"tada": false
14-
},
15-
"author": "landonxjames",
16-
"references": [
17-
"smithy-rs#4052"
18-
],
19-
"since-commit": "7558d31f17b69bce8785ffa833c575d0b172209c",
20-
"age": 5
21-
},
228
{
239
"message": "Replace the `once_cell` crate with the `std` counterpart in AWS runtime crates.\n",
2410
"meta": {
@@ -31,7 +17,7 @@
3117
"smithy-rs#4050"
3218
],
3319
"since-commit": "f0c92d92b680771787af8ab60995d0e1fae02611",
34-
"age": 3
20+
"age": 4
3521
},
3622
{
3723
"message": "Fix an issue where a custom `Content-Encoding` header was incorrectly overwritten by the `aws-chunked` header value.\n",
@@ -45,7 +31,7 @@
4531
"aws-sdk-rust#1281"
4632
],
4733
"since-commit": "f0c92d92b680771787af8ab60995d0e1fae02611",
48-
"age": 3
34+
"age": 4
4935
},
5036
{
5137
"message": "Add support for the account-based endpoints in AWS SDKs. For more details, please refer to the [AWS SDKs and Tools Reference Guide on Account-Based Endpoints](https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html).\n",
@@ -59,7 +45,7 @@
5945
"smithy-rs#3776"
6046
],
6147
"since-commit": "f0c92d92b680771787af8ab60995d0e1fae02611",
62-
"age": 3
48+
"age": 4
6349
},
6450
{
6551
"message": "Fix service specific endpoint url keys\n",
@@ -73,7 +59,7 @@
7359
"aws-sdk-rust#1252"
7460
],
7561
"since-commit": "f0c92d92b680771787af8ab60995d0e1fae02611",
76-
"age": 3
62+
"age": 4
7763
},
7864
{
7965
"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",
@@ -87,7 +73,7 @@
8773
"smithy-rs#4117"
8874
],
8975
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
90-
"age": 1
76+
"age": 2
9177
},
9278
{
9379
"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",
@@ -102,7 +88,7 @@
10288
"smithy-rs#3926"
10389
],
10490
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
105-
"age": 1
91+
"age": 2
10692
},
10793
{
10894
"message": "Update MSRV to 1.82.0\n",
@@ -116,6 +102,20 @@
116102
"smithy-rs#4120"
117103
],
118104
"since-commit": "84f5464aacf3544f706d75af0aaddfea42c20e9f",
105+
"age": 2
106+
},
107+
{
108+
"message": "Replace once_cell with std equivalents\n",
109+
"meta": {
110+
"bug": false,
111+
"breaking": false,
112+
"tada": false
113+
},
114+
"author": "FalkWoldmann",
115+
"references": [
116+
"smithy-rs#4105"
117+
],
118+
"since-commit": "f3aebe7b53d7e1be4bd922e13d459f8ef72104fa",
119119
"age": 1
120120
}
121121
],

aws/sdk/Cargo.lock

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

0 commit comments

Comments
 (0)