This is a minor release with some documentation improvements, new GitHub ruleset and a few bug fixes.
You can follow these steps to upgrade without regenerating the whole project, if you kept the default project structure and configuration:
-
Update the
frequenz-repo-config
dependencies inpyproject.toml
to 0.8.0. -
Run in the root directory of your project:
sed -i '/custom_templates: templates/d' mkdocs.yml sed -i '/ "too-few-public-methods",/a \ "too-many-return-statements",' pyproject.toml find -type f -exec sed -i 's/Freqenz/Frequenz/g' {} + cat <<EOF >> .gitignore # Auto-generated python files from the protocol buffer compiler py/**/*_pb2.py py/**/*_pb2.pyi py/**/*_pb2_grpc.py py/**/*_pb2_grpc.pyi EOF
-
Optionally go to the GitHub project's settings and replace branch protection rules with the new rulesets. See the new GitHub configuration guide for more details.
- New GitHub rulesets are provided with the recommended configuration to protect branches and tags.
- The documentation is restructured into a more organized, easier-to-navigate user guide.
- Documentation on how to configure the GitHub project and PyPI package is now provided.
- The
pylint
checktoo-many-return-statements
is now disabled by default. - Generated protobuf files are now ignored by Git.
- Fix typo:
Freqenz
->Frequenz
- Fix
mkdocs.yml
to avoid specifyingcustom_templates
formkdocstrings
as it is unused and is checked for existence in newer versions. - Fix paths that are not translated properly from the python package name (#198)
- Fix outdated
frequenz-repo-config
dependency