coreos / zincati

Agent for Fedora CoreOS auto-updates
https://coreos.github.io/zincati
Apache License 2.0
156 stars 33 forks source link

build(deps): bump zbus from 3.6.1 to 4.2.1 #1194

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 5 months ago

Bumps zbus from 3.6.1 to 4.2.1.

Release notes

Sourced from zbus's releases.

🔖 zbus 4.2.1

  • 🚑️ Critical fixes:
    • Don't invalidate all properties on change. This fixes a regression in c1aa5c72, where we started to invalidate properties in every PropertyChanged signal. This is wrong anyway but it also meant zbus interfaces breaking against gio. #765
    • Use assert! instead of debug_assert!. debug_assert! is removed in release builds, along with any values computed inside it. This meant that since the use of debug_assert! in commit 7fc3ab7b8f69e21822a0d569222baba4b72de13f, the fdo interfaces weren't getting added for nodes for release profile. Let's use assert! instead. #764
    • Fix 0 byte transfer and parsing regressions for FreeBSD. #756
  • 💩 Hack to make connection handshake work inside Flatpak. xdg-dbus-proxy can't handle pipelining, hence we need to handle NEGOTIATE_UNIX_FD command's response before sending out BEGIN command and Hello method call message.
  • 🥅 Gracefully handle rejection of UNIX FD passing.
  • 🐛 Ensure all messsage bytes received during handshake are used. Don't assume that only a single full message could be received at the end of the client handshake process.
  • 📝 Correct logo URL in docs.
  • 🚨 Allow dead code in doc samples.
  • ⬆️ Update dependencies:
    • serde to 1.0.200.
    • proc-macro2 to 1.0.81.
    • tokio to 1.37.0.

🔖 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.

... (truncated)

Commits
  • e023f5d 🔖 zb: Release 4.2.1
  • 339f4d0 🔖 zv: Release 4.1.0
  • 564a68c Merge pull request #780 from zeenix/flatpak-hack
  • 1b1a1dd 💩 zb: Hack to make connection handshake work inside Flatpak
  • d2df7e2 🥅 zb: Gracefully handle rejection of UNIX FD passing
  • 51d918c Merge pull request #779 from zeenix/properties-changed-fix
  • c4630dd ✅ zb: Add a few more assertions in a test case
  • 9685163 ✅ zb: Simplify a statement in a test
  • a148bbe 🚑️ zb,zm: Don't invalidate all properties on change
  • b5e8862 ⬆️ Update serde_json to v1.0.117
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 3 months ago

Superseded by #1214.