v1.1.0
Frequenz Core Library Release Notes
New Features
-
A new
frequenz.core.enummodule was added, providing a drop-in replacementEnumthat supports deprecating members.Example:
from frequenz.core.enum import Enum, DeprecatedMember class TaskStatus(Enum): OPEN = 1 IN_PROGRESS = 2 PENDING = DeprecatedMember(1, "PENDING is deprecated, use OPEN instead") DONE = DeprecatedMember(3, "DONE is deprecated, use FINISHED instead") FINISHED = 4 status1 = TaskStatus.PENDING # Warns: "PENDING is deprecated, use OPEN instead" assert status1 is TaskStatus.OPEN
What's Changed
- Bump the minor group with 3 updates by @dependabot[bot] in #78
- Bump pytest-asyncio from 0.26.0 to 1.0.0 by @dependabot[bot] in #76
- Bump the patch group with 5 updates by @dependabot[bot] in #77
- Enhance README.md for better project discoverability by @Copilot in #79
- Bump mkdocs-material from 9.6.14 to 9.6.16 in the patch group by @dependabot[bot] in #83
- Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #84
- Bump async-solipsism from 0.7 to 0.8 by @dependabot[bot] in #85
- Bump the compatible group with 2 updates by @dependabot[bot] in #86
- Bump the minor group with 2 updates by @dependabot[bot] in #80
- Bump pytest-asyncio from 1.0.0 to 1.1.0 by @dependabot[bot] in #82
- Bump the mkdocstrings group across 1 directory with 2 updates by @dependabot[bot] in #87
- Add
Enumclass that supports deprecated members by @llucax in #88
New Contributors
- @Copilot made their first contribution in #79
Full Changelog: v1.0.2...v1.1.0