iamdb / hifi.rs

a high resolution Qobuz streamer built in Rust
GNU General Public License v3.0
71 stars 10 forks source link

Bump zbus from 4.1.2 to 4.2.0 #254

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 5 months ago

Bumps zbus from 4.1.2 to 4.2.0.

Release notes

Sourced from zbus's releases.

šŸ”– zbus 4.2.0

  • āœØ 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

... (truncated)

Commits
  • 337f436 šŸ”– zbus 4.2.0
  • d30a133 šŸ”– zvariant 4.0.3
  • 04ac665 šŸ”– zvariant_utils 1.1.1
  • a40b925 Merge pull request #742 from zeenix/prep-for-issue-731
  • d6627b7 Merge pull request #740 from dbus2/renovate/blocking-1.x
  • 8b1c4ed šŸ—‘ļø zb: Deprecate connection::Builder::auth_mechansims
  • 94b38b9 āœØ zb: Add connection::Builder::auth_mechanism
  • a84504d Merge pull request #741 from zeenix/fix-a-warning-on-windows
  • ac606b1 šŸšØ zb: Add a missing cfg condition
  • f4958e3 Merge pull request #675 from elmarco/nospawn
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 4 months ago

Superseded by #260.