Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Jun 19, 2024
1 parent 21b3995 commit ae2882d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
June 19th, 2024
===============
**Breaking Changes:**
- :bug::warning: (server, [smithy-rs#3690](https://github.com/smithy-lang/smithy-rs/issues/3690)) Fix request `Content-Type` header checking

Two bugs related to how servers were checking the `Content-Type` header in incoming requests have been fixed:

1. `Content-Type` header checking was incorrectly succeeding when no `Content-Type` header was present but one was expected.
2. When a shape was @httpPayload`-bound, `Content-Type` header checking occurred even when no payload was being sent. In this case it is not necessary to check the header, since there is no content.

This is a breaking change in that servers are now stricter at enforcing the expected `Content-Type` header is being sent by the client in general, and laxer when the shape is bound with `@httpPayload`.


June 17th, 2024
===============

Expand Down
15 changes: 1 addition & 14 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +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"
[[smithy-rs]]
message = """Fix request `Content-Type` header checking
Two bugs related to how servers were checking the `Content-Type` header in incoming requests have been fixed:
1. `Content-Type` header checking was incorrectly succeeding when no `Content-Type` header was present but one was expected.
2. When a shape was @httpPayload`-bound, `Content-Type` header checking occurred even when no payload was being sent. In this case it is not necessary to check the header, since there is no content.
This is a breaking change in that servers are now stricter at enforcing the expected `Content-Type` header is being sent by the client in general, and laxer when the shape is bound with `@httpPayload`.
"""
references = ["smithy-rs#3690"]
meta = { "breaking" = true, "tada" = false, "bug" = true, "target" = "server"}
author = "david-perez"
# author = "rcoh"
12 changes: 6 additions & 6 deletions aws/SDK_CHANGELOG.next.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"smithy-rs#3673"
],
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
"age": 3
"age": 4
},
{
"message": "Fix S3 ListParts API paginator infinite loop.",
Expand All @@ -32,7 +32,7 @@
"aws-sdk-rust#1143"
],
"since-commit": "052b4dadc06354e673f6a642487871d5f50d135a",
"age": 3
"age": 4
},
{
"message": "Stalled stream protection will no longer be applied to the following Lambda operations: [Invoke], [InvokeAsync], [InvokeWithResponseStream].\n\n[Invoke]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke\n[InvokeAsync]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke_async\n[InvokeWithResponseStream]: https://docs.rs/aws-sdk-lambda/latest/aws_sdk_lambda/client/struct.Client.html#method.invoke_with_response_stream\n",
Expand All @@ -47,7 +47,7 @@
"smithy-rs#3639"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 1
"age": 2
},
{
"message": "Add documentation on the default configuration to `from_env`, `load_from_env`, `defaults`, and `load_from_defaults` in the `aws-config` crate.",
Expand All @@ -61,7 +61,7 @@
"aws-sdk-rust#1162"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 1
"age": 2
},
{
"message": "Pre-signed requests may now be converted to Http v1.x requests. This requires enabling the `http-1x` feature for the SDK in question.\nThen, call `PresignedRequest::make_http_1x_request` or `PresignedRequest::into_http_1x_request`.\n",
Expand All @@ -75,7 +75,7 @@
"smithy-rs#3696"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 1
"age": 2
},
{
"message": "`AwsErrorCodeClassifier` for S3 now treats `InternalError` as a transient error to trigger retries.",
Expand All @@ -89,7 +89,7 @@
"aws-sdk-rust#1163"
],
"since-commit": "57ed310e6d21041eb36d825c50032295eef0b630",
"age": 1
"age": 2
}
],
"aws-sdk-model": []
Expand Down

0 comments on commit ae2882d

Please sign in to comment.