Skip to content

v1.5.0

Choose a tag to compare

@jeeftor jeeftor released this 29 Mar 01:34
· 28 commits to master since this release

What's Changed

Bug Fixes

  • Fix intermittent KeyError crash (HA issue #164441, closes #126) — ForecastHourly.sea_level_pressure and precip_probability are now Optional fields. The WeatherFlow API occasionally omits these despite documenting them as required, which previously caused a KeyError during deserialization and broke the Home Assistant integration.

Type Safety

  • Fix dict slice annotation syntax in stations.py
  • Fix Optional parameter defaults in api.py and websocket_request.py
  • Promote LightingStrikeType to a proper str enum

Security

  • Add pip-audit pre-commit hook for automated vulnerability scanning
  • Upgrade aiohttp → 3.13.4 (8 CVEs fixed)
  • Upgrade filelock → 3.25.2
  • Upgrade marshmallow → 3.26.2
  • Upgrade virtualenv → 21.2.0

Tooling

  • Migrate from Poetry to uv for dependency management
  • Add ty type checker as a pre-commit hook