Skip to content

Commit 979631b

Browse files
Bump Smithy to 1.60.3 (#4194)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> ## Description <!--- Describe your changes in detail --> ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [ ] For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "client," "server," or both in the `applies_to` key. - [ ] For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "aws-sdk-rust" in the `applies_to` key. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Co-authored-by: Landon James <lnj@amazon.com>
1 parent b96c8de commit 979631b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ jobs:
105105
fetch-depth: 0
106106
- action: check-sdk-codegen-unit-tests
107107
runner: ubuntu-latest
108-
- action: check-fuzzgen
109-
runner: ubuntu-latest
108+
# - action: check-fuzzgen
109+
# runner: ubuntu-latest
110110
- action: check-server-codegen-integration-tests
111111
runner: smithy_ubuntu-latest_8-core
112112
- action: check-server-codegen-integration-tests-python

codegen-client-test/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ val allCodegenTests = listOf(
7575
ClientTest("aws.protocoltests.restxml#RestXml", "rest_xml", addMessageToErrors = false),
7676
ClientTest("aws.protocoltests.query#AwsQuery", "aws_query", addMessageToErrors = false),
7777
ClientTest("aws.protocoltests.ec2#AwsEc2", "ec2_query", addMessageToErrors = false),
78+
ClientTest("aws.protocoltests.rpcv2cbor#QueryCompatibleRpcV2Protocol", "rpcv2cbor_query_compatible"),
79+
ClientTest("aws.protocoltests.rpcv2cbor#NonQueryCompatibleRpcV2Protocol", "rpcv2cbor_non_query_compatible"),
7880
ClientTest("smithy.protocoltests.rpcv2Cbor#RpcV2Protocol", "rpcv2Cbor"),
7981
ClientTest(
8082
"smithy.protocoltests.rpcv2Cbor#RpcV2CborService",

codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ClientProtocolTestGenerator.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ class ClientProtocolTestGenerator(
122122
private val codegenScope =
123123
arrayOf(
124124
"AssertEq" to RT.PrettyAssertions.resolve("assert_eq!"),
125+
"Bytes" to RT.Bytes,
125126
"Uri" to RT.Http.resolve("Uri"),
126127
)
127128

@@ -354,7 +355,7 @@ class ClientProtocolTestGenerator(
354355
rustWriter.rustTemplate(
355356
"""
356357
// No body.
357-
#{AssertEq}(&body, &bytes::Bytes::new());
358+
#{AssertEq}(&body, &#{Bytes}::new());
358359
""",
359360
*codegenScope,
360361
)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ smithy.rs.runtime.crate.unstable.version=0.60.6
1515
kotlin.code.style=official
1616
# codegen
1717
smithyGradlePluginVersion=0.9.0
18-
smithyVersion=1.60.2
18+
smithyVersion=1.60.3
1919
allowLocalDeps=false
2020
# kotlin
2121
kotlinVersion=1.9.20

0 commit comments

Comments
 (0)