-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[deps] Platform: Update zbus to v5 (major) #12312
base: main
Are you sure you want to change the base?
Conversation
|
Internal tracking:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12312 +/- ##
=======================================
Coverage 35.10% 35.11%
=======================================
Files 2990 2990
Lines 91097 91097
Branches 17058 17058
=======================================
+ Hits 31984 31991 +7
+ Misses 56615 56608 -7
Partials 2498 2498 ☔ View full report in Codecov by Sentry. |
933845e
to
c80d956
Compare
c80d956
to
3bb1864
Compare
3bb1864
to
27e4de2
Compare
Great job, no security vulnerabilities found in this Pull Request |
27e4de2
to
1535cbd
Compare
1535cbd
to
f2b59ce
Compare
This PR contains the following updates:
=4.4.0
->=5.3.1
=4.0.0
->=5.0.0
Release Notes
dbus2/zbus (zbus)
v5.3.1
: 🔖 zbus 5.3.1Compare Source
satisfy the inner lifetime of the proxy.
times for different property getters collides with the 'header` local argument of the generated
get_all() function. Obvious workaround is don't name your special parameter 'header'. This is
easily fixed by simply wrapping each getter code block generated for get_all() in its own scope.
v5.3.0
: 🔖 zbus 5.3.0Compare Source
header
&signal_emitter
parameters in interface property getters.v5.2.0
: 🔖 zbus 5.2.0Compare Source
binary if the users isn't directly using proxy APIs. On busd, this reduces the binary size by
200KB.
the spec itself), so we don't need to provide the docs in the introspection data at runtime.
interface
now allows disabling docs in introspection. Introspection strings are part of thebinary and can have an impact on the binary size. This change allows to disable the addition of
docs in the introspection for cases where there interface is well-known/well-documented. For
example, combined with the following change of using this in the
zbus::fdo
interfaces, thiswill allow
busd
binary to shed 26 KB.interface
macro. Add values already known to theintrospection XML at compile time. This also removes about 500 bytes from
busd
binary size.gvariant
feature flag tozbus_macros
. It's just a proxy feature for zvariant andonly needed to fix the build in the root workspace when building with
--features gvariant
.#1125.
self
in an instrumented method.sink
feature offutures-util
.v5.1.1
: 🔖 zbus 5.1.1Compare Source
async-process
dependency toasync-io
feature, instead of the target OS. This fixestokio
users (a big majority of our users) needlessly depending on it along with a bunch of itsdependencies.
lot of noise in the logs.
v5.1.0
: 🔖 zbus 5.1.0Compare Source
rust-version
to1.80
. #1107unixexec
transport.Command
stdio socket type. This socket communicates with a spawned child process viaits standard input and output streams.
winnow
.v5.0.1
: 🔖 zbus 5.0.1Compare Source
zvariant_utils
dep. We don't always releasezvariant_utils
together with othercrates, so unlike the macros crates, the versions don't need to be tied together. This will also
allow us to bring
zvariant_utils
improvements to users without having to release all dependentpackages as well.
v5.0.0
: 🔖 zbus 5.0.0Compare Source
encoding and decoding.
proxy
macro respects visibility. This includes all types generated byproxy
. Unfortunatelythis means that the existing code will have to set the visiblity explicitly to
pub
if theywere relying on the generated proxy to be public.
DBUS_COOKIE_SHA1
auth mechanism. #727sha1
crate as a dependency, which can be problematic for some users. #543EXTERNAL
is not an option, you might as well just useANONYMOUS
.authentication mechanisms with one of them being no-authentication, this really makes sense
since we can just autodetect what authentication method to use for a specific socket type on a
specific platform. This also simplifies the handshake logic and will allow us to pipeline the
whole client-side handshake in the future, when we can drop the xdg-dbus-proxy workarounds. #781
same type of arguments.
fdo
API.interface
now generates a trait, Signals, that provides the same signalmethods as user specifies but w/o the
SignalEmitter
argument (#871). The macro also generates2 implementations of this trait for:
method.
SignalContext::emit
. Add a new method to SignalContext that allows emitting a signal fora given interface and singal name.
mechanism. We'll use this in a following commit to avoid an allocation.
should be used with it. The implementation can choose this based on the socket type and the
target platform.
be private.
SignalContext
toSignalEmitter
. Since now this emits signals, this is a moreappropriate name. We keep a deprecated
SignalContext
type alias as well as thesignal_context
attribute ofinterface
for not completely breaking the existing code.AuthMechanism
in the root asdeprecated.
the conversion to NonZeroU32 panics. #946
the
Proxy
API.p2p
feature is enabled.serde_bytes
Cargo feature. This is just a proxy feature forzvariant
'sserde_bytes
feature. #1052
blocking-api
tozbus
&zbus_macros
. When enabled, thezbus::blocking
module is available. When disabled,proxy
macro ignores the value of
gen_blocking
attribute and doesn't generate blocking proxy. Thisfeature is enabled by default.
camino
feature as proxy for zvariant feature of the same name.sha1
crate.futures-sink
.rand
now an optional dependency. It is only enabled ifp2p
feature is enabled. This meansthat
rand
dependency is dropped for typical users.blocking
module docs.dbus2/zbus_polkit (zbus_polkit)
v5.0.0
: 🔖 Release 5.0.0Compare Source
blocking-api
cargo feature. This is mostly a proxy feature for zbus.Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.