-
Notifications
You must be signed in to change notification settings - Fork 581
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: hashicorp/hcl
base: v2.20.1
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
...
head repository: hashicorp/hcl
compare: main
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
- 9 commits
- 16 files changed
- 5 contributors
Commits on Apr 22, 2024
-
Add additional function for parsing traversals with [*] keys (#673)
* Add additional function for parsing traversals with [*] keys * add more context around skipped test cases
Configuration menu - View commit details
-
Copy full SHA for f7cd61a - Browse repository at this point
Copy the full SHA f7cd61aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c5ae8f - Browse repository at this point
Copy the full SHA 1c5ae8fView commit details
Commits on May 8, 2024
-
github: Pin action refs to latest trusted by TSCCR (#677)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4521ae9 - Browse repository at this point
Copy the full SHA 4521ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf54697 - Browse repository at this point
Copy the full SHA bf54697View commit details
Commits on May 9, 2024
-
hclsyntax: Don't panic if splat operand is unknown and marked
We were calling .Range() on any unknown sourceVal, without first checking whether it was marked. That method panics if called on a marked value, so we need to strip that off first. While testing this I found some return paths that weren't properly transferring the source value's marks to the output, and so this also addresses those so that all return paths preserve whatever markings are present on the source value. In particular, if a non-list/set/tuple value gets "upgraded" into a tuple then we must transfer its marks onto the tuple, because the decision about constructing that value was based on characteristics of the source value.
Configuration menu - View commit details
-
Copy full SHA for bc75765 - Browse repository at this point
Copy the full SHA bc75765View commit details -
dynblock: Preserve marks from for_each expression into result
Previously if the for_each expression was marked then expansion would fail because marked expressions are never directly iterable. Now instead we'll allow marked for_each and preserve the marks into the values produced by the resulting block as much as we can. This runs into the classic problem that HCL blocks are not values themselves and so cannot carry marks directly, but we can at least make sure that the values of any leaf arguments end up marked.
Configuration menu - View commit details
-
Copy full SHA for 9a64c17 - Browse repository at this point
Copy the full SHA 9a64c17View commit details -
hcldec: Allow body-derived values to be marked
Similar to the previously-added UnknownBody, the new optional interface MarkedBody allows hcl.Body implementations to suggest a set of marks that ought to be applied to any value that's generated to represent the content of that body. The dynblock extension then uses this to get hcldec to mark the whole object representing any block that was generated by a dynamic block whose for_each was marked, for a better representation of the fact that a block's existence was decided based on a marked value.
Configuration menu - View commit details
-
Copy full SHA for 318bbfe - Browse repository at this point
Copy the full SHA 318bbfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 212a40e - Browse repository at this point
Copy the full SHA 212a40eView commit details
Commits on Jun 14, 2024
-
github: Pin action refs to latest trusted by TSCCR (#683)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f7e093a - Browse repository at this point
Copy the full SHA f7e093aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.20.1...main