Repository navigation
Releases
Releases · frequenz-floss/frequenz-client-dispatch-python
v0.5.0
Frequenz Dispatch Client Library Release Notes
Summary
The client was updated to the latest API version and supports most of its features.
Upgrading
- All commands now require the
microgrid_idparameter. - The selector can now also be a list of component categories.
New Features
- Added a new option to allow insecure connections, can be set using the flag "--insecure" or the environment variable
FREQUENZ_INSECURE(default isfalse). - The update command now returns the modified dispatch.
- We use our own root CA certificate to verify the server's certificate until we have a proper certificate chain.
What's Changed
- Reset release notes by @Marenz in #59
- Small enhancements by @Marenz in #60
- Add parameter to use insecure connections by @Marenz in #63
- Bump the required group with 10 updates by @dependabot in #64
- Bump docker/build-push-action from 5 to 6 by @dependabot in #65
- Bump brettcannon/check-for-changed-files from 1.2.0 to 1.2.1 by @dependabot in #66
- Update to latest API changes by @Marenz in #67
- Ship our own root certificate until we have a proper one by @Marenz in #68
- Update dispatch API by @Marenz in #69
- Update to dispatch API v0.15.0 by @Marenz in #70
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Frequenz Dispatch Client Library Release Notes
Upgrading
- An API key for authorization must now be passed to the
DispatchClient. - The client constructor now requires named parameters. If you are using the client directly, you will need to update your code to use named parameters.
New Features
- TLS is now enabled by default for the CLI client.
What's Changed
- Fix broken CI fix that prevented release by @Marenz in #55
- Reset releasenotes by @Marenz in #54
- Implement key-based authentication by @Marenz in #56
- Prepare for release by @Marenz in #58
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Frequenz Dispatch Client Library Release Notes
Summary
Most notable feature is the addion of the CLI/REPL client.
New Features
- A CLI/REPL client was added. Run it using
python -m frequenz.client.dispatchor justdispatch-cliif the package was installed in your path. Use the--helpparameter to get an overview of the available commands.
Bug Fixes
- Fixed that client.update() was ignoring updates to "payload".
What's Changed
- Bump the required group with 8 updates by @dependabot in #40
- Unpin sybil by @llucax in #42
- Bump the required group with 3 updates by @dependabot in #41
- Fail the
nox-cross-arch-alljob if any matrix job fails by @llucax in #43 - Don't recursively scan for pyproject.toml when calculating the cache key by @llucax in #44
- Reset release notes by @Marenz in #47
- Implement a CLI and REPL dispatch client by @Marenz in #46
- Install dispatch client as "dispatch-cli" by @Marenz in #50
- Support payload and recurrence flags in CLI/REPL by @Marenz in #48
- Bump the required group with 10 updates by @dependabot in #52
- Implement cli recurrence update by @Marenz in #51
- Prepare release notes for release by @Marenz in #53
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Frequenz Dispatch Client Library Release Notes
Summary
This release contains a few breaking changes that were required to enhance the
API.
Upgrading
- The
Dispatchclass is now a frozen dataclass, meaning that it is immutable. Modifications can still be done usingreplace:dispatch = replace(dispatch, start_time=new_start_time). - The
Client.update()method now requires named parameters. Client.update()no longer accepts changes to thetypeanddry_runfields.
New Features
- A new module
frequenz.client.dispatch.testhas been added, providing a fake Service and Client as well as aDispatchGeneratorto generateDispatchinstances filled with random data. - The
DispatchGenerator.generate_dispatchmethod now accepts amicrogrid_idparameter to generateDispatchinstances with a specific microgrid ID. - The
Client.create()method now returns the newly createdDispatchobject.
What's Changed
- Apply missing upgrade-step after repo-config update by @Marenz in #20
- Bump grpc-stubs from 1.53.0.2 to 1.53.0.5 by @dependabot in #23
- Bump the optional group with 7 updates by @dependabot in #24
- Downgrade pytest as release was yanked by @Marenz in #25
- Make test classes available by @Marenz in #21
- Useful additions for testing by @Marenz in #26
- Fix the Python package name by @llucax in #27
- Bump nox from 2023.4.22 to 2024.3.2 by @dependabot in #30
- Bump the optional group with 11 updates by @dependabot in #31
- Make
Dispatchclass frozen by @Marenz in #32 - Make
Client.updaterequire named parameters by @Marenz in #34 - Disallow updating
typeanddry_runby @Marenz in #35 - Use client-common v0.1.0 and api-dispatch v0.13.0 by @Marenz in #36
- Enhancements to the interface and bugfixes by @Marenz in #37
- Prepare release notes by @Marenz in #38
- Update api-reference in docs by @Marenz in #39
Full Changelog: v0.1.0...v0.2.0
v0.1.0
This is the first release of the Dispatch API client! 🥳
What's Changed
- Init with repo-config by @Marenz in #1
- Bump actions/download-artifact from 3 to 4 by @dependabot in #6
- Create initial structure by @Marenz in #14
- Bump flake8 from 6.1.0 to 7.0.0 by @dependabot in #10
- Bump the optional group with 14 updates by @dependabot in #17
- Bump black from 23.9.1 to 24.2.0 by @dependabot in #18
- Bump pytest from 7.4.2 to 8.0.1 by @dependabot in #16
- Bump actions/setup-python from 4 to 5 by @dependabot in #2
- Bump actions/cache from 3 to 4 by @dependabot in #3
- Bump actions/labeler from 4.3.0 to 5.0.0 by @dependabot in #5
- docs: Add cross-referencing for gRPC by @llucax in #19
New Contributors
- @Marenz made their first contribution in #1
- @dependabot made their first contribution in #6
- @llucax made their first contribution in #19
Full Changelog: https://github.com/frequenz-floss/frequenz-client-dispatch-python/commits/v0.1.0