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.1 #30

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps zbus from 3.15.0 to 4.0.1.

Release notes

Sourced from zbus's releases.

πŸ”– zbus 4.0.1

  • 🏷️ Implement ProxyDefault for blocking::Proxy that was missed in 4.0.0.
  • πŸ“ Fix and update links in the book.

πŸ”– zbus_macros 4.0.1

To go with zbus 4.0.1.

πŸ”– 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:

... (truncated)

Commits
  • d5bea0f πŸ”– zb,zm: Release 4.0.1
  • 0ee9741 Merge pull request #594 from zeenix/update-book-docs-urls
  • 66c4a67 πŸ“ book: Link to version 4 of zbus & zvariant docs.rs URLs
  • 1645d7e 🩹 book: Fix a 404 link
  • d4cee9b Merge pull request #383 from Taha-Firoz/property-caching-faq-nitpicks
  • c9a6d8c ✏️ book: Move sentence to more sensible location
  • a0e3d56 πŸ“ book: Add missing newline at EOF
  • 3c224bd ✏️ book: Update doc URL references
  • 6db318b Merge pull request #593 from zeenix/add-zbus-xml-to-readme
  • 46188a4 πŸ“ Add zbus_xml to top-level repo README
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 15, 2024
Bumps [zbus](https://github.com/dbus2/zbus) from 3.15.0 to 4.0.1.
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](dbus2/zbus@zbus-3.15.0...zbus-4.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/zbus-4.0.1 branch from 029a0ad to 4ed90dd Compare February 15, 2024 15:28
@eNV25 eNV25 merged commit 57aa02a into master Feb 15, 2024
1 check passed
@eNV25 eNV25 deleted the dependabot/cargo/zbus-4.0.1 branch February 15, 2024 15:29
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.

1 participant