Releases: pymeasure/pyleco
v0.6.0.post1
What's Changed
The JSON RPC objects and their parsing improved, but also the errors are more in line with JSONRPC.
Changed
- Breaking: Return JSON defined errors from the rpc server return instead of
Servererror(#130) - Breaking: Return
ParseErrorfrom the rpc generator instead ofInvalidServerResponse - Use json objects for testing. by @BenediktBurger (#131)
- Update github actions by @BenediktBurger (#120, #121, #122, #123, #124 #139)
- Update ruff configuration for pipeline by @BenediktBurger (#126)
- Refactor message handler by @BenediktBurger (#137)
- Better json parsing by @BenediktBurger (#134)
- Make Coordinator send a notification after coordinator sign in instead of a request by @BenediktBurger (#140)
Added
- Add JSON-RPC notifications by @BenediktBurger (#127)
- Add send notification by @BenediktBurger (#138)
Deprecated
- Deprecate
BatchObjectin favor ofJsonRpcBatch
Fixed
- Fix exception chaining to use
fromby @BenediktBurger (#119) - Fix link to pyleco-extras on gitlab by @BenediktBurger (#125)
- Fix rpc server to raise an exception if a method is redefined by @BenediktBurger (#136)
Full Changelog: v0.5.0...v0.6.0.post1
v0.6.0
What's Changed
The JSON RPC objects and their parsing improved, but also the errors are more in line with JSONRPC.
Changed
- Breaking: Return JSON defined errors from the rpc server return instead of
Servererror(#130) - Breaking: Return
ParseErrorfrom the rpc generator instead ofInvalidServerResponse - Use json objects for testing. by @BenediktBurger (#131)
- Update github actions by @BenediktBurger (#120, #121, #122, #123, #124 #139)
- Update ruff configuration for pipeline by @BenediktBurger (#126)
- Refactor message handler by @BenediktBurger (#137)
- Better json parsing by @BenediktBurger (#134)
- Make Coordinator send a notification after coordinator sign in instead of a request by @BenediktBurger (#140)
Added
- Add JSON-RPC notifications by @BenediktBurger (#127)
- Add send notification by @BenediktBurger (#138)
Deprecated
- Deprecate
BatchObjectin favor ofJsonRpcBatch
Fixed
- Fix exception chaining to use
fromby @BenediktBurger (#119) - Fix link to pyleco-extras on gitlab by @BenediktBurger (#125)
- Fix rpc server to raise an exception if a method is redefined by @BenediktBurger (#136)
Full Changelog: v0.5.0...v0.6.0
v0.5.0.post1
What's Changed
Remove openrpc dependency and rely on built in RPC server.
(contains new publish version)
Removed
- Remove openrpc dependency (#116)
Changed
- Convert unit tests to integration tests with json rpc (#115)
- Remove code coverage limits for the pipeline.
Full Changelog: v0.4.2...v0.5.0
v0.5.0
What's Changed
Remove openrpc dependency and rely on built in RPC server.
Removed
- Remove openrpc dependency (#116)
Changed
- Convert unit tests to integration tests with json rpc (#115)
- Remove code coverage limits for the pipeline.
Full Changelog: v0.4.2...v0.5.0
v0.4.2
What's Changed
- Fix trigger variable str breaks data_logger save (111)
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's changed
Increased test coverage and bug fixes.
Changed
- Openrpc is optional (available via
openrpcoption) for Python 3.13 onwards. - Rework rpc server (#102)
- Increase test coverage (#104)
- Change copyright year to 2025 (#106)
Added
Fixed
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
Binary data handling facilitated with utility functions.
Changed
- Proxy_server stops if binding failed (#86)
Added
- Add convenience functions for using additional frames for binary payload (#82)
- Improve getting_started and readme documentation (#80)
- Add RELEASE.md (#79)
- Add locking actor (#84)
Fixed
- Fix listener documentation (#88)
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
v0.3.0
What's Changed
Use self defined objects instead of jsonrpc2-objects and jsonrpc2-pyclient.
Changed
- Rename
clsparameter todevice_classinActorandTransparentDirector. - Substitute
jsonrpc2-objectsandjsonrpc2-pyclientby self written objects (#65) - Move error definitions from
pyleco.errorstopyleco.json_utils.errors(#63) - Move
pyleco.errors.CommunicationErrortopyleco.json_utils.errors(#63) - Deprecate
generate_error_with_datain favor ofDataError.from_errorclass 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
RPCServeras alternative to openrpc package.
Deprecated
- Deprecate
pyleco.errorsin favor ofjson_utils.errorsandjson_utils.json_objects. - Deprecate to use
CommunicatorPipe.buffer, usemessage_bufferinstead.
Fixed
- Fix Listener's communcator did not know, when listening stopped (#67)
Full Changelog: v0.2.2...v0.3.0