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

update go-cty to v1.9.0 #29110

Merged
merged 1 commit into from
Jul 7, 2021
Merged

update go-cty to v1.9.0 #29110

merged 1 commit into from
Jul 7, 2021

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented Jul 7, 2021

Update the cty library to v1.9.0 with the following changes:

  • cty: cty.Walk, cty.Transform, and cty.TransformWithTransformer now all correctly support marked values. Previously they would panic when encountering marked collections, because they would try to recurse into them without handling the markings.
  • function/stdlib: The floor and ceil functions no longer lower the precision of arguments to what would fit inside a 64-bit float, instead preserving precision in a similar way as most other arithmetic functions. (#111)
  • function/stdlib: The flatten function was incorrectly treating null values of an unknown type as if they were unknown values. Now it will treat them the same as any other non-list/non-tuple value, flattening them down into the result as-is. (#110)

Fixes #29100
Fixes #29099

@jbardin jbardin added the 1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Jul 7, 2021
@jbardin jbardin requested a review from a team July 7, 2021 14:10
@jbardin jbardin merged commit b00e8c1 into main Jul 7, 2021
@jbardin jbardin deleted the jbardin/update-cty branch July 7, 2021 14:26
@github-actions
Copy link

github-actions bot commented Aug 7, 2021

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
2 participants