Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update smithy version to 1.22.0 #600

Merged
merged 5 commits into from
Aug 11, 2022

Conversation

ganeshnj
Copy link
Contributor

@ganeshnj ganeshnj commented Aug 2, 2022

Issue #

(#597 is failing due to unresolved shape smithy.api#Unit which was introduced in smithy-lang/smithy#980)

Description of changes

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Ganesh Jangir added 2 commits August 2, 2022 16:05
## Motivation

#597 is failing due to unresolved shape `smithy.api#Unit` which was introduced in smithy-lang/smithy#980

## Changes

Updated smithyVersion to 1.22.0.

## Result

AWS SDK handles `smithy.api#Unit` for operation correctly.
@ganeshnj ganeshnj changed the title Jangirg/chore/bump smithy version chore: update smithy version to 1.22.0 Aug 2, 2022
@ganeshnj ganeshnj marked this pull request as ready for review August 10, 2022 17:23
ganeshnj added a commit to smithy-lang/smithy-swift that referenced this pull request Aug 11, 2022
## Motivation

awslabs/aws-sdk-swift#597 is failing due to unresolved shape smithy.api#Unit which was introduced in smithy-lang/smithy#980

## Changes
- Updated smithyVersion to 1.22.0.
- Update smithyGradleVersion to 0.6.0
- Fix issues with header list parsing. The parsing was always correct but the test setup was not, where expected result always assumed that the list is a date list. To support this, I took kotlin implementation of string list parsing and translated to Swift with test cases.
- JsonName trait now has no effect in AwsJson1_0 and AwsJson1_1, this change is covered at chore: update smithy version to 1.22.0 aws-sdk-swift#600
- serde change: in case where the top container is sparse map which contains a dense list as value, the dense list was considered as sparse. Therefore, added a way to track the member parent to fix the nullability.
- Sensitive trait fixes because now it can't target member directly.

## Result

awslabs/aws-sdk-swift#600
@ganeshnj ganeshnj merged commit 7ef35fc into main Aug 11, 2022
@ganeshnj ganeshnj deleted the jangirg/chore/bump-smithy-version branch August 11, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants