diff --git a/.changelog/1733238900.md b/.changelog/1733238900.md deleted file mode 100644 index 46630326b1..0000000000 --- a/.changelog/1733238900.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -applies_to: ["aws-sdk-rust"] -authors: ["Velfi"] -references: [] -breaking: false -new_feature: true -bug_fix: false ---- - -Add auth token generator for Amazon Aurora DSQL. - -```rust -use aws_sdk_dsql::auth_token::{AuthTokenGenerator, Config}; - -#[tokio::main] -async fn main() { - let cfg = aws_config::load_defaults(BehaviorVersion::latest()).await; - let generator = AuthTokenGenerator::new( - Config::builder() - .hostname("peccy.dsql.us-east-1.on.aws") - .build() - .expect("cfg is valid"), - ); - let token = generator.auth_token(&cfg).await.unwrap(); - println!("{token}"); -} -``` - -The resulting token can then be used as a password when connecting to the -database server. diff --git a/.changelog/4329788.md b/.changelog/4329788.md deleted file mode 100644 index c45e4c8a7e..0000000000 --- a/.changelog/4329788.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -applies_to: ["server"] -authors: ["drganjoo"] -references: ["smithy-rs#3880"] -breaking: true -new_feature: false -bug_fix: true ---- -Unnamed enums now validate assigned values and will raise a `ConstraintViolation` if an unknown variant is set. - -The following is an example of an unnamed enum: -```smithy -@enum([ - { value: "MONDAY" }, - { value: "TUESDAY" } -]) -string UnnamedDayOfWeek -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index b451dbebf0..f3cacea9ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,19 @@ +December 3rd, 2024 +================== +**Breaking Changes:** +- :bug::warning: (server, [smithy-rs#3880](https://github.com/smithy-lang/smithy-rs/issues/3880)) Unnamed enums now validate assigned values and will raise a `ConstraintViolation` if an unknown variant is set. + + The following is an example of an unnamed enum: + ```smithy + @enum([ + { value: "MONDAY" }, + { value: "TUESDAY" } + ]) + string UnnamedDayOfWeek + ``` + + November 5th, 2024 ================== diff --git a/aws/SDK_CHANGELOG.next.json b/aws/SDK_CHANGELOG.next.json index 5ce51b17d4..86594b0ac0 100644 --- a/aws/SDK_CHANGELOG.next.json +++ b/aws/SDK_CHANGELOG.next.json @@ -18,7 +18,7 @@ "aws-sdk-rust#1202" ], "since-commit": "1e803494dc1c9f1d8290cf9317ed39b026a603a2", - "age": 4 + "age": 5 }, { "message": "Client SDKs built with the `awsQueryCompatible` trait now include the `x-amzn-query-mode` header. This header signals the service that the clients are operating in compatible mode.\n", @@ -32,7 +32,7 @@ "smithy-rs#3883" ], "since-commit": "c606065c0e2e97d3cecb6a675ffc226dc488d674", - "age": 3 + "age": 4 }, { "message": "Fix default credential provider chain not respecting endpoint URL overrides from environment\n", @@ -46,7 +46,19 @@ "aws-sdk-rust#1193" ], "since-commit": "c606065c0e2e97d3cecb6a675ffc226dc488d674", - "age": 3 + "age": 4 + }, + { + "message": "Add auth token generator for Amazon Aurora DSQL.\n\n```rust\nuse aws_sdk_dsql::auth_token::{AuthTokenGenerator, Config};\n\n#[tokio::main]\nasync fn main() {\n let cfg = aws_config::load_defaults(BehaviorVersion::latest()).await;\n let generator = AuthTokenGenerator::new(\n Config::builder()\n .hostname(\"peccy.dsql.us-east-1.on.aws\")\n .build()\n .expect(\"cfg is valid\"),\n );\n let token = generator.auth_token(&cfg).await.unwrap();\n println!(\"{token}\");\n}\n```\n\nThe resulting token can then be used as a password when connecting to the\ndatabase server.\n", + "meta": { + "bug": false, + "breaking": false, + "tada": true + }, + "author": "Velfi", + "references": [], + "since-commit": "039177d0ee6dd288ad57de2230a1110bbe7ff7d5", + "age": 1 } ], "aws-sdk-model": []