Skip to content

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 31 Aug 14:44
· 17 commits to v0.x.x since this release
Immutable release. Only release title and notes can be modified.
v0.7.1
b1e6ec5

Frequenz Gridpool Library Release Notes

Summary

This release rounds out gridpool-cli for the assets config layout and adds
gridpool enterprise ownership to the config model. The CLI can now generate,
validate, patch, and query merged config files.

Upgrading

  • generate-config now writes the assets.microgrids layout and stamps
    assets.version, instead of the legacy layout. Regenerate configs to get the
    current format; generated files then load back without a migration.

  • generate-config --inplace refuses legacy-layout files (top-level or
    meta-nested), which it would duplicate rather than edit. Rebuild those from
    scratch.

New Features

  • gridpool-cli validate <files> checks config files offline and exits
    non-zero on the first error, to gate config-repo CI. Each file must be valid
    on its own, so a record names its own key and required fields; the files are
    then checked merged, for the cross-record checks.

  • gridpool-cli accepts FREQUENZ_API_KEY and FREQUENZ_API_SECRET as a
    fallback pair for ASSETS_API_AUTH_KEY and ASSETS_API_SIGN_SECRET.

  • Gridpools are described under assets.gridpools, each entry naming the
    enterprise that owns the gridpool. AssetsConfig.find_enterprise(gridpool_id)
    returns the configured owner.
    gridpool-cli find-enterprise <gridpool_id> <files> prints it from the config.
    AssetsConfig.check enforces the one-enterprise-per-gridpool invariant: a
    gridpool's microgrids may not disagree on it, and a declared enterprise must
    match the inferred one.

  • A config derived from the Assets API now carries each microgrid's
    enterprise_id.

  • generate-config --inplace refreshes managed values while preserving
    formatting; --fill-missing only adds absent values. Generated patches are
    validated before writing.

What's Changed

  • feat(config,cli): add assets-layout tooling and gridpool enterprise ownership by @cwasicki in #130
  • Update release notes by @cwasicki in #131

Full Changelog: v0.7.0...v0.7.1