Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.2 KB

File metadata and controls

19 lines (10 loc) · 1.2 KB

Frequenz Component Graph Release Notes

Summary

Upgrading

  • The AggregationFormula and CoalesceFormula types and the Formula trait are replaced by a single Formula struct. The *_formula methods all return Formula now; combine formulas with +, -, and the Formula::coalesce / min / max methods.

  • Graph validation failures are now reported as ErrorKind::ValidationErrors(Vec<ValidationError>) rather than flattened into a single InvalidGraph error. Their Display changed accordingly: each failure is listed on its own line under a Graph validation failed: header, without the old per-line InvalidGraph: prefixes.

New Features

  • ErrorKind and ValidationError are now public. Error::kind() exposes the kind, and each ValidationError reports its message() and the component_ids() it involves, so individual validation failures (including detected cycles) can be inspected programmatically instead of parsed from a string.

Bug Fixes

  • Fixed double-counting of a component fed by multiple parallel meters (a diamond topology): it is now measured as a single diamond term instead of once per parent meter.