Skip to content

0.6.0

Compare
Choose a tag to compare
@mhthies mhthies released this 10 Apr 11:55
· 248 commits to main since this release
653f30b

New Features

Breaking Changes

  • Web: WebServer.serve_static_file() returns full URL of static file (including WebServer.root_url)
  • Web: WebServer.add_js_file() and WebServer.add_css_file() have been replaced with WebServer.add_static_directory()

Improvements

  • SHCWebClient interface mitigates more state inconsistencies by reflecting probably conflicting received updates back to the server
  • Expressions: Make expressions more efficient by using the published value instead of reading all values upon triggered update
  • PulseAudio: shc.interfaces.pulse can be imported without needing libpulse installed to use the PulseAudio datatypes

Fixes

  • Web API: Fix InvalidState error after a long poll on the HTTP/REST API has been aborted
  • base: Fix detection of (possible) conflicting updates to synchronous .trigger()s for mitigating state inconsistencies in Subscribable._publish()
  • Fix exponential backoff timeout when reconnecting to MQTT/SHC API/etc. to reset on successful connection
  • Do not include SHC's tests in Pip/PyPI distribution
  • PulseAudio: Fix handling of exceptions in *PeakConnector

Documentation