Skip to content

Releases: smithy-lang/smithy-rs

July 3rd, 2024

03 Jul 20:52
Compare
Choose a tag to compare

New this release:

  • 🐛 (server, smithy-rs#3643) A feature, aws-lambda, has been added to generated SDKs to re-export types required for Lambda deployment.
  • 🐛 (server, smithy-rs#3471, smithy-rs#3724, @djedward) Content-Type header validation now ignores parameter portion of media types.

Contributors
Thank you for your contributions! ❤

June 19th, 2024

19 Jun 18:37
Compare
Choose a tag to compare

Breaking Changes:

  • 🐛⚠️ (server, smithy-rs#3690) Fix request Content-Type header checking

    Two bugs related to how servers were checking the Content-Type header in incoming requests have been fixed:

    1. Content-Type header checking was incorrectly succeeding when no Content-Type header was present but one was expected.
    2. When a shape was @httpPayload-bound, Content-Type` header checking occurred even when no payload was being sent. In this case it is not necessary to check the header, since there is no content.

    This is a breaking change in that servers are now stricter at enforcing the expected Content-Type header is being sent by the client in general, and laxer when the shape is bound with @httpPayload.

June 17th, 2024

17 Jun 20:51
Compare
Choose a tag to compare

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

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! ❤