Skip to content

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

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