0.7.0
New Features
- The Slider web widget now can be supplemented with two buttons to the left and right via the new constructor parameters
left_button
andright_button
.- Including a ready-to-use variant MinMaxButtonSlider with buttons that move the slider to the minimum/maximum value have
- Added the UpdateExchange class: A stateless alternative to
shc.Variable
, allowing to connect multiple connectable objects through a single point and to split up tuple values by subscribing to individual fields. - Added the FilePersistenceStore for persisting values over SHC restarts in a JSON file
Breaking Changes
None
Improvements
- The
@shc.handler
and@shc.blocking_handler
decorators now support decorating functions with less than two parameters: origin and value of the value update are only passed to the handler function if the parameters is present. - Added a logo for Smart Home Connect. The logo is also used as favicon and app icon for the web interface
- Updated SemanticUI framework with many fixes for the web UI (esp. touch event handling of Sliders and the menu)
- Updated all NPM packages to mitigate bugs and security flaws
Fixes
- Fixed possible value update loops, caused by concurrent updates via multiple objects, resulting in inconsistent states in the end. Fixed by delaying re-published value updates (with resetted origin) randomly.
- SHCWebClient: Fixed broken decoding of complex values in reflected value updates (during concurrent updates)
- mypy_variable_plugin: Fixed support for newer MyPy versions