Skip to content

Releases: svasek/python-neopool-modbus

v2.0.0

Choose a tag to compare

@svasek svasek released this 07 Jun 12:42
c60f4b7

2.0.0 (2026-06-07)

⚠ BREAKING CHANGES

  • callers that caught pymodbus.ConnectionException / pymodbus.ModbusException must catch NeoPoolError (or a subclass) instead.

✨ Features

  • 💥 raise NeoPool*Error subclasses on every failure path (#3) (f026d69)

v1.1.0

Choose a tag to compare

@svasek svasek released this 06 Jun 22:56
cf8fe14

1.1.0 (2026-06-06)

✨ Features

  • ✨ add async_probe_serial for one-shot device discovery (#4) (29995b8)

v1.0.0

Choose a tag to compare

@svasek svasek released this 06 Jun 21:19
ca4eb5a

1.0.0 (2026-06-06)

⚠ BREAKING CHANGES

  • async_write_aux_relay() now raises ValueError when relay_index is outside 1-4, where the previous version returned None and logged an error. Callers that relied on the silent no-op must validate the index themselves or wrap the call in a try/except.
  • PERIOD_MAP and PERIOD_SECONDS_TO_KEY have been removed from neopool_modbus.registers. They were only meaningful to the Home Assistant integration's select entity and live in custom_components/neopool/const.py from v4.0.0 onwards. Library consumers that imported either dict must inline the mapping themselves.

✨ Features

  • 💥 raise ValueError on invalid AUX relay index (269b7df)
  • 💥 remove PERIOD_MAP / PERIOD_SECONDS_TO_KEY, mark library Production/Stable (827fe3d)

🐛 Bug Fixes

  • 🩹 grant publish-pypi job contents:write for asset upload (cd48aed)
  • client: 🐛 fall through to device read when timer cache is incomplete (c5268ad)
  • client: 🐛 move get_client() and total_writes bump into _perform_write_timer try block (e261f47)
  • client: 🐛 verify isError() on EEPROM save and EXEC after timer write (488e8c5)
  • client: 🐛 verify isError() on every AUX relay write (d5598f4)

♻️ Refactoring

  • ♻️ collapse aux relay set/clear if-else into ternary (aff22fa)

🎨 Style

  • 🎨 collapse one-statement raise to single line (974e709)
  • 💄 fix lint findings in test files (B/RUF/SIM) (25c743c)
  • 💄 replace ambiguous unicode dashes with ASCII hyphens (8fbbc38)

v0.2.0

Choose a tag to compare

@svasek svasek released this 06 Jun 14:06
75c9f83

0.2.0 (2026-06-06)

✨ Features

  • ✨ add decoders module (6c69762)
  • ✨ add registers module (37ac24c)
  • ✨ add status_mask module (211bf66)
  • ✨ define public exception hierarchy and module API (d17d9a6)
  • ✨ port NeoPoolModbusClient to library (d130527)

🐛 Bug Fixes

  • 🩹 remove unsupported // comment from pyrightconfig.json (504efcb)

🎨 Style

  • 🎨 reflow long lines after modbus_acall inlining (6fdc344)