github hashicorp/hcl v2.2.0

latest releases: v2.20.1, v2.20.0, v2.19.1...
4 years ago

Enhancements

  • hcldec: Attribute evaluation (as part of AttrSpec or BlockAttrsSpec) now captures expression evaluation metadata in any errors it produces during type conversions, allowing for better feedback in calling applications that are able to make use of this metadata when printing diagnostic messages. (#329)

Bugs Fixed

  • hclsyntax: IndexExpr, SplatExpr, and RelativeTraversalExpr will now report a source range that covers all of their child expression nodes. Previously they would report only the operator part, such as ["foo"], [*], or .foo, which was problematic for callers using source ranges for code analysis. (#328)
  • hclwrite: Parser will no longer panic when the input includes index, splat, or relative traversal syntax. (#328)

Don't miss a new hcl release

NewReleases is sending notifications on new releases.