Skip to content

Releases: coreos/go-systemd

go-systemd v19

22 Mar 09:31
v19
95778df
Compare
Choose a tag to compare

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

31 Oct 10:03
v18
9002847
Compare
Choose a tag to compare

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

11 May 13:56
v17
39ca1b0
Compare
Choose a tag to compare

Breaking changes:

  • activation: remove unsafe support for fd re-use
    (removed unsetEnv 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

02 Feb 10:04
v16
40e2722
Compare
Choose a tag to compare

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

31 Jul 12:27
v15
Compare
Choose a tag to compare

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

14 Nov 12:31
v14
Compare
Choose a tag to compare

Breaking changes:

  • daemon: introduce support for cleaning env variables
    (boolean parameter added to SdNotify and SdWatchdogEnabled)

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

24 Oct 14:31
v13
Compare
Choose a tag to compare

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

26 Aug 13:33
v12
Compare
Choose a tag to compare

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

22 Jul 17:24
v11
Compare
Choose a tag to compare

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

23 Jun 21:54
v10
Compare
Choose a tag to compare

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