deps(deps): bump github.com/shirou/gopsutil/v4 from 4.26.9 to 4.26.10
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(about 6 hours ago)
(about 6 hours ago)
Bumps github.com/shirou/gopsutil/v4 from 4.26.9 to 4.26.10.
Release notes
Sourced from github.com/shirou/gopsutil/v4's releases.
v4.26.10
[!IMPORTANT]
Planned breaking change:
disk.IOCountersReadTime/WriteTimeon WindowsThis release includes #2164. In a future release, the Windows values of ReadTime and WriteTime will change significantly (seconds to milliseconds). The API will not change.
On Windows,
ReadTimeandWriteTimeare currently in seconds. On Linux, macOS and FreeBSD they are in milliseconds. This is a bug (#2160).
- In a future release, the default on Windows will change to milliseconds.
- This will happen when psutil fixes the same bug (giampaolo/psutil#3002), or in February 2027 at the latest.
- After that change, Windows values will be 1000x larger than now.
You can switch to milliseconds now with the new context key
disk.WillBeDeletedOptInWindowsIOTimeMs:ctx := context.WithValue(context.Background(), disk.WillBeDeletedOptInWindowsIOTimeMs, true) stats, err := disk.IOCountersWithContext(ctx)
- Without this key, nothing changes in this release.
- Other platforms ignore this key.
- This key will be removed when milliseconds become the default. Remove it from your code at that time.
(#2164)
What's Changed
disk
- disk/windows: convert IOCounters Read/WriteTime to milliseconds by
@TastyHeadphonesin shirou/gopsutil#2164host
- [host][linux]: fix loginctl users fallback for systemd >= 256 by
@houssemexo26in shirou/gopsutil#2168- [host][linux]: Fall back to loginctl when utmp is unavailable by
@SebastianLeitzin shirou/gopsutil#2132- [sensors][freebsd]: implement TemperaturesWithContext by
@AdamMaguedin shirou/gopsutil#2173mem
- Compute swap used as total minus free on AIX by
@pgimalacin shirou/gopsutil#2166process
- process: keep /dev/tty* when /dev/pts is missing by
@TastyHeadphonesin shirou/gopsutil#2167New Contributors
@TastyHeadphonesmade their first contribution in shirou/gopsutil#2167@houssemexo26made their first contribution in shirou/gopsutil#2168@SebastianLeitzmade their first contribution in shirou/gopsutil#2132@AdamMaguedmade their first contribution in shirou/gopsutil#2173Full Changelog: https://github.com/shirou/gopsutil/compare/v4.26.9...v4.26.10
Commits
21bfddeMerge pull request #2175 from shirou/dependabot/github_actions/actions/upload...f8e33e9Merge pull request #2173 from AdamMagued/feat-issue-2159-freebsd-cpu-temperature1f0aa95Merge pull request #2164 from TastyHeadphones/fix/windows-disk-iotime-msc7ae6b9Merge pull request #2178 from shirou/dependabot/go_modules/github.com/ebiteng...667e32bchore(deps): bump github.com/ebitengine/purego from 0.11.1 to 0.11.2fe1ef66disk/windows: test IO time unit selection through IOCounters' ctx4b1d69fdisk/windows: fix TestDiskPerfTimeToSec fixture expectationc1cc0a5disk/windows: keep second-based IO times by default; opt in to msabba4f9[sensors][freebsd]: handle -1 sysctl values, unexport deciKelvinToCelsius, an...779ae83Merge pull request #2168 from houssemexo26/fix/loginctl-json-session-class- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
github.com/shirou/gopsutil/v4
go
4.26.9 → 4.26.10
Patch
Technical Details
| ID: | 16798574 |
| UUID: | 6256989048 |
| Node ID: | PR_kwDOQ0U_YM8AAAABNfBKGA |
| Host: | GitHub |
| Repository: | define42/DevBox-Gateway |