September 9th, 2024
Breaking Changes:
- 🐛
⚠️ (server, smithy-rs#3813) Operations with event stream member shapes must includeValidationException
in the errors list. This is necessary because the member shape is a required field, and the builder for the operation input or output returns astd::result::Result
with the error set tocrate::model::ValidationExceptionField
.
New this release:
-
🎉 (server, smithy-rs#3803) Setting the
addValidationExceptionToConstrainedOperations
codegen flag addsaws.smithy.framework#ValidationException
to operations with constrained inputs that do not already have this exception added.Sample
smithy-build-template.json
:{ "...", "plugins": { "rust-server-codegen": { "service": "ServiceToGenerateSDKFor", "module": "amzn-sample-server-sdk", "codegen": { "addValidationExceptionToConstrainedOperations": true, } } } }
-
🐛 (all, smithy-rs#3805) Fix bug in
DateTime::from_secs_f64
where certain floating point values could lead to a panic.