unstale

cargo / zbus

zbus

What changed in zbus 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

4 breaking5 new APIs and options2 performance7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.0 on npm

zbus 618 changes

Breaking changes 4

  • Headers with an unended string or a repeated field are rejected.

    6.2.0release notes

  • Received messages whose path field is not an object path are rejected.

    6.2.0release notes

  • Connections check each received message's body, and received messages are checked as a whole rather than only by fields.

    6.2.0release notes

  • The interfaces of fdo::ManagedObjects use HashMap again, matching the InterfacesAdded signal and PropertiesProxy::get_all.

    6.1.0release notes

New APIs and options 5

  • Adds a method for a bus to check message bodies.

    6.2.0release notes

  • Adds Connection::send_all for sending messages.

    6.2.0release notes

  • Adds a method for a bus to set message senders.

    6.2.0release notes

  • Adds WriteHalf::send_messages for sending messages.

    6.2.0release notes

  • Match rules now support the eavesdrop key.

    6.1.0release notes

Performance 2

  • Sockets driven by zbus read ahead of each message.

    6.2.0release notes

  • Deserializing an OwnedMatchRule no longer copies its string.

    6.1.0release notes

Fixes and other changes 7

  • Checks message bodies without an if let guard.

    6.2.1release notes

  • Dictionary entries are counted when checking signatures.

    6.2.0release notes

  • References to unsized types are accepted as interface arguments again.

    6.2.0release notes

  • Nesting is limited for each signature.

    6.2.0release notes

  • Arguments that fail deserialization now receive an InvalidArgs reply.

    6.1.0release notes

  • Apostrophes in match rule strings are now escaped.

    6.1.0release notes

  • Match rule strings are now parsed according to the specification.

    6.1.0release notes