Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 16:55
· 777 commits to main since this release
  • Add zng::env::on_process_start! to inject custom code in zng::env::init!.
  • Add zng::env::on_process_exit to register a handler for process exit.
  • Add zng::env::exit to collaboratively exit the process.
  • Add zng::app::on_app_start to register a handler to be called when the APP context starts.
  • Implement From<Txt> for std::ffi::OsString.
  • Add KeyLocation.
  • Fix numpad shortcuts.
  • Breaking Remove zng_view::init, zng_view_prebuilt::init, zng::view_process::default::init, zng::view_process::prebuilt::init.
    • Only zng::env::init!() needs to be called to setup the view-process.
  • Breaking Remove zng_view::extensions::ViewExtensions::new.
    • Now use zng_view::view_process_extension! to declare.
  • Breaking zng_view_api::Controller::start now requires the exe path and supports optional env variables to set.
    • This only affects custom view-process implementers.
  • Breaking New default zng::env::res, was ./assets now is ./res.
  • Breaking Renamed zng_view_prebuilt::ViewLib::init to view_process_main.
  • Breaking Remove is_single_instance, single_instance, single_instance_named.
    • Single instance now enabled automatically just by setting feature="single_instance".
  • Breaking Add name requirement for zng::task::ipc workers.
    • Workers are no longer limited to a single entry with an enum switch.
    • Use zng::env::on_process_start! to declare the worker entry anywhere.
  • Breaking Remove zng::app::crash_handler::init and CrashConfig::new.
    • Use zng::app::crash_handler::crash_handler_config to config.
  • Breaking Methods of HeadlessAppKeyboardExt now require key location.