v8.1.0
What's Changed
Added
- Full architecture overhaul: bidirectional HCL2 ↔ JSON pipeline with typed rule classes. (#203)
hqread-only query CLI for HCL2 files (#277)- Agent-friendly conversion CLIs:
hcl2tojsonandjsontohcl2(#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)
writesomits 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