Skip to content

Releases: smithy-lang/smithy-rs

July 23rd, 2025

23 Jul 20:10
Compare
Choose a tag to compare

Internal changes only with this release

July 21st, 2025

21 Jul 20:00
Compare
Choose a tag to compare

New this release:

  • 🎉 (client, smithy-rs#4203) Add support for configuring auth schemes manually using an auth scheme preference list.
    The preference list allows customers to reprioritize the order of auth schemes originally
    determined by the auth scheme resolver.
    Customers can configure the auth scheme preference at the following locations, listed in order of precedence:
    1. Service Client Configuration
    use aws_runtime::auth::sigv4;
    use aws_smithy_runtime_api::client::auth::AuthSchemeId;
    use aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID;
    
    let config = aws_sdk_s3::Config::builder()
        .auth_scheme_preference([AuthSchemeId::from("scheme1"), sigv4::SCHEME_ID, HTTP_BEARER_AUTH_SCHEME_ID])
        // ...
        .build();
    1. Environment Variable
    AWS_AUTH_SCHEME_PREFERENCE=scheme1, sigv4, httpBearerAuth
    
    1. Configuration File
    auth_scheme_preference=scheme1, sigv4, httpBearerAuth
    
    With this configuration, the auth scheme resolver will prefer to select them in the specified order,
    if they are supported.

July 17th, 2025

17 Jul 20:02
Compare
Choose a tag to compare

New this release:

  • (all, smithy-rs#4212) Event streams now allocate a right-sized buffer avoiding repeated reallocations during serialization

July 16th, 2025

16 Jul 04:33
Compare
Choose a tag to compare

New this release:

  • (client) re-use checksums on retry attempts for enhanced durability

July 8th, 2025

08 Jul 21:08
Compare
Choose a tag to compare

Breaking Changes:

New this release:

June 30th, 2025

30 Jun 19:53
Compare
Choose a tag to compare

Internal changes only with this release

June 27th, 2025

27 Jun 18:12
Compare
Choose a tag to compare

New this release:

  • 🐛 (client) Fix hyper 1.x connection refused errors not marked as retryable
  • (client, smithy-rs#4186) Make Rpc V2 CBOR a compatible protocol for awsQuery using awsQueryCompatible trait

June 11th, 2025

11 Jun 20:12
Compare
Choose a tag to compare

Breaking Changes:

  • ⚠️ (all, smithy-rs#4154) Update MSRV to 1.85.0
  • 🐛⚠️ (server) Fixed SmithyRpcV2CBOR Router to properly respect case in service names, preventing routing failures for services with mixed-case service shape ID.

New this release:

  • 🐛 (client, smithy-rs#4165) Fix default supported protocols incorrectly ordered in ClientProtocolLoader.

June 3rd, 2025

03 Jun 17:42
Compare
Choose a tag to compare

New this release:

  • 🐛 (client, aws-sdk-rust#1272) Fix h2 GoAway errors not being retried by hyper legacy client

May 19th, 2025

19 May 21:56
Compare
Choose a tag to compare

New this release:

  • 🎉 (client, smithy-rs#4135) Introduce a new repeatedly() function to aws-smithy-mocks sequence builder to build mock rules that behave as an
    infinite sequence.

    let rule = mock!(aws_sdk_s3::Client::get_object)
        .sequence()
        .http_status(503, None)
        .times(2)        // repeat the last output twice before moving onto the next response in the sequence
        .output(|| GetObjectOutput::builder()
            .body(ByteStream::from_static(b"success"))
            .build()
        )
        .repeatedly()    // repeat the last output forever
        .build();
  • 🐛 (client, aws-sdk-rust#1291) Removing the optimize_crc32_auto feature flag from the crc-fast dependency of the aws-smithy-checksums crate since it was causing build issues for some customers.

  • 🐛 (client, smithy-rs#4137) Fix bug with enum codegen

    When the first enum generated has the @sensitive trait the opaque type
    underlying the UnknownVariant inherits that sensitivity. This means that
    it does not derive Debug. Since the module is only generated once this
    causes a problem for non-sensitive enums that rely on the type deriving
    Debug so that they can also derive Debug. We manually add Debug to
    the module so it will always be there since the UnknownVariant is not
    modeled and cannot be @sensitive.

  • 🐛 (client, smithy-rs#4135) fix simple rules behavior with RuleMode::MatchAny