Skip to content

Releases: dbus2/zbus

zbus_macros-1.6.0

11 May 07:49
Compare
Choose a tag to compare

New release to go with zbus 1.6.0.

  • Allow returning zbus::Error instead of zbus::fdo::Error in dbus_proxy and dbus_interface API.
  • Generate new_for_path and new_for_owned_path constructors for dbus_proxy created types.

zbus-1.6.0

11 May 07:50
Compare
Choose a tag to compare
  • Make it possible to convert fdo::Error into Error.
  • Add missing fdo::Properties::properties_changed signal.

zbus_polkit-1.2.0

11 May 07:49
Compare
Choose a tag to compare

Add Authority::changed signal, using the new zbus signal handling API.

zbus_macros-1.5.0

11 May 07:49
Compare
Choose a tag to compare

New release to go with zbus 1.5.0.

  • Generate signal handler API for dbus_proxy. Signals are declared via the new signal attribute.
  • Generated proxy now implements DerefMut, AsRef and AsMut for the underlying zbus::Proxy.

zbus-1.5.0

11 May 07:49
Compare
Choose a tag to compare
  • 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.
  • Connection::receive_specific.
  • Connection::is_bus.
  • <AsRef<Proxy>> impl. for Proxy
  • Document a potential deadlock.

zbus_macros-1.4.0

11 May 07:49
Compare
Choose a tag to compare

New release to go with zbus 1.4.0, plus some internal cleanups and CI fixes.

zbus-1.4.0

11 May 07:49
Compare
Choose a tag to compare
  • Provide async Connection API. This is a (not so) low-level API. High level API will hopefully be added in the following releases.
  • Connection now Send + 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 that Option is not supported D-Bus type.
  • Add Handshake trait, providing the common API between ClientHandshake and ServerHandshake.
  • 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 for async_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

11 May 07:49
Compare
Choose a tag to compare

Just to go with zvariant 2.4.0.

zvariant-2.4.0

11 May 07:49
Compare
Choose a tag to compare
  • 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> for Value.
    • TryFrom<OwnedValue> for HashMap.

zvariant_derive-2.3.0

11 May 07:49
Compare
Choose a tag to compare
  • Only use proc_macro2 TokenStream outside of crate root.
  • Add GVariant to crate description.

Contributors: