Skip to content

Releases: jaypipes/ghw

v0.10.0

06 Feb 13:35
ae21148
Compare
Choose a tag to compare

v0.9.0

25 Mar 18:28
6d4903c
Compare
Choose a tag to compare
  • bring in github.com/jaypipes/pcidb@v1.0.0 (#311, @jaypipes)
  • get partition types for unmounted partitions (#305, @Itxaka)
  • update core dependencies and fix run-from-snapshot (#309, @taigrr)
  • change from fs package to os package (#307, @taigrr)
  • get partition labels from udev (#304, @Itxaka)
  • util: add helper to avoid long format strings (#299, @fromanirh)
  • windows: use PhysicalAdapter to check if NIC is virtual (#292, @lukashartl)
  • update toolchain (#290, @fromanirh)
  • topology: memory: allow encode/decode cycle (#284, @fromanirh)
  • static check lanes (#288, @fromanirh)
  • pci: don't pass chroot to snapshot (#286, @fromanirh)
  • memory: expose per-NUMA-node memory (#268, @fromanirh)
  • allow passing in Context as Option (#280, @jaypipes)
  • fix: typo with Alerter (#279, @GreyXor)
  • pci: remove redundant multiple pciaddr parsing and modalias check (#265, @fromanirh)
  • move from Travis to GH Actions
  • block: read procfs, not /etc/mtab (#251, @fromanirh)
  • rename PCIAddress.Slot to PCIAddress.Device (#252, @jaypipes)

v0.8.0

12 May 22:19
a7823c0
Compare
Choose a tag to compare

Features

  • Add ghw.PCIAddress.String() helper (#223, thanks @fromanirh)
  • Report PCI backing device address (#221 thanks @fromanirh)
  • Include network information in ghw snapshots (#227 thanks @fromanirh)
  • Report NUMA node locality for PCI devices (#225 thanks @fromanirh)
  • Gather full PCI tree including bridge devices in ghw snapshots (#224 thanks @fromanirh)
  • Add ghw.pci.LookupDevice (#240 thanks @fromanirh)
  • Add baseboard product lookup on linux and windows (#242 thanks @UnityDG)
  • Collect GPU data in ghw snapshots (#243 thanks @fromanirh)

Bug Fixes

  • Don't leak tmpdir when testing (#237 thanks @fromanirh)
  • Fix directory leakage for snapshots (#236 thanks @marcel-apf)

Cleanups

  • Modernize error detection (#233 thanks @fromanirh)

v0.7.0

02 Feb 12:25
Compare
Choose a tag to compare

Features

  • Add UUID to Partition (#197, thanks @schinmai-akamai)
  • Use sysfs as primary method to fetch total physical memory (#198, thanks @cclerget)
  • Break out snapshotting functionality into own package (#202, #205, thanks @fromanirh)
  • Capture memory, CPU and NUMA topology in snapshot (#203, #204, thanks @fromanirh)
  • Add PCI device information to ghwc (#209)
  • Add ghw.WithDisableWarnings() helper (#216, thanks @fromanirh)
  • Add PCI device revision number (#219, thanks @pearsonk)

Bug Fixes

  • Unit tests for Option (#206, thanks @fromanirh)
  • Fix PCI JSON/YAML marshalling (#210, thanks @fromanirh)
  • Fall back to ID_SERIAL if ID_SERIAL_SHORT is missing (#217)

Cleanups

  • Separation of different resources into different packages (#193)
  • Removed support for dep and Go <1.13

v0.6.1

26 May 12:19
Compare
Choose a tag to compare

Bug fixes

  • Windows memory: Memory now properly (#176) calculated for total_physical_bytes and total_usable_bytes. Added documentation (#188) to clearly explain the difference between total_usable_bytes and the transient "available memory amount" (which ghw does not look at)
  • Windows block devices: Name gathering now looks for "ssd" in Caption field to determine SSD drive type (#177). Remove unnecessary "/dev" prefix (#165)
  • WMI for nil types: Fixed issue related to <nil> types being returned from WMI/WQL queries for non-pointer receiver types (#189)

v0.6.0

17 Mar 11:47
Compare
Choose a tag to compare

Features

  • Windows support (@KingRial, #9): CPU, memory, block, chassis, bios, product and network modules now supported on Windows.
  • ghw.Disk.IsRemovable (@thetravischannel): Added new boolean attribute to ghw.Disk struct to represent if the disk drive is removable.
  • Diagnostic snapshot (@jaypipes, #66): Added new ghw-snapshot command (currently Linux-only) that builds a static filesystem snapshot into a tarball and a script (hack/run-against-snapshot.sh) that will mount the snapshot in a Docker container and run ghwc against it for testing/diagnostic purposes