Skip to content

v0.3.0

Compare
Choose a tag to compare
@BenediktBurger BenediktBurger released this 13 Mar 14:47
· 88 commits to main since this release

What's Changed

Use self defined objects instead of jsonrpc2-objects and jsonrpc2-pyclient.

Changed

  • Rename cls parameter to device_class in Actor and TransparentDirector.
  • Substitute jsonrpc2-objects and jsonrpc2-pyclient by self written objects (#65)
  • Move error definitions from pyleco.errors to pyleco.json_utils.errors (#63)
  • Move pyleco.errors.CommunicationError to pyleco.json_utils.errors (#63)
  • Deprecate generate_error_with_data in favor of DataError.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 of json_utils.errors and json_utils.json_objects.
  • Deprecate to use CommunicatorPipe.buffer, use message_buffer instead.

Fixed

  • Fix Listener's communcator did not know, when listening stopped (#67)

Full Changelog: v0.2.2...v0.3.0