Skip to content

v0.37.0 (February 18th, 2022)

Pre-release
Pre-release

Choose a tag to compare

@rcoh rcoh released this 21 Feb 15:28
058f28e

0.37.0 (February 18th, 2022)

Breaking Changes:

  • ⚠ (smithy-rs#1144) Some APIs required that timeout configuration be specified with an aws_smithy_client::timeout::Settings struct while
    others required an aws_smithy_types::timeout::TimeoutConfig struct. Both were equivalent. Now aws_smithy_types::timeout::TimeoutConfig
    is used everywhere and aws_smithy_client::timeout::Settings has been removed. Here's how to migrate code your code that
    depended on timeout::Settings:

    The old way:

    let timeout = timeout::Settings::new()
        .with_connect_timeout(Duration::from_secs(1))
        .with_read_timeout(Duration::from_secs(2));

    The new way:

    // This example is passing values, so they're wrapped in `Option::Some`. You can disable a timeout by passing `None`.
    let timeout = TimeoutConfig::new()
        .with_connect_timeout(Some(Duration::from_secs(1)))
        .with_read_timeout(Some(Duration::from_secs(2)));
  • ⚠ (smithy-rs#1085) Moved the following re-exports into a types module for all services:

    • <service>::AggregatedBytes -> <service>::types::AggregatedBytes
    • <service>::Blob -> <service>::types::Blob
    • <service>::ByteStream -> <service>::types::ByteStream
    • <service>::DateTime -> <service>::types::DateTime
    • <service>::SdkError -> <service>::types::SdkError
  • ⚠ (smithy-rs#1085) AggregatedBytes and ByteStream are now only re-exported if the service has streaming operations,
    and Blob/DateTime are only re-exported if the service uses them.

  • ⚠ (smithy-rs#1130) MSRV increased from 1.54 to 1.56.1 per our 2-behind MSRV policy.

New this release:

  • (smithy-rs#1144) MakeConnectorFn, HttpConnector, and HttpSettings have been moved from aws_config::provider_config to
    aws_smithy_client::http_connector. This is in preparation for a later update that will change how connectors are
    created and configured.
  • (smithy-rs#1123) Refactor Document shape parser generation
  • (smithy-rs#1085) The Client and Config re-exports now have their documentation inlined in the service docs