Releases: denpamusic/PyPlumIO
Releases · denpamusic/PyPlumIO
PyPlumIO v0.6.8
- Dropped support for pyserial-asyncio in favor of pyserial-asyncio-fast.
- Disconnects and reconnects now logged only once. Disconnect is logged at
errorlevel and reconnect is logged atinfolevel.
PyPlumIO v0.6.7
- Made response handler class available under
Request.responseproperty. - 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.StopPropagationto stop further event propagation. - Improved typing.
PyPlumIO v0.6.6
- Renamed
VirtualDevice(Device)class toLogicalDevice(Device)to improve naming consistency. - Marked Python 3.14 as compatible.
PyPlumIO v0.6.5
- Fixed incorrectly ordered
close_writer()call in reconnect and shutdown logic.
PyPlumIO v0.6.4
- 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.ethwas renamed toNetworkInfo.ethernetandNetworkInfo.wlantoNetworkInfo.wireless. Network info is now publicly available underProtocol.network_infoproperty.
PyPlumIO v0.6.3
- Renamed
fuel_factorparameter intofuel_tank_capacityand added correct step. - Fixed incorrect import.
PyPlumIO v0.6.2
- Merged sensor data into a single
Structureclass. EventManagerdata property now returns read-onlyMappingProxyTypeinstead of dictionary.- Added
ignore_out_of_rangeflag for Clamp filter. - Added value check for numeric-only filters.
- Added support for Number parameters to numeric-only filters.
- Frozen
ParameterValuesdataclass. - Improved bit split and join methods and move them to utils module.
- Improved typing.
PyPlumIO v0.6.1
- Optimized statistics handling and improved code consistency.
PyPlumIO v0.6.0
- 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
dataslotspackage, since Python 3.10 natively supports provided features. - Removed dependence on
typing-extensionspackage, 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.deviceproperty toSerialConnection.urlto avoid name clash with context manager. - Renamed
Connection.kwargstoConnection.optionsto improve readability.
PyPlumIO v0.5.56
- Added support for connection and device statistics. It is available under
AsyncProtocol.statisticsproperty, and can be easily accessed via connection object asconnection.statistics. For more information, please refer to Statistics section in project documentation.