ServerStatus-goclient
ServerStatus-goclient copied to clipboard
fix(deps): update module github.com/shirou/gopsutil/v3 to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
github.com/shirou/gopsutil/v3 | v3.22.10 -> v4.24.8 |
Release Notes
shirou/gopsutil (github.com/shirou/gopsutil/v3)
v4.24.8
What's Changed
disk
- fix(IOCountersWithContext): Fix the issue of not using names to fil ter devices in func IOCountersWithContext of the windows implementation by @zmyzheng in https://github.com/shirou/gopsutil/pull/1688
- [disk][windows]: ignore network drive when not ready by @shirou in https://github.com/shirou/gopsutil/pull/1699
process
- Fix parsing of /proc/pid/smaps when path is empty by @pgimalac in https://github.com/shirou/gopsutil/pull/1691
- Refactoring the algorithm for calculating CPU usage by @TheBestLL in https://github.com/shirou/gopsutil/pull/1692
- Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an unexpected size by @fivitti in https://github.com/shirou/gopsutil/pull/1694
Other Changes
- Fix badge link in README.md by @Yurunsoft in https://github.com/shirou/gopsutil/pull/1695
- fix golangcilint errors, ignore gosec G115 by @shirou in https://github.com/shirou/gopsutil/pull/1697
- fix: golangci lint with max -> maxConn by @shirou in https://github.com/shirou/gopsutil/pull/1693
New Contributors 🎉
- @zmyzheng made their first contribution in https://github.com/shirou/gopsutil/pull/1688
- @Yurunsoft made their first contribution in https://github.com/shirou/gopsutil/pull/1695
- @pgimalac made their first contribution in https://github.com/shirou/gopsutil/pull/1691
- @TheBestLL made their first contribution in https://github.com/shirou/gopsutil/pull/1692
- @fivitti made their first contribution in https://github.com/shirou/gopsutil/pull/1694
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.7...v4.24.8
v4.24.7
Important Notice Regarding Value Changes on mem.SwapMemory() on Windows
In change #1677, the values returned by mem.SwapMemory()
on Windows have been significantly revised. Previously, these values were calculated from the PERFORMANCE_INFORMATION
structure of the GetPerformanceInfo
win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the psutil implementation. As a result, the values returned by mem.SwapMemory()
are expected to differ greatly from previous values.
What's Changed
docker
- fix: docker_memory in centos_7.5 & docker_1.13.1 by @coderZoe in https://github.com/shirou/gopsutil/pull/1670
mem
- [windows][mem]: change to use Performance Counter on SwapMemory. by @shirou in https://github.com/shirou/gopsutil/pull/1677
Other Changes
- fix: read temperature sensors darwin arm by @Girbons in https://github.com/shirou/gopsutil/pull/1672
- fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by @shirou in https://github.com/shirou/gopsutil/pull/1676
New Contributors
- @coderZoe made their first contribution in https://github.com/shirou/gopsutil/pull/1670
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7
v4.24.6
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in https://github.com/shirou/gopsutil/pull/1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in https://github.com/shirou/gopsutil/pull/1663
sensors
- fix memory leak by @thechampagne in https://github.com/shirou/gopsutil/pull/1656
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in https://github.com/shirou/gopsutil/pull/1668
Other Changes
- Fix boot time not returning stat file value by @govrin in https://github.com/shirou/gopsutil/pull/1655
New Contributors
- @thechampagne made their first contribution in https://github.com/shirou/gopsutil/pull/1656
- @aidangill-projects made their first contribution in https://github.com/shirou/gopsutil/pull/1659
- @govrin made their first contribution in https://github.com/shirou/gopsutil/pull/1655
- @uubulb made their first contribution in https://github.com/shirou/gopsutil/pull/1668
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6
What's Changed
host
- Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check by @aidangill-projects in https://github.com/shirou/gopsutil/pull/1659
- Resolved Issue 1661 - AIX Runtime Panic in Host by @aidangill-projects in https://github.com/shirou/gopsutil/pull/1663
Other Changes
- fix memory leak by @thechampagne in https://github.com/shirou/gopsutil/pull/1656
- Fix boot time not returning stat file value by @govrin in https://github.com/shirou/gopsutil/pull/1655
- fix: package misnaming in
sensors_freebsd.go
by @uubulb in https://github.com/shirou/gopsutil/pull/1668
New Contributors
- @thechampagne made their first contribution in https://github.com/shirou/gopsutil/pull/1656
- @aidangill-projects made their first contribution in https://github.com/shirou/gopsutil/pull/1659
- @govrin made their first contribution in https://github.com/shirou/gopsutil/pull/1655
- @uubulb made their first contribution in https://github.com/shirou/gopsutil/pull/1668
Full Changelog: https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6
v4.24.5
What's Changed
gopsutil v4 is released as v4.24.5
. v3
will not be updated except for high level security issues.
Breaking Changes
-
host/SensorsTemperatures()
moved to in the newsensors
package. -
process.Groups()
now returns uint32. (#1424) -
process.Uids()
andprocess.Gids()
also now uint32.- The Pid remains int32. This is because changing it is expected to have a significant impact.
-
mem.VirtualMemoryExStat
is nowExVirtualMemory
withExLinux
andExWindows
. See document aboutEx structs
.
Other
- Add SPDX license header line.
- Remove coveralls.io
- Remove old go build tag such as
// +build
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.24.5...v4.24.5
v3.24.5
What's Changed
cpu
- Improve AIX Support by @Dylan-M in https://github.com/shirou/gopsutil/pull/1651
process
- Add fallback for lsof output by @MDrakos in https://github.com/shirou/gopsutil/pull/1640
- [process][openbsd]: add cwd on openbsd. by @shirou in https://github.com/shirou/gopsutil/pull/1649
Other Changes
- remove duplicate code in mktypes.sh by @zhanluxianshen in https://github.com/shirou/gopsutil/pull/1646
- add arm/arm64 category for github pr label. by @zhanluxianshen in https://github.com/shirou/gopsutil/pull/1647
New Contributors
- @zhanluxianshen made their first contribution in https://github.com/shirou/gopsutil/pull/1646
- @MDrakos made their first contribution in https://github.com/shirou/gopsutil/pull/1640
- @Dylan-M made their first contribution in https://github.com/shirou/gopsutil/pull/1651
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.24.4...v3.24.5
v3.24.4
What's Changed
net
- Update net_openbsd.go to correctly parse netstat output on obsd by @amarinderca in https://github.com/shirou/gopsutil/pull/1621
- chore: fix some typos in comments by @camcui in https://github.com/shirou/gopsutil/pull/1624
New Contributors
- @amarinderca made their first contribution in https://github.com/shirou/gopsutil/pull/1621
- @camcui made their first contribution in https://github.com/shirou/gopsutil/pull/1624
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.24.3...v3.24.4
v3.24.3
What's Changed
disk
- chore: fix typo by @majorteach in https://github.com/shirou/gopsutil/pull/1615
host
- [host][linux]: fix utmp size on linux/arm64 by @shirou in https://github.com/shirou/gopsutil/pull/1603
load
- Total Processes in
MiscStat
Corrected by @eric1234 in https://github.com/shirou/gopsutil/pull/1612
process
- [process][freebsd]: re-generate types on freebsd arm64 by @shirou in https://github.com/shirou/gopsutil/pull/1609
New Contributors
- @majorteach made their first contribution in https://github.com/shirou/gopsutil/pull/1615
- @eric1234 made their first contribution in https://github.com/shirou/gopsutil/pull/1612
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.24.2...v3.24.3
v3.24.2
What's Changed
cpu
- add support for OpenBSD/riscv64 by @jmatthew in https://github.com/shirou/gopsutil/pull/1594
- [ci]: add macos-13 and macos-14 on GitHub Action by @shirou in https://github.com/shirou/gopsutil/pull/1599
Documentation
- cwd for windows is supported by @vlnaum in https://github.com/shirou/gopsutil/pull/1597
New Contributors
- @jmatthew made their first contribution in https://github.com/shirou/gopsutil/pull/1594
- @vlnaum made their first contribution in https://github.com/shirou/gopsutil/pull/1597
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.24.1...v3.24.2
v3.24.1
Compatibility Notice
We don't think #1585 will affect compatibility about PlatformVersion
in host.Info()
, but maybe it will.
What's Changed
disk
- [linux][disk]: fix Rdev cast by @shirou in https://github.com/shirou/gopsutil/pull/1575
host
- [host]: add EnableBootTimeCache function by @shirou in https://github.com/shirou/gopsutil/pull/1579
- ensure host platform are files and have contents by @brycekahle in https://github.com/shirou/gopsutil/pull/1584
process
- Windows, read all PIDs if there are more than 1024 PIDs. by @jnewmano in https://github.com/shirou/gopsutil/pull/1580
Other Changes
- use VERSION_ID from os-release by @brycekahle in https://github.com/shirou/gopsutil/pull/1585
New Contributors
- @jnewmano made their first contribution in https://github.com/shirou/gopsutil/pull/1580
- @brycekahle made their first contribution in https://github.com/shirou/gopsutil/pull/1584
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.12...v3.24.1
v3.23.12
What's Changed
cpu
- Avoid some uses of regexps by @scop in https://github.com/shirou/gopsutil/pull/1570
- Avoid repeated regexp compilations by @scop in https://github.com/shirou/gopsutil/pull/1569
disk
- feat(disk): look for filesystem labels from udev on Linux by @scop in https://github.com/shirou/gopsutil/pull/1573
host
- add deepin and uos distro by @keeword in https://github.com/shirou/gopsutil/pull/1561
Other Changes
- Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" by @shirou in https://github.com/shirou/gopsutil/pull/1564
New Contributors
- @keeword made their first contribution in https://github.com/shirou/gopsutil/pull/1561
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.11...v3.23.12
v3.23.11
What's Changed
process
- feat: use lsof for net_connections on FreeBSD by @wolf31o2 in https://github.com/shirou/gopsutil/pull/1551
New Contributors
- @wolf31o2 made their first contribution in https://github.com/shirou/gopsutil/pull/1551
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.10...v3.23.11
v3.23.10
What's Changed
cpu
- fix(linux): validate cpu fields length before accessing index by @JanDeDobbeleer in https://github.com/shirou/gopsutil/pull/1544
host
- [host][darwin]: fix Users by @shirou in https://github.com/shirou/gopsutil/pull/1537
process
- [process][darwin]: skip process.Nice test if darwin on GitHub Action by @shirou in https://github.com/shirou/gopsutil/pull/1536
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.9...v3.23.10
v3.23.9
What's Changed
cpu
- chore: replace deprecated ioutil package to os and io by @shirou in https://github.com/shirou/gopsutil/pull/1524
- Add some support for NetBSD by @darkgeek in https://github.com/shirou/gopsutil/pull/1530
host
- ci(lint): ensure io/ioutil replacement by @mmorel-35 in https://github.com/shirou/gopsutil/pull/1525
load
- [load][windows] Fix DATA RACE in load. Avg() by @tossp in https://github.com/shirou/gopsutil/pull/1527
mem
- Add support for reading AnonHugePages from /proc/meminfo by @kevinconaway in https://github.com/shirou/gopsutil/pull/1519
New Contributors
- @kevinconaway made their first contribution in https://github.com/shirou/gopsutil/pull/1519
- @tossp made their first contribution in https://github.com/shirou/gopsutil/pull/1527
- @darkgeek made their first contribution in https://github.com/shirou/gopsutil/pull/1530
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.8...v3.23.9
v3.23.8
What's Changed
#1514 improves Processes()
performance 6% or more. Thank you @atoulme !
cpu
- Enable setting of vendor and related information for all Power versions by @kishen-v in https://github.com/shirou/gopsutil/pull/1495
- chore: change CIRCLECI environment variable to CI. by @shirou in https://github.com/shirou/gopsutil/pull/1518
disk
- fix: fixed windows disk package leaks by @ozanh in https://github.com/shirou/gopsutil/pull/1501
- fix IOCounters() SerialNumber enumeration by @gdvalle in https://github.com/shirou/gopsutil/pull/1508
host
- [host][linux]: remove double quote from lsb release info by @shirou in https://github.com/shirou/gopsutil/pull/1504
mem
- mem: linux: fix vmstat field names by @chouquette in https://github.com/shirou/gopsutil/pull/1498
process
- Fix Processes() calls with many cores by @atoulme in https://github.com/shirou/gopsutil/pull/1514
New Contributors
- @kishen-v made their first contribution in https://github.com/shirou/gopsutil/pull/1495
- @chouquette made their first contribution in https://github.com/shirou/gopsutil/pull/1498
- @ozanh made their first contribution in https://github.com/shirou/gopsutil/pull/1501
- @gdvalle made their first contribution in https://github.com/shirou/gopsutil/pull/1508
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8
v3.23.7
What's Changed
process
- [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes by @Lomanic in https://github.com/shirou/gopsutil/pull/1488
Other Changes
- cpu_percent and memory_percent Readme by @elfranne in https://github.com/shirou/gopsutil/pull/1486
New Contributors
- @elfranne made their first contribution in https://github.com/shirou/gopsutil/pull/1486
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.6...v3.23.7
v3.23.6
What's Changed
- allow to pass context values to override environment variables by @atoulme in https://github.com/shirou/gopsutil/pull/1439
Starting with this release, directory specifications that were previously passed by environment variables such as HOST_PROC
can also be passed by context. Conventional environment variables can still be used.
Other Changes
- add(README): add passing context value document by @shirou in https://github.com/shirou/gopsutil/pull/1478
- Reference actions by commit SHA by @gabibguti in https://github.com/shirou/gopsutil/pull/1480
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.5...v3.23.6
v3.23.5
What's Changed
mem
- fix(mem): Correct capitalization of linux writeback by @powersj in https://github.com/shirou/gopsutil/pull/1472
net
- fix some comments by @cuishuang in https://github.com/shirou/gopsutil/pull/1462
Other Changes
- [common]: fix potential leak on Sleep. by @shirou in https://github.com/shirou/gopsutil/pull/1475
New Contributors
- @cuishuang made their first contribution in https://github.com/shirou/gopsutil/pull/1462
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.4...v3.23.5
v3.23.4
What's Changed
cpu
- ci(lint): correct gci linter by @mmorel-35 in https://github.com/shirou/gopsutil/pull/1443
process
- refactor(process): compare error with
errors.Is
by @Juneezee in https://github.com/shirou/gopsutil/pull/1453
Other Changes
- Add github SBOM Generator by @shirou in https://github.com/shirou/gopsutil/pull/1447
- Add Security Policy by @gabibguti in https://github.com/shirou/gopsutil/pull/1450
New Contributors
- @gabibguti made their first contribution in https://github.com/shirou/gopsutil/pull/1450
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.3...v3.23.4
v3.23.3
What's Changed
cpu
- cpu: add frequency support for apple silicon m1/m2 cpus by @shoenig in https://github.com/shirou/gopsutil/pull/1436
disk
- Fix 'send on closed channel' bug with windows disks by @davidnewhall in https://github.com/shirou/gopsutil/pull/1430
- fix: moves common.Warnings to common OS files by @powersj in https://github.com/shirou/gopsutil/pull/1431
host
- Recognize Cumulus Linux distro by @jak3kaj in https://github.com/shirou/gopsutil/pull/1421
process
- FreeBSD process exe support by @dhurley in https://github.com/shirou/gopsutil/pull/1428
Other Changes
- English case error by @3139487747 in https://github.com/shirou/gopsutil/pull/1426
- chore(golangci-lint): exlucde unused-parameters and empty-block rule by @shirou in https://github.com/shirou/gopsutil/pull/1433
New Contributors
- @3139487747 made their first contribution in https://github.com/shirou/gopsutil/pull/1426
- @jak3kaj made their first contribution in https://github.com/shirou/gopsutil/pull/1421
- @dhurley made their first contribution in https://github.com/shirou/gopsutil/pull/1428
- @davidnewhall made their first contribution in https://github.com/shirou/gopsutil/pull/1430
- @shoenig made their first contribution in https://github.com/shirou/gopsutil/pull/1436
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.2...v3.23.3
v3.23.2
What's Changed
cpu
- host: add support for linux/loong64 by @abner-chenc in https://github.com/shirou/gopsutil/pull/1228
- fix lint by @shirou in https://github.com/shirou/gopsutil/pull/1417
- get tests passing on s390x by @jeffweiss in https://github.com/shirou/gopsutil/pull/1414
disk
- fix(disk): correctly replace /dev in /dev/mapper by @powersj in https://github.com/shirou/gopsutil/pull/1412
host
- fix some kylin linux bug by @N1neSun in https://github.com/shirou/gopsutil/pull/1356
New Contributors
- @N1neSun made their first contribution in https://github.com/shirou/gopsutil/pull/1356
- @abner-chenc made their first contribution in https://github.com/shirou/gopsutil/pull/1228
- @jeffweiss made their first contribution in https://github.com/shirou/gopsutil/pull/1414
- @powersj made their first contribution in https://github.com/shirou/gopsutil/pull/1412
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.23.1...v3.23.2
v3.23.1
What's Changed
disk
- [disk][windows]: add context handling on PartionsWithContext by @shirou in https://github.com/shirou/gopsutil/pull/1407
host
- [host] windows: use millisecond precision for BootTime() by @jefferbrecht in https://github.com/shirou/gopsutil/pull/1397
- [host] linux/ppc: ppc64 definition from ppc64le by @donbowman in https://github.com/shirou/gopsutil/pull/1403
New Contributors
- @jefferbrecht made their first contribution in https://github.com/shirou/gopsutil/pull/1397
- @donbowman made their first contribution in https://github.com/shirou/gopsutil/pull/1403
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.22.12...v3.23.1
v3.22.12
Important notice
v3.22.11 was reverted because some issue by #1384, and retracted by #1386.
What's Changed
cpu
- feat: Setting the model name for arm based CPUs by @yaozbek in https://github.com/shirou/gopsutil/pull/1373
- cpu: use windows.GetActiveProcessorCount by @tklauser in https://github.com/shirou/gopsutil/pull/1394
- fill modelName for all cores in arm64 devices by @sgthammer in https://github.com/shirou/gopsutil/pull/1389
- test: use
T.Setenv
to set env vars in tests by @Juneezee in https://github.com/shirou/gopsutil/pull/1398
disk
- [ios][disk] IOKit is not available on iOS by @tmm1 in https://github.com/shirou/gopsutil/pull/1362
- pull request on adding missing statistic under solaris/illumos by @sfzfs in https://github.com/shirou/gopsutil/pull/1381
- [disk][host]: move back Warnings from internal to disk and host. by @shirou in https://github.com/shirou/gopsutil/pull/1379
- [disk][windows] Support LabelWithContext & SerialNumberWithContext - rebased by @FrankSpitulski in https://github.com/shirou/gopsutil/pull/1367
- Revert "[disk][windows] Support LabelWithContext & SerialNumberWithContext - rebased " by @shirou in https://github.com/shirou/gopsutil/pull/1384
- Truncate the Getfsstat result to the count of items that were returned by @brianryner8 in https://github.com/shirou/gopsutil/pull/1392
host
- feat(host, windows): add UBR (Update Build Revision) to kernel version by @shirou in https://github.com/shirou/gopsutil/pull/1374
- host: use unix.ByteSliceToString by @tklauser in https://github.com/shirou/gopsutil/pull/1393
load
- [load][windows]: add error detail and context handling. by @shirou in https://github.com/shirou/gopsutil/pull/1380
Other Changes
- [android][host] fix Info() failure due to forbidden /proc/stat and /proc/uptime by @tmm1 in https://github.com/shirou/gopsutil/pull/1361
- Retract deleted tag v3.22.11 by @bogdandrutu in https://github.com/shirou/gopsutil/pull/1386
- Detect Docker also using /.dockerenv by @scop in https://github.com/shirou/gopsutil/pull/1400
- chore(README): add
HOST_ROOT
by @shirou in https://github.com/shirou/gopsutil/pull/1401
New Contributors
- @yaozbek made their first contribution in https://github.com/shirou/gopsutil/pull/1373
- @sfzfs made their first contribution in https://github.com/shirou/gopsutil/pull/1381
- @FrankSpitulski made their first contribution in https://github.com/shirou/gopsutil/pull/1367
- @bogdandrutu made their first contribution in https://github.com/shirou/gopsutil/pull/1386
- @brianryner8 made their first contribution in https://github.com/shirou/gopsutil/pull/1392
- @sgthammer made their first contribution in https://github.com/shirou/gopsutil/pull/1389
- @Juneezee made their first contribution in https://github.com/shirou/gopsutil/pull/1398
Full Changelog: https://github.com/shirou/gopsutil/compare/v3.22.10...v3.22.12
Configuration
📅 Schedule: Branch creation - "on Friday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.