-
Notifications
You must be signed in to change notification settings - Fork 640
Comparing changes
Open a pull request
base repository: hashicorp/hcl
base: v2.18.1
head repository: hashicorp/hcl
compare: v2.19.1
- 12 commits
- 12 files changed
- 4 contributors
Commits on Sep 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a6de02d - Browse repository at this point
Copy the full SHA a6de02dView commit details
Commits on Oct 6, 2023
-
Merge pull request #554 from hashicorp/kmoe/oss-fuzz
fuzz: add oss-fuzz build script
Configuration menu - View commit details
-
Copy full SHA for cc6d1d0 - Browse repository at this point
Copy the full SHA cc6d1d0View commit details -
hclsyntax: New tests for marks+refinments together
The interactions between value marks and unknown value refinements can be a little tricky, so this pair of new tests cover two examples of that interaction that are currently working and ought to stay that way.
Configuration menu - View commit details
-
Copy full SHA for 6ec7124 - Browse repository at this point
Copy the full SHA 6ec7124View commit details -
hcldec: New test for marks+refinements together
The interactions between value marks and unknown value refinements can be a little tricky, so this new addition to the "RefineWith" tests confirms that it does indeed handle marked values correctly when passing through the refinement spec.
Configuration menu - View commit details
-
Copy full SHA for 63067e8 - Browse repository at this point
Copy the full SHA 63067e8View commit details
Commits on Oct 11, 2023
-
refinements of collections must use Range()
When attempting to determine the final length range for a conditional expression with collections, the length values may still be unknown. Always use `Range()` to get the lower and upper bounds.
Configuration menu - View commit details
-
Copy full SHA for 3a30333 - Browse repository at this point
Copy the full SHA 3a30333View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4589e3 - Browse repository at this point
Copy the full SHA e4589e3View commit details -
further refine refinement handling
Correct mark handling for some conditional values. Find correct refinement for overlapping ranges which could not have been compared with `GreaterThan`. Also map inclusive flags for numeric ranges. Correct handling of DefinitelyNotNull collections. Return a known null early when both conditional branches are null.
Configuration menu - View commit details
-
Copy full SHA for bad33d5 - Browse repository at this point
Copy the full SHA bad33d5View commit details
Commits on Oct 12, 2023
-
Merge pull request #633 from hashicorp/jbardin/conditional-length-ref…
…inements hclsyntax: conditional refinements of collections must use Range()
Configuration menu - View commit details
-
Copy full SHA for 4945193 - Browse repository at this point
Copy the full SHA 4945193View commit details
Commits on Oct 16, 2023
-
ext/dynblock: Allow callers to veto for_each values
Callers might have additional rules for what's acceptable in a for_each value for a dynamic block. For example, Terraform wants to forbid using sensitive values here because it would cause the expansion to disclose the length of the given collection. Therefore this provides a hook point for callers to insert additional checks just after the for_each expression has been evaluated and before any of the built-in checks are run. This introduces the "functional options" pattern for ExpandBlock for the first time, as a way to extend the API without breaking compatibility with existing callers. There is currently only this one option.
Configuration menu - View commit details
-
Copy full SHA for 0af4fe2 - Browse repository at this point
Copy the full SHA 0af4fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 925bfe8 - Browse repository at this point
Copy the full SHA 925bfe8View commit details
Commits on Oct 17, 2023
-
hcldec must use WithoutOptionalAttributesDeep
When hcldec needs to return a synthetic value, it must use WithoutOptionalAttributesDeep to ensure the correct type for Null or Unknown values. Optional attributes are normally removed from the value type when decoding, but since hcldec is dealing with the decoder spec directly, the optional attr types are still going to be present in these cases.
Configuration menu - View commit details
-
Copy full SHA for 9847e90 - Browse repository at this point
Copy the full SHA 9847e90View commit details
Commits on Oct 18, 2023
-
Merge pull request #635 from hashicorp/jbardin/WithoutOptionalAttribu…
…tesDeep hcldec must use WithoutOptionalAttributesDeep
Configuration menu - View commit details
-
Copy full SHA for 341ffa4 - Browse repository at this point
Copy the full SHA 341ffa4View 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.18.1...v2.19.1