Commit 82f9bb9c authored by AWS SDK Rust Bot's avatar AWS SDK Rust Bot
Browse files

Update changelog

parent 039177d0
Loading
Loading
Loading
Loading

.changelog/1733238900.md

deleted100644 → 0
+0 −30
Original line number Diff line number Diff line
---
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.

.changelog/4329788.md

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
---
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
```
+15 −0
Original line number Diff line number Diff line
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
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
==================

+15 −3
Original line number Diff line number Diff line
@@ -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": []