Skip to content

Releases: elastic/go-sysinfo

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

v1.11.0

01 Jun 14:35
9ea2eba
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Lowercase the returned OS.Hostname and FQDN values as per Elastic
    Common Schema (ECS) guidelines for the host.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, and checkpoint_restore capabilities. ([GH-184])

BUG FIXES:

  • linux: Fix OS metadata collection for Manjaro Linux. ([GH-183])

v1.10.2

18 May 19:24
28cbdc5
Compare
Choose a tag to compare

BUG FIXES:

  • darwin: Prevent possible runtime panic while reading process arguments. ([GH-172])
  • windows: On versions earlier than 10/2016, the os.major version was getting overwritten with
    what would have been the minor version, and the os.minor version was not being set. ([GH-175])

v1.10.1

11 Apr 22:51
40be978
Compare
Choose a tag to compare

Added

  • Bump github.com/docker/docker from 20.10.24+incompatible to 23.0.3+incompatible #163