Skip to content
pySHV version 0.7.0

Added
* Support for WebSockets transport
* NixOS module for pyshvbroker
* `RpcLogin` now provides password validation algorithm and conversion
  from and to SHV login parameter
* RPC servers now have `terminate` and `wait_terminated` method that
  terminates not server but also its clients
* Support for string arguments in places where `RpcUrl` is being used

Changed
* Broker's configuration format changed from INI to TOML as well as the
  concept of the configuractuion changed. Please update your
  configuration according to the new documentation.
* Broker now filters signals based on the source method not signal name
* `RpcBrokerConfig` completely rewritten
* `RpcBroker` client are now registered only if they are active
* `RpcProtocol.SERIAL` renamed to `RpcProtocol.TTY`
* `RpcInvalidParamsError` was renamed to `RpcInvalidParamError`
* `RpcErrorCode.INVALID_PARAMS` was renamed to
  `RpcErrorCode.INVALID_PARAM`

Removed
* `RpcRI` in favor of using strings and `rpcri_*` functions

Fixed
* `SimpleBase.ping` now uses `.broker/app` instead of
  `.broker/currentClient` on pre-SHV3 brokers
* `is_shvlist` now excludes strings and bytes to not invalidly classify
  them as lists
* `shvarg` and `shvargt` now correctly manages single values and
  provides them only as for zero index (was for all indexes)
* `RpcServerTTY` no longer raise `asyncio.CancelledError` when its being
  closed