Releases
v0.10.0
Compare
Sorry, something went wrong.
No results found
Breaking Removed support for {lang}.ftl localization files, now is named {lang}/_.ftl.
Breaking Removed L10N.localized_message, use L10N.message(..).build_for(lang).
Breaking cargo zng l10n CLI refactor.
Now requires arg name for input and output.
Pseudo arg values now define a dir and lang to generate pseudo from.
Add cargo zng l10n --package/--manifest-path for scrapping from lib crates for publishing.
Fix localization scrapper only adding section comments to main file.
Add localization helper for commands.
Set l10n!: true in command! declarations to localize metadata.
Use cargo zng l10n to scrap metadata.
Breaking Use HashSet for EVENTS.commands.
Impl std::hash::Hash for AppLocal<T>, AnyEvent and Command.
Add zng::button::PrimaryStyle.
Breaking View API now groups color scheme with a new accent color config.
Breaking Refactored "color pair".
Now named LightDark.
Removed helper methods for declaring vars, now IntoVar<Rgba> for LightDark is contextual.
Add light_dark helper function and LightDarkVarExt helper methods.
Breaking Removed BASE_COLORS_CAR form specific widgets, now use the unified zng::color::BASE_COLOR_VAR.
Add TextEditOp::clear.
Add button::LightStyle!() and toggle::LightStyle!().
Fix when expr not recognized.
Fix WINDOWS.is_loading.
Add WINDOWS.wait_loaded.
Breaking Refactored Button::cmd_param to accept any type var.
Fix SelectionBy::Mouse never being set on mouse selection.
Add auto-selection on click, when the action does not disrupt the user.
Breaking Refactored AutoSelection into bitflags that implement more features.
Add CONFIG.insert.
BReaking Config::get and AnyConfig::get_raw now also receives an insert boolean.
Breaking CONFIG.get and Config::get now receive a default value, not a closure.
The closure was immediately evaluated by most config backends.
Breaking Refactored zng_wgt_window::SaveState.
Is now in zng::config::SaveState.
Does not define window load wait time.
A new Window::config_block_window_load property handles blocking for all configs on window.
Add zng::config::save_state_node helper for declaring state persistency properties for other widgets.
Automatic config keys now require an ID name.
Fix "child_insert" layouts when the children end-up having a single full widget and other non-widget nodes.
Add TextInput::placeholder.
Add TextInput::placeholder_txt.
Add Container::child_under/over.
Add ChildInsert::Under/Over.
Add zng::text_input::SearchStyle.
Breaking Refactored zng::icon::material* modules and zng-wgt-material-icons.
Removed consts for each icon.
Modules renamed to zng::icon::material::*.
Now uses a phf map from string names.
To convert an old const name, lowercase + replace '_' with '-' and strip 'N' prefix if the next char is a number.
Example: N1K_PLUS -> "1k-plus".
Now registers ICONS for each name.
Breaking Moved CommandIconExt from zng-wgt-text to zng-wgt.
Icon! now auto-sizes by default.
Add zng::widget::ICONS.
Add zng::widget::WeakWidgetFn.
Add zng::widget::EDITORS.
Add dyn AnyConfig::get_raw_serde_bidi.
Add AnyVarValue::eq_any.
Add zng::config::settings.
You can’t perform that action at this time.