Releases: amplify-education/python-hcl2
Releases · amplify-education/python-hcl2
v8.1.1
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
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
v8.0.0rc2
What's Changed
- add function tuples round-trip test suite by @kkozik-amplify in #268
- SerializationOptions - add an option to strip string quotes in dict/JSON output by @kkozik-amplify in #272
- Add postlexer to support multiline binary operators and ternary expressions by @kkozik-amplify in #270
- more robust whitespace handling in reconstruction by @kkozik-amplify in #271
- update changelog for 8.0.0rc2 by @kkozik-amplify in #273
Full Changelog: v8.0.0rc1...v8.0.0rc2
v8.0.0rc1
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)
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)
Changed
- Updated package metadata: development status, dropped Python 3.7 support. (#263)
v7.3.1
v7.3.0
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
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
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
forexpression (#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
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
What's Changed
Fixed
- Issue parsing dot-accessed attribute as an object key (#209)
Full Changelog: v7.0.0...v7.0.1