Releases: dbus2/zbus
Releases · dbus2/zbus
🔖 zbus 5.11.0
- ✨ 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, allowingSocket
trait impls outside zbus. - 📝 Mention receive_X_changes in
proxy
docs.
🔖 zvariant 5.7.0
- 🐛 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
- ✨ 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
- 🧵 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 aTryFrom<u32>
.
🔖 zvariant 5.6.0
- 🚑️ 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
- ✨
interface
macro now supports write-only properties. - ✨ Copy attributes over to
receive_*_changed
andcached_*
methods inproxy
.
🔖 zbus 5.7.1
- 🐛 Fix build on Android.
- ✏️ Trivial typo fix in error message.
* 🔖 zvariant 5.5.3
- 🚑️ Fix use of empty structs with SerializeDict. #1375
🔖 zvariant 5.5.2
- ✨ 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
- ✨ 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.