Skip to content

Update Rust crate zbus to v6.6.0 - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/zbus-6.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/zbus-6.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
zbus dependencies minor 6.0.0 → 6.6.0

Release Notes

z-galaxy/zbus (zbus)

v6.6.0

Compare Source

✨ Added
  • Add the core feature, the D-Bus API that needs no connection, for programs that do their own I/O.
  • Add the core-p2p feature, with Guid::generate.
  • Add ConnectionCredentials::from_socket, the credentials of a unix socket's peer, which needs no
    runtime, with comms or core-p2p.
  • Expose connection::handshake, the commands of the auth protocol.
  • Add PrimaryHeader::parse_with_len, to tell a message's length.
  • Add Message::from_parts, a message of its bytes, which takes the FDs that its header counts from
    those that wait.
  • Make Body::validate available without bus-impl.
  • Add fdo::machine_id, the ID of the machine, with core.
  • Make connection::Builder::build_message_stream and ConnectionCredentials::of_peer available
    without bus-impl.
📦 Dependencies
  • Build syn only for zbus_macros, on the host, rather than for the target of zbus as well.
🗑️ Deprecated
  • Deprecate the bus-impl feature, whose API buses implement themselves.
  • Deprecate connection::Builder::unique_name.
  • Deprecate connection::Builder::validate_bodies in favour of Body::validate.
  • Deprecate Connection::set_unique_name.
  • Deprecate Message::with_sender.
  • Deprecate Message::from_bytes in favour of from_parts, which is safe.
📝 Documentation
  • List the process-token lookup of a Windows peer as blocking work.
  • Document the memory that a Variant takes for each value it holds.
  • Document the limits that the wire format enforces.
🐛 Fixed
  • Deserialize each number of a Variant as the type of its signature, from formats such as JSON too.
  • Name the string, not the signature, when a Variant refuses one.
  • Tell a body of one structure, (su), from a body of its fields, su, in a received message.
  • Refuse a received message whose header fields are longer than 64 MiB, the most that the
    specification allows an array.
  • Check the lengths of a received message against their limits before adding them up, which
    overflowed on 32-bit targets.
  • Refuse to serialize or deserialize an array longer than 64 MiB, the most that the specification
    allows, and to build a message with one, its header fields included.
  • Refuse header fields longer than 64 MiB in the deprecated Message::from_bytes and
    Message::with_sender, and messages longer than 128 MiB in from_bytes.
⚡️ Performance
  • Parse the header of each received message once. #​2175
  • Move a deserialized Variant into an OwnedVariant, not copy it. #​2175
  • Hold an ay in a Variant as bytes rather than a Variant of each. #​2175
🔥 Removed
  • Drop the NSS lookup of peers' groups on Linux < 4.13 and Android, where their credentials now
    leave the groups out.
🔒️ Security
  • Don't overflow the stack on a string that a Variant can't borrow, such as a signature that a peer
    sets a Variant property to.
  • Check each field's type before reading it in Header::deserialize. #​2175
✅ Testing
  • Move the peer-credentials benchmark to the connection target.

v6.5.0

Compare Source

🐛 Fixed
  • Pass a D-Bus error of another domain on to a method's caller under its own name, not as
    org.freedesktop.zbus.Error.
  • Don't send calls made once a dropped reader closed the connection.

v6.4.0

Compare Source

✨ Added
  • Add Connection::hand_over, with the object server taking part.
  • Add ResponseDispatchNotifier::followed_by, for work after a response that a hand-over waits for.
  • Pass both ends of a channel on to another process, through ChannelHandover.
  • Add Error::Handover for zoter errors, so ? works on them.
  • Take each message over for those that are yet to get it.
  • Add Message::error_for_serial to reply without the call header.
📦 Dependencies
  • Update zcheapstr to 1.3, whose Str decodes any string and is (de)serialized as a plain string in
    every format.
  • Update zoter to 0.2, which the handover feature now builds on: a service that calls zoter itself
    needs 0.2 too.
  • Update jiff to 1.0: the jiff feature implements Type and Basic for the types of jiff 1.0, among
    them ZonedDateTime, which is jiff 0.2's Zoned renamed.
📝 Documentation
  • Warn against waiting for a block_on on another thread.
🐛 Fixed
  • Serialize names, GUIDs and owned paths and rules as plain strings, so that RON reads them back.
  • Decode a MatchRule from a string that isn't lent.
  • Decode an ObjectPath from a string that isn't lent. #​2151
  • Fail a hand-over through a stream that is not the only one. #​2137
⚡️ Performance
  • Decode an owned name, GUID or path with one allocation, not two.
  • Borrow the string of a name or GUID decoded from a message.
  • Hand over a connection with no object server at less cost.

v6.3.0

Compare Source

✨ Added
  • Hand a connection over with MessageStream::hand_over, with the new handover feature, on Linux.
  • Take a connection over with Builder::take_over.
  • Save and restore a Handover through zoter's traits.
  • Add Connection::prepare_hand_over, for sends that don't wait.
  • Add ReadHalf::can_take_unread and ReadHalf::take_unread.
  • Add WriteHalf::can_resume_writes, for halves of your own.
  • Resume cut-off sends, adding Connection::flush and unwritten_len.
  • Look up the credentials of the peer of a unix socket.
  • Add fallback interfaces to the object server. #​2112
  • Support jiff as an alternate time crate.
♻️ Changed
  • Write the sockets that zbus drives from the connection itself.
  • Make Builder::build_message_stream available with the handover feature too.
  • Keep a long message that Reader reads in the reader itself.
📝 Documentation
  • Describe the ConnectionStats counters as the specification does.
  • Document when a lazily started object server misses calls.
🐛 Fixed
  • Convert a slice of Fds into an Array. #​1730
  • Escape the bytes of a displayed byte string. #​1813
  • Use the specified names of the ConnectionStats FD entries. #​2126
  • Close a connection before its streams end.
  • End a connection over a unix socket or a channel on UnexpectedEof.
  • Fail MessageStream::for_match_rule if the reader ends meanwhile.
  • Fail a method call before it is sent once the reader ended.
  • Make the default receive_message cancel-safe and count its fds.
  • Leave the process descriptor out where the kernel has none.
  • Look up all of the groups of a user, however many.
  • Give each group of the peer of a unix socket once.
  • Take the credentials of a peer in another PID namespace.
  • Send a message with fds in a write of its own.
⚡️ Performance
  • Keep the credentials that the server handshake looked up.
  • Take the groups of a peer from its socket on Linux.
✅ Testing
  • Speed up the tests of big sends through a half of your own.
  • Subscribe before registering the fallback in a fallback test.
  • Keep ReadinessFirst's readiness waits across polls.

v6.2.1

Compare Source

🐛 Fixed
  • Check message bodies without an if let guard.
✅ Testing
  • Benchmark taking a burst of signals off a connection's socket.
  • Benchmark checking a body of dicts of variants.

v6.2.0

Compare Source

✨ Added
  • Add Connection::send_all. #​2078
  • Add WriteHalf::send_messages.
♻️ Changed
  • Hand several buffers to each send of a runtime's socket.
🐛 Fixed
  • Limit nesting for each signature, and count dict entries. #​2087
  • Reject a received message whose path field isn't an object path.
  • Accept references to unsized types as interface args again. #​2076
⚙️ Other
  • 🦺 Reject a header with an unended string or a repeated field.
  • 🦺 Let a connection check the body of each message it receives.
  • 🦺 Add Body::validate, for a bus to check bodies with.
  • 🦺 Check a received message as a whole, not only its fields.
⚡️ Performance
  • Call the read half itself rather than through its Box.
  • Read ahead of each message on the sockets that zbus drives. #​2085
  • Allocate a received message once, at its exact length.
  • Leave the maybe type of GVariant to the signature parser.
  • Add Message::with_sender, for a bus to set senders with.
  • Leave room for None in where a header field lies.
  • Parse message headers with winnow rather than serde. #​2080
  • Read the header fields of a message without checking them again.
✅ Testing
  • Hold deserializing to the nesting that Body::validate allows.
  • Benchmark parsing and checking short signatures.
  • Fuzz the parser of message headers against serde.
  • Benchmark decoding a received message.

v6.1.0

Compare Source

✨ Added
  • Support the eavesdrop key of match rules.
💥 Breaking
  • Go back to a HashMap for the interfaces of fdo::ManagedObjects, which 6.0.0 turned into a
    BTreeMap, to match the InterfacesAdded signal and PropertiesProxy::get_all. #​2064
🐛 Fixed
  • Escape apostrophes in match rule strings.
  • Parse match rule strings as the specification has them.
  • Reply InvalidArgs to arguments that don't deserialize.
⚡️ Performance
  • Don't copy the string of an OwnedMatchRule to deserialize it.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from 63a6e08 to 8cd1d3c Compare October 29, 2026 21:37
@renovate renovate Bot changed the title Update Rust crate zbus to v6.1.0 Update Rust crate zbus to v6.2.0 Oct 29, 2026
@renovate renovate Bot changed the title Update Rust crate zbus to v6.2.0 Update Rust crate zbus to v6.2.1 Nov 1, 2026
@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from 8cd1d3c to 252b1d5 Compare November 1, 2026 20:31
@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from 252b1d5 to a99aa41 Compare November 13, 2026 18:44
@renovate renovate Bot changed the title Update Rust crate zbus to v6.2.1 Update Rust crate zbus to v6.3.0 Nov 13, 2026
@renovate renovate Bot changed the title Update Rust crate zbus to v6.3.0 Update Rust crate zbus to v6.4.0 Nov 20, 2026
@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from a99aa41 to 98401fa Compare November 20, 2026 06:32
@renovate renovate Bot changed the title Update Rust crate zbus to v6.4.0 Update Rust crate zbus to v6.5.0 Nov 21, 2026
@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from 98401fa to 0131ee7 Compare November 21, 2026 04:42
@renovate renovate Bot changed the title Update Rust crate zbus to v6.5.0 Update Rust crate zbus to v6.6.0 Nov 30, 2026
@renovate
renovate Bot force-pushed the renovate/zbus-6.x-lockfile branch from 0131ee7 to 61f3c5e Compare November 30, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants