Skip to content

Releases: dbus2/zbus

zvariant-2.2.0

11 May 07:48
Compare
Choose a tag to compare
  • GVariant format serialization and deserialization.
  • Use and re-export zvariant_derive crate.
  • Implement Type for Option<T: Type>. Note: This type is GVariant-only (at least at the moment).
    • Also provided in a Maybe type for Option<T> in a Value.
  • Add generic wrapper types, SerializeValue and DeserializeValue, that serialize or deserialize the wrapped type as a Variant (i-e Value) type.
  • Add OwnedSignature and OwnedObjectPath, Similar to what was done for OwnedValue, this is an owned version of Signature and ObjectPath.
  • Add Signature::into_owned and ObjectPath::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> for Value.
  • Provide constants for Variant type signature.
  • Other internal/minor changes.

zbus_macros-1.1.1

11 May 07:48
Compare
Choose a tag to compare

Dummy release to get documentation link fixed on crates.io.

zbus_macros-1.1.0

11 May 07:48
Compare
Choose a tag to compare
  • 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

11 May 07:48
Compare
Choose a tag to compare

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

11 May 07:48
Compare
Choose a tag to compare
  • ObjectServer and Proxy 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 of MessageError.
  • Document:
    • Guid::as_str
    • Guid::try_from
    • fdo::Result
    • variants of EndianSig
    • MessageFields methods

zvariant_derive-2.1.0

11 May 07:48
Compare
Choose a tag to compare

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. :)

zvariant-2.1.0

11 May 07:48
Compare
Choose a tag to compare

Changes since 2.0.1:

  • Add to_owned method to string types. This is different than already
    blanked implemented ToOwned trait, as it creates a clone with 'static
    lifetime.
  • Deprecate Basic::ALIGNMENT for new alignment() function.
  • Implement some conversions:
    • From<&String> for Str
    • From<&String> for Value
    • From<&Vec> for Value
  • Fix infinite recursion in Error's PartialEq implementation.

zvariant-2.0.1

11 May 07:47
Compare
Choose a tag to compare
Merge branch 'de-bound-checks' into 'master'

zv: Ensure padding bytes exist before indexing into them

Closes #59

See merge request zeenix/zbus!140