Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/coreos/go-systemd to v22 - autoclosed #7

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf -> v22.5.0 age adoption passing confidence

Release Notes

coreos/go-systemd (github.com/coreos/go-systemd)

v22.5.0: go-systemd v22.5.0

Compare Source

Changes:

  • journal: add StderrIsJournalStream function
  • internal/dlopen: fix test and run in CI

v22.4.0: go-systemd v22.4.0

Compare Source

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

v22.3.2: go-systemd v22.3.2

Compare Source

Changes:

  • dbus: fix deprecated marks and docs
  • journal: close unix socket after successful probe

v22.3.1: go-systemd v22.3.1

Compare Source

Changes:

  • sdjournal: fix input argument type in C.Malloc call
  • gomod: update godbus to v5.0.4

v22.3.0: go-systemd v22.3.0

Compare Source

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

v22.2.0: go-systemd v22.2.0

Compare Source

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

v22.1.0: go-systemd v22.1.0

Compare Source

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

v22.0.0: go-systemd v22.0.0

Compare Source

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

v21: go-systemd v21

Compare Source

Changes:

  • sdjournal: use internal dlopen package
  • activation: fix tautological error handling

v20: go-systemd v20

Compare Source

New features:

  • import1: implement importd methods
  • dbus: introduce GetAllProperties() for fetching all systemd unit properties
  • machine1: add CreateMachine call (and variations)

Other changes in this release:

  • sdjournal: provide errno codes in error messages as strings

v19: go-systemd v19

Compare Source

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

v18: go-systemd v18

Compare Source

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

v17: go-systemd v17

Compare Source

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!)

v15: go-systemd v15

Compare Source

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

v14: go-systemd v14

Compare Source

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

v13: go-systemd v13

Compare Source

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

v12: go-systemd v12

Compare Source

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

v11: go-systemd v11

Compare Source

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

v10: go-systemd v10

Compare Source

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

v9: go-systemd v9

Compare Source

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()

v8: go-systemd v8

Compare Source

Summary of changes in this release:

  • sdjournal: add support for cursors (get, seek, test)
  • sdjournal: export SYSLOG_IDENTIFIER
  • dbus: expose NewConnection method

v7: go-systemd v7

Compare Source

Summary of changes in this release:

  • sdjournal: added JournalReader.Rewind() and Journal.SeekHead()

v6: go-systemd v6

Compare Source

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

Compare Source

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

v4: sdjournal package, features, and bug fixes

Compare Source

  • 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

v3

Compare Source

v2

Compare Source

  • Add login1 package
  • Introduce dbus.LinkUnitFiles and dbus.DisableUnitFiles
  • Avoid double close in some cases

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update module github.com/coreos/go-systemd to v22 Update module github.com/coreos/go-systemd to v22 - autoclosed May 1, 2024
@renovate renovate bot closed this May 1, 2024
@renovate renovate bot deleted the renovate/github.com-coreos-go-systemd-22.x branch May 1, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants