diff --git a/CHANGELOG.md b/CHANGELOG.md index a290aa4091..be137afc8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,20 @@ +July 9th, 2024 +============== +**Breaking Changes:** +- :warning: (server, [smithy-rs#3746](https://github.com/smithy-lang/smithy-rs/issues/3746)) `FromParts::Rejection` must implement `std::fmt::Display`. + + Handlers can accept user-defined types if they implement + [FromParts](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:** diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 32154f676c..fc4c4c2578 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -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::Rejection` must implement `std::fmt::Display`. - -Handlers can accept user-defined types if they implement -[FromParts](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" \ No newline at end of file diff --git a/aws/SDK_CHANGELOG.next.json b/aws/SDK_CHANGELOG.next.json index f6c64a1ba8..e0a9b67e50 100644 --- a/aws/SDK_CHANGELOG.next.json +++ b/aws/SDK_CHANGELOG.next.json @@ -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": { @@ -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.", @@ -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", @@ -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.", @@ -89,7 +60,7 @@ "aws-sdk-rust#1163" ], "since-commit": "57ed310e6d21041eb36d825c50032295eef0b630", - "age": 3 + "age": 4 }, { "message": "Add customizations for S3 Expires fields.", @@ -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 } ],