Releases: smithy-lang/smithy-rs
March 25th, 2024
New this release:
- (all, smithy-rs#3476, @landonxjames) Increased minimum version of wasi crate dependency in aws-smithy-wasm to 0.12.1.
Contributors
Thank you for your contributions! ❤
March 12th, 2024
New this release:
- 🎉 (all, smithy-rs#2087, smithy-rs#2520, smithy-rs#3409, aws-sdk-rust#59, @landonxjames, @eduardomourar) Added aws-smithy-wasm crate to enable SDK use in WASI compliant environments
- 🎉 (client, smithy-rs#2087, smithy-rs#2520, smithy-rs#3409, @landonxjames, @eduardomourar) Added aws-smithy-wasm crate to enable SDK use in WASI compliant environments
- 🎉 (all, smithy-rs#3365, aws-sdk-rust#1046, @cayman-amzn)
SdkBody
now implements the 1.0 version of thehttp_body::Body
trait. - (all, smithy-rs#3470) Upgrade Smithy to 1.45.
- (client, smithy-rs#3465, smithy-rs#3477) The
ResolveIdentity
trait is now aware of itsIdentityCache
location. - (client, smithy-rs#3465, smithy-rs#3477)
RuntimeComponents
can now be converted back to aRuntimeComponentsBuilder
, using.to_builder()
.
Contributors
Thank you for your contributions! ❤
February 22nd, 2024
New this release:
- (all, smithy-rs#3410) The MSRV has been increase to 1.74.1
February 15th, 2024
Breaking Changes:
-
🐛
⚠️ (client, smithy-rs#3405, smithy-rs#3400, smithy-rs#3258) Fix bug where timeout settings where not merged properly. This will add a default connect timeout of 3.1s seconds for most clients.
New this release:
-
(all, aws-sdk-rust#977, smithy-rs#3365, smithy-rs#3373) Add
try_into_http1x
andtry_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
No significant changes. Released in order to unblock SDK releases due to the issue fixed in #3399.
January 24th, 2024
Only SDK changes.
January 18th, 2024
New this release:
- (client, smithy-rs#3318)
EndpointPrefix
andapply_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
New this release:
-
🎉 (all, smithy-rs#3300, aws-sdk-rust#977) Add support for constructing [
SdkBody
] and [ByteStream
] fromhttp-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()
toSdkError
to allow checking the type of an error is without taking ownership. -
(client, smithy-rs#3299, @Ploppz) Add
PaginationStreamExt
extension trait toaws-smithy-types-convert
behind theconvert-streams
feature. This makes it possible to treat a paginator as afutures_core::Stream
, allowing customers to use stream combinators likemap
andfilter
.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! ❤
December 13th, 2023
No changes since the previous release but publishing runtime crates with different versions. See this for more details.
December 11th, 2023
New this release:
- 🐛 (client, smithy-rs#3305)
crate::event_receiver::EventReceiver
is now re-exported ascrate::primitives::event_stream::EventReceiver
when a service supports event stream operations.