v0.3.0
What's Changed
Use self defined objects instead of jsonrpc2-objects and jsonrpc2-pyclient.
Changed
- Rename
cls
parameter todevice_class
inActor
andTransparentDirector
. - Substitute
jsonrpc2-objects
andjsonrpc2-pyclient
by self written objects (#65) - Move error definitions from
pyleco.errors
topyleco.json_utils.errors
(#63) - Move
pyleco.errors.CommunicationError
topyleco.json_utils.errors
(#63) - Deprecate
generate_error_with_data
in favor ofDataError.from_error
class method (#63) - Python requirement lowered to Python 3.8 (#64)
- Rework the message buffer in the base communicator and harmonize with pipe handler's buffer (#66)
- Bump CI actions versions for node.js 20 (#62)
Added
- Add future.annotations to all files, which need it for annotations for Python 3.7/3.8.
- Add self written
RPCServer
as alternative to openrpc package.
Deprecated
- Deprecate
pyleco.errors
in favor ofjson_utils.errors
andjson_utils.json_objects
. - Deprecate to use
CommunicatorPipe.buffer
, usemessage_buffer
instead.
Fixed
- Fix Listener's communcator did not know, when listening stopped (#67)
Full Changelog: v0.2.2...v0.3.0