v0.15.0
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::onlinetois_connected.zng_view_api::Request::must_be_onlinetomust_be_connected.VIEW_PROCESS.is_onlinetois_connected.zng_app::view_process::EncodeError::ViewProcessOfflinetoDisconnected.ClipboardError::ViewProcessOfflinetoDisconnected.ClipboardError::ViewProcessOfflinetoDisconnected.
- Breaking
EventReceiver::try_recvnow returnsResult<Option<A>, AppChannelError>. - Breaking Normalized error types.
- Replaced
AppExtSenderDisconnectedwithAppChannelError::Disconnected. - Replaced
AppDisconnectedwithAppChannelError::Disconnected. - Many error enums marked
non_exhaustive. - Renamed
WindowNotFoundtoWindowNotFoundError. - Replaced
zng_view_api::ipc::Disconnectedwithzng_view_api::ipc::ViewChannelError::Disconnected. - Replaced
zng_view_api::ViewProcessOfflinewithzng_view_api::ipc::ViewChannelError::Disconnected.
- Replaced
- Breaking Many structs marked
non_exhaustive.- All are supposed to only be read or have construction associated functions.
- Breaking Upgrade
ronfrom 0.8 to 0.10.zng_ext_config::RonValueRawErrorchanged.zng_ext_config::TomlValueRawErrorchanged.zng_ext_fs_watcher::WriteFile::write_ronnow uses new format.zng_ext_fs_watcher::WatchFile::ronnow uses new format.
- Breaking Upgrade
encodingdependency to 2.zng_tp_licenses::encode_licensesformat changes. Not an issue for the recommended usage of encoding licenses at build time.zng_view_api::ApiExtensionPayloadinternal format changed.zng_view_api::ApiExtensionPayload::serializereturn error type changed.zng_view_api::ApiExtensionRecvError::Deserializeassociated value changed.zng_task::RunErrorchanged.
- Add text
get_selectiongetter property, works for local texts. - Add text
has_selectiongetter property, works for local and rich texts. - Breaking Add
Command::new_updatethat automatically uses the correctCommandArgs.- To create an update with custom args now use
cmd.event().new_update(args).
- To create an update with custom args now use
- Rich text contexts now handle scoped
SELECT_CMDandSELECT_ALL_CMD.