Skip to content

Releases: martinohmann/hcl-rs

hcl-edit: v0.5.2

06 May 23:30
225b007
Compare
Choose a tag to compare

0.5.2 (2023-05-06)

Features

  • structure: add BlockBuilder and BodyBuilder (#227) (33462d0)
  • structure: add remove_* methods to Body (#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

06 May 11:26
3887c8d
Compare
Choose a tag to compare

0.5.1 (2023-05-06)

Bug Fixes

  • parser: error on duplicate attributes (#222) (b4e36af)

hcl-edit: v0.5.0

04 May 20:32
f635b78
Compare
Choose a tag to compare

0.5.0 (2023-05-04)

⚠ BREAKING CHANGES

  • structure: Block::new now only accepts a single ident argument. Set the block body, by updating body field of Block.
  • structure: The BlockBody and OnelineBody types were removed. Block now directly uses Body. One-line blocks can still be constructed by calling body.set_prefer_oneline(true).

Code Refactoring

  • structure: remove BlockBody and OnelineBody (#218) (1267054)
  • structure: remove body argument from Block::new (#220) (04c78f8)

hcl-rs: v0.14.2

03 May 06:12
e569d2e
Compare
Choose a tag to compare

0.14.2 (2023-05-02)

Features

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • hcl-primitives bumped from 0.0.3 to 0.1.0

hcl-primitives: v0.1.0

03 May 06:12
e569d2e
Compare
Choose a tag to compare

0.1.0 (2023-05-02)

⚠ BREAKING CHANGES

  • ident: Ident::new now returns Ident instead of Result<Ident, Error> and will panic if an invalid identifier is encountered. Use Ident::try_new instead to get the old behaviour.

Features

Bug Fixes

  • ident: make Ident::new panic on invalid identifier (#212) (bf8467a)

hcl-edit: v0.4.8

03 May 19:15
da7534a
Compare
Choose a tag to compare

0.4.8 (2023-05-03)

Features

hcl-edit: v0.4.7

03 May 06:12
e569d2e
Compare
Choose a tag to compare

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 for Template and StringTemplate (c569ccf)

Bug Fixes

  • template: dereference StringTemplate to Template (#213) (906b3a0)

Reverts

  • template: dereference StringTemplate to Template (#215) (bc20933)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • hcl-primitives bumped from 0.0.3 to 0.1.0

hcl-edit: v0.4.6

30 Apr 17:48
a415f45
Compare
Choose a tag to compare

0.4.6 (2023-04-30)

Features

  • structure: add conversion methods to BlockBody (e5001eb)
  • structure: implement IntoIterator for OnelineBody (cc69ba1)

hcl-edit: v0.4.5

28 Apr 12:43
24114b5
Compare
Choose a tag to compare

0.4.5 (2023-04-28)

Performance Improvements

  • parser: avoid alt in array and object parsers (#205) (1c2ee01)

hcl-edit: v0.4.4

22 Apr 18:41
99c79e3
Compare
Choose a tag to compare

0.4.4 (2023-04-22)

Features

  • expr: add conversion methods to Expression (679ad12)
  • expr: add conversion methods to ObjectKey (e268c71)