Skip to content

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 18 May 21:36
· 448 commits to main since this release
5a41c36

This release contains many small breaking changes, almost all on advanced API, the normal surface API is mostly untouched.
All changes are trivial to fix, they are either a rename or types that are now non-exhaustive.

  • Breaking Renamed view-process "online" to "connected".
    • zng_view_api::Controller::online to is_connected.
    • zng_view_api::Request::must_be_online to must_be_connected.
    • VIEW_PROCESS.is_online to is_connected.
    • zng_app::view_process::EncodeError::ViewProcessOffline to Disconnected.
    • ClipboardError::ViewProcessOffline to Disconnected.
    • ClipboardError::ViewProcessOffline to Disconnected.
  • Breaking EventReceiver::try_recv now returns Result<Option<A>, AppChannelError>.
  • Breaking Normalized error types.
    • Replaced AppExtSenderDisconnected with AppChannelError::Disconnected.
    • Replaced AppDisconnected with AppChannelError::Disconnected.
    • Many error enums marked non_exhaustive.
    • Renamed WindowNotFound to WindowNotFoundError.
    • Replaced zng_view_api::ipc::Disconnected with zng_view_api::ipc::ViewChannelError::Disconnected.
    • Replaced zng_view_api::ViewProcessOffline withzng_view_api::ipc::ViewChannelError::Disconnected.
  • Breaking Many structs marked non_exhaustive.
    • All are supposed to only be read or have construction associated functions.
  • Breaking Upgrade ron from 0.8 to 0.10.
    • zng_ext_config::RonValueRawError changed.
    • zng_ext_config::TomlValueRawError changed.
    • zng_ext_fs_watcher::WriteFile::write_ron now uses new format.
    • zng_ext_fs_watcher::WatchFile::ron now uses new format.
  • Breaking Upgrade encoding dependency to 2.
    • zng_tp_licenses::encode_licenses format changes. Not an issue for the recommended usage of encoding licenses at build time.
    • zng_view_api::ApiExtensionPayload internal format changed.
    • zng_view_api::ApiExtensionPayload::serialize return error type changed.
    • zng_view_api::ApiExtensionRecvError::Deserialize associated value changed.
    • zng_task::RunError changed.
  • Add text get_selection getter property, works for local texts.
  • Add text has_selection getter property, works for local and rich texts.
  • Breaking Add Command::new_update that automatically uses the correct CommandArgs.
    • To create an update with custom args now use cmd.event().new_update(args).
  • Rich text contexts now handle scoped SELECT_CMD and SELECT_ALL_CMD.