Skip to content

Releases: elastic/go-sysinfo

v1.15.4

20 Aug 07:03
d0ddb7f

Choose a tag to compare

IMPROVEMENTS:

  • linux: Add test case to validate OS metadata can be collected from AlmaLinux 10. ([GH-259])
  • linux: Add test case to validate OS metadata can be collected from Red Hat Enterprise Linux 10. ([GH-258])

BUG FIXES:

  • Host.FQDNWithContext() fixed to not return localhost as FQDN. ([GH-269])
  • aix: Fix compilation error caused by unused "io/ioutil" import. ([GH-267])

v1.15.3

28 Mar 13:38
150560b

Choose a tag to compare

IMPROVEMENTS:

  • Bump go-windows to 1.0.2 ([GH-255])

v1.15.2

25 Mar 02:53
2eee65a

Choose a tag to compare

What's Changed

  • github-actions: ubuntu-20.04 will be fully retired by April 1, 2025. by @v1v in #251
  • build(deps): bump vmactions/freebsd-vm from 1.1.8 to 1.1.9 in the github-actions group by @dependabot in #253
  • fix: do not leak darwin provider file to other oses by @kruskall in #254

Full Changelog: v1.15.1...v1.15.2

v1.15.1

14 Feb 14:00
7ac4eba

Choose a tag to compare

IMPROVEMENTS:

  • linux: Support SLES/SLED OS version extraction. ([GH-248])

BUG FIXES:

  • linux: Improve parsing Linux kernel version for determining native host architecture, x86_64 was not recognized ([GH-252])

v1.15.0

30 Oct 10:09
750e2c7

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

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

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

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

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

Choose a tag to compare

IMPROVEMENTS:

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