Update changelog

This commit is contained in:
AWS SDK Rust Bot 2024-09-09 15:56:53 +00:00
parent 064fbd79a0
commit 336b563d3e
5 changed files with 34 additions and 65 deletions

View File

@ -1,9 +0,0 @@
---
applies_to: ["client", "server"]
authors: ["rcoh"]
references: ["smithy-rs#3805"]
breaking: false
new_feature: false
bug_fix: true
---
Fix bug in `DateTime::from_secs_f64` where certain floating point values could lead to a panic.

View File

@ -1,26 +0,0 @@
---
applies_to: ["server"]
authors: ["drganjoo"]
references: ["smithy-rs#3803"]
breaking: false
new_feature: true
bug_fix: false
---
Setting the `addValidationExceptionToConstrainedOperations` codegen flag adds `aws.smithy.framework#ValidationException` to operations with constrained inputs that do not already have this exception added.
Sample `smithy-build-template.json`:
```
{
"...",
"plugins": {
"rust-server-codegen": {
"service": "ServiceToGenerateSDKFor",
"module": "amzn-sample-server-sdk",
"codegen": {
"addValidationExceptionToConstrainedOperations": true,
}
}
}
}
```

View File

@ -1,9 +0,0 @@
---
applies_to: ["server"]
authors: ["drganjoo"]
references: ["smithy-rs#3813"]
breaking: true
new_feature: false
bug_fix: true
---
Operations with event stream member shapes must include `ValidationException` in the errors list. This is necessary because the member shape is a required field, and the builder for the operation input or output returns a `std::result::Result` with the error set to `crate::model::ValidationExceptionField`.

View File

@ -1,4 +1,31 @@
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
September 9th, 2024
===================
**Breaking Changes:**
- :bug::warning: (server, [smithy-rs#3813](https://github.com/smithy-lang/smithy-rs/issues/3813)) Operations with event stream member shapes must include `ValidationException` in the errors list. This is necessary because the member shape is a required field, and the builder for the operation input or output returns a `std::result::Result` with the error set to `crate::model::ValidationExceptionField`.
**New this release:**
- :tada: (server, [smithy-rs#3803](https://github.com/smithy-lang/smithy-rs/issues/3803)) Setting the `addValidationExceptionToConstrainedOperations` codegen flag adds `aws.smithy.framework#ValidationException` to operations with constrained inputs that do not already have this exception added.
Sample `smithy-build-template.json`:
```
{
"...",
"plugins": {
"rust-server-codegen": {
"service": "ServiceToGenerateSDKFor",
"module": "amzn-sample-server-sdk",
"codegen": {
"addValidationExceptionToConstrainedOperations": true,
}
}
}
}
```
- :bug: (all, [smithy-rs#3805](https://github.com/smithy-lang/smithy-rs/issues/3805)) Fix bug in `DateTime::from_secs_f64` where certain floating point values could lead to a panic.
August 28th, 2024
=================
**Breaking Changes:**

View File

@ -5,20 +5,6 @@
{
"smithy-rs": [],
"aws-sdk-rust": [
{
"message": "`aws_smithy_runtime_api::client::orchestrator::HttpRequest` and `aws_smithy_runtime_api::client::orchestrator::HttpResponse` are now re-exported in AWS SDK clients so that using these types does not require directly depending on `aws-smithy-runtime-api`.",
"meta": {
"bug": false,
"breaking": false,
"tada": false
},
"author": "ysaito1001",
"references": [
"smithy-rs#3591"
],
"since-commit": "8d23be1392c46a4d59c2910c3dab00ecaad2cf26",
"age": 5
},
{
"message": "Allow [AwsUserAgent](https://docs.rs/aws-runtime/1.3.1/aws_runtime/user_agent/struct.AwsUserAgent.html) to incorporate business metrics, which now deprecates the existing feature and config metadata.\n",
"meta": {
@ -31,7 +17,7 @@
"smithy-rs#3781"
],
"since-commit": "433e1a00e2d3eadfde78b472d78b30a8f9204dbe",
"age": 4
"age": 5
},
{
"message": "Fix incorrect redaction of `@sensitive` types in maps and lists.\n",
@ -46,7 +32,7 @@
"smithy-rs#3757"
],
"since-commit": "433e1a00e2d3eadfde78b472d78b30a8f9204dbe",
"age": 4
"age": 5
},
{
"message": "Upgrade MSRV to Rust 1.78.0.\n",
@ -60,7 +46,7 @@
"smithy-rs#3800"
],
"since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e",
"age": 1
"age": 2
},
{
"message": "Add minimal support for `AWS::Auth::AccountId` and `AWS::Auth::AccountIdEndpointMode` endpoint built-ins\n",
@ -74,7 +60,7 @@
"smithy-rs#3792"
],
"since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e",
"age": 1
"age": 2
},
{
"message": "Fix the execution order of [modify_before_serialization](https://docs.rs/aws-smithy-runtime-api/latest/aws_smithy_runtime_api/client/interceptors/trait.Intercept.html#method.modify_before_serialization) and [read_before_serialization](https://docs.rs/aws-smithy-runtime-api/latest/aws_smithy_runtime_api/client/interceptors/trait.Intercept.html#method.read_before_serialization) in the orchestrator. The `modify_before_serialization` method now executes before the `read_before_serialization` method. This adjustment may result in changes in behavior depending on how you customize interceptors.\n",
@ -88,7 +74,7 @@
"smithy-rs#3798"
],
"since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e",
"age": 1
"age": 2
},
{
"message": "Fix the [Length::UpTo](https://docs.rs/aws-smithy-types/1.2.2/aws_smithy_types/byte_stream/enum.Length.html) usage in [FsBuilder](https://docs.rs/aws-smithy-types/1.2.2/aws_smithy_types/byte_stream/struct.FsBuilder.html), ensuring that the specified length does not exceed the remaining file length.\n",
@ -103,7 +89,7 @@
"smithy-rs#3797"
],
"since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e",
"age": 1
"age": 2
},
{
"message": "Re-export `ByteStream`'s `Length` and `FsBuilder`. By making these types available directly within a client crate, customers can use `ByteStream::read_from` without needing to import them separately from the `aws-smithy-types` crate.\n",
@ -117,7 +103,7 @@
"aws-sdk-rust#820"
],
"since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e",
"age": 1
"age": 2
}
],
"aws-sdk-model": []