Releases: smithy-lang/smithy-rs
July 3rd, 2024
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
Breaking Changes:
-
🐛
⚠️ (server, smithy-rs#3690) Fix requestContent-Type
header checkingTwo bugs related to how servers were checking the
Content-Type
header in incoming requests have been fixed:Content-Type
header checking was incorrectly succeeding when noContent-Type
header was present but one was expected.- 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
Internal and aws-sdk-rust
-related changes only with this release
June 12th, 2024
Internal changes only with this release
June 10th, 2024
New this release:
- (all, smithy-rs#1925, smithy-rs#3673) Add support for v1
http_body::Body
toaws_smithy_types::byte_stream::bytestream_util::PathBody
. - (all, smithy-rs#3637, @khuey) Add conversions from smithy StatusCode to http StatusCode.
- 🐛 (client, smithy-rs#3675, @DaStrom) Enable aws-smithy-runtime to compile in rustc 1.72.1
Contributors
Thank you for your contributions! ❤
June 3rd, 2024
New this release:
- (client, smithy-rs#3664) Reduce verbosity of various debug logs
May 28th, 2024
Internal changes only with this release
May 22nd, 2024
New this release:
- 🐛 (client, smithy-rs#3656, smithy-rs#3657) Fix the Content-Length enforcement so it is only applied to GET requests.
May 21st, 2024
Breaking Changes:
⚠️ 🎉 (all, smithy-rs#3653) Update MSRV to1.76.0
New this release:
-
🎉 (client, smithy-rs#2891) Compression is now supported for operations modeled with the
@requestCompression
trait. -
🐛 (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
Breaking Changes:
⚠️ 🎉 (all, smithy-rs#3527) Stalled stream protection on uploads is now enabled by default behindBehaviorVersion::v2024_03_28()
. If you're usingBehaviorVersion::latest()
, you will get this change automatically by runningcargo update
.
New this release:
- (all, smithy-rs#3161, @mnissenb) Implement Debug for DateTime
Contributors
Thank you for your contributions! ❤
- @mnissenb (smithy-rs#3161)