Skip to content
Permalink

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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.18.1
Choose a base ref
...
head repository: hashicorp/hcl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.19.1
Choose a head ref
  • 12 commits
  • 12 files changed
  • 4 contributors

Commits on Sep 21, 2022

  1. add oss-fuzz build script

    kmoe committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    a6de02d View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Merge pull request #554 from hashicorp/kmoe/oss-fuzz

    fuzz: add oss-fuzz build script
    kmoe authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    cc6d1d0 View commit details
    Browse the repository at this point in the history
  2. 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.
    apparentlymart committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    6ec7124 View commit details
    Browse the repository at this point in the history
  3. 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.
    apparentlymart committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    63067e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. 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.
    jbardin committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    3a30333 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4589e3 View commit details
    Browse the repository at this point in the history
  3. 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.
    jbardin committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    bad33d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Merge pull request #633 from hashicorp/jbardin/conditional-length-ref…

    …inements
    
    hclsyntax: conditional refinements of collections must use Range()
    jbardin authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    4945193 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. 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.
    apparentlymart committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    0af4fe2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    925bfe8 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. 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.
    jbardin committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    9847e90 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Merge pull request #635 from hashicorp/jbardin/WithoutOptionalAttribu…

    …tesDeep
    
    hcldec must use WithoutOptionalAttributesDeep
    jbardin authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    341ffa4 View commit details
    Browse the repository at this point in the history
Loading