Releases: elastic/go-sysinfo
Releases · elastic/go-sysinfo
v1.15.0
v1.14.2
v1.14.1
BREAKING CHANGES:
Host.FQDNWithContext()
and the deprecatedHost.FQDN()
now return the FQDN as is; it isn't lowercased anymore. This also affectstypes.HostInfo#Hostname
which, when it's the FQDN, won't be lowercased. ([GH-231])
IMPROVEMENTS:
- Replace usages of the deprecated io/ioutil package. ([GH-220])
- The sysinfo APIs (e.g.
Host()
,Process()
) now accept an optional argument to force reading from an alternative filesystem root. This can be useful inside of containers to read data from the Linux host. ([GH-226])
BUG FIXES:
- linux: Remove newline from HostInfo.NativeArchitecture value. ([GH-223])
v1.14.0
IMPROVEMENTS:
- Refactor the Linux FQDN test cases to remove the dependency on github.com/docker/docker. ([GH-215])
- Replace usages of github.com/joeshaw/multierror with the stdlib errors.Join(). This may affect the rendering of some error messages. ([GH-217])
- build: Require Go 1.21 for the module. ([GH-214])
- docs: Add policy of supporting the two most recent Go releases. ([GH-214])
v1.13.1
v1.13.0
v1.12.0
v1.11.2
v1.11.1
v1.11.0
IMPROVEMENTS:
- Lowercase the returned OS.Hostname and FQDN values as per Elastic
Common Schema (ECS) guidelines for thehost.name
field. ([GH-180]) - linux: Added an
os.Family
mapping for Arch Linux based distributions. ([GH-183]) - linux: Update the Linux capability name mapping to add names for the
perfmon
,bpf
, andcheckpoint_restore
capabilities. ([GH-184])
BUG FIXES:
- linux: Fix OS metadata collection for Manjaro Linux. ([GH-183])