Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jan 13:02
· 156 commits to main since this release
v0.2.0
c221bb2

Summary

We're pleased to announce the second minor release of reclass-rs. Apart from various dependency updates, this release introduces improved error messages for errors during reference resolution, and a number of CI improvements.

We've cleaned up the error messages for reference resolution to remove unnecessary context, while still informing the user which reference we failed to resolve. This should significantly improve readability of the reference resolution error messages for large inventories.

On the CI side, we've added a new CI job which runs a few simple benchmarks for Reclass::inventory(). The CI job posts the results as PR comments, so that we get a rough idea how a PR affects the performance of reclass-rs. However, we still recommend that contributors run the benchmarks locally since the benchmark accuracy on GitHub actions runners isn't very good.

Additionally, we've improved the build and release CI jobs to set the package version of the Python package from the latest Git tag. This removes the need for manually preparing a release by bumping the version in the package metadata. Instead, we can now cut a new release just by pushing a tag.

Changes

13 changes since v0.1.1

🛠️ Minor Changes

  • Improve error messages when reference resolution fails (#72)

🪛 Internal Changes

  • Update ref parser to match on unit pattern where applicable (#51)
  • Add benchmarks for Reclass::render_inventory() (#47)
  • Run benchmarks in CI and provide results in PR comment (#75)
  • Automatically set package version from Git tag (#77)

📄 Documentation

  • Update instructions to test reclass-rs with Kapitan (#58)

🔗 Dependency Updates

  • Update Rust crate rayon to 1.8.0 (#46)
  • Update Rust crate indexmap to 2.1.0 (#56)
  • Update Rust crate anyhow to 1.0.79 (#65)
  • Update Rust crate serde_yaml to 0.9.30 (#64)
  • Update Rust crate serde_json to 1.0.111 (#70)
  • Update Rust crate pyo3 to 0.20.2 (#71)
  • Update Rust crate serde to 1.0.195 (#73)