Skip to content

update hcl@v2.11.0#30056

Merged
jbardin merged 1 commit intomainfrom
jbardin/update-hcl
Dec 1, 2021
Merged

update hcl@v2.11.0#30056
jbardin merged 1 commit intomainfrom
jbardin/update-hcl

Conversation

@jbardin
Copy link
Copy Markdown
Member

@jbardin jbardin commented Dec 1, 2021

v2.11.0 (Dec 1, 2021)

Enhancements

  • hclsyntax: Various error messages related to unexpectedly reaching end of file while parsing a delimited subtree will now return specialized messages describing the opening tokens as "unclosed", instead of returning a generic diagnostic that just happens to refer to the empty source range at the end of the file. This gives better feedback when error messages are being presented alongside a source code snippet, as is common in HCL-based applications, because it shows which innermost container the parser was working on when it encountered the error. (#492)

Bugs Fixed

  • hclsyntax: Upgrading an unknown single value to a list using a splat expression must return unknown (#493)

Fixes #29973

@jbardin jbardin added the 1.1-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Dec 1, 2021
@jbardin jbardin requested a review from a team December 1, 2021 13:45
@jbardin jbardin self-assigned this Dec 1, 2021
@jbardin jbardin merged commit d8a1279 into main Dec 1, 2021
@jbardin jbardin deleted the jbardin/update-hcl branch December 1, 2021 14:51
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 1, 2022

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 Jan 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.1-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Splat operator on an unknown value should result in an unknown value

2 participants