Releases: martinohmann/hcl-rs
Releases · martinohmann/hcl-rs
hcl-edit: v0.5.2
0.5.2 (2023-05-06)
Features
- structure: add
BlockBuilder
andBodyBuilder
(#227) (33462d0) - structure: add
remove_*
methods toBody
(#228) (7b37763) - structure: add getters for body structures (#226) (2d08db1)
- structure: add iterator methods for attributes and blocks to
Body
(#224) (c968d78)
Bug Fixes
- structure: use correct position in removal operations (44b096b)
hcl-edit: v0.5.1
hcl-edit: v0.5.0
0.5.0 (2023-05-04)
⚠ BREAKING CHANGES
- structure:
Block::new
now only accepts a singleident
argument. Set the block body, by updatingbody
field ofBlock
. - structure: The
BlockBody
andOnelineBody
types were removed.Block
now directly usesBody
. One-line blocks can still be constructed by callingbody.set_prefer_oneline(true)
.
Code Refactoring
hcl-rs: v0.14.2
hcl-primitives: v0.1.0
0.1.0 (2023-05-02)
⚠ BREAKING CHANGES
- ident:
Ident::new
now returnsIdent
instead ofResult<Ident, Error>
and will panic if an invalid identifier is encountered. UseIdent::try_new
instead to get the old behaviour.
Features
Bug Fixes
hcl-edit: v0.4.8
hcl-edit: v0.4.7
0.4.7 (2023-05-02)
Features
- ident: add
Ident::try_new
(#210) (4c15e1e) - template: add methods to ease
Element
access (#214) (d4687b2) - template: implement
From
forTemplate
andStringTemplate
(c569ccf)
Bug Fixes
Reverts
Dependencies
- The following workspace dependencies were updated
- dependencies
- hcl-primitives bumped from 0.0.3 to 0.1.0
- dependencies