Releases: dbus2/zbus
Releases Β· dbus2/zbus
π zvariant 4.1.0
- πΈ zv: Add iterator API to
Dict
. - π¨ Allow dead code in doc samples.
- π Correct logo URL in docs.
- π Document
serde_repr
usage for enums. - β¬οΈ Update dependencies:
- serde to 1.0.200.
- proc-macro2 to 1.0.81.
- serde_bytes to 0.11.14.
π zbus 4.2.1
- ποΈ Critical fixes:
- Don't invalidate all properties on change. This fixes a regression in c1aa5c7, where we
started to invalidate properties in everyPropertyChanged
signal. This is wrong anyway but it
also meant zbus interfaces breaking against gio. #765 - Use
assert!
instead ofdebug_assert!
.debug_assert!
is removed in release builds, along
with any values computed inside it. This meant that since the use ofdebug_assert!
in
commit 7fc3ab7, the fdo interfaces weren't getting added for
nodes for release profile. Let's useassert!
instead. #764 - Fix 0 byte transfer and parsing regressions for FreeBSD. #756
- Don't invalidate all properties on change. This fixes a regression in c1aa5c7, where we
- π© Hack to make connection handshake work inside Flatpak. xdg-dbus-proxy can't handle
pipelining, hence we need to handleNEGOTIATE_UNIX_FD
command's response before sending out
BEGIN
command andHello
method call message. - π₯ Gracefully handle rejection of UNIX FD passing.
- π Ensure all messsage bytes received during handshake are used. Don't assume that only a single
full message could be received at the end of the client handshake process. - π Correct logo URL in docs.
- π¨ Allow dead code in doc samples.
- β¬οΈ Update dependencies:
- serde to 1.0.200.
- proc-macro2 to 1.0.81.
- tokio to 1.37.0.
π zvariant_utils 1.1.1.
- β¬οΈ Update quote to 1.0.36.
- β¬οΈ Update syn to 1.0.109.
π zvariant 4.0.3
- π Use the new logo in docs.
- π¨ Remove duplicate trait bounds.
- β¬οΈ Updated dependencies:
- chrono to 0.4.38.
- time to 0.3.36.
- serde_repr to 0.1.19.
- uuid to 1.8.0.
- quote to 1.0.36.
π zbus 4.2.0
- β¨ Make spawning tasks for method call handling, optional.
dbus_interface
now provides aspawn
attribute to control whether the method call handling is spawned as a task or not. - β¨ Add serial to Message's Debug representation.
- π Add connection::Builder::authenticated_socket for creating a connection with a
pre-authenticated socket. This could also be socket that doesn't need any authentication. #590. - β¨ Add connection::socket::{ReadHalf::receive_message, WriteHalf::send_message} methods. These
method have a default implementation that just uses the lower-level sibling methods. Implementers
can either override this method or the lower-level method, depending on the underlying socket
they're using. - β¨ Introducing connection::socket::Channel. This new socket type, uses channels for in-process p2p
communication. This can be used withconnection::Builder::authenticated_socket
to create a
connection for in-process communication. #591. - β‘οΈ Pipeline client-side handshake as much as possible, including the
Hello
method call to the
bus. This reduces unnecessary round-trips & hence latencies. #493 - β¨ Add connection::Builder::auth_mechanism. Unlike auth_mechanisms method, this method only allows
one mechanism to be set. - ποΈ Deprecate connection::Builder::auth_mechansims. In favor of
auth_mechansim
. This is in
preparation for #731, when we will remove this method entirely. - π₯
Don't assert on invalid serve_at() usage. Document that standard interfaces are already added.
Return an error instead of an explicit panic if attempted, since it is not an internal invariant. - π₯ Catch interface handler error.
- π Reduce the amount of tracing data when adding traces in handlers (duplicated "msg").
- π₯ Remove now unnecessary hack to ensure ObjectManager signals aren't sent before Hello method.
- π Instrument all async methods of server handshake.
- π© Support autolaunch address on Windows without
windows-gdbus
feature and associated hacks.
Turns out that the reference D-Bus implementation supports autolaunch fine and we don't need
special support for gdbus binary. Hopefully, in the near future, busd will also support it. #687 - π Clearly document
Interface
being unstable API. Also recommend what people should do when
dbus_interface
isn't enough. - π₯ Drop impossible scope on autolaunch session bus address. We currently can't handle scopes on
autolaunch addresses so there is no need to create an address with scopes. - π₯
Correctly handle cancellation of handshake in server. If the client sends a
CANCEL
command
during a handshake, the server must move on to the next handshake method available (if any). - π Server-side handshake should be as lenient as the spec says. If a received command from the
client is unknown or invalid in the current context, we shouldn't completely error out but rather
send an error and continue as if nothing happened. - π Exclude newline terminators from String repr of commands. Otherwise it messes up the logging
output. - π·οΈ Implement Default for address::transport::Autolaunch.
- π¨ Remove duplicate trait bounds.
- π Use the new logo in docs.
- β¬οΈ Updated depdencies:
- blocking to 1.6.0
- async-fs to 2.1.2
- async-task to 4.7.1
- async-process to 2.2.2
- async-executor to 1.11.0
- async-trait to 0.1.80
- vsock to 0.5.0
- serde_repr to 0.1.19
- event-listener to 5.3.0
- async-io to 2.3.2
- async-recursion to 1.1.1
- tempfile to 3.10.1
- quote to 1.0.36
- zvariant_utils to 1.1.1
- β Removed depdencies:
- regex
- derivative
- π¨ Use imports over qualifies in macros.
- βοΈ Fix some typos.
- β»οΈ Many internal code cleanups and improvements.
π zbus_xmlgen 4.1.0
- ποΈ Always use owned types for signal args. We started doing this already in 2.0 but it
didn't cover all cases and we still sometimes end up with types that do not implement
serde::Deserialize
. As a side-effect, this now also turns some of the normal method args to
take references instead of values, which is a good thing. #412 - π₯ Remove unneeded imports.
- β zx: Add more tests for signals.
- β¬οΈ Update clap to 4.5.
- β¬οΈ Update pretty_assertions to 1.4.
π zbus_names 2.6.1
- β¬οΈ Requre zvariant 3.15. In 2.6.0, we ended up using API from zvariant 3.15 and didn't bump
our requirement. This release fixes that. #667
π zvariant_derive 4.0.2
- βͺοΈ Revert unpinnig of zvariant_utils version in Cargo.toml. The
reverted change ended up bumping our MSRV to 1.75 in 3.x series.
We don't want that.
π zvariant_derive 3.15.2
- βͺοΈ Revert unpinnig of zvariant_utils version in Cargo.toml. The
reverted change ended up bumping our MSRV to 1.75 in 3.x series.
We don't want that.
π zvariant 4.0.2
To go with zvariant_derive 4.0.2.