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

build(deps): bump zbus from 3.15.0 to 4.0.0 #28

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps zbus from 3.15.0 to 4.0.0.

Release notes

Sourced from zbus's releases.

🔖 zbus 4.0.0

A new API-breaking release that brings in a huge amount of changes. Most using code should still compile (with deprecation warnings) and work without changes. Hightlights:

  • 🚚 Changing names of dbus_interface and dbus_proxy along with their atrributes. See [zbus_macros release notes][zmr] for details, including commands to automatically update your code.
  • 👽️ Adapt to zvariant 4.0 changes.
  • 🚚 Make use of submodules for nicer API hierarchy. In most cases deprecation warnings will guide you to the new paths.
  • 🚚 XML parsing API split into a separate crate, zbus_xml. The xml and quick-xml feature flags are removed as a result. #413.
  • 🏗️ Message API overhaul
    • 🚸 header method and message::Header getters now infallible.
    • 🏷️ body method now returns a new type, message::Body that provides all message body-related API.
    • 🔥 MessageField* API dropped. Use Message::header() with message::Header's specific getters.
    • 🔥 message::Type::Invalid variant dropped. We just don't let a message be created for invalid types.
    • 🚚 as_bytes method renamed to data and now returns &zvariant::serialized::Data.
    • 🔥 Drop Message::take_fds() method. This was never a good idea because it is basically unsafe (even though it's not marked as such) since it disassociates the FDs from the message and the caller is free to close them while message is still referencing them.
    • 🏷️ All serial number related API now use NonZeroU32.
    • 🚸 constructors now return a Builder instance.
    • 🚸 Arc wrapping of message no longer needed and all API using Arc type now use Message.
    • 🔥 Drop unneeded From for message::Type.
  • 🔌 Connection
    • 🔥 Drop futures::Sink implementation. This was proving very difficult to maintain and most likely used by very few people, who can use the send method instead.
    • 🏷️ server_guid return &Guid now, instead of a string.
    • 🥅 connection::Builder::server now takes anything TryInto and hence fallible.
    • 🥅 connection::Builder ensures GUID is correct for client: If the client connection is constructed through an address with GUID in it, we should verify this GUID is the same as one received from the server during the handshake.
    • 🏗️ Socket trait now higher-level, async and split into read and write halves.
    • 🔥 Remove unnecessary constraints on Socket. and associated types.
    • ✨ Add missing blocking::connection::Builder::socket.
    • ✨ Proper support for abstract unix sockets that makes use of the std API. This replaces our hack.
  • 💥 Split Guid into reference & owned types. Guid now has a lifetime parameter, and OwnedGuid is a new type that's a wrapper around Guid<'static>. Internally, Guid is now a wrapper around zvariant::Str and is now a very similar type to other zvariant::Str wrapper types.
  • 🏗️ Address API overhaul:
    • 💥 Split transport bits into a separate type hierarchy, address::Transport. Address` is no longer an enum but a struct with hidden fields. #476.
    • ✨ Support GUIDs. We previously just ignored GUIDs in addresses. No more. We now parse it, if present and provide API to set a GUID on an Address instance.
    • ✨ Support unix:tmpdir and unix:dir transports.
    • 🐛 Fix Display impl for address of abstract Unix sockets.
  • ✨ Relax type bound on Proxy::call/call_with_flags. A bound of

... (truncated)

Commits
  • 25876f3 Merge pull request #587 from zeenix/improv-win32-code
  • 4f932a4 🎨 zb,internal: Improve slice handling in win32 code
  • 7e60915 Merge pull request #586 from zeenix/fix-windows-panic
  • e76629a 🚑️ zb: Fix a pointer access on Windows
  • 4d13c62 Merge pull request #585 from zeenix/disable-uds-on-windows+tokio
  • 9f13788 🚩 zb: Disable UDS support on Windows for tokio
  • be21e19 Merge pull request #581 from anphir/doc
  • b277bfd 📝 CONTRIBUTING: suggest package prefixes for commit messages
  • 606cc56 Merge pull request #583 from FineFindus/fix/polkit-link
  • c782b94 📝book: update zbus_polkit link
  • 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 3.15.0 to 4.0.0.
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](dbus2/zbus@zbus-3.15.0...zbus-4.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 13, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 15, 2024

Superseded by #30.

@dependabot dependabot bot closed this Feb 15, 2024
@dependabot dependabot bot deleted the dependabot/cargo/zbus-4.0.0 branch February 15, 2024 10:05
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants