Skip to content

Releases: dbus2/zbus

🔖 zbus 5.11.0

09 Sep 09:11
zbus-5.11.0
edd9a3c
Compare
Choose a tag to compare
  • ✨ API to specify timeouts for method calls. Add a way to specify an timeout for method calls. If
    set, the method calls will timeout after the specified duration, returning an error. This can be
    used to handle the issues with non-answering D-Bus services.
  • 🩹 Add connection::socket::Split::new method, allowing Socket trait impls outside zbus.
  • 📝 Mention receive_X_changes in proxy docs.

🔖 zvariant 5.7.0

24 Aug 19:27
zvariant-5.7.0
0e33c8e
Compare
Choose a tag to compare
  • 🐛 Reduce allocations in OwnedValue::try_from.
  • ✨ Add Value::try_into_owned. Doing as few allocations as possible.
  • 📝 Document when ObjectPath::into_owned clones.

🔖 zbus 5.10.0

24 Aug 19:30
zbus-5.10.0
0e33c8e
Compare
Choose a tag to compare
  • ✨ Property stream will now first yield the current value.
  • 🐛 Fall back to no groups rather than erroring out for peer creds.
  • 📝 Fix wrong documentation in blocking Proxy methods.

🔖 zbus 5.9.0

16 Jul 18:56
zbus-5.9.0
30487b8
Compare
Choose a tag to compare
  • 🧵 Remove deadlocks in Connection name request tasks, resulting in leaks under certain
    circumstances.
  • 🐛 When registering names, allow name replacement by default.
  • ✨ Allow setting request name flags in connection::Builder.
  • ✨ Proper Default impl for RequestNameFlags. This change is theoretically an API break for
    users who assumed the default value to be empty.
  • 🧑💻 Add fdo::StartServiceReply type. In 6.0 this will be the return type of
    fdo::DBusProxy::start_service_by_name. For now, just provide a TryFrom<u32>.

🔖 zvariant 5.6.0

07 Jul 18:04
zvariant-5.6.0
be41117
Compare
Choose a tag to compare
  • 🚑️ Check signature before serializing struct as a u8. This fixes a regression that was
    exposed by 56cbb1f. #1417
  • 🐛 Fix build on platforms without 64-bit atomics.
  • 🏷️ Add a new FilePath type to serve as a thin abstraction that handles (de)serialization
    of a file path as a byte array, since en/decoding of strings is limited to only UTF-8 characters
    in both D-Bus format and serde API. #977

🔖 zbus 5.8.0

07 Jul 20:43
zbus-5.8.0
7d8e935
Compare
Choose a tag to compare
  • interface macro now supports write-only properties.
  • ✨ Copy attributes over to receive_*_changed and cached_* methods in proxy.

🔖 zbus 5.7.1

20 May 18:54
zbus-5.7.1
cf4a243
Compare
Choose a tag to compare
  • 🐛 Fix build on Android.
  • ✏️ Trivial typo fix in error message.

* 🔖 zvariant 5.5.3

13 May 22:11
zvariant-5.5.3
b37180f
Compare
Choose a tag to compare
  • 🚑️ Fix use of empty structs with SerializeDict. #1375

🔖 zvariant 5.5.2

13 May 11:41
zvariant-5.5.2
2a4d53d
Compare
Choose a tag to compare
  • ✨ Un-deprecate SerializeDict & DeserializeDict. For simple cases, they're pretty good and
    now that we've made them wrappers around serde derives, maintenance shouldn't be an issue. We
    will no longer need to add new attributes because if people woule want any, they should just use
    the serde derives directly.
  • ✨ SerializeDict & DeserializeDict now wrappers around serde derives.

🔖 zbus 5.7.0

13 May 12:12
zbus-5.7.0
32f3a31
Compare
Choose a tag to compare
  • ✨ Add ProcessFD/pidfd to peer ConnectionCredentials.
  • ✨ Enable fd passing for the channel socket. It already does supports fd passing, so all we need
    to do is enable it.
  • 📝 Document generated prop_changed and prop_invalidated methods.
  • ⬆️a Require zvariant 5.5.2.
  • ⬆️ Upgrade from yanked dep versions of futures-util.