diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d0295c21..74da6d7f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,6 @@ { - "crates/benchmarks": "0.0.17", - "crates/hcl-edit": "0.4.8", + "crates/benchmarks": "0.0.18", + "crates/hcl-edit": "0.5.0", "crates/hcl-primitives": "0.1.0", "crates/hcl-rs": "0.14.2", "crates/specsuite": "0.0.5" diff --git a/crates/benchmarks/Cargo.toml b/crates/benchmarks/Cargo.toml index 615deb79..ca6688a3 100644 --- a/crates/benchmarks/Cargo.toml +++ b/crates/benchmarks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "benchmarks" -version = "0.0.17" +version = "0.0.18" publish = false edition = "2021" diff --git a/crates/hcl-edit/CHANGELOG.md b/crates/hcl-edit/CHANGELOG.md index a033dfd0..a70f8ed3 100644 --- a/crates/hcl-edit/CHANGELOG.md +++ b/crates/hcl-edit/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.5.0](https://github.com/martinohmann/hcl-rs/compare/hcl-edit-v0.4.8...hcl-edit-v0.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](https://github.com/martinohmann/hcl-rs/issues/218)) ([1267054](https://github.com/martinohmann/hcl-rs/commit/126705402ce7c95c10160cf64349e13f41b09f3f)) +* **structure:** remove `body` argument from `Block::new` ([#220](https://github.com/martinohmann/hcl-rs/issues/220)) ([04c78f8](https://github.com/martinohmann/hcl-rs/commit/04c78f81d1e13561167872d3d6a2b4dd835f3d9f)) + ## [0.4.8](https://github.com/martinohmann/hcl-rs/compare/hcl-edit-v0.4.7...hcl-edit-v0.4.8) (2023-05-03) diff --git a/crates/hcl-edit/Cargo.toml b/crates/hcl-edit/Cargo.toml index 218451ac..57fe4860 100644 --- a/crates/hcl-edit/Cargo.toml +++ b/crates/hcl-edit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hcl-edit" -version = "0.4.8" +version = "0.5.0" authors = ["Martin Ohmann "] license = "MIT OR Apache-2.0" description = "Parse and modify HCL while preserving comments and whitespace"