Skip to content
pySHV version 0.8.0

Added
* utility class `SHVMethods` providing easier and less error-prone way
  of declaring methods and properties
* User's ID for signal messages (this was added as an option in SHV
  standard)
* `SHVBase._ls_node_for_path` helper
* Support for alerts in `SHVDevice`
* `RpcAlert` as abstraction for device alerts
* `shvtypes` module with utilites to work with RPC type hints
* `.device:uptime` and `.device:reset`

Changed
* "Simple" API was renamed to SHV and thus `SimpleClient` is now
  `SHVClient`
* `SHVBase._method_call` now accepts `SHVBase.Request` as a single
  argument instead of previously passed five arguments.
* `SHVBase._got_signal` now accepts `SHVBase.Signal` as a single
  argument instead of previously passed four arguments.
* method `_value_update` was moved from `SHVBase` to `SHVValueClient`
* `RpcMessage.next_request_id` now roll overs after fifteen minutes

Removed
* `RpcMessage.last_request_id`

Removed
* `SHVBase._signal` as it can be easily replaced by `SHVBase._send` in
  combination with `RpcMessage.signal`
* `SHVBase._lsmod` and replaced by `RpcMessage.lsmod` in combination
  with `SHVBase._send`

Fixed
* Close of TTY client causing `TypeError` to be raised in receive task
* Unpacking blobs of zero length from ChainPack