Skip to content

Releases: smithy-lang/smithy-rs

November 5th, 2024

05 Nov 14:43
Compare
Choose a tag to compare

Internal changes only with this release

October 30th, 2024

30 Oct 19:28
Compare
Choose a tag to compare

New this release:

  • (smithy-rs#3887) Client SDKs that support the RPC v2 CBOR protocol now send application/cbor in an Accept header in the request.

October 24th, 2024

24 Oct 15:23
Compare
Choose a tag to compare

aws-sdk-rust-related changes only with this release

October 9th, 2024

09 Oct 20:24
Compare
Choose a tag to compare

New this release:

  • 🐛 (client, smithy-rs#3871, aws-sdk-rust#1202) Fix minimum throughput detection for downloads to avoid incorrectly raising an error while the user is consuming data at a slow but steady pace.

October 5th, 2024

05 Oct 02:01
Compare
Choose a tag to compare

New this release:

  • 🐛 (client, smithy-rs#3852) Fix AWS SDK generation examples in README in the aws/sdk directory.

October 4th, 2024

04 Oct 16:50
Compare
Choose a tag to compare

Internal changes only with this release

October 3rd, 2024

03 Oct 10:10
Compare
Choose a tag to compare

Breaking Changes:

  • ⚠️ (server) The generated crates no longer have the aws-lambda feature flag enabled by default. This prevents the aws-lambda feature from being automatically enabled in aws-smithy-http-server when the SDK is not intended for AWS Lambda.

New this release:

  • 🎉 (server) All relevant types from aws-smithy-http-server are now re-exported within the generated crates. This removes the need to explicitly depend on aws-smithy-http-server in service handler code and prevents compilation errors caused by version mismatches.

  • 🎉 (all, smithy-rs#3573) Support for the rpcv2Cbor protocol has been added, allowing services to serialize RPC payloads as CBOR (Concise Binary Object Representation), improving performance and efficiency in data transmission.

September 26th, 2024

26 Sep 14:57
Compare
Choose a tag to compare

New this release:

  • 🐛 (client, smithy-rs#3820) Fixed a bug with the content length of compressed payloads that caused such requests to hang.

September 17th, 2024

17 Sep 03:26
Compare
Choose a tag to compare

Internal and aws-sdk-rust-related changes only with this release

September 9th, 2024

09 Sep 15:58
Compare
Choose a tag to compare

Breaking Changes:

  • 🐛⚠️ (server, smithy-rs#3813) Operations with event stream member shapes must include ValidationException 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 a std::result::Result with the error set to crate::model::ValidationExceptionField.

New this release:

  • 🎉 (server, smithy-rs#3803) Setting the addValidationExceptionToConstrainedOperations codegen flag adds aws.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.