Skip to content

Bump zbus from 4.1.2 to 4.2.0#254

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

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

Conversation

@dependabot
Copy link
Contributor

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

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 <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.0.
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](z-galaxy/zbus@zbus-4.1.2...zbus-4.2.0)

---
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 6, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 13, 2024

Superseded by #260.

@dependabot dependabot bot closed this May 13, 2024
@dependabot dependabot bot deleted the dependabot/cargo/zbus-4.2.0 branch May 13, 2024 02:14
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