v0.17.0
This release contains breaking changes that affect the build and app startup.
-
Breaking Removed deprecated crate features and deprecated items.
To migrate, first update to latest
0.16version and build, since0.16.3building with deprecated features print
a warning message with fix suggestions. The0.16.3release notes also contains details about the changes. -
Breaking Change
APP.is_runningto only betruewhen the app is actually running.- Add
APP.is_startedto track app lifetime start, during the app extensions setup. - Services that require an app extension to function now assert this on first use.
These changes are runtime breaking, trying to use app services after build starts and before run now panics.
To migrate move all init code that is not app extension setup to insideAPP.run*. This change affects users ofcargo zng new
with the defaultzng-template. - Add
-
Breaking Renamed
ModifiersStateLOGO -> SUPER that was missed from a previous rename. -
Breaking Syntax of the advanced
font_variations!macro changed to better integrate withcargo zng fmt. -
Breaking Advanced Window API crate
zng-ext-windownow has feature"image"for optionally compiling image API. -
Breaking Renamed
UiNodeOpMethodtoUiNodeMethodand added list methods, to support tracing list nodes. -
Fix feature
zng/confignot enabling requiredzng/fs_watcher. -
Add
readassociated function forzng::config::{JsonConfig, RonConfig, TomlConfig, YamlConfig}.- This is a more efficient alternative to wrapping
syncwithReadOnlyConfig.
- This is a more efficient alternative to wrapping