Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Apr 20:43
· 414 commits to main since this release
  • Panics in task::respond are now resumed in the response var modify closure.
  • Add task::ipc module, for running tasks in worker processes.
  • Breaking: Remove "bytemuck" feature from zng-unique-id.
    • Now must use impl_unique_id_bytemuck! to generate the impls.
    • Note that this is only a breaking change for direct dependents of zng-unique-id.
  • Add single app-process instance mode.
    • Adds zng-ext-single-instance crate re-exported in zng::app when non-default
      Cargo feature "single_instance" is enabled.
  • Implement AsRef<std::path::Path> for Txt.
  • Implement AsRef<std::ffi::OsStr> for Txt.
  • Add app-process crash handler.
    • Adds zng::app::crash_handler.
    • Can be used to easily implement crash reporting, stacktrace and minidump
      collection, app restart on crash.
    • Call zng::app::crash_handler::init_debug() to quickly setup panic and minidump collection.
  • Fix view-process kill by user not working after respawn.
  • Fix view-process assuming any signal kill was requested by the user.
  • Fix potential issue retrieving current_exe trough symbolic links.
  • Fix view-process panic message.
  • Add APP.about.
  • Fix AnsiText! not resetting style.
  • Markdown! widget now uses AnsiText! for ```console code block.
  • Fix auto_size not using the min/max_size constraints.
  • Breaking: Change return type of SCROLL.vertical_offset, SCROLL.horizontal_offset and SCROLL.zoom_scale.
    • Changed only from ReadOnlyContextVar<Factor> to ContextVar<Factor> so it has minimal impact.
  • Add vertical_offset, horizontal_offset and zoom_scale properties in Scroll!.
    • Users should prefer using scroll commands over these properties, but they are useful for implementing features
      like binding two side-by-side scrolls, saving scroll state.