Skip to content

Tags: flexiblepower/s2-python

Tags

v0.9.0

Toggle v0.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
139: Split up S2Connection into a sync and async interface as well as…

… decoupling the underlying medium e.g. websockets, mqtt and d-bus interfaces (#144)

* 139: Moving big chunks of code places.

* 139: Finish up first draft before executing it.

* 139: Get async mostly to work, started on getting sync to work.

* 139: Add a bunch of stuff. Threading/task management is now clear for sync and async S2 connections and quickstart for BlockingWebsocketRM is created.

* 139: Some fixes.

* 139: Fix all linting issues.

* 139: Fix all linting and typing issues.

* 139: Propagate asset details from ResourceManagerHandler to all underlying control types.

* 139: Fix missing return value in func sig.

* 139: Add examples on how to perform another task after the connection is live.

* 139: Add functionality to let ws_medium disconnect.

* 139: websockets import should be behind the try import.

* 139: Fix typing and linting issues and add docs regarding the verify_certificate and how it prevents security.

* 139: Document the send_and_await_reception_status functions for both sync and async.

* 139: Add DDBC control type handlers in class based approach.

v0.8.2

Toggle v0.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README with S2 standard resources (#154)

Added additional resources and links related to the S2 standard, in line with those listed in the s2-rust repo.

v0.8.1

Toggle v0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
142: Add first code owners. (#143)

* 142: Add first code owners.

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix missing message id override in PPBC classes (#134)

* message_id should be available in all ppbc messages, split up type of messages with a message id vs without and ensure that to_dict is json serializable.

* Write S2Message and S2MessageWithID as type aliases.

* Ensure that setuptools-scm and typing-extensions are available.

* to_dict should take a mode and add some unit tests.

* json.dumps should work for to_dict if mode is set to json

* Split to_dict with json and python modes into separate functions.

* Fix typo.

v0.7.1

Toggle v0.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Leverage str, enum capability of Python for any generated enums (#133)

* str_enum: Change generation of S2 specification to include the subclass of an enum.

* str_enum: Exclude generated files from pyright check.

* str_enum: ombc classes should be explicitely exported in init.

* str_enum: add missing Any to dict type in S2Parser.

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
131: Move wrapping of pydantic exceptions for model validate, setattr…

…, and model_validate_json to the S2MessageComponent mixin instead of wrapping it using the decorator to preserve classmethod on inheritence for model_validate. (#132)

* 131: Move wrapping of pydantic exceptions for model validate, setattr, and model_validate_json to the S2MessageComponent mixin instead of wrapping it using the decorator to preserve classmethod on inheritence for model_validate.

* 131: Add unit test case for inheritance of message.

v0.6.0

Toggle v0.6.0's commit message
auto version numbering based on git tag

v0.5.0

Toggle v0.5.0's commit message
Update version to 0.5.0

v0.4.1

Toggle v0.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: update pydantic requirement to allow higher versions (#76)

* fix: update pydantic requirement to allow higher versions

Signed-off-by: F.N. Claessen <[email protected]>

* chore: release v0.4.1

Signed-off-by: F.N. Claessen <[email protected]>

---------

Signed-off-by: F.N. Claessen <[email protected]>

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #75 from flexiblepower/release/v0.4.0

chore: release v0.4.0