Frequenz Microgrid API Client Release Notes
Summary
This release removes the timezonefinder dependency to significantly reduce package size by 66M+ and enable ARM platform support.
Warning
This is a breaking change shipped in a patch release because this feature has no known users.
Upgrading
The Location.timezone field no longer performs automatic timezone lookup from latitude/longitude coordinates.
# Automatic timezone lookup (no longer works)
location = Location(latitude=52.52, longitude=13.405)
print(location.timezone) # Previously: ZoneInfo('Europe/Berlin'), now NoneIf you need timezone lookup from coordinates, install timezonefinder separately and implement manual lookup:
# Install: pip install timezonefinder
from timezonefinder import TimezoneFinder
from zoneinfo import ZoneInfo
from frequenz.client.microgrid import Location
tf = TimezoneFinder()
tz_name = tf.timezone_at(lat=52.52, lng=13.405)
timezone = ZoneInfo(tz_name) if tz_name else None
location = Location(latitude=52.52, longitude=13.405, timezone=timezone)What's Changed
- Clear release notes by @llucax in #157
- Bump the minor group with 2 updates by @dependabot[bot] in #163
- Bump the patch group with 5 updates by @dependabot[bot] in #162
- Bump pytest-asyncio from 0.26.0 to 1.0.0 by @dependabot[bot] in #164
- Remove timezonefinder dependency by @Copilot in #168
- Bump mkdocs-material from 9.6.14 to 9.6.16 in the patch group by @dependabot[bot] in #169
- Bump mypy from 1.16.1 to 1.17.1 in the minor group by @dependabot[bot] in #170
- Bump types-markdown from 3.8.0.20250415 to 3.8.0.20250708 by @dependabot[bot] in #172
- Bump pytest-asyncio from 1.0.0 to 1.1.0 by @dependabot[bot] in #174
- Bump mkdocstrings[python] from 0.29.1 to 0.30.0 in the mkdocstrings group by @dependabot[bot] in #171
- Bump async-solipsism from 0.7 to 0.8 by @dependabot[bot] in #175
- Bump types-protobuf from 6.30.2.20250516 to 6.30.2.20250703 by @dependabot[bot] in #173
- Bump the compatible group with 2 updates by @dependabot[bot] in #176
New Contributors
- @Copilot made their first contribution in #168
Full Changelog: v0.9.0...v0.9.1