diff --git a/CHANGELOG.md b/CHANGELOG.md index cf32cdb411..b55c90cef0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ +May 22nd, 2024 +============== +**New this release:** +- :bug: (client, [smithy-rs#3656](https://github.com/smithy-lang/smithy-rs/issues/3656), [smithy-rs#3657](https://github.com/smithy-lang/smithy-rs/issues/3657)) Fix the Content-Length enforcement so it is only applied to GET requests. + + May 21st, 2024 ============== **Breaking Changes:** diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 34aecd2b66..fc4c4c2578 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -9,16 +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 = "Fix the Content-Length enforcement so it is only applied to GET requests." -references = ["smithy-rs#3656", "smithy-rs#3657"] -meta = { "breaking" = false, "tada" = false, "bug" = true } -authors = ["rcoh", "Velfi"] - -[[smithy-rs]] -message = "Fix the Content-Length enforcement so it is only applied to GET requests." -references = ["smithy-rs#3656", "smithy-rs#3657"] -meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" } -authors = ["rcoh", "Velfi"] +# author = "rcoh" \ No newline at end of file diff --git a/aws/SDK_CHANGELOG.next.json b/aws/SDK_CHANGELOG.next.json index 3a77ab6ff1..42a138ba08 100644 --- a/aws/SDK_CHANGELOG.next.json +++ b/aws/SDK_CHANGELOG.next.json @@ -5,48 +5,6 @@ { "smithy-rs": [], "aws-sdk-rust": [ - { - "message": "Fixes the identity resolver types (`credentials_provider()` and `token_provider()`) from `SdkConfig` to have\na consistent identity cache partition when re-used across different clients.\n", - "meta": { - "bug": true, - "breaking": false, - "tada": false - }, - "author": "aajtodd", - "references": [ - "smithy-rs#3427" - ], - "since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271", - "age": 5 - }, - { - "message": "Stalled stream protection now supports request upload streams. It is currently off by default, but will be enabled by default in a future release. To enable it now, you can do the following:\n\n```rust\nlet config = aws_config::defaults(BehaviorVersion::latest())\n .stalled_stream_protection(StalledStreamProtectionConfig::enabled().build())\n .load()\n .await;\n```\n", - "meta": { - "bug": false, - "breaking": false, - "tada": true - }, - "author": "jdisanti", - "references": [ - "smithy-rs#3485" - ], - "since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271", - "age": 5 - }, - { - "message": "Stalled stream protection on downloads will now only trigger if the upstream source is too slow. Previously, stalled stream protection could be erroneously triggered if the user was slowly consuming the stream slower than the minimum speed limit.", - "meta": { - "bug": true, - "breaking": false, - "tada": false - }, - "author": "jdisanti", - "references": [ - "smithy-rs#3485" - ], - "since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271", - "age": 5 - }, { "message": "Upgraded MSRV to Rust 1.75", "meta": { @@ -59,7 +17,7 @@ "smithy-rs#3553" ], "since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265", - "age": 4 + "age": 5 }, { "message": "Make `SigningSettings` and its fields implement `Clone` and `Copy`", @@ -73,7 +31,7 @@ "smithy-rs#3533" ], "since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265", - "age": 4 + "age": 5 }, { "message": "Change some credentials related info log messages to debug.", @@ -87,7 +45,7 @@ "smithy-rs#3546" ], "since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265", - "age": 4 + "age": 5 }, { "message": "Fix an S3 crate's dependency on `ahash` so the crate can be compiled for `wasm32-unknown-unknown`.", @@ -102,7 +60,7 @@ "aws-sdk-rust#1131" ], "since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265", - "age": 4 + "age": 5 }, { "message": "Added support for waiters. Services that model waiters now have a `Waiters` trait that adds\nsome methods prefixed with `wait_until` to the existing clients. These can be used to, for example\nin S3, wait for a newly created bucket to be ready, or in EC2, to wait for a started instance to\nhave the status OK.\n\nUsing a waiter looks like the following example for EC2:\n```rust\nuse aws_sdk_ec2::client::Waiters;\n\nlet result = ec2_client.wait_until_instance_status_ok()\n .instance_ids(\"some-instance-id\")\n .wait(Duration::from_secs(300))\n .await;\n```\n", @@ -121,7 +79,7 @@ "smithy-rs#3569" ], "since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac", - "age": 3 + "age": 4 }, { "message": "SDK crates now set the `rust-version` property in their Cargo.toml files to indicate the minimum supported Rust version.", @@ -135,7 +93,7 @@ "smithy-rs#3601" ], "since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac", - "age": 3 + "age": 4 }, { "message": "`aws_config::default_provider::use_dual_stack_provider` is now public instead of `pub(crate)`", @@ -150,7 +108,7 @@ "smithy-rs#3611" ], "since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac", - "age": 3 + "age": 4 }, { "message": "`aws-config::loader::ConfigLoader` now creates an `IdentityCache` by default when using `BehaviorVersion::v2024_03_28()`\nor newer. If you're using `BehaviorVersion::latest()`, you will get this change automatically when updating. This\nallows clients created from `SdkConfig` to use the same cache instance by default resulting in fewer cache misses\nwhen using multiple clients.\n", @@ -164,7 +122,7 @@ "smithy-rs#3427" ], "since-commit": "51429ad43da1b62013535aab643c24530f3e44bd", - "age": 2 + "age": 3 }, { "message": "Stalled stream protection on uploads is now enabled by default behind `BehaviorVersion::v2024_03_28()`. If you're using `BehaviorVersion::latest()`, you will get this change automatically by running `cargo update`. Updating your SDK is not necessary, this change will happen when a new version of the client libraries are consumed.", @@ -178,7 +136,7 @@ "smithy-rs#3527" ], "since-commit": "51429ad43da1b62013535aab643c24530f3e44bd", - "age": 2 + "age": 3 }, { "message": "Fix panics that occurred when `Duration` for exponential backoff could not be created from too big a float.", @@ -192,7 +150,7 @@ "aws-sdk-rust#1133" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", - "age": 1 + "age": 2 }, { "message": "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.", @@ -206,7 +164,7 @@ "aws-sdk-rust#1079" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", - "age": 1 + "age": 2 }, { "message": "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.", @@ -225,7 +183,7 @@ "aws-sdk-rust#1148" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", - "age": 1 + "age": 2 }, { "message": "Updating the documentation for the `app_name` method on `ConfigLoader` to indicate the order of precedence for the sources of the `AppName`.", @@ -239,7 +197,7 @@ "smithy-rs#3645" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", - "age": 1 + "age": 2 }, { "message": "Update MSRV to `1.76.0`", @@ -253,7 +211,7 @@ "smithy-rs#3653" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", - "age": 1 + "age": 2 }, { "message": "Compression is now supported for operations modeled with the `@requestCompression` trait.\n\n[**For more details, see the long-form changelog discussion**](https://github.com/smithy-lang/smithy-rs/discussions/3646).\n", @@ -267,6 +225,24 @@ "smithy-rs#2891" ], "since-commit": "27b4d14a5102fe1ac928e1e0c647d53597125d51", + "age": 2 + }, + { + "message": "Fix the Content-Length enforcement so it is only applied to GET requests.", + "meta": { + "bug": true, + "breaking": false, + "tada": false + }, + "author": [ + "rcoh", + "Velfi" + ], + "references": [ + "smithy-rs#3656", + "smithy-rs#3657" + ], + "since-commit": "db89652d8c11cd2a2da8e887fac8b34393c182fe", "age": 1 } ],