Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Dec 11:19
· 233 commits to v0.x.x since this release
v0.8.0
c82454d

Frequenz Repository Configuration Release Notes

Summary

This is a minor release with some documentation improvements, new GitHub ruleset and a few bug fixes.

Upgrading

Cookiecutter template

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 in pyproject.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 Features

  • 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.

Cookiecutter template

  • The pylint check too-many-return-statements is now disabled by default.
  • Generated protobuf files are now ignored by Git.

Bug Fixes

Cookiecutter template

  • Fix typo: Freqenz -> Frequenz
  • Fix mkdocs.yml to avoid specifying custom_templates for mkdocstrings 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

What's Changed

  • Clear release notes by @llucax in #175
  • Fix typos Freqenz -> Frequenz by @llucax in #183
  • Add repository rulesets and a docs section to configure the GitHub repository by @llucax in #192
  • Restructure the home page into a user guide by @llucax in #193
  • Fix outdated configuration section name by @llucax in #195
  • Remove custom_templates from mkdocs.yml by @llucax in #201
  • Disable the pylint check too-many-return-statements by @llucax in #200
  • docs: Improve mention of cmd:skip-release-notes label by @llucax in #197
  • Properly translate paths from the python package name by @llucax in #199
  • Ignore files generated from proto files by @llucax in #202
  • docs: Improve gh-pages initialization by @llucax in #203
  • Prepare for v0.8.0 release by @llucax in #204
  • Add section on configuring PyPI to the user guide by @llucax in #205

Full Changelog: v0.7.5...v0.8.0