Releases: z-galaxy/zbus
Releases · z-galaxy/zbus
🔖 zvariant 5.8.0
- ➖ Switch from
rand
tofastrand
inarray_value
test.fastrand
is already depended on indirectly.
🔖 zbus 5.12.0
- 🚚 Update name of Github space from
dbus2
toz-galaxy
. - ✨ Add
Error::description
method. This gives a simple description about the error. - 🥅 Provide description for zbus::Error in DBusError. #1523
- 🐛 Remove minimum amount of required address options. Set the minimum amount of address options to 0, as per the spec. #1513
- ➖ remove
rand
and replace withuuid
. This makesuuid
mandatory forzbus
, and changes thep2p
feature to enablev4
ofuuid
. - 📝 book: Update version of zbus in the sample Cargo.toml.
- 🧵 Launch a multi-threaded tokio runtime for blocking. Otherwise, any blocking calls in the application code can block our internal tasks. This is breaking our "we won't launch threads behind your back" promise a little but its only limited to blocking API and therefore worth the benefit of not unexpectedly stopping to work. #1512
- 🐛 Fix tracing span names showing as {}.
🔖 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