Skip to content

Releases: amplify-education/python-hcl2

v8.1.1

07 Apr 17:39
472f033

Choose a tag to compare

What's Changed

Added

  • v7-to-v8 migration guide and absolute GitHub links in README docs table. (#287)

Full Changelog: v8.1.0...v8.1.1

v8.1.0

07 Apr 12:03
33590fc

Choose a tag to compare

What's Changed

Added

  • Full architecture overhaul: bidirectional HCL2 ↔ JSON pipeline with typed rule classes. (#203)
  • hq read-only query CLI for HCL2 files (#277)
  • Agent-friendly conversion CLIs: hcl2tojson and jsontohcl2 (#274)
  • Add template directives support (%{if}, %{for}) in quoted strings (#276)
  • Support loading comments (#134)
  • CLAUDE.md (#260)

Fixed

  • Ternary with strings parse error (#55)
  • "No terminal matches '|' in the current parser context" when parsing multi-line conditional (#142)
  • reverse_transform not working with object-type variables (#231)
  • reverse_transform not handling nested functions (#235)
  • writes omits quotes around map keys with / (#236)
  • Operator precedence bug (#248)
  • Empty string dictionary keys can't be parsed twice (#249)
  • jsonencode not deserialized correctly (#250)
  • Literal string "string" incorrectly quoted (#251)
  • Interpolation literals added to locals/variables in maps (#252)
  • Object literal expression can't be serialized (#253)
  • Heredocs should interpret backslash literally (#262)
  • Parsing a multi-line multi-conditional expression causes exception — Unexpected token Token('QMARK', '?') (#269)
  • Parsing error for multiline binary operators (#246)

Changed

  • Updated package metadata: development status, dropped Python 3.7 support. (#263)

Full Changelog: v8.0.0rc2...v8.1.0

v8.0.0rc2

11 Mar 12:52
c886e46

Choose a tag to compare

v8.0.0rc2 Pre-release
Pre-release

What's Changed

Full Changelog: v8.0.0rc1...v8.0.0rc2

v8.0.0rc1

09 Mar 13:26
a80e8e2

Choose a tag to compare

v8.0.0rc1 Pre-release
Pre-release

Added

  • Full architecture overhaul: bidirectional HCL2 ↔ JSON pipeline with typed rule classes. (#203)
  • CLAUDE.md (#260)

Fixed

  • Ternary with strings parse error (#55)
  • reverse_transform not working with object-type variables (#231)
  • reverse_transform not handling nested functions (#235)
  • writes omits quotes around map keys with / (#236)
  • Operator precedence bug (#248)
  • Empty string dictionary keys can't be parsed twice (#249)
  • jsonencode not deserialized correctly (#250)
  • Literal string "string" incorrectly quoted (#251)
  • Interpolation literals added to locals/variables in maps (#252)
  • Object literal expression can't be serialized (#253)
  • Heredocs should interpret backslash literally (#262)

Changed

  • Updated package metadata: development status, dropped Python 3.7 support. (#263)

v7.3.1

24 Jul 12:33
d36c5be

Choose a tag to compare

What's Changed

Fixed

Full Changelog: v7.3.0...v7.3.1

v7.3.0

23 Jul 09:09
128aaee

Choose a tag to compare

What's Changed

Fixed

  • Issue parsing interpolations and escaped interpolations in a single string. (#239)

Full Changelog: v7.2.1...v7.3.0

v7.2.1

16 May 12:38
4631fcc

Choose a tag to compare

What's Changed

Fixed

  • More robust escaping for special characters. Thanks, @eranor (#224)
  • Issue parsing interpolation string as an object key (#232)

Full Changelog: v7.2.0...v7.2.1

v7.2.0

24 Apr 15:04
d3fe70c

Choose a tag to compare

What's Changed

Added

  • Possibility to parse deeply nested interpolations (formerly a Limitation), Thanks again, @weaversam8 (#223)

Fixed

  • Issue parsing ellipsis in a separate line within for expression (#221)
  • Issue parsing inline expression as an object key; see Limitations in README.md (#222)
  • Preserve literals of e-notation floats in parsing and reconstruction. Thanks, @eranor (#226)

Full Changelog: v7.1.0...v7.2.0

v7.1.0

10 Apr 12:57
14b840e

Choose a tag to compare

What's Changed

Added

  • hcl2.builder.Builder - nested blocks support (#214)

Fixed

  • Issue parsing parenthesesed identifier (reference) as an object key (#212)
  • Issue discarding empty lists when transforming python dictionary into Lark Tree (#216)

Full Changelog: v7.0.1...v7.1.0

v7.0.1

31 Mar 11:01
1e8b233

Choose a tag to compare

What's Changed

Fixed

  • Issue parsing dot-accessed attribute as an object key (#209)

Full Changelog: v7.0.0...v7.0.1