Skip to content

Releases: smithy-lang/smithy-rs

June 12th, 2024

12 Jun 20:02
Compare
Choose a tag to compare

Internal changes only with this release

June 10th, 2024

10 Jun 20:23
Compare
Choose a tag to compare

New this release:

Contributors
Thank you for your contributions! ❤

June 3rd, 2024

03 Jun 21:25
Compare
Choose a tag to compare

New this release:

May 28th, 2024

28 May 19:56
Compare
Choose a tag to compare

Internal changes only with this release

May 22nd, 2024

22 May 19:29
Compare
Choose a tag to compare

New this release:

May 21st, 2024

21 May 16:59
Compare
Choose a tag to compare

Breaking Changes:

New this release:

  • 🎉 (client, smithy-rs#2891) Compression is now supported for operations modeled with the @requestCompression trait.

    For more details, see the long-form changelog discussion.

  • 🐛 (client, aws-sdk-rust#1133) Fix panics that occurred when Duration for exponential backoff could not be created from too big a float.

  • 🐛 (all, smithy-rs#3491, aws-sdk-rust#1079) Clients now enforce that the Content-Length sent by the server matches the length of the returned response body. In most cases, Hyper will enforce this behavior, however, in extremely rare circumstances where the Tokio runtime is dropped in between subsequent requests, this scenario can occur.

  • 🐛 (all, aws-sdk-rust#1141, aws-sdk-rust#1146, aws-sdk-rust#1148) Fixes stalled upload stream protection to not apply to empty request bodies and to stop checking for violations once the request body has been read.

May 8th, 2024

08 May 01:46
Compare
Choose a tag to compare

Breaking Changes:

  • ⚠️🎉 (all, smithy-rs#3527) Stalled stream protection on uploads is now enabled by default behind BehaviorVersion::v2024_03_28(). If you're using BehaviorVersion::latest(), you will get this change automatically by running cargo update.

New this release:

Contributors
Thank you for your contributions! ❤

April 30th, 2024

30 Apr 15:17
Compare
Choose a tag to compare

New this release:

  • 🎉 (client, smithy-rs#119, smithy-rs#3595, smithy-rs#3593, smithy-rs#3585, smithy-rs#3571, smithy-rs#3569) Added support for waiters. Services that model waiters now have a Waiters trait that adds
    some methods prefixed with wait_until to the existing clients.

    For example, if there was a waiter modeled for "thing" that takes a "thing ID", using
    that waiter would look as follows:

    use my_generated_client::client::Waiters;
    
    let result = client.wait_until_thing()
        .thing_id("someId")
        .wait(Duration::from_secs(120))
        .await;
  • 🐛 (all, smithy-rs#3603) Fix event stream :content-type message headers for struct messages. Note: this was the :content-type header on individual event message frames that was incorrect, not the HTTP content-type header for the initial request.

April 19th, 2024

19 Apr 21:26
Compare
Choose a tag to compare

New this release:

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