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.20.0
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.20.1
Choose a head ref
  • 7 commits
  • 15 files changed
  • 3 contributors

Commits on Mar 12, 2024

  1. feat: return ExprSyntaxError instead of nil when expression parsing f…

    …ails for namespaced functions
    ansgarm committed Mar 12, 2024
    Copy the full SHA
    1cbb0d4 View commit details
  2. chore: add test from #665

    ansgarm committed Mar 12, 2024
    Copy the full SHA
    53ee54e View commit details

Commits on Mar 13, 2024

  1. add SrcRange to ExprSyntaxError

    ansgarm committed Mar 13, 2024
    Copy the full SHA
    54e4175 View commit details
  2. fix test error message if wrong type

    ansgarm committed Mar 13, 2024
    Copy the full SHA
    cc3af98 View commit details
  3. Merge pull request #668 from hashicorp/add-expr-syntax-error

    add `ExprSyntaxError`
    ansgarm authored Mar 13, 2024
    Copy the full SHA
    5160967 View commit details

Commits on Mar 14, 2024

  1. Standardize on only two value dumping/diffing libraries

    Due to the quite messy heritage of this codebase -- including a large part
    of it being just a fork of my earlier personal project ZCL -- there were
    many different conventions for how to pretty-print and diff values in the
    tests in different parts of the codebase.
    
    To reduce the dependency sprawl, this commit now standardizes on:
      - github.com/davecgh/go-spew for pretty-printing
      - github.com/google/go-cmp for diffing
    
    These two dependencies were already present anyway, are the most general
    out of all of the candidates, and are also already in use by at least some
    of HCL's most significant callers, such as HashiCorp Terraform.
    
    The version of go-cmp we were previously using seems to have a bug that
    causes the tests to crash when run under the Go race detector, so I've
    also upgraded that dependency to latest here to clear that bug.
    apparentlymart committed Mar 14, 2024
    Copy the full SHA
    2a0a3f0 View commit details

Commits on Mar 26, 2024

  1. Update CHANGELOG for 2.20.1

    radeksimko authored Mar 26, 2024
    Copy the full SHA
    303be61 View commit details
Loading