Skip to content

Commit dc66ae4

Browse files
Merge smithy-rs-release-1.x.y into main (#3751)
2 parents 56f4c8e + 78c50ee commit dc66ae4

File tree

3 files changed

+35
-66
lines changed

3 files changed

+35
-66
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
July 9th, 2024
3+
==============
4+
**Breaking Changes:**
5+
- :warning: (server, [smithy-rs#3746](https://github.com/smithy-lang/smithy-rs/issues/3746)) `FromParts<Protocol>::Rejection` must implement `std::fmt::Display`.
6+
7+
Handlers can accept user-defined types if they implement
8+
[FromParts<Protocol>](https://docs.rs/aws-smithy-http-server/latest/aws_smithy_http_server/request/trait.FromParts.html) with a `Rejection`
9+
type that implements `std::fmt::Display` (preferably `std::error::Error`) to enable error logging when parameter construction from request parts fails.
10+
11+
See the [changelog discussion for futher details](https://github.com/smithy-lang/smithy-rs/discussions/3749).
12+
13+
**New this release:**
14+
- (client, [smithy-rs#3742](https://github.com/smithy-lang/smithy-rs/issues/3742)) Support `stringArray` type in endpoints params
15+
- :bug: (client, [smithy-rs#3744](https://github.com/smithy-lang/smithy-rs/issues/3744)) Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon.
16+
17+
218
July 3rd, 2024
319
==============
420
**New this release:**

CHANGELOG.next.toml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,4 @@
99
# message = "Fix typos in module documentation for generated crates"
1010
# references = ["smithy-rs#920"]
1111
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
12-
# author = "rcoh"
13-
14-
[[smithy-rs]]
15-
message = "Support `stringArray` type in endpoints params"
16-
references = ["smithy-rs#3742"]
17-
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
18-
author = "landonxjames"
19-
20-
[[aws-sdk-rust]]
21-
message = "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon."
22-
references = ["smithy-rs#3744"]
23-
meta = { "breaking" = false, "tada" = false, "bug" = true }
24-
author = "Velfi"
25-
26-
[[smithy-rs]]
27-
message = "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon."
28-
references = ["smithy-rs#3744"]
29-
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" }
30-
author = "Velfi"
31-
32-
[[smithy-rs]]
33-
message = """
34-
`FromParts<Protocol>::Rejection` must implement `std::fmt::Display`.
35-
36-
Handlers can accept user-defined types if they implement
37-
[FromParts<Protocol>](https://docs.rs/aws-smithy-http-server/latest/aws_smithy_http_server/request/trait.FromParts.html) with a `Rejection`
38-
type that implements `std::fmt::Display` (preferably `std::error::Error`) to enable error logging when parameter construction from request parts fails.
39-
40-
See the [changelog discussion for futher details](https://github.com/smithy-lang/smithy-rs/discussions/3749).
41-
"""
42-
references = ["smithy-rs#3746"]
43-
meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "server" }
44-
author = "drganjoo"
12+
# author = "rcoh"

aws/SDK_CHANGELOG.next.json

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "Add support for v1 `http_body::Body` to `aws_smithy_types::byte_stream::bytestream_util::PathBody`.",
10-
"meta": {
11-
"bug": false,
12-
"breaking": false,
13-
"tada": false
14-
},
15-
"author": "Velfi",
16-
"references": [
17-
"smithy-rs#1925",
18-
"smithy-rs#3673"
19-
],
20-
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
21-
"age": 5
22-
},
23-
{
24-
"message": "Fix S3 ListParts API paginator infinite loop.",
25-
"meta": {
26-
"bug": true,
27-
"breaking": false,
28-
"tada": false
29-
},
30-
"author": "landonxjames",
31-
"references": [
32-
"aws-sdk-rust#1143"
33-
],
34-
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
35-
"age": 5
36-
},
378
{
389
"message": "Stalled stream protection will no longer be applied to the following Lambda operations: [Invoke], [InvokeAsync], [InvokeWithResponseStream].\n\n[Invoke]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke\n[InvokeAsync]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke_async\n[InvokeWithResponseStream]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke_with_response_stream\n",
3910
"meta": {
@@ -47,7 +18,7 @@
4718
"smithy-rs#3639"
4819
],
4920
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
50-
"age": 3
21+
"age": 4
5122
},
5223
{
5324
"message": "Add documentation on the default configuration to `from_env`, `load_from_env`, `defaults`, and `load_from_defaults` in the `aws-config` crate.",
@@ -61,7 +32,7 @@
6132
"aws-sdk-rust#1162"
6233
],
6334
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
64-
"age": 3
35+
"age": 4
6536
},
6637
{
6738
"message": "Pre-signed requests may now be converted to Http v1.x requests. This requires enabling the `http-1x` feature for the SDK in question.\nThen, call `PresignedRequest::make_http_1x_request` or `PresignedRequest::into_http_1x_request`.\n",
@@ -75,7 +46,7 @@
7546
"smithy-rs#3696"
7647
],
7748
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
78-
"age": 3
49+
"age": 4
7950
},
8051
{
8152
"message": "`AwsErrorCodeClassifier` for S3 now treats `InternalError` as a transient error to trigger retries.",
@@ -89,7 +60,7 @@
8960
"aws-sdk-rust#1163"
9061
],
9162
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
92-
"age": 3
63+
"age": 4
9364
},
9465
{
9566
"message": "Add customizations for S3 Expires fields.",
@@ -103,6 +74,20 @@
10374
"smithy-rs#3730"
10475
],
10576
"since-commit": "fe1b341e8f1a4ee307554f1a63bf62ec72d8c9a3",
77+
"age": 2
78+
},
79+
{
80+
"message": "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon.",
81+
"meta": {
82+
"bug": true,
83+
"breaking": false,
84+
"tada": false
85+
},
86+
"author": "Velfi",
87+
"references": [
88+
"smithy-rs#3744"
89+
],
90+
"since-commit": "56f4c8e9479792b8b52cc394d563ed49a01d1dcc",
10691
"age": 1
10792
}
10893
],

0 commit comments

Comments
 (0)