Releases: frequenz-floss/frequenz-api-assets
v0.1.0
Frequenz Assets API Release Notes
Summary
This release updates the Frequenz Assets API to align with the new naming conventions and the latest version of the common API (v1alpha8). The changes include renaming RPC methods and message types to be more explicit about electrical components, as well as updating dependencies to ensure compatibility with the latest API specifications.
Upgrading
API Changes
-
RPC Method Renaming - All RPC methods related to microgrid components have been renamed to explicitly include "Electrical" in their names:
ListMicrogridComponents→ListMicrogridElectricalComponentsListMicrogridComponentConnections→ListMicrogridElectricalComponentConnections
-
Message Type Renaming - Corresponding request and response message types have also been renamed:
ListMicrogridComponentsRequest→ListMicrogridElectricalComponentsRequestListMicrogridComponentsResponse→ListMicrogridElectricalComponentsResponseListMicrogridComponentConnectionsRequest→ListMicrogridElectricalComponentConnectionsRequestListMicrogridComponentConnectionsResponse→ListMicrogridElectricalComponentConnectionsResponse
-
Common API Update - Proto imports have been updated from
frequenz.api.common.v1tofrequenz.api.common.v1alpha8. This affects:frequenz.api.common.v1alpha8.microgrid.electrical_components.ElectricalComponentfrequenz.api.common.v1alpha8.microgrid.electrical_components.ElectricalComponentCategoryfrequenz.api.common.v1alpha8.microgrid.electrical_components.ElectricalComponentConnectionfrequenz.api.common.v1alpha8.microgrid.Microgrid
Dependency Updates
- Updated
protobufandgrpcioversions for improved compatibility - Updated
frequenz-api-commonsubmodule to the latest commit - Updated development dependencies including
pydoclint(0.6.0 → 0.6.6) and various patch-level updates
New Features
This release focuses primarily on alignment with the new naming conventions and API standards. The core functionality remains the same, with the following service methods available:
GetMicrogrid- Fetch details about a specific microgridListMicrogridElectricalComponents- List electrical components for a specific microgrid with optional filtering by component IDs and categoriesListMicrogridElectricalComponentConnections- List connections between electrical components in a microgrid
Bug Fixes
No significant bug fixes in this release. The changes are primarily focused on API alignment and naming consistency.
What's Changed
- Bump the minor group with 5 updates by @dependabot[bot] in #16
- build(deps): Bump the patch group across 1 directory with 8 updates by @dependabot[bot] in #22
- Bump pydoclint from 0.6.0 to 0.6.6 by @dependabot[bot] in #18
- chore(submodules): update frequenz-api-common submodule to latest commit by @sandovalrr in #23
- chore(submodules): update frequenz-api-common submodule to specific commit ebf585f by @sandovalrr in #32
- chore(submodules): update frequenz-api-common submodule to specific commit 0e45c6d by @sandovalrr in #33
- feat(v1alpha8): Update proto imports to v1alpha8 for microgrid components in assets.proto by @sandovalrr in #37
New Contributors
- @dependabot[bot] made their first contribution in #16
Full Changelog: v0.0.2...v0.1.0
v0.0.2
Frequenz Assets API Release Notes
Summary
Adjusted the RPC names to align with the new naming convention, and updated the frequenz-api-common dependency.
Upgrading
- Update the
frequenz-api-commondependency
New Features
- Renamed
ListMicrogridComponentstoListMicrogridElectricalComponentsandListMicrogridComponentConnectionstoListMicrogridElectricalComponentConnections.
What's Changed
- docs: update RELEASE_NOTES with template by @sandovalrr in #10
- Upgrade to repo-config v0.13.2 by @llucax in #14
- refactor: rename electrical components rpc methods to align with the new naming convention by @sandovalrr in #20
New Contributors
Full Changelog: v0.0.1...v0.0.2
v0.0.1
Frequenz Assets API Release Notes
Summary
- Setup the proto files for the Assets API.
- Added the first version of the API, with the following RPCs:
GetMicrogridListMicrogridComponentsListMicrogridComponentConnections
Upgrading
New Features
- Added the first version of the Assets API.
- Added the proto files to the Python package.
Bug Fixes
What's Changed
- feat(assets): defined the PlatformAssets service with microgrid and component APIs by @sandovalrr in #9
New Contributors
- @sandovalrr made their first contribution in #9
Full Changelog: https://github.com/frequenz-floss/frequenz-api-assets/commits/v0.0.1