Skip to content

April 30th, 2024

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.