Go Systemd Versions Save

Go bindings to systemd socket activation, journal, D-Bus, and unit files

v22.5.0

1 year ago

Changes:

  • journal: add StderrIsJournalStream function
  • internal/dlopen: fix test and run in CI

v22.4.0

1 year ago

Changes:

  • dbus: add Connected methods to check connections status
  • dbus: add support for querying unit by PID
  • dbus: implement support for cgroup freezer APIs
  • journal: remove implicit initialization
  • login1: add methods to get session/user properties
  • login1: add context-aware ListSessions and ListUsers methods

v22.3.2

3 years ago

Changes:

  • dbus: fix deprecated marks and docs
  • journal: close unix socket after successful probe

v22.3.1

3 years ago

Changes:

  • sdjournal: fix input argument type in C.Malloc call
  • gomod: update godbus to v5.0.4

v22.3.0

3 years ago

Changes:

  • dbus: add KillUnitWithTarget
  • dbus: fix typo in GetUnitTypePropertyContext
  • sdjournal: drop conditional static specifier
  • ci: clean up legacy helpers
  • ci: let system settle before running tests

v22.2.0

3 years ago

Changes:

  • go-systemd: fix building on windows
  • dbus: add context-aware methods
  • dbus: add context to open functions
  • dbus: add ListJobs method
  • sdjournal: SeekTail should be followed by Previous, not Next
  • sdjournal: add GetBootID support
  • ci: add initial GitHub workflow
  • ci: add container tests

v22.1.0

3 years ago

Changes:

  • docs: update docs links in README
  • unit: do not export private constants
  • unit: deserialize keeps all semantic data
  • deserialize: Use quote to print possibly-invalid string
  • login1: support getting active session and session details

v22.0.0

4 years ago

Breaking changes:

  • minimum Go toolchain version is now 1.12
  • switched to Go modules, removed dep support
  • switched to semver tags to appease Go mod

v21

4 years ago

Changes:

  • sdjournal: use internal dlopen package
  • activation: fix tautological error handling

v20

4 years ago

New features:

  • import1: implement importd methods
  • dbus: introduce GetAllProperties() for fetching all systemd unit properties
  • machine1: add CreateMachine call (and variations)

Other changes in this release:

  • sdjournal: provide errno codes in error messages as strings