Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge smithy-rs-release-1.x.y into main #3751

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
July 9th, 2024
==============
**Breaking Changes:**
- :warning: (server, [smithy-rs#3746](https://github.com/smithy-lang/smithy-rs/issues/3746)) `FromParts<Protocol>::Rejection` must implement `std::fmt::Display`.

Handlers can accept user-defined types if they implement
[FromParts<Protocol>](https://docs.rs/aws-smithy-http-server/latest/aws_smithy_http_server/request/trait.FromParts.html) with a `Rejection`
type that implements `std::fmt::Display` (preferably `std::error::Error`) to enable error logging when parameter construction from request parts fails.

See the [changelog discussion for futher details](https://github.com/smithy-lang/smithy-rs/discussions/3749).

**New this release:**
- (client, [smithy-rs#3742](https://github.com/smithy-lang/smithy-rs/issues/3742)) Support `stringArray` type in endpoints params
- :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.


July 3rd, 2024
==============
**New this release:**
Expand Down
34 changes: 1 addition & 33 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,4 @@
# message = "Fix typos in module documentation for generated crates"
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
# author = "rcoh"

[[smithy-rs]]
message = "Support `stringArray` type in endpoints params"
references = ["smithy-rs#3742"]
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
author = "landonxjames"

[[aws-sdk-rust]]
message = "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon."
references = ["smithy-rs#3744"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "Velfi"

[[smithy-rs]]
message = "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon."
references = ["smithy-rs#3744"]
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" }
author = "Velfi"

[[smithy-rs]]
message = """
`FromParts<Protocol>::Rejection` must implement `std::fmt::Display`.

Handlers can accept user-defined types if they implement
[FromParts<Protocol>](https://docs.rs/aws-smithy-http-server/latest/aws_smithy_http_server/request/trait.FromParts.html) with a `Rejection`
type that implements `std::fmt::Display` (preferably `std::error::Error`) to enable error logging when parameter construction from request parts fails.

See the [changelog discussion for futher details](https://github.com/smithy-lang/smithy-rs/discussions/3749).
"""
references = ["smithy-rs#3746"]
meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "server" }
author = "drganjoo"
# author = "rcoh"
51 changes: 18 additions & 33 deletions aws/SDK_CHANGELOG.next.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@
{
"smithy-rs": [],
"aws-sdk-rust": [
{
"message": "Add support for v1 `http_body::Body` to `aws_smithy_types::byte_stream::bytestream_util::PathBody`.",
"meta": {
"bug": false,
"breaking": false,
"tada": false
},
"author": "Velfi",
"references": [
"smithy-rs#1925",
"smithy-rs#3673"
],
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
"age": 5
},
{
"message": "Fix S3 ListParts API paginator infinite loop.",
"meta": {
"bug": true,
"breaking": false,
"tada": false
},
"author": "landonxjames",
"references": [
"aws-sdk-rust#1143"
],
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
"age": 5
},
{
"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",
"meta": {
Expand All @@ -47,7 +18,7 @@
"smithy-rs#3639"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 3
"age": 4
},
{
"message": "Add documentation on the default configuration to `from_env`, `load_from_env`, `defaults`, and `load_from_defaults` in the `aws-config` crate.",
Expand All @@ -61,7 +32,7 @@
"aws-sdk-rust#1162"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 3
"age": 4
},
{
"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",
Expand All @@ -75,7 +46,7 @@
"smithy-rs#3696"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 3
"age": 4
},
{
"message": "`AwsErrorCodeClassifier` for S3 now treats `InternalError` as a transient error to trigger retries.",
Expand All @@ -89,7 +60,7 @@
"aws-sdk-rust#1163"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 3
"age": 4
},
{
"message": "Add customizations for S3 Expires fields.",
Expand All @@ -103,6 +74,20 @@
"smithy-rs#3730"
],
"since-commit": "fe1b341e8f1a4ee307554f1a63bf62ec72d8c9a3",
"age": 2
},
{
"message": "Fix bug where stalled stream protection would panic with an underflow if the first event was logged too soon.",
"meta": {
"bug": true,
"breaking": false,
"tada": false
},
"author": "Velfi",
"references": [
"smithy-rs#3744"
],
"since-commit": "56f4c8e9479792b8b52cc394d563ed49a01d1dcc",
"age": 1
}
],
Expand Down