Skip to content

v22.8.0

Latest

Choose a tag to compare

@kolyshkin kolyshkin released this 02 Dec 01:13

This release adds a couple of new dbus methods (CancelJob and
GetManagerPropertyContext), fixes a deadlock on subscription shutdown
and a handle leak in journal, and bumps the minimum required Go version
to 1.24.

Notable changes

New API

  • dbus: add Conn.CancelJob to cancel a queued job by its ID.
  • dbus: add Conn.GetManagerPropertyContext, a context-aware variant of
    GetManagerProperty, which is now deprecated. This was the last Conn
    method without a context-aware variant, so a call to it never returned
    if systemd was hung.

Bug fixes

  • dbus: SubscribeUnitsCustomContext no longer deadlocks when its context
    is cancelled while a channel send is pending; the channels are now closed
    when the sender goroutine exits.
  • journal: fix a file handle leak in an error path.

Compatibility

  • The minimum required Go version is now 1.24.

What's Changed

New Contributors

Full Changelog: v22.7.0...v22.8.0