Skip to content

Releases: smithy-lang/smithy-rs

February 15th, 2024

15 Feb 19:44
Compare
Choose a tag to compare

Breaking Changes:

New this release:

  • (all, aws-sdk-rust#977, smithy-rs#3365, smithy-rs#3373) Add try_into_http1x and try_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

08 Feb 21:24
Compare
Choose a tag to compare

No significant changes. Released in order to unblock SDK releases due to the issue fixed in #3399.

January 24th, 2024

24 Jan 19:25
Compare
Choose a tag to compare

Only SDK changes.

January 18th, 2024

18 Jan 18:02
Compare
Choose a tag to compare

New this release:

  • (client, smithy-rs#3318) EndpointPrefix and apply_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

10 Jan 15:24
Compare
Choose a tag to compare

New this release:

  • 🎉 (all, smithy-rs#3300, aws-sdk-rust#977) Add support for constructing [SdkBody] and [ByteStream] from http-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() to SdkError to allow checking the type of an error is without taking ownership.

  • (client, smithy-rs#3299, @Ploppz) Add PaginationStreamExt extension trait to aws-smithy-types-convert behind the convert-streams feature. This makes it possible to treat a paginator as a futures_core::Stream, allowing customers to use stream combinators like map and filter.

    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

13 Dec 23:48
Compare
Choose a tag to compare

No changes since the previous release but publishing runtime crates with different versions. See this for more details.

December 11th, 2023

11 Dec 22:24
Compare
Choose a tag to compare

New this release:

  • 🐛 (client, smithy-rs#3305) crate::event_receiver::EventReceiver is now re-exported as crate::primitives::event_stream::EventReceiver when a service supports event stream operations.

December 8th, 2023

08 Dec 22:41
Compare
Choose a tag to compare

New this release:

  • 🎉 (all, smithy-rs#3121, smithy-rs#3295) All generated docs now include docsrs labels when features are required
  • 🐛 (client, smithy-rs#3262) Loading native TLS trusted certs for the default HTTP client now only occurs if the default HTTP client is not overridden in config.
  • (client, smithy-rs#3277) Improve the error messages for when auth fails to select an auth scheme for a request.
  • (client, smithy-rs#3282) Fix documentation and examples on HyperConnector and HyperClientBuilder.
  • (client, aws-sdk-rust#990, @declanvk) Expose local socket address from ConnectionMetadata.
  • (all, smithy-rs#3294) Number TryInto implementations now succesfully convert from f64 to numeric types when no precision is lost. This fixes some deserialization issues where numbers like 25.0 were sent when Byte fields were expected.

Contributors
Thank you for your contributions! ❤

December 1st, 2023

01 Dec 18:55
Compare
Choose a tag to compare

New this release:

  • (client, smithy-rs#3278) RuntimeComponentsBuilder::push_identity_resolver is now deprecated since it does not replace the existing identity resolver of a given auth scheme ID. Use RuntimeComponentsBuilder::set_identity_resolver instead.

November 27th, 2023

27 Nov 23:37
Compare
Choose a tag to compare

New this release: