Skip to content

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 17 Apr 05:47
· 84 commits to main since this release
2a16bee

This release contains only advanced API breaking changes, it should not affect most use cases. The changes
improve IPC performance and security.

  • Fix WATCHER panics on read error.
  • Breaking Change ByteLength inner type to u64.
  • Add IpcReadHandle and related types.
    • Breaking View-process API now reads image and audio files directly.
  • Breaking Remove IpcBytesMut constructors from IpcBytes.
    • Removed new_mut and new_mut_blocking from IpcBytes and IpcBytesCast.
  • Refactor IpcBytes memory map backend.
    • More robust and safe implementation using IpcFileHandle.
    • Breaking Removed zng_task::channel::cleanup_memmap_storage, no longer needed.
  • Add zng::task::channel::IpcFileHandle for sending file handles across IPC channels.
  • Breaking Upgrade IPC dependencies.
    • Upgrade ipc-channel.
    • Replace bincode with postcard.
  • Breaking CursorImg is now non_exhaustive.
  • Breaking Upgrade VideoMode::refresh_rate to use Frequency unit type.
  • Breaking Add use FrequencyUnits as _ in preludes.
  • Internal features (image_any, audio_any) are now named with underscore prefix and hidden from docs.

Crates will be available on crates.io once Publish completes.