unstale

cargo / zbus_polkit

zbus_polkit

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

10 breaking1 security2 new APIs and options1 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_polkit 610 changes

Breaking changes 10

  • AuthorityFeatures is now a bitflags type, changing how developers represent and use its flags.

    6.0.0release notes

  • The options argument changes type because zbus::zvariant::Value is now zbus::Variant.

    6.0.0release notes

  • AuthorityProxyBlocking is dropped because zbus 6 has no blocking API.

    6.0.0release notes

  • The blocking-api feature is dropped because zbus 6 has no blocking API.

    6.0.0release notes

  • CheckAuthorizationFlags is now a bitflags type, changing how developers represent and use its flags.

    6.0.0release notes

  • Identity::identity_details changes type because zbus::zvariant::Value is now zbus::Variant.

    6.0.0release notes

  • The minimum supported Rust version is raised to 1.89.

    6.0.0release notes

  • Subject fields are hidden; its kind is available through Subject::kind.

    6.0.0release notes

  • Subject::new_for_owner now passes a pidfd.

    6.0.0release notes

  • The PID-based Subject::new_for_owner is renamed to Subject::new_for_pid.

    6.0.0release notes

zbus_polkit 54 changes

Security 1

New APIs and options 2

  • Implements serde::Serialize for TemporaryAuthorization, allowing it to be serialized.

    5.1.0release notes

  • Adds a Cargo feature that mostly proxies the corresponding zbus feature.

    5.0.0release notes

Fixes and other changes 1

  • Uses the correct type for sending UID to polkit.

    5.1.0release notes