From 03ca066029d9d082505b1bf5908f4fca93e5f5f5 Mon Sep 17 00:00:00 2001 From: Landon James Date: Mon, 11 Mar 2024 14:35:14 -0700 Subject: [PATCH 1/4] Bumping version of wasi crate dependency 0.12.0 suffered from a bug the could impact users using lower versions of wit-bindgen dependencies. Mixed versions of wit-bindgen generated bindings in a single project would cause a symbol collision. This is fixed by newer versions of wit-bindgen and wasi 0.12.1 contains bindings generated by one of these newer versions. See issue below for details: https://github.com/bytecodealliance/wit-bindgen/issues/849 Update CHANGELOG --- CHANGELOG.next.toml | 2 +- rust-runtime/aws-smithy-wasm/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 20a7a9016e..3d45d4769b 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -19,7 +19,7 @@ author = "jackkleeman" [[smithy-rs]] message = "Added aws-smithy-wasm crate to enable SDK use in WASI compliant environments" -references = ["smithy-rs#2087", "smithy-rs#2520", "smithy-rs#3409", "aws-sdk-rust#59"] +references = ["smithy-rs#2087", "smithy-rs#2520", "smithy-rs#3409", "aws-sdk-rust#59", "smithy-rs#3476"] meta = { "breaking" = false, "tada" = true, "bug" = false } authors = ["landonxjames", "eduardomourar"] diff --git a/rust-runtime/aws-smithy-wasm/Cargo.toml b/rust-runtime/aws-smithy-wasm/Cargo.toml index 12a5bd2bae..3d6279bb12 100644 --- a/rust-runtime/aws-smithy-wasm/Cargo.toml +++ b/rust-runtime/aws-smithy-wasm/Cargo.toml @@ -19,7 +19,7 @@ http = "1.0.0" tracing = "0.1.40" # Note the wasi crate will only build for target wasm32-wasi, but having a target # statement here breaks some of the CI tests, so we leave it with the rest of the deps -wasi = "0.12.0" # This is build on wasi-0.2.0 +wasi = "0.12.1" # This is build on wasi-0.2.0 [package.metadata.docs.rs] all-features = true From fc8078d98220876493037db2d2e66ab87b7cf52f Mon Sep 17 00:00:00 2001 From: Landon James Date: Tue, 12 Mar 2024 14:13:58 -0700 Subject: [PATCH 2/4] Bump version of aws-smithy-wasm --- rust-runtime/aws-smithy-wasm/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-runtime/aws-smithy-wasm/Cargo.toml b/rust-runtime/aws-smithy-wasm/Cargo.toml index 3d6279bb12..bf4602baec 100644 --- a/rust-runtime/aws-smithy-wasm/Cargo.toml +++ b/rust-runtime/aws-smithy-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-wasm" -version = "0.1.0" +version = "0.1.1" authors = [ "AWS Rust SDK Team ", "Eduardo Rodrigues <16357187+eduardomourar@users.noreply.github.com>", From d65cf1e3d5aef5118a89324cabbc03b43d5395ee Mon Sep 17 00:00:00 2001 From: Landon James Date: Tue, 12 Mar 2024 15:28:25 -0700 Subject: [PATCH 3/4] Rewriting CHANGELOG --- CHANGELOG.next.toml | 66 +++------------------------------------------ 1 file changed, 3 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 1199a1bd68..10087eadb0 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -11,68 +11,8 @@ # meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"} # author = "rcoh" -[[aws-sdk-rust]] -message = "EKS Pod Identity is now supported as part of the default ECS credential provider." -references = ["smithy-rs#3416"] -meta = { "breaking" = false, "bug" = false, "tada" = true } -author = "jackkleeman" - [[smithy-rs]] -message = "Added aws-smithy-wasm crate to enable SDK use in WASI compliant environments" -references = ["smithy-rs#2087", "smithy-rs#2520", "smithy-rs#3409", "aws-sdk-rust#59", "smithy-rs#3476"] +message = "Bumping version of wasi crate dependency in aws-smithy-wasm." +references = ["smithy-rs#3476"] meta = { "breaking" = false, "tada" = true, "bug" = false } -authors = ["landonxjames", "eduardomourar"] - -[[smithy-rs]] -message = "Added aws-smithy-wasm crate to enable SDK use in WASI compliant environments" -references = ["smithy-rs#2087", "smithy-rs#2520", "smithy-rs#3409", "smithy-rs#3476"] -meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "client"} -authors = ["landonxjames", "eduardomourar"] - -[[smithy-rs]] -message = "[`SdkBody`](https://docs.rs/aws-smithy-types/latest/aws_smithy_types/body/struct.SdkBody.html) now implements the 1.0 version of the `http_body::Body` trait." -references = ["smithy-rs#3365", "aws-sdk-rust#1046"] -meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "all" } -authors = ["cayman-amzn", "rcoh"] - -[[aws-sdk-rust]] -message = "Add support for Lambda's `InvokeWithResponseStreaming` and Bedrock Agent Runtime's `InvokeAgent` operations." -references = ["aws-sdk-rust#1075", "aws-sdk-rust#1080", "smithy-rs#3451"] -meta = { "breaking" = false, "bug" = false, "tada" = true } -author = "jdisanti" - -[[aws-sdk-rust]] -message = "Added support for SSO bearer token authentication. The aws-sdk-codecatalyst crate can now send requests without erroring." -references = ["aws-sdk-rust#703", "smithy-rs#3453"] -meta = { "breaking" = false, "bug" = false, "tada" = true } -author = "jdisanti" - -[[smithy-rs]] -message = "Upgrade Smithy to 1.45." -references = ["smithy-rs#3470"] -meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "all" } -authors = ["jdisanti"] - -[[aws-sdk-rust]] -message = "Add support for S3 Express One Zone. See [the user guide](https://github.com/awslabs/aws-sdk-rust/discussions/1091) for more details." -references = ["aws-sdk-rust#992", "smithy-rs#3465"] -meta = { "breaking" = false, "bug" = false, "tada" = true } -author = "ysaito1001" - -[[smithy-rs]] -message = "The `ResolveIdentity` trait is now aware of its `IdentityCache` location." -references = ["smithy-rs#3465", "smithy-rs#3477"] -meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" } -author = "ysaito1001" - -[[smithy-rs]] -message = "`RuntimeComponents` can now be converted back to a `RuntimeComponentsBuilder`, using `.to_builder()`." -references = ["smithy-rs#3465", "smithy-rs#3477"] -meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" } -authors = "ysaito1001" - -[[aws-sdk-rust]] -message = "`aws_sigv4::http_request::settigns::SigningSettings` adds a new setting `session_token_name_override` to allow for an alternative session token name for SigV4 signing." -references = ["smithy-rs#3465", "smithy-rs#3477"] -meta = { "breaking" = false, "bug" = false, "tada" = false } -author = "ysaito1001" +authors = ["landonxjames"] From 86a8079dcfd82af040ee6a82256bd69e5862c130 Mon Sep 17 00:00:00 2001 From: John DiSanti Date: Tue, 12 Mar 2024 15:39:13 -0700 Subject: [PATCH 4/4] Update CHANGELOG.next.toml --- CHANGELOG.next.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 10087eadb0..db78aba957 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -12,7 +12,7 @@ # author = "rcoh" [[smithy-rs]] -message = "Bumping version of wasi crate dependency in aws-smithy-wasm." +message = "Increased minimum version of wasi crate dependency in aws-smithy-wasm to 0.12.1." references = ["smithy-rs#3476"] -meta = { "breaking" = false, "tada" = true, "bug" = false } +meta = { "breaking" = false, "tada" = false, "bug" = false } authors = ["landonxjames"]