Releases: coreos/go-systemd
Releases · coreos/go-systemd
go-systemd v9
Summary of changes in this release:
- dbus: add support for new ListUnits* methods
- sdjournal: export all fields IDs
- sdjournal: add GetEntry method to retrieve all fields
- sdjournal: don't close libsystemd on Close()
go-systemd v8
Summary of changes in this release:
- sdjournal: add support for cursors (get, seek, test)
- sdjournal: export SYSLOG_IDENTIFIER
- dbus: expose NewConnection method
go-systemd v7
Summary of changes in this release:
- sdjournal: added JournalReader.Rewind() and Journal.SeekHead()
go-systemd v6
Summary of changes in this release:
- rewritten sdjournal to dlopen libsystemd instead of linking to it
- examples are not built by default anymore, making
go get
happy - journal entry field
_TRANSPORT
is now exposed
v5
This release adds a number of new methods for working with the journal and exposing more information about systemd, as well as a minor bugfix and small internal code cleanup.
- Add several new functions to sdjournal: AddDisjunction, AddConjunction, GetDataValue, FlushMatches, SetDataThreshold
- Add ability to load journal from custom directory (sdjournal.NewJournalFromDir)
- Add GetManagerProperty to dbus to obtain systemd1.manager interface properties
- Add several utility functions to detect information when invoked from systemd (GetRunningSlice, RunningFromSystemService, CurrentUnitName, GetMachineID)
- Add login1.Inhibit and login1.Subscribe
- Add dbus.ListUnitFiles
- Correctly propagate error during sdjournal.AddMatch
sdjournal package, features, and bug fixes
- add dbus.NewSystemdConnection() for connecting directly to systemd.
- add github.com/coreos/go-systemd/sdjournal package for low-level access to
journal - add activation.TLSListeners for socket activation of TLS sockets
- stable ordering of unit serialization