Releases: dbus2/zbus
Releases · dbus2/zbus
zbus-1.7.0
Implement FromStr
for xml::Node
.
zbus_macros-1.6.0
New release to go with zbus 1.6.0.
- Allow returning
zbus::Error
instead ofzbus::fdo::Error
indbus_proxy
anddbus_interface
API. - Generate
new_for_path
andnew_for_owned_path
constructors fordbus_proxy
created types.
zbus-1.6.0
- Make it possible to convert
fdo::Error
intoError
. - Add missing
fdo::Properties::properties_changed
signal.
zbus_polkit-1.2.0
Add Authority::changed
signal, using the new zbus signal handling API.
zbus_macros-1.5.0
New release to go with zbus 1.5.0.
- Generate signal handler API for
dbus_proxy
. Signals are declared via the newsignal
attribute. - Generated proxy now implements
DerefMut
,AsRef
andAsMut
for the underlyingzbus::Proxy
.
zbus-1.5.0
Proxy
API to receive and handle signals. This includes:- Previously missing signals from
fdo
module. xmlgen
tool now generates code for signal handling as well.
- Previously missing signals from
Connection::receive_specific
.Connection::is_bus
.<AsRef<Proxy>>
impl. forProxy
- Document a potential deadlock.
zbus_macros-1.4.0
New release to go with zbus 1.4.0, plus some internal cleanups and CI fixes.
zbus-1.4.0
- Provide async Connection API. This is a (not so) low-level API. High level API will hopefully be added in the following releases.
Connection
nowSend + Sync
.- Allow removing a interface from object paths. The object is dropped automatically from
ObjectServer
once all its interface are removed. - Deprecate default msg handler API in Connection. After we started to queue incoming messages in
Connection
, this API isn't useful anymore. - Disable
GVariant
support in zvariant so users don't have to find out thatOption
is not supported D-Bus type. - Add
Handshake
trait, providing the common API betweenClientHandshake
andServerHandshake
. - Add
Handshake::next_io_operation
method, that tell the caller if it's a read or write operation that's needed to advance the handshake. - Implement
raw::Socket
forasync_io::Async<UnixStream>
. - Add
raw::Socket::close
method. Strictly speaking this is an API break but it's extremely unlikely anyone is using this newly added very lowlevel API out there. The only person who could have been using was the one who added it and they're not yet using zbus. - Add
raw::Connection::close
method. - Some internal fixes/cleanups.
Contributors to this release:
- Greg V
- Ido Yariv
- Zeeshan Ali
zvariant_derive-2.4.0
Just to go with zvariant 2.4.0.
zvariant-2.4.0
- Add specific Serializers and Deserializers for both formats, D-Bus and GVariant.
- GVariant support now enabled through a feature,
gvariant
. This is enabled by default. - Implement:
From<HashMap>
forValue
.TryFrom<OwnedValue>
forHashMap
.