diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index dfaa767cbf..32154f676c 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -28,3 +28,17 @@ message = "Fix bug where stalled stream protection would panic with an underflow 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"