Skip to content

Releases: frequenz-floss/frequenz-client-assets-python

v0.2.0

20 Nov 09:00
Immutable release. Only release title and notes can be modified.
v0.2.0
cd345b3

Choose a tag to compare

Frequenz Assets API Client Release Notes

Summary

This release adds support for retrieving microgrid electrical component connections through a new client method and CLI command.

Upgrading

  • The get_microgrid and list_microgrid_electrical_components methods now expect an argument of type MicrogridId, instead of an int.
  • The PvInverter type has been renamed to SolarInverter, to be compatible with the microgrid api client.

New Features

  • This exposes the abstract Battery, EvCharger and Inverter types.

Component Connections API

  • New ComponentConnection class: Introduced to represent connections between electrical components in a microgrid
  • New client method: Added method to retrieve microgrid electrical component connections
  • CLI command extension: Added component-connections command to list component connections

Bug Fixes

What's Changed

New Contributors

  • @shsms made their first contribution in #55

Full Changelog: v0.1.0...v0.2.0

v0.1.0

17 Nov 10:14
Immutable release. Only release title and notes can be modified.
v0.1.0
a961be4

Choose a tag to compare

Frequenz Assets API Client Release Notes

Summary

This release adds support for retrieving microgrid electrical component connections through a new client method and CLI command.

Upgrading

No migration required. This is a backward-compatible feature addition.

New Features

Component Connections API

  • New ComponentConnection class: Introduced to represent connections between electrical components in a microgrid
  • New client method: Added method to retrieve microgrid electrical component connections
  • CLI command extension: Added component-connections command to list component connections

Bug Fixes

What's Changed

  • Reset release notes by @cwasicki in #46
  • Bump mkdocstrings-python from 1.17.0 to 1.18.2 by @dependabot[bot] in #45
  • Bump the minor group across 1 directory with 9 updates by @dependabot[bot] in #47
  • fix(deps): Update dependency version for frequenz-api-assets in pyproject.toml by @eduardiazf in #49
  • Bump the compatible group with 2 updates by @dependabot[bot] in #39
  • Bump actions/labeler from 5.0.0 to 6.0.1 by @dependabot[bot] in #40
  • Bump pytest-asyncio from 1.1.0 to 1.2.0 by @dependabot[bot] in #43
  • Bump pydoclint from 0.6.10 to 0.7.6 by @dependabot[bot] in #51
  • Bump the patch group across 1 directory with 7 updates by @dependabot[bot] in #52

New Contributors

Full Changelog: v0.0.1...v0.1.0

v0.0.2

07 Oct 11:32
Immutable release. Only release title and notes can be modified.
v0.0.2
a571f67

Choose a tag to compare

Frequenz Assets API Client Release Notes

Summary

This release updates the frequenz-api-assets dependency to use a version range instead of a specific Git reference, providing more flexibility for dependency updates while maintaining compatibility.

Changes

Dependency Updates

  • Updated frequenz-api-assets dependency:
    • Changed from Git reference (@ git+https://github.com/frequenz-floss/[email protected]) to version range (>= 0.1.0, < 0.2.0)
    • Enables automatic updates within the specified version range
    • Maintains backward compatibility while reducing maintenance overhead

Benefits

  • Improved dependency management: Version ranges allow for automatic updates within the specified range
  • Better compatibility: Ensures compatibility with the project while allowing for patch and minor version updates
  • Reduced maintenance overhead: Eliminates the need to manually update Git references for compatible versions

Migration Notes

No migration required. This is a transparent dependency update that maintains full backward compatibility.

Files Changed

  • pyproject.toml: Updated the frequenz-api-assets dependency specification

Type of Change

  • Dependency update

What's Changed

  • Reset release notes by @cwasicki in #46
  • Bump mkdocstrings-python from 1.17.0 to 1.18.2 by @dependabot[bot] in #45
  • Bump the minor group across 1 directory with 9 updates by @dependabot[bot] in #47
  • fix(deps): Update dependency version for frequenz-api-assets in pyproject.toml by @eduardiazf in #49

New Contributors

Full Changelog: v0.0.1...v0.0.2

v0.0.1

06 Oct 12:15
Immutable release. Only release title and notes can be modified.
v0.0.1
3a7a39f

Choose a tag to compare

Frequenz Assets API Client Release Notes

Summary

This release introduces a Assets API client with CLI support for interacting with Frequenz microgrid assets. It provides comprehensive electrical components functionality including batteries, EV chargers, inverters, and grid connection points, with enhanced type safety and error handling.

New Features

  • Assets API Client:

    • list_electrical_components() method for retrieving electrical components in a microgrid
  • Electrical Components Support: Comprehensive data classes for electrical components

    • ElectricalComponent with category-specific information for batteries, EV chargers, inverters, grid connection points, and power transformers
    • Battery types: Li-ion, Na-ion with proper enum mapping
    • EV charger types: AC, DC, Hybrid charging support
    • Operational lifetime tracking and metric configuration bounds
  • Command-Line Interface:

    • assets-cli electrical-components <microgrid-id> command
  • Type System: Enhanced data classes with protobuf integration

    • Microgrid, DeliveryArea, Location, and comprehensive electrical component types
    • Proper enum mapping: BatteryType, EvChargerType, InverterType, Metric

Bug Fixes

What's Changed

New Contributors

Full Changelog: https://github.com/frequenz-floss/frequenz-client-assets-python/commits/v0.0.1