Releases: coreos/go-systemd
Releases · coreos/go-systemd
v22.7.0
This release fixes an issue with multiple calls to (e.g.) StopUnit, simplifies and improves code and documentation, and adds a few new methods.
What's Changed
- build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #473
- Fixing error on negative value of LISTEN_FDS by @vporoshok in #472
- Misc error reporting improvements by @kolyshkin in #475
- daemon: add
SdNotifyMonotonicUsechelper function by @corhere in #435 - build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #481
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #483
- dbus: fix TestSetUnitProperties wrt systemd >= 252 by @kolyshkin in #489
- Sync repo templates ⚙ by @coreosbot-releng in #486
- unit: simplify escape character by @huww98 in #485
- machine1: add missing close method to conn. by @maartensson in #487
- subscription: Added context cancellation and sync to subscription set by @NotSoFancyName in #480
- ci: improvements by @kolyshkin in #490
- import1: add missing close method to conn by @maartensson in #492
- sdjournal: fix copyrights by @kolyshkin in #499
- activation: simplify ListenersWithNames by @kolyshkin in #498
- dbus: allow multiple calls for the same unit to *Unit by @haircommander in #496
- Documentation nits by @kolyshkin in #500
- dbus: dedup result conversion code by @kolyshkin in #493
- add FilesWithNames() to activation by @MayCXC in #497
- Add support for transient units with auxiliary units by @gwenya in #495
- activation: stub out for plan9 by @flokli in #440
New Contributors
- @vporoshok made their first contribution in #472
- @corhere made their first contribution in #435
- @huww98 made their first contribution in #485
- @maartensson made their first contribution in #487
- @haircommander made their first contribution in #496
- @MayCXC made their first contribution in #497
- @gwenya made their first contribution in #495
- @flokli made their first contribution in #440
Full Changelog: v22.6.0...v22.7.0
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
depsupport - switched to semver tags to appease Go mod