Releases: dbus2/zbus
Releases · dbus2/zbus
zbus_macros 3.13.0
- Update all refs of gitlab to github.
- Lock winnow version for now. winnow 0.4.2 bumped MSRV to 1.64. We want to bump our MSRV only after
Tauri does. - Workaround a clippy false positive.
zbus 3.13.0
- Add
Connection::peer_credentials
method. Instead of adding multiple individual methods for each
credential type, let's add a single method that returns all peer credentials. - API for creating
ConnectionCredentials
struct. This will mainly be useful for bus
implementations to be able to create this struct for themselves (e.g on a
DBus.GetConnectionCredentials
D-Bus call for the bus itself). - Getters for fdo::ConnectionCredentials fields.
- Add launchd address support for macOS. It follows D-Bus specification with the same rules.
- Dependency changes:
- New:
async-process
on MacOS target. - Enable
process
feature oftokio
crate.
- New:
- Deprecate
Connection::peer_sid
in favor ofConnection::peer_credentials
. - Deprecate
fdo::ConnectionCredentials
fields. If we ever need to add more fields to the struct,
we can't do it without breaking the API. So let's deprecate the fields and have everyone use the
new getters instead. - Disable code on MacOS that won't work on it.
- Be specific in
cfg
for Windows. - Update all refs of gitlab to github.
- Other internal fixes/improvements.
zbus_macros 3.12.0
To go with zbus 3.12.0
zbus 3.12.0.
ObjectServer
should dispatch calls without destination since p2p connections typically don't have destinations.- Only enable features of
nix
that we use. - Support server-side cookie auth. We already supported client-side cookie-auth. zbus won't manage the cookies for you though, that's left to the bus implementation.
- Declare
ConnectionBuilder
asmust_use
. Instead of every builder method of it individually. - Avoid a few string allocations in handshake code.
- Don't ignore errors from SID conversion to string.
- Add missing cfg on an import. Otherwise we get a warning when building for non-unix.
- Dependencies changed:
- Home directory determination now split into a separate crate:
xdg-home
. - Drop
lazy_static
. - Drop now unneeded
dirs
dep. - Drop
nix
dep for non-unix (i-e Windows).
- Home directory determination now split into a separate crate:
zbus_macros 3.11.1
Just to go with zbus 3.11.1.
zbus 3.11.1
Fix server example in the docs and README.
zvariant_utils 1.0.0
First release
This crate will keep common (mostly macro) utilities for zvariant and zbus crates.
zvariant_derive 3.12.0
Move macro utilities to a new zvariant_utils
crate.
zvariant 3.12.0
To go with zvariant_derive 3.12.0.
zbus_macros 3.11.0
- Drop duplicated code in favor of new
zvariant_utils
crate.