January 11th, 2023
Pre-release
Pre-release
·
2060 commits
to main
since this release
Breaking Changes:
- ⚠ (client, smithy-rs#2099) The Rust client codegen plugin is now called
rust-client-codegeninstead ofrust-codegen. Be sure to update yoursmithy-build.jsonfiles to refer to the correct plugin name. - ⚠ (client, smithy-rs#2099) Client codegen plugins need to define a service named
software.amazon.smithy.rust.codegen.client.smithy.customize.ClientCodegenDecorator(this is the new file name for the plugin definition inresources/META-INF/services). - ⚠ (server, smithy-rs#2099) Server codegen plugins need to define a service named
software.amazon.smithy.rust.codegen.server.smithy.customize.ServerCodegenDecorator(this is the new file name for the plugin definition inresources/META-INF/services).
New this release:
- 🐛 (server, smithy-rs#2103) In 0.52,
@length-constrained collection shapes whose members are not constrained made the server code generator crash. This has been fixed. - (server, smithy-rs#1879) Servers support the
@defaulttrait: models can specify default values. Default values will be automatically supplied when not manually set. - (server, smithy-rs#2131) The constraint
@lengthon non-streaming blob shapes is supported. - 🐛 (client, smithy-rs#2150) Fix bug where string default values were not supported for endpoint parameters
- 🐛 (all, smithy-rs#2170, aws-sdk-rust#706) Remove the webpki-roots feature from
hyper-rustls - 🐛 (server, smithy-rs#2054) Servers can generate a unique request ID and use it in their handlers.