diff --git a/CHANGELOG.md b/CHANGELOG.md index 84914d9730..94d6147517 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,34 @@ +November 17th, 2023 +=================== +**Breaking Changes:** +- :warning::tada: (client, [smithy-rs#3202](https://github.com/smithy-lang/smithy-rs/issues/3202)) Add configurable stalled-stream protection for downloads. + + When making HTTP calls, + it's possible for a connection to 'stall out' and emit no more data due to server-side issues. + In the event this happens, it's desirable for the stream to error out as quickly as possible. + While timeouts can protect you from this issue, they aren't adaptive to the amount of data + being sent and so must be configured specifically for each use case. When enabled, stalled-stream + protection will ensure that bad streams error out quickly, regardless of the amount of data being + downloaded. + + Protection is enabled by default for all clients but can be configured or disabled. + See [this discussion](https://github.com/awslabs/aws-sdk-rust/discussions/956) for more details. +- :warning: (client, [smithy-rs#3222](https://github.com/smithy-lang/smithy-rs/issues/3222)) Types/functions that were deprecated in previous releases were removed. Unfortunately, some of these deprecations + were ignored by the Rust compiler (we found out later that `#[deprecated]` on `pub use` doesn't work). See + the [deprecations removal list](https://github.com/smithy-lang/smithy-rs/discussions/3223) for more details. +- :warning: (all, [smithy-rs#3236](https://github.com/smithy-lang/smithy-rs/issues/3236)) Conversions for HTTP request in aws-smithy-runtime-api are now feature gated behind the `http-02x` feature + +**New this release:** +- :tada: (all, [smithy-rs#3183](https://github.com/smithy-lang/smithy-rs/issues/3183), @HakanVardarr) Add `Display` impl for `DateTime`. +- :bug: (client, [smithy-rs#3229](https://github.com/smithy-lang/smithy-rs/issues/3229), [aws-sdk-rust#960](https://github.com/awslabs/aws-sdk-rust/issues/960)) Prevent multiplication overflow in backoff computation +- (client, [smithy-rs#3226](https://github.com/smithy-lang/smithy-rs/issues/3226)) Types/functions that were previously `#[doc(hidden)]` in `aws-smithy-async`, `aws-smithy-runtime-api`, `aws-smithy-runtime`, `aws-smithy-types`, and the SDK crates are now visible. For those that are not intended to be used directly, they are called out in their docs as such. + +**Contributors** +Thank you for your contributions! ❤ +- @HakanVardarr ([smithy-rs#3183](https://github.com/smithy-lang/smithy-rs/issues/3183)) + + November 16th, 2023 =================== **Breaking Changes:** diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 3e0bec7c41..fc4c4c2578 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -9,116 +9,4 @@ # message = "Fix typos in module documentation for generated crates" # references = ["smithy-rs#920"] # meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"} -# author = "rcoh" - -[[aws-sdk-rust]] -message = """ -Add configurable stalled-stream protection for downloads. - -When making HTTP calls, -it's possible for a connection to 'stall out' and emit no more data due to server-side issues. -In the event this happens, it's desirable for the stream to error out as quickly as possible. -While timeouts can protect you from this issue, they aren't adaptive to the amount of data -being sent and so must be configured specifically for each use case. When enabled, stalled-stream -protection will ensure that bad streams error out quickly, regardless of the amount of data being -downloaded. - -Protection is enabled by default for all clients but can be configured or disabled. -See [this discussion](https://github.com/awslabs/aws-sdk-rust/discussions/956) for more details. -""" -references = ["smithy-rs#3202"] -meta = { "breaking" = true, "tada" = true, "bug" = false } -author = "Velfi" - -[[smithy-rs]] -message = """ -Add configurable stalled-stream protection for downloads. - -When making HTTP calls, -it's possible for a connection to 'stall out' and emit no more data due to server-side issues. -In the event this happens, it's desirable for the stream to error out as quickly as possible. -While timeouts can protect you from this issue, they aren't adaptive to the amount of data -being sent and so must be configured specifically for each use case. When enabled, stalled-stream -protection will ensure that bad streams error out quickly, regardless of the amount of data being -downloaded. - -Protection is enabled by default for all clients but can be configured or disabled. -See [this discussion](https://github.com/awslabs/aws-sdk-rust/discussions/956) for more details. -""" -references = ["smithy-rs#3202"] -meta = { "breaking" = true, "tada" = true, "bug" = false, "target" = "client" } -author = "Velfi" - -[[aws-sdk-rust]] -message = "Make certain types for EMR Serverless optional. Previously, they defaulted to 0, but this created invalid requests." -references = ["smithy-rs#3217"] -meta = { "breaking" = true, "tada" = false, "bug" = true } -author = "milesziemer" - -[[smithy-rs]] -message = "Prevent multiplication overflow in backoff computation" -references = ["smithy-rs#3229", "aws-sdk-rust#960"] -meta = { "breaking" = false, "tada" = false, "bug" = true, target = "client" } -author = "rcoh" - -[[aws-sdk-rust]] -message = "Prevent multiplication overflow in backoff computation" -references = ["smithy-rs#3229", "aws-sdk-rust#960"] -meta = { "breaking" = false, "tada" = false, "bug" = true } -author = "rcoh" - -[[aws-sdk-rust]] -message = "Make some types for various services optional. Previously, they defaulted to 0, but this created invalid requests." -references = ["smithy-rs#3228"] -meta = { "breaking" = true, "tada" = false, "bug" = true } -author = "milesziemer" - -[[smithy-rs]] -message = """ -Types/functions that were deprecated in previous releases were removed. Unfortunately, some of these deprecations -were ignored by the Rust compiler (we found out later that `#[deprecated]` on `pub use` doesn't work). See -the [deprecations removal list](https://github.com/smithy-lang/smithy-rs/discussions/3223) for more details. -""" -references = ["smithy-rs#3222"] -meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "client" } -author = "jdisanti" - -[[aws-sdk-rust]] -message = """ -Types/functions that were deprecated in previous releases were removed. Unfortunately, some of these deprecations -were ignored by the Rust compiler (we found out later that `#[deprecated]` on `pub use` doesn't work). See -the [deprecations removal list](https://github.com/smithy-lang/smithy-rs/discussions/3223) for more details. -""" -references = ["smithy-rs#3222"] -meta = { "breaking" = true, "tada" = false, "bug" = false } -author = "jdisanti" - -[[aws-sdk-rust]] -message = "Add `Display` impl for `DateTime`." -references = ["smithy-rs#3183"] -meta = { "breaking" = false, "tada" = true, "bug" = false } -author = "HakanVardarr" - -[[smithy-rs]] -message = "Add `Display` impl for `DateTime`." -references = ["smithy-rs#3183"] -meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "all" } -author = "HakanVardarr" - -[[smithy-rs]] -message = "Types/functions that were previously `#[doc(hidden)]` in `aws-smithy-async`, `aws-smithy-runtime-api`, `aws-smithy-runtime`, `aws-smithy-types`, and the SDK crates are now visible. For those that are not intended to be used directly, they are called out in their docs as such." -references = ["smithy-rs#3226"] -meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" } -author = "ysaito1001" - -[[aws-sdk-rust]] -message = "Types/functions that were previously `#[doc(hidden)]` in `aws-config`, `aws-inlineable`, `aws-types`, and the SDK crates are now visible. For those that are not intended to be used directly, they are called out in their docs as such." -references = ["smithy-rs#3226"] -meta = { "breaking" = false, "tada" = false, "bug" = false } -author = "ysaito1001" - -[[smithy-rs]] -message = "Conversions for HTTP request in aws-smithy-runtime-api are now feature gated behind the `http-02x` feature" -references = ["smithy-rs#3236"] -meta = { "breaking" = true, "tada" = false, "bug" = false } -author = "rcoh" +# author = "rcoh" \ No newline at end of file diff --git a/aws/SDK_CHANGELOG.next.json b/aws/SDK_CHANGELOG.next.json index 32bac5a923..de68481d5a 100644 --- a/aws/SDK_CHANGELOG.next.json +++ b/aws/SDK_CHANGELOG.next.json @@ -5,80 +5,6 @@ { "smithy-rs": [], "aws-sdk-rust": [ - { - "message": "`RuntimeComponents` are now re-exported so that implementing a custom interceptor doens't require directly depending on `aws-smithy-runtime-api`.", - "meta": { - "bug": false, - "breaking": false, - "tada": false - }, - "author": "jdisanti", - "references": [ - "smithy-rs#2904", - "aws-sdk-rust#862" - ], - "since-commit": "3d7587def9a26afc8e7b306f92c755a980ac9504", - "age": 5 - }, - { - "message": "Fix requests to S3 with `no_credentials` set.", - "meta": { - "bug": true, - "breaking": false, - "tada": false - }, - "author": "jdisanti", - "references": [ - "smithy-rs#2907", - "aws-sdk-rust#864" - ], - "since-commit": "3d7587def9a26afc8e7b306f92c755a980ac9504", - "age": 5 - }, - { - "message": "Fixed re-exported `SdkError` type. The previous release had the wrong type for `SdkError`, which caused projects to fail to compile when upgrading.", - "meta": { - "bug": true, - "breaking": true, - "tada": false - }, - "author": "jdisanti", - "references": [ - "smithy-rs#2931", - "aws-sdk-rust#875" - ], - "since-commit": "3d7587def9a26afc8e7b306f92c755a980ac9504", - "age": 5 - }, - { - "message": "Logging via `#[instrument]` in the `aws_smithy_runtime::client::orchestrator` module is now emitted at the `DEBUG` level to reduce the amount of logging when emitted at the `INFO` level.", - "meta": { - "bug": true, - "breaking": false, - "tada": false - }, - "author": "ysaito1001", - "references": [ - "smithy-rs#2934", - "aws-sdk-rust#872" - ], - "since-commit": "3d7587def9a26afc8e7b306f92c755a980ac9504", - "age": 5 - }, - { - "message": "Fix `SDK::Endpoint` built-in for `@endpointRuleSet`.", - "meta": { - "bug": true, - "breaking": false, - "tada": false - }, - "author": "jdisanti", - "references": [ - "smithy-rs#2935" - ], - "since-commit": "3d7587def9a26afc8e7b306f92c755a980ac9504", - "age": 5 - }, { "message": "(Behavior Break!) The SSO credentials provider is no longer enabled by default in `aws-config`, and so SSO profile config will no longer work out of box. The `credentials-sso` feature in `aws-config` was removed from the default features, and renamed to `sso`. If you need credentials from SSO, then enable the `sso` feature in `aws-config`.", "meta": { @@ -91,7 +17,7 @@ "smithy-rs#2917" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The `SsoCredentialsProvider` now supports token refresh and is compatible with the token cache file paths the latest AWS CLI uses.", @@ -107,7 +33,7 @@ "aws-sdk-rust#699" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "HTTP connector configuration has changed significantly. See the [upgrade guidance](https://github.com/smithy-lang/smithy-rs/discussions/3022) for details.", @@ -121,7 +47,7 @@ "smithy-rs#3011" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Several breaking changes were made to the aws-sigv4 API to remove the direct HTTP dependency:\n- The `take_parameters` and `take_headers` APIs were removed from `SigningInstructions`. Use `into_parts()` instead\n- The arguments of `SignableRequest::new` were changed to accept string types instead of types from the HTTP crate\n- `SigningInstructions::apply_to_request` was gated beyond an `http0-compat` feature flag for backwards compatibility. This API MAY be removed in a future release.\n- Several public accessors were removed from `SigningInstructions`.\n", @@ -135,7 +61,7 @@ "smithy-rs#2921" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "In sigV4-related code, rename 'signing service' to 'signing name'. This aligns with the terminology used by the endpoint resolver.", @@ -149,7 +75,7 @@ "smithy-rs#2911" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Struct members modeled as required are no longer wrapped in `Option`s [when possible](https://smithy.io/2.0/spec/aggregate-types.html#structure-member-optionality). For upgrade guidance and more info, see [here](https://github.com/smithy-lang/smithy-rs/discussions/2929).", @@ -164,7 +90,7 @@ "aws-sdk-rust#536" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "All versions of SigningParams have been updated to contain an [`Identity`](https://docs.rs/aws-smithy-runtime-api/latest/aws_smithy_runtime_api/client/identity/struct.Identity.html)\nas opposed to AWS credentials in `&str` form. [Read more](https://github.com/awslabs/aws-sdk-rust/discussions/868).\n", @@ -178,7 +104,7 @@ "smithy-rs#2913" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Update MSRV to Rust 1.70.0", @@ -192,7 +118,7 @@ "smithy-rs#2948" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Correctly identify HTTP 200 responses from S3 with `` as the root Element as errors. **Note**: This a behavior change and will change the error type returned by the SDK in some cases.", @@ -207,7 +133,7 @@ "aws-sdk-rust#873" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Allow `no_credentials` to be used with all S3 operations.", @@ -222,7 +148,7 @@ "aws-sdk-rust#878" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "`CustomizableOperation`, created as a result of calling the `.customize` method on a fluent builder, ceased to be `Send` and `Sync` in the previous releases. It is now `Send` and `Sync` again.", @@ -237,7 +163,7 @@ "smithy-rs#2951" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Make `bucket` required for request construction for S3. When `bucket` is not set, a **different** operation than intended can be triggered.", @@ -253,7 +179,7 @@ "smithy-rs#2964" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Remove `once_cell` from public API.", @@ -267,7 +193,7 @@ "smithy-rs#2973" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Fix regression with redacting sensitive HTTP response bodies.", @@ -282,7 +208,7 @@ "smithy-rs#2972" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Structure members with the type `Option>` now produce an accessor with the type `&[T]` instead of `Option<&[T]>`. To determine if the field was actually set use `..is_some()`.", @@ -296,7 +222,7 @@ "smithy-rs#2995" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The `futures_core::stream::Stream` trait has been removed from public API. It should not affect usual SDK use cases. If your code uses paginators, you do not need to use the `Stream` trait or its exntension traits, but only the `next`, `try_next`, `collect`, and `try_collect` methods are supported on `PaginationStream`. Other stream operations that were previously available through the trait or its extension traits can be added later in a backward compatible manner. Finally, `fn_stream` has been moved to be a child module of `pagination_stream`.", @@ -310,7 +236,7 @@ "smithy-rs#2978" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Add support for Sigv4A request signing. Sigv4a signing will be used automatically when appropriate for a given operation. Currently, it's used for S3 and EventBridge.", @@ -324,7 +250,7 @@ "smithy-rs#1797" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The `futures_core::stream::Stream` trait has been removed from [`ByteStream`](https://docs.rs/aws-smithy-http/latest/aws_smithy_http/byte_stream/struct.ByteStream.html). The methods mentioned in the [doc](https://docs.rs/aws-smithy-http/latest/aws_smithy_http/byte_stream/struct.ByteStream.html#getting-data-out-of-a-bytestream) will continue to be supported. Other stream operations that were previously available through the trait or its extension traits can be added later in a backward compatible manner.", @@ -338,7 +264,7 @@ "smithy-rs#2983" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The IMDS Client builder's `build()` method is no longer async.", @@ -352,7 +278,7 @@ "smithy-rs#2997" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The API for [`AssumeRoleProvider`](https://docs.rs/aws-config/latest/aws_config/sts/struct.AssumeRoleProvider.html) has been updated to derive configuration from [`SdkConfig`](https://docs.rs/aws-config/latest/aws_config/struct.SdkConfig.html) instead of `ProviderConfig`.\n\nFor more information, see the [Change Log Discussion](https://github.com/awslabs/aws-sdk-rust/discussions/906)", @@ -366,7 +292,7 @@ "smithy-rs#3014" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "STS and SSO-based credential providers will now respect both `use_fips` and `use_dual_stack` when those settings are configured in a user's environment or profile.", @@ -381,7 +307,7 @@ "smithy-rs#3007" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Retry classifiers are now configurable at the service and operation levels. Users may also define their own custom retry classifiers.\n\nFor more information, see the [guide](https://github.com/smithy-lang/smithy-rs/discussions/3050).\n", @@ -396,7 +322,7 @@ "smithy-rs#3018" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The future return types on traits `EndpointResolver` and `IdentityResolver` changed to new-types `EndpointFuture` and `IdentityFuture` respectively.", @@ -410,7 +336,7 @@ "smithy-rs#3055" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Lifetimes have been added to `EndpointResolver` and `IdentityResolver` traits.", @@ -424,7 +350,7 @@ "smithy-rs#3061" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Several traits have been renamed from noun form to verb form to be more idiomatic:\n- `EndpointResolver` -> `ResolveEndpoint`\n- `Interceptor` -> `Intercept`\n", @@ -438,7 +364,7 @@ "smithy-rs#3065" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "[`PresignedRequest`](https://docs.rs/aws-sdk-s3/latest/aws_sdk_s3/presigning/struct.PresignedRequest.html) now returns standard-library types instead of types from the `http` crate. `to_http_request` has been renamed `to_http_02x_request`.", @@ -452,7 +378,7 @@ "smithy-rs#3059" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "A bug was fixed where the credentials-process provider was executing the subprocess in the worker thread, potentially stalling the runtime.", @@ -466,7 +392,7 @@ "smithy-rs#3052" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "The `credentials-process` feature was added to `aws-config`. If you currently use `no-default-features` for `aws-config`, you MUST enable this feature to use the [`CredentialProcessProvider`](https://docs.rs/aws-config/latest/aws_config/credential_process/struct.CredentialProcessProvider.html) provider directly or via `~/.aws/config`.", @@ -480,7 +406,7 @@ "smithy-rs#3052" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "**This change has [detailed upgrade guidance](https://github.com/awslabs/aws-sdk-rust/discussions/923).**

The AWS credentials cache has been replaced with a more generic identity cache.", @@ -494,7 +420,7 @@ "smithy-rs#3077" ], "since-commit": "b56d34847591494a15b8fabcce55f730400ebea9", - "age": 4 + "age": 5 }, { "message": "Change `ByteStream::into_async_read` to return `AsyncBufRead`", @@ -508,7 +434,7 @@ "smithy-rs#3164" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "[Upgrade guidance for HTTP Request/Response changes](https://github.com/awslabs/aws-sdk-rust/discussions/950). HTTP request types moved, and a new HTTP response type was added.", @@ -523,7 +449,7 @@ "smithy-rs#3148" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "An operation output that supports receiving events from stream now provides a new-type wrapping `aws_smithy_http::event_stream::receiver::Receiver`. The new-type supports the `.recv()` method whose signature is the same as [`aws_smithy_http::event_stream::receiver::Receiver::recv`](https://docs.rs/aws-smithy-http/0.57.0/aws_smithy_http/event_stream/struct.Receiver.html#method.recv).\n", @@ -538,7 +464,7 @@ "smithy-rs#3114" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "The `RequestId` trait has moved from the aws-http crate into aws-types.", @@ -552,7 +478,7 @@ "smithy-rs#3160" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "Clients now require a `BehaviorVersion` to be provided. For must customers, `latest` is the best choice. This will be enabled automatically if you enable the `behavior-version-latest` cargo feature on `aws-config` or on an SDK crate. For customers that wish to pin to a specific behavior major version, it can be set in `aws-config` or when constructing the service client.\n\n```rust\nasync fn example() {\n // with aws-config\n let conf = aws_config::defaults(aws_config::BehaviorVersion::v2023_11_09());\n\n // when creating a client\n let client = my_service::Client::from_conf(my_service::Config::builder().behavior_version(..)..build());\n}\n```", @@ -566,7 +492,7 @@ "smithy-rs#3151" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "Add `ProvideErrorMetadata` impl for service `Error` type.", @@ -581,7 +507,7 @@ "smithy-rs#3189" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "Remove deprecated error kind type aliases.", @@ -595,7 +521,7 @@ "smithy-rs#3189" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "Unhandled errors have been made opaque to ensure code is written in a future-proof manner. Where previously, you\nmight have:\n```rust\nmatch service_error.err() {\n GetStorageError::StorageAccessNotAuthorized(_) => { /* ... */ }\n GetStorageError::Unhandled(unhandled) if unhandled.code() == Some(\"SomeUnmodeledErrorCode\") {\n // unhandled error handling\n }\n _ => { /* ... */ }\n}\n```\nIt should now look as follows:\n```rust\nmatch service_error.err() {\n GetStorageError::StorageAccessNotAuthorized(_) => { /* ... */ }\n err if err.code() == Some(\"SomeUnmodeledErrorCode\") {\n // unhandled error handling\n }\n _ => { /* ... */ }\n}\n```\nThe `Unhandled` variant should never be referenced directly.\n", @@ -609,7 +535,7 @@ "smithy-rs#3191" ], "since-commit": "f78ee50d9b28c1d2337ca6236e592dfc243ae1c9", - "age": 2 + "age": 3 }, { "message": "imds::client::Builder::endpoint has been updated to accept a string instead of a URI. The method now returns a result instead.", @@ -623,7 +549,7 @@ "smithy-rs#3205" ], "since-commit": "681bf77733a242e01458e87381a0700616c918da", - "age": 1 + "age": 2 }, { "message": "The `AssumeRoleBuilder::policy_arns` now accepts strings instead of an STS specific type", @@ -637,7 +563,7 @@ "smithy-rs#3205" ], "since-commit": "681bf77733a242e01458e87381a0700616c918da", - "age": 1 + "age": 2 }, { "message": "Fix optional types in S3. Many types in S3 were modeled as non-optional but this causes serialization issues.", @@ -651,6 +577,105 @@ "smithy-rs#3213" ], "since-commit": "681bf77733a242e01458e87381a0700616c918da", + "age": 2 + }, + { + "message": "Add configurable stalled-stream protection for downloads.\n\nWhen making HTTP calls,\nit's possible for a connection to 'stall out' and emit no more data due to server-side issues.\nIn the event this happens, it's desirable for the stream to error out as quickly as possible.\nWhile timeouts can protect you from this issue, they aren't adaptive to the amount of data\nbeing sent and so must be configured specifically for each use case. When enabled, stalled-stream\nprotection will ensure that bad streams error out quickly, regardless of the amount of data being\ndownloaded.\n\nProtection is enabled by default for all clients but can be configured or disabled.\nSee [this discussion](https://github.com/awslabs/aws-sdk-rust/discussions/956) for more details.\n", + "meta": { + "bug": false, + "breaking": true, + "tada": true + }, + "author": "Velfi", + "references": [ + "smithy-rs#3202" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Make certain types for EMR Serverless optional. Previously, they defaulted to 0, but this created invalid requests.", + "meta": { + "bug": true, + "breaking": true, + "tada": false + }, + "author": "milesziemer", + "references": [ + "smithy-rs#3217" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Prevent multiplication overflow in backoff computation", + "meta": { + "bug": true, + "breaking": false, + "tada": false + }, + "author": "rcoh", + "references": [ + "smithy-rs#3229", + "aws-sdk-rust#960" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Make some types for various services optional. Previously, they defaulted to 0, but this created invalid requests.", + "meta": { + "bug": true, + "breaking": true, + "tada": false + }, + "author": "milesziemer", + "references": [ + "smithy-rs#3228" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Types/functions that were deprecated in previous releases were removed. Unfortunately, some of these deprecations\nwere ignored by the Rust compiler (we found out later that `#[deprecated]` on `pub use` doesn't work). See\nthe [deprecations removal list](https://github.com/smithy-lang/smithy-rs/discussions/3223) for more details.\n", + "meta": { + "bug": false, + "breaking": true, + "tada": false + }, + "author": "jdisanti", + "references": [ + "smithy-rs#3222" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Add `Display` impl for `DateTime`.", + "meta": { + "bug": false, + "breaking": false, + "tada": true + }, + "author": "HakanVardarr", + "references": [ + "smithy-rs#3183" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", + "age": 1 + }, + { + "message": "Types/functions that were previously `#[doc(hidden)]` in `aws-config`, `aws-inlineable`, `aws-types`, and the SDK crates are now visible. For those that are not intended to be used directly, they are called out in their docs as such.", + "meta": { + "bug": false, + "breaking": false, + "tada": false + }, + "author": "ysaito1001", + "references": [ + "smithy-rs#3226" + ], + "since-commit": "f66f9246bccc376462ef47aec5707569fca214f5", "age": 1 } ], diff --git a/gradle.properties b/gradle.properties index 0be6e40b93..eb87e1a8f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,10 +15,10 @@ org.gradle.jvmargs=-Xmx1024M # # TODO(GA): This is currently a placeholder for crates we are going to stabilize at the time of GA. # Until then, a value of this key can contain 0 for the major version. -smithy.rs.runtime.crate.stable.version=0.101.0 +smithy.rs.runtime.crate.stable.version=1.0.0 # Version number to use for the generated unstable runtime crates -smithy.rs.runtime.crate.unstable.version=0.59.0 +smithy.rs.runtime.crate.unstable.version=0.60.0 kotlin.code.style=official