Unverified Commit 26dbaf8d authored by Landon James's avatar Landon James Committed by GitHub
Browse files

Merge branch 'smithy-rs-release-1.x.y' into landonxjames/dsqlfix

parents 95d695ea 2922940d
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": []
+30 −30
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ dependencies = [
 "aws-sdk-sts",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -508,7 +508,7 @@ dependencies = [
 "aws-smithy-async 1.2.1",
 "aws-smithy-eventstream 0.60.5",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -530,7 +530,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -557,7 +557,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -580,7 +580,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -608,7 +608,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-query",
 "aws-smithy-runtime 1.7.4",
@@ -636,7 +636,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -660,7 +660,7 @@ dependencies = [
 "aws-sigv4 1.2.6",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -690,7 +690,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-query",
 "aws-smithy-runtime 1.7.4",
@@ -717,7 +717,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -744,7 +744,7 @@ dependencies = [
 "aws-smithy-async 1.2.1",
 "aws-smithy-eventstream 0.60.5",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -771,7 +771,7 @@ dependencies = [
 "aws-sigv4 1.2.6",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -799,7 +799,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -825,7 +825,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -854,7 +854,7 @@ dependencies = [
 "aws-smithy-eventstream 0.60.5",
 "aws-smithy-experimental",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -903,7 +903,7 @@ dependencies = [
 "aws-smithy-checksums 0.60.13 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-json 0.60.7 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-json 0.60.7",
 "aws-smithy-runtime 1.7.3",
 "aws-smithy-runtime-api 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-types 1.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -933,7 +933,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -962,7 +962,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -983,7 +983,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -1004,7 +1004,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-query",
 "aws-smithy-runtime 1.7.4",
@@ -1031,7 +1031,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -1058,7 +1058,7 @@ dependencies = [
 "aws-runtime 1.4.4",
 "aws-smithy-async 1.2.1",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
 "aws-smithy-types 1.2.9",
@@ -1084,7 +1084,7 @@ dependencies = [
 "aws-smithy-async 1.2.1",
 "aws-smithy-eventstream 0.60.5",
 "aws-smithy-http 0.60.11",
 "aws-smithy-json 0.60.7",
 "aws-smithy-json 0.61.1",
 "aws-smithy-protocol-test 0.63.0",
 "aws-smithy-runtime 1.7.4",
 "aws-smithy-runtime-api 1.7.3",
@@ -1373,19 +1373,19 @@ version = "0.60.3"
[[package]]
name = "aws-smithy-json"
version = "0.60.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6"
dependencies = [
 "aws-smithy-types 1.2.9",
 "proptest",
 "serde_json",
 "aws-smithy-types 1.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
]

[[package]]
name = "aws-smithy-json"
version = "0.60.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6"
version = "0.61.1"
dependencies = [
 "aws-smithy-types 1.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
 "aws-smithy-types 1.2.9",
 "proptest",
 "serde_json",
]

[[package]]