Skip to content

Releases: smithy-lang/smithy-rs

April 11th, 2024

11 Apr 17:23
Compare
Choose a tag to compare

New this release:

  • 🎉 (all, smithy-rs#3485) Stalled stream protection now supports request upload streams. It is currently off by default, but will be enabled by default in a future release. To enable it now, you can do the following:

    let config = my_service::Config::builder()
        .stalled_stream_protection(StalledStreamProtectionConfig::enabled().build())
        // ...
        .build();
  • 🐛 (all, smithy-rs#3427) SharedIdentityResolver now respects an existing cache partition when the ResolveIdentity implementation
    provides one already.

  • 🐛 (all, smithy-rs#3485) Stalled stream protection on downloads will now only trigger if the upstream source is too slow. Previously, stalled stream protection could be erroneously triggered if the user was slowly consuming the stream slower than the minimum speed limit.

  • 🐛 (all, smithy-rs#2546) Unions with unit target member shape are now fully supported

April 2nd, 2024

02 Apr 20:43
Compare
Choose a tag to compare

Breaking Changes:

New this release:

  • 🎉 (all, smithy-rs#3539) Add FIPS support to our Hyper 1.0-based client. Customers can enable this mode by enabling the crypto-aws-lc-fips on aws-smithy-experimental. To construct a client using the new client, consult this example.

    Please note that support for Hyper 1.0 remains experimental.

  • (all, smithy-rs#3389) All requests are now retryable, even if they are deserialized successfully. Previously, this was not allowed.

  • (all, smithy-rs#3539) Fix bug in Hyper 1.0 support where https URLs returned an error

Contributors
Thank you for your contributions! ❤

March 25th, 2024

25 Mar 19:58
Compare
Choose a tag to compare

New this release:

Contributors
Thank you for your contributions! ❤

March 12th, 2024

12 Mar 18:17
Compare
Choose a tag to compare

New this release:

Contributors
Thank you for your contributions! ❤

February 22nd, 2024

22 Feb 22:37
Compare
Choose a tag to compare

New this release:

February 15th, 2024

15 Feb 19:44
Compare
Choose a tag to compare

Breaking Changes:

New this release:

  • (all, aws-sdk-rust#977, smithy-rs#3365, smithy-rs#3373) Add try_into_http1x and try_from_http1x to Request and Response container types.

  • (client, smithy-rs#3336, smithy-rs#3391, @iampkmone) Added impl Display to Enums.

  • 🐛 (all, smithy-rs#3322) Retry classifiers will now be sorted by priority. This change only affects requests
    that are retried. Some requests that were previously been classified as transient
    errors may now be classified as throttling errors.

    If you were

    • configuring multiple custom retry classifiers
    • that would disagree on how to classify a response
    • that have differing priorities

    you may see a behavior change in that classification for the same response is now
    dependent on the classifier priority instead of the order in which the classifier
    was added.

  • 🐛 (client, smithy-rs#3402) Cap the maximum jitter fraction for identity cache refresh buffer time to 0.5. It was previously 1.0, and if the fraction was randomly set to 1.0, it was equivalent to disregarding the buffer time for cache refresh.

Contributors
Thank you for your contributions! ❤

February 8th, 2024

08 Feb 21:24
Compare
Choose a tag to compare

No significant changes. Released in order to unblock SDK releases due to the issue fixed in #3399.

January 24th, 2024

24 Jan 19:25
Compare
Choose a tag to compare

Only SDK changes.

January 18th, 2024

18 Jan 18:02
Compare
Choose a tag to compare

New this release:

  • (client, smithy-rs#3318) EndpointPrefix and apply_endpoint moved from aws-smithy-http to aws-smithy-runtime-api so that is in a stable (1.x) crate. A deprecated type alias was left in place with a note showing the new location.
  • (client, smithy-rs#3325) The Metadata storable was moved from aws_smithy_http into aws_smithy_runtime_api. A deprecated type alias was left in place with a note showing where the new location is.

January 10th, 2024

10 Jan 15:24
Compare
Choose a tag to compare

New this release:

  • 🎉 (all, smithy-rs#3300, aws-sdk-rust#977) Add support for constructing [SdkBody] and [ByteStream] from http-body 1.0 bodies. Note that this is initial support and works via a backwards compatibility shim to http-body 0.4. Hyper 1.0 is not supported.

  • 🎉 (all, smithy-rs#3333, aws-sdk-rust#998, aws-sdk-rust#1010) Add as_service_err() to SdkError to allow checking the type of an error is without taking ownership.

  • (client, smithy-rs#3299, @Ploppz) Add PaginationStreamExt extension trait to aws-smithy-types-convert behind the convert-streams feature. This makes it possible to treat a paginator as a futures_core::Stream, allowing customers to use stream combinators like map and filter.

    Example:

    use aws_smithy_types_convert::stream::PaginationStreamExt
    let stream = s3_client.list_objects_v2().bucket("...").into_paginator().send().into_stream_03x();
  • 🐛 (client, smithy-rs#3252, smithy-rs#3312, @milesziemer) Serialize 0/false in query parameters, and ignore actual default value during serialization instead of just 0/false. See changelog discussion for details.

  • (all, smithy-rs#3292) requireEndpointResolver: false is no longer required to remove the need for an endpoint resolver. Instead, "awsSdkBuilder" (default false), now removes that requirement.

Contributors
Thank you for your contributions! ❤