Skip to content

v0.2.0

Choose a tag to compare

@marklynch marklynch released this 01 Mar 05:24
47954d4

[0.2.0] - 2026-02-25

Added

  • Added autoreconnect functionality
  • Added docstrings to all public methods that were missing them
  • Explicit all: Added all = ["HDMIMatrix", "AsyncHDMIMatrix", "Commands"]

Changed

  • Use logging.INFO instead of 'INFO' string when setting loglevel
  • Cleanup extra whitespace in file
  • Refactored HDMIMatrix and AsyncHDMIMatrix to reduce duplicated code
  • Import organization: Reorganized imports in alphabetical order for better maintainability
  • Logging improvements: Added guard to prevent duplicate log handlers when multiple instances share the same logger
  • Socket timeout handling: Wrapped welcome banner reception in try-except to gracefully handle devices that don't send one
  • Error handling in _read_response: Improved exception handling with proper socket timeout restoration using a finally block to ensure cleanup even when errors occur
  • Async event loop: Replaced deprecated asyncio.get_event_loop() with asyncio.get_running_loop() for better async context handling

What's Changed

  • Improve error handling and code quality in HDMI matrix library by @marklynch in #1

New Contributors

Full Changelog: v0.1.0...v0.2.0