Skip to content

Releases: Lei-k/async-pyserial

Release v0.2.3

05 Aug 12:30
Compare
Choose a tag to compare

New Features and Enhancements

Error Handling

  • Added SerialPortError to handle write and read errors.
  • Improved error handling in the callback functions for write operations in native_serialport.py.
  • Refactored internal calls to _callback_write for better error management.

Testing Improvements

  • Added extensive tests for different async workers:
    • tests/asyncio/test_serialport.py for asyncio.
    • tests/callback/test_serialport.py for callback-based operations.
    • tests/eventlet/test_serialport.py for eventlet.
    • tests/gevent/test_serialport.py for gevent.
    • tests/sync/test_serialport.py for synchronous operations.
  • Introduced utility functions for creating virtual serial ports and mocking data reception in tests/test_util.py.
  • Added tests for platform-specific behavior in tests/test_platform.py.

Documentation

  • Updated documentation version to 0.2.3 in docs/source/conf.py.

CI/CD

  • Updated GitHub Actions workflow (codecov-publish.yml) to include the dev branch.

Code Refactoring

  • Renamed and restructured test files for better organization and clarity.
  • Replaced private method names (__method_name) with protected method names (_method_name) in native_serialport.py.

Version Bump

  • Updated version to 0.2.3 in pyproject.toml, setup.py, and async_pyserial/__init__.py.

Bug Fixes

  • Fixed various minor bugs and improved stability in serial port operations.

Contributors:

  • Neil Lei

For detailed changes, refer to the commit history.

Installation

pip install async_pyserial==0.2.3

v0.2.2 Release

29 Jul 11:35
Compare
Choose a tag to compare

patch release

v0.2.1 Release

29 Jul 11:19
Compare
Choose a tag to compare

patch release

  • fix darwin build
  • publish source distribution

Bump version to v0.2.0

29 Jul 11:01
Compare
Choose a tag to compare
  • Add callback functionality for read/write operations.
  • Integrate gevent, eventlet, and asyncio support.
  • Update examples to demonstrate new async features.
  • Implement async read/write with gevent, eventlet, and asyncio.
  • Improve error handling and thread synchronization.

Bump version to v0.1.3

26 Jul 17:44
65aac69
Compare
Choose a tag to compare
  • Enhanced EventEmitter with decorator support for adding event listeners.
  • Added remove_listener and remove_all_listeners methods for managing event listeners.
  • Updated unit tests to cover new functionalities.
  • Improved documentation and examples for better clarity.

First Release

22 Jul 13:42
a8d5681
Compare
Choose a tag to compare

First Release