Important Change
Since #1702, the Darwin implementation has been switched from cgo to purego (Great contribution from @uubulb). As a result, cgo has been removed from the Darwin implementation, making cross-compilation easier. We believe this change will not have any impact, but if you encounter any issues, please create an issue.
What's Changed
cpu, mem, sensors, disk, process on darwin
- feat(cpu, mem, sensors, disk, process)(darwin): cgo-free implementations by @uubulb in https://github.com/shirou/gopsutil/pull/1702
process
- [process][darwin][freebsd][linux][openbsd] Make process.Children not reliant on pgrep by @Lomanic in https://github.com/shirou/gopsutil/pull/1706
- implement process:NumFDs for Windows by @al-online in https://github.com/shirou/gopsutil/pull/1712
- Fix resolution for process create time limited to seconds by @joshiste in https://github.com/shirou/gopsutil/pull/1713
Other Changes
- fix: remove coverall and godocs.io badge from README by @shirou in https://github.com/shirou/gopsutil/pull/1705
- [common] add HOST_PROC_MOUNTINFO to EnvMap by @atoulme in https://github.com/shirou/gopsutil/pull/1707
- Fix error message typo in sensors_linux by @henrygd in https://github.com/shirou/gopsutil/pull/1715
New Contributors
- @al-online made their first contribution in https://github.com/shirou/gopsutil/pull/1712
- @joshiste made their first contribution in https://github.com/shirou/gopsutil/pull/1713
- @henrygd made their first contribution in https://github.com/shirou/gopsutil/pull/1715
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.8...v4.24.9