Repository navigation
3.13.0
The layout hash: no more raising cfgRev
The Dash app fetches a device's layout again only when the device reports a different layout ID. Until now that was cfgRev, which had to be raised by hand every time the layout changed. A device now reports # and the 64-bit FNV-1a hash of its layout instead, so the app notices a changed layout by itself. See How layouts work.
- On by default.
device.layout_idis what the device reports. - Older Dash apps: app versions from before the hash take the device as having no layout. Update the app, or use
Device(..., layout_hash=False)to report cfgRev as before. - When cfgRev is still used: a device with layouts loaded for more than one column count (one hash can't describe them all), with
layout_hash=False, and afteruse_cfg(). In those cases, keep raising cfgRev as before (Keeping cfgRev up to date). - The Dash server checks the layout a store and forward device sends it against the hash, and they match.
TextBox colours
- Setting
colororcaption_colornow sends it. Before, the new colour only went to the app with the next text. - When an app connects, a TextBox sends its text and its caption, each in its colour. Before, the app showed the text in white after every reconnect, and didn't get the caption.
Full changes: 3.12.0...3.13.0