Releases: coreos/go-systemd
Releases · coreos/go-systemd
go-systemd v19
Breaking changes:
- minimum Go toolchain version is now 1.10
Other changes in this release:
- journal: use a connection-less socket
- docs: fix multiple docstrings
- examples: Listeners method is now without arguments
- examples: systemd-activate is now systemd-socket-activate
- test/machine1: fix sporadic test failures from TestMachine
- journal: skip sending test if journald is unavailable
go-systemd v18
Breaking changes:
- minimum Go toolchain version is now 1.7
New features:
- machine1: add methods ListMachines, ListImages, GetMachineAddresses
Other changes in this release:
- dbus: Fix API break from godbus
- unit: use ContainsAny instead of IndexAny
- journal: fix validation of key names
- docs: Add more detail to Conn.ListUnits
- tests/activation: fix local test run
- test/journal: add some send tests
go-systemd v17
Breaking changes:
- activation: remove unsafe support for fd re-use
(removedunsetEnv
flags)
New features:
- activation: add two functions to provide listeners with names
- daemon: add convenience constants for SdNotify
- login1: add support for session management
- sdjournal: add formatting feature to JournalReader
Other changes in this release:
- activation: close files after creating listeners
- daemon: clean up copyright headers and documentation
- dbus: add systemd requirement note to ListUnitsByNames
- journal: add missing error handling for write & unlink calls
- sdjournal: add docstrings for public error values
- sdjournal: fix race conditions in JournalReader.Follow
- sdjournal: fix concurrency & shadowing issues in tests
- sdjournal: propagate AddMatch errors in constructor
- ... and many more linting fixes (thanks @muesli!)
go-systemd v16
Summary of changes in this release:
- dbus: fix subStateSubscriber crash
- dbus: make SetSubStateSubscriber safer
- dbus: add SetPropertiesSubscriber method
- dbus: add SystemState method for getting system state
- login1: add close function
- sdjournal: clarify documentation's notion of "current"
- sdjournal: support testing cursor against current position
go-systemd v15
Summary of changes in this release:
- util: fix runningFromSystemService
- sdjournal: add NewJournalFromFiles
- sdjournal: fix Wait() timeout
- sdjournal: fix goroutine leak
- sdjournal: add GetCatalog
- machined: add several methods
- tests: misc improvements
go-systemd v14
Breaking changes:
- daemon: introduce support for cleaning env variables
(boolean parameter added toSdNotify
andSdWatchdogEnabled
)
Other changes in this release:
- daemon: add watchdog checker
- dbus: make New() fall back to direct systemd connection
- util: add tests for util package
- test: add license header check
go-systemd v13
Summary of changes in this release:
- dbus: add additional tests for dbus methods
- sdjournal: add GetUniqueValues
- sdjournal: fix return values type
- dbus/properties: add service type
- doc: syntax highlight activation in README
go-systemd v12
Summary of changes in this release:
- dbus: add mask/unmask for unit files
- dbus: add PropPids to set initial pids of transient scope units
- util: conditionally build CGO functions
- activation: don't specify NextProtos so that we can take advantage of HTTP/2
- sdjournal: fix concurrent map access
- sdjournal: fix race condition in test
- sdjournal: fix memory leak in cursor handling
go-systemd v11
Breaking changes:
- daemon: improve SdNotify errors signaling
(changed return type)
Other changes in this release:
- sdjournal: fix an implicit seek to head
- sdjournal: add GetDataBytes() and GetDataValueBytes() to Journal
- multiple testsuite fixes
go-systemd v10
Summary of changes in this release:
- sdjournal: fix incomplete reads in JournalReader.Read()
- sdjournal: break the loop if error happens during Write()
- sdjournal: fix Writer call