Skip to content

Bump zbus from 4.1.2 to 4.2.1#260

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/zbus-4.2.1
Closed

Bump zbus from 4.1.2 to 4.2.1#260
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/zbus-4.2.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 13, 2024

Bumps zbus from 4.1.2 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

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 <dependency name> 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)

Bumps [zbus](https://github.com/dbus2/zbus) from 4.1.2 to 4.2.1.
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](z-galaxy/zbus@zbus-4.1.2...zbus-4.2.1)

---
updated-dependencies:
- dependency-name: zbus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 13, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 27, 2024

Superseded by #265.

@dependabot dependabot bot closed this May 27, 2024
@dependabot dependabot bot deleted the dependabot/cargo/zbus-4.2.1 branch May 27, 2024 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants