Releases: frequenz-floss/frequenz-api-electricity-trading
v0.2.4
Frequenz Electricity Trading API Release Notes
New Features
- Update to latest version of frequenz-api-common
- Bump grpc related dependencies
- Remove the dependency on
googleapis
- Replace
Energy
withPower
for thequantity
representation
What's Changed
- Remove the dependency on
googleapis
by @camille-bouvy-frequenz in #101 - Replace
Energy
withPower
for thequantity
representation by @camille-bouvy-frequenz in #102
Full Changelog: v0.2.3...v0.2.4
v0.2.3
Frequenz Electricity Trading API Release Notes
New Features
- Update to latest version of frequenz-api-common
- Bump grpc related dependencies
What's Changed
- Reset release notes after releasing v0.2.2 by @daniel-zullo-frequenz in #93
- Update to latest api common by @matthias-wende-frequenz in #96
- Update Release Notes before release by @matthias-wende-frequenz in #98
New Contributors
- @daniel-zullo-frequenz made their first contribution in #93
Full Changelog: v0.2.2...v0.2.3
v0.2.2
Frequenz Electricity Trading API Release Notes
Summary
Upgrading
- Remove
PARTIALLY_FILLED_AND_CANCELED
order state.
New Features
Bug Fixes
What's Changed
- Reset release notes after release 0.2.1 by @camille-bouvy-frequenz in #71
- Remove
PARTIALLY_FILLED_AND_CANCELED
order state by @camille-bouvy-frequenz in #72 - Bump nox from 2023.4.22 to 2024.4.15 by @dependabot in #76
- Bump submodules/api-common-protos from
25a31d8
to5a0ae65
by @dependabot in #78 - Update frequenz-channels requirement from <0.17.0,>=0.16.0 to >=0.16.0,<1.1.0 by @dependabot in #75
- Bump black from 23.12.1 to 24.4.2 by @dependabot in #74
- Update repo-config from 0.8.0 to 0.9.2 by @camille-bouvy-frequenz in #82
- Bump the required group across 1 directory with 9 updates by @dependabot in #83
- Bump submodules/api-common-protos from
5a0ae65
tof65ad5f
by @dependabot in #84 - Remove unused
channels
dependency by @shsms in #85 - Downgrade
frequenz-api-common
version to 0.5.3 by @shsms in #86 - Bump docker/build-push-action from 5 to 6 by @dependabot in #90
New Contributors
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Frequenz Electricity Trading API Release Notes
Summary
Upgrading
- Refactor order states:
- Add new order state PARTIALLY_FILLED_AND_CANCELED
- Remove obsolete order states CANCEL_REQUESTED and CANCEL_REJECTED
New Features
Bug Fixes
What's Changed
- Reset release notes after v0.2.0 by @camille-bouvy-frequenz in #69
- Bump submodules/api-common-protos from
2aec9e1
to25a31d8
by @dependabot in #63 - Refactor the Order states by @camille-bouvy-frequenz in #70
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Frequenz Electricity Trading API Release Notes
Summary
All the files related to the python Client (in the py/frequenz/client/
folder) are removed from this repo, as they are moved to the frequenz-floss/frequenz-client-electricity-trading-python
repo.
What's Changed
- Update release notes for release v0.1.3 by @camille-bouvy-frequenz in #66
- Reset release notes after release v0.1.3 by @camille-bouvy-frequenz in #67
- Remove all the files related to the Client API from this repo by @camille-bouvy-frequenz in #68
Full Changelog: v0.1.3...v0.2.0
v0.1.3
Frequenz Electricity Trading API Release Notes
Summary
Key improvements of this release include a clear a distinction between Order and Trade in the protobuf definitions, improved handling of delivery period, gRPC error handling in the client and unit tests for the client types and functions.
New Features
- Make a distinction between Order and Trade in the protobuf definitions
- Introduction of new endpoints to retrieve gridpool trades
- Addition of new definitions and support for trade state filters and streaming
- Refactor DeliveryPeriod to take in a timedelta duration attribute instead of the DeliveryDuration Enum type
- Public trades renamed from public_trade_lists to public trades and all _lists suffixes removed
- Remove ORDER_EXECUTION_OPTION_NONE from OrderExecutionOption
- Add unit tests for the client types and functions
- Add error handling in the client for the gRPC errors that could be raised by the service
Bug Fixes
- Remove
frequenz-api-common
files now that dependency conflict is solved - Fix DeliveryArea from and to pb methods
- Use HasFields method on protobuf messages
- Make the
DeliveryPeriod
and allFilter
types hashable - Force all timestamps to be timezone aware and UTC
- Refactor some protofub timestamps that were falsly returning None values in the client
What's Changed
- Revert #24: Remove files from
frequenz-api-common
by @camille-bouvy-frequenz in #41 - Add Gridpool Trades to protobuf definition by @camille-bouvy-frequenz in #42
- Bump submodules/api-common-protos from
8681efd
to2aec9e1
by @dependabot in #34 - Bump actions/cache from 3 to 4 by @dependabot in #35
- Bump types-markdown from 3.5.0.3 to 3.5.0.20240129 by @dependabot in #40
- Bump flake8 from 6.1.0 to 7.0.0 by @dependabot in #39
- Adapt the Client with the new Gridpool Trades definition and functions by @camille-bouvy-frequenz in #43
- Bump yoheimuta/action-protolint from 1.2.0 to 1.3.0 by @dependabot in #49
- Add
frequenz-api-common
submodule and remove its local proto files by @camille-bouvy-frequenz in #48 - Fix DeliveryArea from and to pb methods by @matthias-wende-frequenz in #52
- Use HasField method on protobuf messages by @matthias-wende-frequenz in #53
- Refactor DeliveryDuration to Accept timedelta by @camille-bouvy-frequenz in #46
- Minor refactoring of DeliveryDuration using match-case by @camille-bouvy-frequenz in #54
- Fix state of PublicTrade from OrderState to TradeState by @camille-bouvy-frequenz in #56
- Rename public_trade_lists and add documentation to PublicTrade message by @idlir-shkurti-frequenz in #47
- Remove _list suffixes in the client by @camille-bouvy-frequenz in #59
- Remove ORDER_EXECUTION_OPTION_NONE from OrderExecutionOption by @matthias-wende-frequenz in #61
- Add
__eq__
function to DeliveryPeriod type by @camille-bouvy-frequenz in #64 - Add unit tests to the client and fix related bugs by @camille-bouvy-frequenz in #55
- Add init.py files to "frequenz/api/common/v1" folder by @camille-bouvy-frequenz in #65
New Contributors
- @idlir-shkurti-frequenz made their first contribution in #47
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Frequenz Electricity Trading API Release Notes
Summary
Upgrading
New Features
Bug Fixes
- Fix bug type for
EnergyMarketCodeType
What's Changed
- Fix bug type in EnergyMarketCodeType by @camille-bouvy-frequenz in #32
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Frequenz Electricity Trading API Release Notes
Summary
This API interface's client requires the SDK, which depends on
frequenz-api-common in the version range of 0.3.0 to < 0.4.0. However,
electricity_trading.proto needs some proto files from frequenz-api-common,
which are only available from version 0.5.0. This discrepancy creates
a dependency conflict. To resolve this, the current PR incorporates
the required protos directly from the frequenz-api-common repository and
stores them locally. This approach eliminates the dependency on the common
repository for the time being, until the SDK is updated to a newer version
of frequenz-api-common.
A couple of additions were also made to the __init__
and _types.py
files.
Upgrading
New Features
- Addition of missing types to the
__init__
file - Addition of missing
to_pb()
methods in the_types.py
file
Bug Fixes
- Remove dependency conflict on
frequenz-api-common
by adding it locally - Add a py.typed file
What's Changed
- Reset release notes after the first release by @camille-bouvy-frequenz in #22
- Add missing types to init file by @camille-bouvy-frequenz in #23
- Temporarily remove dependency on
frequenz-api-common
by @camille-bouvy-frequenz in #24 - Minor changes to
__init__
and_types.py
by @camille-bouvy-frequenz in #26
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Frequenz Electricity Trading API Release Notes
Summary
This is the first release of the Electricity Trading API.
It includes protobuf definitions of the Electricity Trading API and a python client with support for streaming of orders and public trades.
New Features
- Update of the common repository with the latest Electricity related changes.
- Use googleapis repository instead of api-common-protos.
- Update to latest repo config v0.8.
- Commiting the electricity trading api specs.
- Rename PublicOrders to PublicTrades
- Add a python client with pyton wrappers for methods & classes and support for streaming orders.
What's Changed
- Add initial protobuf definitions by @david-natingga-frequenz in #1
- Rename PublicOrders to PublicTrades by @matthias-wende-frequenz in #11
- Bump actions/setup-python from 4 to 5 by @dependabot in #3
- Bump grpc-stubs from 1.53.0.2 to 1.53.0.5 by @dependabot in #8
- Bump actions/labeler from 4.3.0 to 5.0.0 by @dependabot in #2
- Bump submodules/api-common-protos from
e56f4b1
to75c4411
by @dependabot in #9 - Bump actions/download-artifact from 3 to 4 by @dependabot in #4
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #5
- Fix labeler action by @matthias-wende-frequenz in #13
- Bump yoheimuta/action-protolint from 1.0.0 to 1.2.0 by @matthias-wende-frequenz in #12
- Bump submodules/api-common-protos from
75c4411
to8681efd
by @dependabot in #14 - Bump actions/checkout from 3 to 4 by @dependabot in #15
- Bump the optional group with 11 updates by @dependabot in #10
- Implement Electricity Trading API Client and type wrappers by @camille-bouvy-frequenz in #16
- Add unit conversion methods to Energy type by @camille-bouvy-frequenz in #18
- Revert #18 Add unit conversion methods to Energy type by @camille-bouvy-frequenz in #20
- Remove unnecessary optional keywords and add documentation by @camille-bouvy-frequenz in #21
New Contributors
- @david-natingga-frequenz made their first contribution in #1
- @matthias-wende-frequenz made their first contribution in #11
- @dependabot made their first contribution in #3
- @camille-bouvy-frequenz made their first contribution in #16
Full Changelog: https://github.com/frequenz-floss/frequenz-api-electricity-trading/commits/v0.1.0