Skip to content
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

fix(deps): update rust crate zbus to 3.6 #165

Merged
merged 1 commit into from Dec 14, 2022
Merged

fix(deps): update rust crate zbus to 3.6 #165

merged 1 commit into from Dec 14, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
zbus dependencies minor 3.5 -> 3.6

Release Notes

dbus/zbus

v3.6.2: zbus 3.6.2

Compare Source

Drop unused generic from blocking::Proxy::call_with_flags.

v3.6.1: zbus 3.6.1

Compare Source

Add an alternative XML parsing API based on quick-xml, which is enabled through a new quick-xml
cargo feature. This is because serde-xml-rs is unmaintained,. serde-xml-based xml API will
eventually be dropped in favour of this.

Including new API in a micro release cause this was intended to be part of 3.6.0. So it's sort of a fix.

v3.6.0: zbus 3.6.0

Compare Source

  • Add Proxy::call_with_flags.
  • Add Add Connection::request_name_with_flags.
  • Add Proxy::receive_signal_with_args, which is the same as Proxy::receive_signal but allows one to setup server-side filtering based on argument matches, thus allowing you to avoid unnecessary D-Bus traffic flowing to your connection.
  • Fix the API and handling of argN and argNpath in match rules. We were assuming that they've to be contiguous but that's not true. One can set a condition on any arg at any index. This means an API break but:
    • We just introduced the API in the last release so chances of someone using it directly are very low.
    • If anyone was using the changed API, they were likely in trouble anyway.
    • We avoid breaking the main API by keeping MatchRuleBuilder::{add_arg, add_arg_path} the same and adding new methods for adding args at a specific index.
    • The API that is breaking is mostly going to be useful for bus implementations and there is hardly one yet.
  • Improved tokio-console integration:
    • Add traces to futures running as tasks.
    • Enable tracing feature of tokio.
    • Set IDs on tokio tasks. tokio_unstable cargo flag will need to be specified though but we leave that to the users.
  • Fix a possible race-condition in signal streams, that mainly affected low-end machines.
  • Avoid redundant signals for OwnerChangedStream. Make use of ability to set a filter on args in
    match rules to only be notified of changes to name we're actually interested in.
  • Pre-allocate known capacity for match rule args.
  • Add chrono feature, which is a proxy feature to enable chrono feature+dep in zvariant.
  • Fixes to docs.
  • Some internal improvements.
  • Bumped dependencies:
    • ordered-stream 0.1.2
    • zvariant 3.9.0
    • zbus_names 2.4.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@hoodie hoodie merged commit 65516e8 into main Dec 14, 2022
@hoodie hoodie deleted the renovate/zbus-3.x branch December 14, 2022 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant