Releases: dbus2/zbus
Releases · dbus2/zbus
zbus-1.2.1
Bugfix release.
- Use
zbus_macros
1.2.1. - Add a test for single struct argument method.
All contributors:
zbus_macros-1.2.0
- Provide access to message headers in
dbus_interface
methods, through an attribute. - Always deserialize message body as tuple. This fixes build against zbus_polkit crate.
- Don't rely on
zvariant
crate in the scope. - Add missing LICENSE file to crate package.
- Other internal/minor fixes/optimizations.
Contributors to this release:
zbus-1.2.0
- Add
ObjectServer::with
method, that runs a given function in the context of a given object path and interface. This is mainly useful for emitting signals. Interface
trait now requiresstd::any::Any
. This isn't exactly a breaking change since this was implicitly required already byObjectServer
methods.- Support abstract unix sockets.
- Use
zvariant_derive
macros throughzvariant
crate. - Deprecate
Error::NoTLSConnection
andError::NoTLSNode
as these errors expose internal details and are no longer returned by any of our API. - Put zbus into the prelude.
Contributors to this release:
- Carlos Martín Nieto [email protected]
- Jonas Platte [email protected]
- Marc-André Lureau [email protected]
- Timothée Ravier [email protected]
- Zeeshan Ali [email protected]
zvariant_derive-2.2.0
- Fix deserialization of unknown dict entries.
- Avoid a possible naming conflict of struct fields.
- Stop relying on crates other than zvariant.
- Some internal cleanups and make code a bit more robust.
zvariant-2.2.0
- GVariant format serialization and deserialization.
- Use and re-export
zvariant_derive
crate. - Implement
Type
forOption<T: Type>
. Note: This type is GVariant-only (at least at the moment).- Also provided in a
Maybe
type forOption<T>
in aValue
.
- Also provided in a
- Add generic wrapper types,
SerializeValue
andDeserializeValue
, that serialize or deserialize the wrapped type as aVariant
(i-eValue
) type. - Add
OwnedSignature
andOwnedObjectPath
, Similar to what was done forOwnedValue
, this is an owned version ofSignature
andObjectPath
. - Add
Signature::into_owned
andObjectPath::into_owned
methods. DeserializeDict
now skips unknown fields in serialized data.- Put
zvariant
into the prelude instead of bringing it into scope where ever the derives are used. - Implement
From<String>
forValue
. - Provide constants for
Variant
type signature. - Other internal/minor changes.
zbus_macros-1.1.1
Dummy release to get documentation link fixed on crates.io.
zbus_macros-1.1.0
- Macro-generated proxy is now owned type, just like
zbus::Proxy
itself. - Macro-generated proxy now provides access to the underlying
zbus::Proxy
.
zbus-1.1.1
Brown-paperbag release to re-add dep on the exact version of zbus_macros
(1.1.0). Otherwise, old version of zbus
will end up using a new (incompatible) version of zbus_macros
.
zbus-1.1.0
ObjectServer
andProxy
now owned types.- Provide cheap cloning facility for
Connection
. Message::body
now checks the body signature for safer deserialization.Message::body_unchecked
is provided for cases where you don't want this behaviour.- Fix issue of important incoming messages getting lost during method calls by
Connection
maintaining a queue of incoming messages. - Use UnixStream::pair instead of unsafe socketpair.
- Fix an infinite recursion in
PartialEq
implementation ofMessageError
. - Document:
Guid::as_str
Guid::try_from
fdo::Result
- variants of
EndianSig
MessageFields
methods
zvariant_derive-2.1.0
Changes since 2.0.0:
- Add DeserializeDict & SerializeDict derive macros for easy handling of "a{sv}"
type, that is very common in D-Bus and GVariant land. - Add the awesome zbus logo to docs. :)