Skip to content
pySHV version 0.4.0

pySHV now conforms with work in progress SHV standard 3.0!

Added
* `SimpleClient.ls_has_child` to query if child node exists
* `SimpleClient.dir_description` to get description of a single method
* `SimpleClient` now supports multiple call attempts
* `SimpleDevice` that should be used with devices

Changed
* `RpcMessage` API to now use properties instead of methods
* Removed unused argument `login_options` for `SimpleClient.connect`
* `SimpleClient.dir_details` is now `SimpleClient.dir` and old `dir`
  implementation is removed
* `RpcClientStream` is replaced with `RpcClientTCP` and `RpcClientUnix`
* `RpcClientSerial` is replaced with `RpcClientTTY`
* `RpcServerStream` is not replaced with `RpcServerTCP` and
  `RpcServerUnix`
* Broker configuration now no longer contains `rules` sections and
  instead we specify `methods` in `roles` sections. Methods are
  combination of path and method that is used to identify methods this
  role is applied to.
* `RpcClient.connected` is not property instead of plain method
* Broker now allows all users browse access to the `.app` and read
  access to the `.app/broker/currentClient`.
* Received invalid messages are now skipped instead of raising
  exception.
* `SimpleClient.login` and `SimpleClient.urllogin` renamed and moved to
  `rpclogin` and `rpclogin_url` respectively

Removed
* `SimpleClient.ls_with_children` as that is now invalid with SHV 3.0
* Support of UDP (not part of standard)