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

Backport of update go-cty to v1.9.0 into v1.0 #29111

Merged

Conversation

teamterraform
Copy link
Contributor

Backport

This PR is auto-generated from #29110 to be assessed for backporting due to the inclusion of the label 1.0-backport.

The below text is copied from the body of the original PR.


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

@teamterraform teamterraform force-pushed the backport/jbardin/update-cty/hideously-balanced-sculpin branch from 9831eb2 to 1cabacd Compare July 7, 2021 14:26
@jbardin jbardin merged commit 9d7321e into v1.0 Jul 7, 2021
@jbardin jbardin deleted the backport/jbardin/update-cty/hideously-balanced-sculpin branch July 7, 2021 14:27
@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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants