Important Notice
Starting from this release, we have set the Go version in go.mod
to 1.23. Moving forward, we plan to continuously update it to the second most recent Go release.
We understand that gopsutil runs on various platforms, and some applications using it may only support older Go versions. With this release, those applications might no longer be able to build. However, as discussed in #1804, we made this change because golang.org/x/sys, which gopsutil depends on, has adopted a policy of continuously updating its Go version.
That said, we intend to be conservative about syntax changes and avoid unnecessary modifications whenever possible.
What's Changed
disk
host
- [net][host][aix] Fix build and Makefile by @Lomanic in #1809
- [host][process]: fix type missmatch test. by @shirou in #1821
- [host]: fix potential error on CI test on Windows. by @shirou in #1830
process
Chore
- chore: enable unnecessary-stmt from revive by @mmorel-35 in #1812
- chore: enable thelper and usetesting linters by @mmorel-35 in #1814
- chore(golangci-lint): cover aix and cgo by @mmorel-35 in #1805
- chore: use testify instead of testing by @mmorel-35 in #1815
- chore: enable begin rule from thelper by @mmorel-35 in #1816
- chore: enable var-naming from revive by @mmorel-35 in #1817
- chore: enable gocritic linter by @mmorel-35 in #1813
- chore: enable unused-parameter from revive by @mmorel-35 in #1783
- chore: reduce number of executed jobs by @mmorel-35 in #1799
- chore: update go version in module by @mmorel-35 in #1804
- fix: address nolint contextcheck by @mmorel-35 in #1826
Other Changes
- fix: deprecated set-output by @mmorel-35 in #1810
- fix: enable loong64 architecture in lint workflow by @mmorel-35 in #1827
New Contributors
Full Changelog: v4.25.2...v4.25.3