Skip to content

Releases: elastic/go-sysinfo

Improve native architecture detection on Linux

14 Feb 14:00
7ac4eba
Compare
Choose a tag to compare
v1.15.1

fix linux kernel version string parsing when derermining kernel host …

v1.15.0

30 Oct 10:09
750e2c7
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Fetch all IP addresses in a single stdlib call ([GH-246])

v1.14.2

23 Sep 18:35
5da73b0
Compare
Choose a tag to compare

BUG FIXES:

  • Update github.com/prometheus/procfs to v0.15.1 ([GH-242])

v1.14.1

26 Jul 08:26
6d844a0
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Host.FQDNWithContext() and the deprecated Host.FQDN() now return the FQDN as is; it isn't lowercased anymore. This also affects types.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

05 Apr 13:55
8885924
Compare
Choose a tag to compare

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

13 Feb 02:30
92fd1d4
Compare
Choose a tag to compare

IMPROVEMENTS:

  • HostInfo.NativeArchitecture is not available on Windows system prior Windows 10 version 1709. ([GH-201])

v1.13.0

12 Feb 12:29
80edf3d
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Adds NativeArchitecture to HostInfo to allow applications to detect whether they are running in emulation. ([GH-200])

v1.12.0

01 Feb 02:00
489579d
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Allow FQDN lookup functions to take a context. ([GH-199])

v1.11.2

29 Nov 16:15
35e55cd
Compare
Choose a tag to compare

IMPROVEMENTS:

  • darwin: Remove duplicate -lproc linker flag to avoid a warning on macOS Sonoma. ([GH-195])

v1.11.1

16 Aug 14:56
865a715
Compare
Choose a tag to compare

IMPROVEMENTS:

  • aix: Added mappings for AIX host memory information ([GH-188])
  • linux: Optimize linux key value parsing (ie: /proc files) ([GH-186])

BUG FIXES:

  • aix: Added missing method FQDN for types.Host implementation. ([GH-185])