Skip to content

Release version 3.2.0

Julius Balzer requested to merge development into main

Summary

!369 (merged), !365 (merged), !367 (merged), !373 (merged), !368 (merged), !377 (merged), !370 (merged), !358 (merged), !374 (merged), !371 (merged), !372 (merged), !363 (merged), !357 (merged), !345 (merged) (old), !386 (merged), !381 (merged), !360 (merged), !394 (merged), !383 (merged), !361 (merged), !390 (merged)

  • changed default branch from 'master' to 'main'

Release v3.2.0

This release adds two new connections ForecastSolarConnection to read data from the solar forecasting service forecast.solar and EmonioConnection to read data from an emonio electricity meter. Also Poetry and some other dependencies are updated. For linting and formatting we switched to ruff.

Breaking changes:

  • BaseConnection.from_node() can no longer handle different netlocs(host/protocol) for nodes. Use BaseConnection.from_nodes() instead.
  • Updated pandas from 2.0.3 to 2.2.2
    • The new pandas version introduces some new deprecations:
      • using df.ffill() instead of df.fillna(method="ffill")
      • resampling a dataframe with a lowercase s instead of uppercase S for seconds
      • indexing a dataframe with d.iloc(i) instead of d[i] with integers

New features:

  • Adds EmonioConnection class, tests and helpers as well as documentation.
  • Adds ForecastSolarConnection class, tests and helpers as well as documentation.
  • Added word order handling for modbus nodes (needed by Emonio)
  • Using ruff for linting and formatting instead of flake8, black, isort, pyflakes and pyupgrade
  • Updated numpy from 1.24.0 to 1.26.0
  • Updated wetterdienst from 0.72.0 to 0.81.0
  • Updated mypy from 1.5 to 1.9
  • Updated Poetry from 1.6.1 to version 1.8.2
  • Set StateVar.name as default value to StateVar.ext_id
  • Ugraded Node typing:
    • Introduced generics in place of AnyNode.
    • Nodes should be used with a Node Type, e.g. Nodes[NodeModbus]
  • Added an own documentation page (with improved docs) for the WetterdienstConnections

Bugfixes:

  • Fixed macOS installation
  • Mypy dependencies in pre-commit now have the same version as eta-utility
  • Modbus tests run on Linux/Mac without root access
  • Fixed decoding of boolean modbus values
  • Fixed log_format setting for the logging filehandler
  • Nodes get divided into connections by netloc instead of by hostname
  • Pass initialization parameters for environments explicitly
    • Fixes error that occured when using pre eta_utility 3.x environments
  • Fixed error handling in environment handling block of eta_x
Edited by A.Clement

Merge request reports