You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+8-13Lines changed: 8 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,11 @@
2
2
3
3
## Summary
4
4
5
-
This release introduces a new MkDocs macros *pluglet* system that simplifies documentation setup and provides enhanced functionality for version information and code annotations. It also includes changes to how pytest warnings are handled in templates.
5
+
<!-- Here goes a general summary of what this release is about -->
6
6
7
7
## Upgrading
8
8
9
-
- The `nox` default `pytest` session doesn't pass `-W=all -vv` to `pytest` anymore. You can use the `pyproject.toml` file to configure default options for `pytest`, for example:
-`pytest` now uses `-Werror` by default (but still treat deprecations as normal warnings), so if your tests run with warnings, they will now be turned to errors, and you'll need to fix them.
27
-
28
-
- Projects using `docs/_scripts/macros.py` with customized scripts can use the new provided utility functions. See the [`mkdocstrings_macros` documentation](https://frequenz-floss.github.io/frequenz-repo-config-python/v0.12/reference/frequenz/repo/config/mkdocs/mkdocstrings_macros/) for the new features and setup.
21
+
<!-- Here upgrade steps for cookiecutter specifically -->
29
22
30
23
## New Features
31
24
32
-
- Two new modules were introduced to facilitate the configuration of `macros` for use within docstrings via `mkdocstrings`: [`mkdocstrings_macros`](https://frequenz-floss.github.io/frequenz-repo-config-python/v0.12/reference/frequenz/repo/config/mkdocs/mkdocstrings_macros/) and [`annotations`](https://frequenz-floss.github.io/frequenz-repo-config-python/v0.12/reference/frequenz/repo/config/mkdocs/annotations/).
25
+
<!-- Here goes the main new features and examples or instructions on how to use them -->
33
26
34
27
### Cookiecutter template
35
28
36
-
-`pytest` now uses `-Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning` by default. Deprecations are still treated as warnings, as when testing with the `pytest_min` session is normal to get deprecation warnings as we are using old versions of dependencies.
29
+
<!-- Here new features for cookiecutter specifically -->
37
30
38
31
## Bug Fixes
39
32
33
+
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
34
+
40
35
### Cookiecutter template
41
36
42
-
- Fixed a compatibility issue in the macros doc script with `mkdocsstrings` 0.28.
37
+
<!-- Here bug fixes for cookiecutter specifically -->
0 commit comments