Releases: coreos/go-systemd
Releases · coreos/go-systemd
v22.6.0
This release bumps Go requirement to 1.23, modernizes code, improves CI
and documentation, fixes a few bugs, and adds a new dbus method.
What's Changed
- workflows: update Linux distro versions; update actions; add Go 1.20 by @bgilbert in #418
- Sync repo templates ⚙ by @coreosbot-releng in #422
- build(deps): bump github.com/godbus/dbus/v5 from 5.0.4 to 5.1.0 by @dependabot[bot] in #423
- journal: fix return types inside C wrapper functions by @darxriggs in #419
- dlopen: make error handling thread safe by @Luap99 in #431
- Sync repo templates ⚙ by @coreosbot-releng in #450
- Modernize and fix CI by @kolyshkin in #459
- dbus: add AttachProcessesToUnit by @kolyshkin in #458
- dbus: Add a comment about result channel behaviour by @NotSoFancyName in #463
- Bump go to 1.23, fix tests, add more images by @kolyshkin in #464
- Modernize sources, add golangci-lint by @kolyshkin in #466
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #467
- ci: test go 1.25 by @Luap99 in #468
- README: bump minimal Go version by @kolyshkin in #470
- import1: test fixes by @kolyshkin in #469
New Contributors
- @coreosbot-releng made their first contribution in #422
- @dependabot[bot] made their first contribution in #423
- @darxriggs made their first contribution in #419
- @Luap99 made their first contribution in #431
- @NotSoFancyName made their first contribution in #463
Full Changelog: v22.5.0...v22.6.0
go-systemd v22.5.0
Changes:
- journal: add StderrIsJournalStream function
- internal/dlopen: fix test and run in CI
go-systemd v22.4.0
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
go-systemd v22.3.2
Changes:
- dbus: fix deprecated marks and docs
- journal: close unix socket after successful probe
go-systemd v22.3.1
Changes:
- sdjournal: fix input argument type in C.Malloc call
- gomod: update godbus to v5.0.4
go-systemd v22.3.0
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
go-systemd v22.2.0
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
go-systemd v22.1.0
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
go-systemd v22.0.0
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
go-systemd v21
Changes:
- sdjournal: use internal dlopen package
- activation: fix tautological error handling