Releases: elastic/go-sysinfo
Releases · elastic/go-sysinfo
Improve native architecture detection on Linux
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])