diff --git a/.changelog/2155171.md b/.changelog/2155171.md deleted file mode 100644 index a737eefc686a1d2e886716bb5e6fe005063c75b6..0000000000000000000000000000000000000000 --- a/.changelog/2155171.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -applies_to: ["server","client"] -authors: ["drganjoo"] -references: [smithy-rs#3573] -breaking: false -new_feature: true -bug_fix: false ---- -Support for the [rpcv2Cbor](https://smithy.io/2.0/additional-specs/protocols/smithy-rpc-v2.html) protocol has been added, allowing services to serialize RPC payloads as CBOR (Concise Binary Object Representation), improving performance and efficiency in data transmission. diff --git a/.changelog/4106176.md b/.changelog/4106176.md deleted file mode 100644 index 90581291df9dad66c798c30599ee9447a53d6cc1..0000000000000000000000000000000000000000 --- a/.changelog/4106176.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -applies_to: ["server"] -authors: ["drganjoo"] -references: [] -breaking: true -new_feature: false -bug_fix: false ---- -The generated crates no longer have the `aws-lambda` feature flag enabled by default. This prevents the [aws-lambda](https://docs.rs/crate/aws-smithy-http-server/0.63.3/features#aws-lambda) feature from being automatically enabled in [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) when the SDK is not intended for AWS Lambda. diff --git a/.changelog/9278363.md b/.changelog/9278363.md deleted file mode 100644 index 7b159087da41a20f97ba52d21044b637e97c57ea..0000000000000000000000000000000000000000 --- a/.changelog/9278363.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -applies_to: ["server"] -authors: ["drganjoo"] -references: [] -breaking: false -new_feature: true -bug_fix: false ---- -All relevant types from [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) are now re-exported within the generated crates. This removes the need to explicitly depend on [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) in service handler code and prevents compilation errors caused by version mismatches. - diff --git a/CHANGELOG.md b/CHANGELOG.md index 7224e5f19b3f111b2c629777082ca17a75b14651..41f686b80a7e35b0c67f557aba20e1a5668ccd15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ +October 3rd, 2024 +================= +**Breaking Changes:** +- :warning: (server) The generated crates no longer have the `aws-lambda` feature flag enabled by default. This prevents the [aws-lambda](https://docs.rs/crate/aws-smithy-http-server/0.63.3/features#aws-lambda) feature from being automatically enabled in [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) when the SDK is not intended for AWS Lambda. + +**New this release:** +- :tada: (server) All relevant types from [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) are now re-exported within the generated crates. This removes the need to explicitly depend on [aws-smithy-http-server](https://docs.rs/aws-smithy-http-server/0.63.3/aws_smithy_http_server/) in service handler code and prevents compilation errors caused by version mismatches. + +- :tada: (all, [smithy-rs#3573](https://github.com/smithy-lang/smithy-rs/issues/3573)) Support for the [rpcv2Cbor](https://smithy.io/2.0/additional-specs/protocols/smithy-rpc-v2.html) protocol has been added, allowing services to serialize RPC payloads as CBOR (Concise Binary Object Representation), improving performance and efficiency in data transmission. + + September 26th, 2024 ==================== **New this release:** diff --git a/aws/SDK_CHANGELOG.next.json b/aws/SDK_CHANGELOG.next.json index 4ce573b3204855e99b476c136006d931694709c5..40fa5ce57ea6c5b1ee3763afe1ee1fb83ba923ad 100644 --- a/aws/SDK_CHANGELOG.next.json +++ b/aws/SDK_CHANGELOG.next.json @@ -17,7 +17,7 @@ "smithy-rs#3800" ], "since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e", - "age": 4 + "age": 5 }, { "message": "Add minimal support for `AWS::Auth::AccountId` and `AWS::Auth::AccountIdEndpointMode` endpoint built-ins\n", @@ -31,7 +31,7 @@ "smithy-rs#3792" ], "since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e", - "age": 4 + "age": 5 }, { "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", @@ -45,7 +45,7 @@ "smithy-rs#3798" ], "since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e", - "age": 4 + "age": 5 }, { "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", @@ -60,7 +60,7 @@ "smithy-rs#3797" ], "since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e", - "age": 4 + "age": 5 }, { "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", @@ -74,7 +74,7 @@ "aws-sdk-rust#820" ], "since-commit": "d64aea29ad48d7bddb5a7511f3f1175c478e2c1e", - "age": 4 + "age": 5 }, { "message": "Remove stalled stream protection from transcribe-streaming operations.\n", @@ -88,7 +88,7 @@ "aws-sdk-rust#1181" ], "since-commit": "c622e5e97b199cc2382a4fbc14a9773e9ea1766c", - "age": 2 + "age": 3 }, { "message": "deprecate http-02x presign APIs in favor of http-1x equivalents\n", @@ -100,7 +100,7 @@ "author": "aajtodd", "references": [], "since-commit": "c622e5e97b199cc2382a4fbc14a9773e9ea1766c", - "age": 2 + "age": 3 }, { "message": "Update Smoketest codegeneration to be endpoint built-in aware.\n", @@ -114,7 +114,7 @@ "smithy-rs#3836" ], "since-commit": "c622e5e97b199cc2382a4fbc14a9773e9ea1766c", - "age": 2 + "age": 3 }, { "message": "Fixed a bug with the content length of compressed payloads that caused such requests to hang.\n", @@ -128,7 +128,7 @@ "smithy-rs#3820" ], "since-commit": "2f29209c1ecfd8a848dc0745dbce6b510c898d9a", - "age": 1 + "age": 2 } ], "aws-sdk-model": [] diff --git a/aws/sdk/Cargo.lock b/aws/sdk/Cargo.lock index 002bd0b56b48d819bb8d67a816753b6489eaa7f4..dffcf23b7439432a1eccd88c6d0ae53fc8d8f684 100644 --- a/aws/sdk/Cargo.lock +++ b/aws/sdk/Cargo.lock @@ -335,7 +335,7 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "aws-config" -version = "1.5.7" +version = "1.5.8" dependencies = [ "aws-credential-types 1.2.1", "aws-runtime 1.4.3", @@ -484,7 +484,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-eventstream 0.60.5", "aws-smithy-http 0.60.11", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -549,7 +549,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -599,7 +599,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -627,7 +627,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-query", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", @@ -679,7 +679,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -709,7 +709,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-query", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", @@ -736,7 +736,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -763,7 +763,7 @@ dependencies = [ "aws-smithy-eventstream 0.60.5", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -790,7 +790,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -818,7 +818,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -874,7 +874,7 @@ dependencies = [ "aws-smithy-experimental", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -953,7 +953,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -1023,7 +1023,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-query", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", @@ -1050,7 +1050,7 @@ dependencies = [ "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -1103,7 +1103,7 @@ dependencies = [ "aws-smithy-eventstream 0.60.5", "aws-smithy-http 0.60.11", "aws-smithy-json 0.60.7", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime 1.7.1", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", @@ -1419,9 +1419,11 @@ dependencies = [ [[package]] name = "aws-smithy-protocol-test" version = "0.62.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "495c940cd5c7232ac3f0945ff559096deadd2fc73e4418a0e98fe5836788bb39" dependencies = [ "assert-json-diff", - "aws-smithy-runtime-api 1.7.2", + "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "base64-simd", "cbor-diag", "http 0.2.12", @@ -1435,19 +1437,17 @@ dependencies = [ [[package]] name = "aws-smithy-protocol-test" -version = "0.62.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495c940cd5c7232ac3f0945ff559096deadd2fc73e4418a0e98fe5836788bb39" +version = "0.63.0" dependencies = [ "assert-json-diff", - "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", + "aws-smithy-runtime-api 1.7.2", "base64-simd", "cbor-diag", + "ciborium", "http 0.2.12", "pretty_assertions", "regex-lite", "roxmltree", - "serde_cbor", "serde_json", "thiserror", ] @@ -1467,7 +1467,7 @@ dependencies = [ "approx", "aws-smithy-async 1.2.1", "aws-smithy-http 0.60.11", - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "aws-smithy-runtime-api 1.7.2", "aws-smithy-types 1.2.7", "bytes", @@ -1503,7 +1503,7 @@ checksum = "d1ce695746394772e7000b39fe073095db6d45a862d0767dd5ad0ac0d7f8eb87" dependencies = [ "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "aws-smithy-http 0.60.10", - "aws-smithy-protocol-test 0.62.0 (registry+https://github.com/rust-lang/crates.io-index)", + "aws-smithy-protocol-test 0.62.0", "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "aws-smithy-types 1.2.4", "bytes", @@ -1657,7 +1657,7 @@ dependencies = [ name = "aws-smithy-xml" version = "0.60.9" dependencies = [ - "aws-smithy-protocol-test 0.62.0", + "aws-smithy-protocol-test 0.63.0", "base64 0.13.1", "proptest", "xmlparser",