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

⬆️ Update zbus to 4.2.0 #13

Merged
merged 1 commit into from
May 1, 2024
Merged

⬆️ Update zbus to 4.2.0 #13

merged 1 commit into from
May 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 1, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
zbus dependencies minor 4 -> 4.2.0

Release Notes

dbus2/zbus (zbus)

v4.2.0: 🔖 zbus 4.2.0

Compare Source

  • ✨ Make spawning tasks for method call handling, optional. dbus_interface now provides a spawn
    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 with connection::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.

v4.1.2: 🔖 zbus 4.1.2

Compare Source

To go with zbus_macros 4.1.2. Other changes:

  • ⬆️ Bump nix to 0.28.

v4.1.1: 🔖 zbus 4.1.1

Compare Source

The actual change is in zbus_macros 4.1.1.

v4.1.0: 🔖 zbus 4.1.0

Compare Source

  • 🚑️ zb: Fix a deprecation re-export.
  • 🔥 zb: Remove some redundant imports.
  • ✏️ zb: Fix a typo in docs.
  • ⬆️ Updated deps:
    • async-io to v2.3.1.
    • async-process to 2.1.0.
    • async-task to 4.7.0.
    • async-recursion to 1.0.5.
    • async-lock to 3.3.0.
    • async-fs to 2.1.1.
    • async-executor to 1.8.0.
    • async-trait to 0.1.77.
    • blocking to 1.5.1.
    • enumflags2 to 0.7.9.
    • event-listener to 5.1.0.
    • futures-sink to 0.3.30.
    • futures-core to 0.3.30.
    • futures-util to 0.3.30.
    • sha1 to 0.10.6.
    • serde_repr to 0.1.18.
    • tracing to 0.1.40.
    • tempfile to 3.10.0.
    • xdg-home to 1.1.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.

@zeenix zeenix merged commit c19f514 into main May 1, 2024
4 checks passed
@renovate renovate bot deleted the renovate/zbus-4.x branch May 1, 2024 11:00
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.

1 participant