Skip to content

Releases: denpamusic/PyPlumIO

PyPlumIO v0.6.8

07 Jan 22:06
bde57b4

Choose a tag to compare

  • Dropped support for pyserial-asyncio in favor of pyserial-asyncio-fast.
  • Disconnects and reconnects now logged only once. Disconnect is logged at error level and reconnect is logged at info level.

PyPlumIO v0.6.7

03 Dec 21:59
6d0ba3b

Choose a tag to compare

  • Made response handler class available under Request.response property.
  • Implemented Request.validate_response(response: Response) method to validate that request is valid for response.
  • Improved event control. Callback can now return object pyplumio.helpers.event_manager.StopPropagation to stop further event propagation.
  • Improved typing.

PyPlumIO v0.6.6

14 Nov 00:07
40bf0ee

Choose a tag to compare

  • Renamed VirtualDevice(Device) class to LogicalDevice(Device) to improve naming consistency.
  • Marked Python 3.14 as compatible.

PyPlumIO v0.6.5

10 Nov 14:03
0a7324e

Choose a tag to compare

  • Fixed incorrectly ordered close_writer() call in reconnect and shutdown logic.

PyPlumIO v0.6.4

10 Nov 03:05
c17c7ed

Choose a tag to compare

  • Simplified and improved AsyncProtocol by removing producer-consumer pattern and replacing it with much simpler frame handler task.
  • Improved protocol shutdown by draining the queue on shutdown.
  • Renamed network info related parameters. NetworkInfo.eth was renamed to NetworkInfo.ethernet and NetworkInfo.wlan to NetworkInfo.wireless. Network info is now publicly available under Protocol.network_info property.

PyPlumIO v0.6.3

21 Oct 23:54
1c50446

Choose a tag to compare

  • Renamed fuel_factor parameter into fuel_tank_capacity and added correct step.
  • Fixed incorrect import.

PyPlumIO v0.6.2

11 Oct 22:35
4f707ff

Choose a tag to compare

  • Merged sensor data into a single Structure class.
  • EventManager data property now returns read-only MappingProxyType instead of dictionary.
  • Added ignore_out_of_range flag for Clamp filter.
  • Added value check for numeric-only filters.
  • Added support for Number parameters to numeric-only filters.
  • Frozen ParameterValues dataclass.
  • Improved bit split and join methods and move them to utils module.
  • Improved typing.

PyPlumIO v0.6.1

27 Sep 17:42
7cf7d58

Choose a tag to compare

  • Optimized statistics handling and improved code consistency.

PyPlumIO v0.6.0

18 Sep 10:56
fb1c17d

Choose a tag to compare

  • Bumped minimum required Python version to 3.10 due to approaching eol of Python 3.9. This makes PyPlumIO v0.5.x branch last to support Python 3.9. See: https://devguide.python.org/versions/
  • Removed dependence on dataslots package, since Python 3.10 natively supports provided features.
  • Removed dependence on typing-extensions package, since Python 3.10 natively supports all typing used in this project.
  • Added support for accessing the device with async context manager via async with connection.device(device_name) as device:. Please note that this is now preferred method to access device. Feel free to refer to updated Reading section of PyPlumIO documentation for more examples.
  • Renamed SerialConnection.device property to SerialConnection.url to avoid name clash with context manager.
  • Renamed Connection.kwargs to Connection.options to improve readability.

PyPlumIO v0.5.56

04 Sep 15:27
61d991c

Choose a tag to compare

  • Added support for connection and device statistics. It is available under AsyncProtocol.statistics property, and can be easily accessed via connection object as connection.statistics. For more information, please refer to Statistics section in project documentation.