Skip to content

v2.2.0

Compare
Choose a tag to compare
@apparentlymart apparentlymart released this 03 Jan 19:21

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)