zbus-2.0.0-beta.8
·
3755 commits
to main
since this release
The API freeze beta release for 2.0. After this release, the API will only be changed if absolutely necessary.
Proxy:- Drop signal callback API. The
SignalStreamandSignalIteratorAPI is more than sufficient. - Abstract away property invalidation in
PropertyStreamand handle it internally. - Add
receive_all_signals - Add
call_noreplyfor making calls to method that don't reply. - Rename
receive_property_streamtoreceive_property_changed. - Typed return value for
fdo::DBusProxy::get_connection_credentials. - Add
blocking::{SignalIterator, PropertyIterator}. - Add
PropertyChanged::get_raw. - Add
cached_property_raw. - Add API to track destination name ownership changes on the bus.
- Allow lazy population of property cache and make it the default behavior.
- Drop signal callback API. The
ObjectServer:atandremoveno longer require a mutable ref, allowing interfaces to be easily added and removed from Interface methods.- Unified API to get an
Interfaceref. - Drop
start_dispatch
Connection:- Add
ConnectionBuilder::nameto register names at connection setup time. - Add
ConnectionBuilder::serve_atto setupObjectServerinterfaces before the bus connection is established. request_namenow correctly fails if name is already taken on the bus.- Rename
blocking::MessageStreamtoblocking::MessageIterator. - Add API to track receiving order of messages on a connection and implement
OrderedStreamforMessageStreamandSignalStream. impl FusedStream for MessageStream.
- Add
DBusErrortrait:- Move
nameanddescriptionmethods fromDBusErrormacro-generated code to this trait. - Rename
reply_totocreate_reply.
- Move
- Rename
Message::disown_fdstoMessage::take_fds. SignalContext:- Add
from_parts, as the infallible constructor. - Add
to_owned.
- Add
- Dependencies changed:
- Add
ordered-stream. - Bump
nixto 0.23.0. - Bump
enumflags2to 0.7.1. - Bump
zvariantto 3. - Drop
slotmap. - Switch from
test-env-logtotest-log.
- Add
- Many other fixes and improvements.