sammcj / gollama

Go manage your Ollama models
https://smcleod.net
MIT License
369 stars 26 forks source link

chore(renovate): major Update module github.com/shirou/gopsutil/v3 to v4 #93

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/shirou/gopsutil/v3 v3.24.5 -> v4.24.7 age adoption passing confidence

Release Notes

shirou/gopsutil (github.com/shirou/gopsutil/v3) ### [`v4.24.7`](https://togithub.com/shirou/gopsutil/releases/tag/v4.24.7) [Compare Source](https://togithub.com/shirou/gopsutil/compare/v4.24.6...v4.24.7) #### **Important Notice Regarding Value Changes on mem.SwapMemory() on Windows** In change [#​1677](https://togithub.com/shirou/gopsutil/issues/1677), the values returned by `mem.SwapMemory()` on Windows have been significantly revised. Previously, these values were calculated from the [`PERFORMANCE_INFORMATION`](https://learn.microsoft.com/en-us/windows/win32/api/psapi/ns-psapi-performance_information) structure of the [`GetPerformanceInfo`](https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getperformanceinfo) win32 function, but this calculation was incorrect. Consequently, it has been adjusted to align with the [psutil implementation](https://togithub.com/giampaolo/psutil/blob/c034e6692cf736b5e87d14418a8153bb03f6cf42/psutil/\_pswindows.py#L250-L273). 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](https://togithub.com/coderZoe) in [https://github.com/shirou/gopsutil/pull/1670](https://togithub.com/shirou/gopsutil/pull/1670) ##### mem - \[windows]\[mem]: change to use Performance Counter on SwapMemory. by [@​shirou](https://togithub.com/shirou) in [https://github.com/shirou/gopsutil/pull/1677](https://togithub.com/shirou/gopsutil/pull/1677) ##### Other Changes - fix: read temperature sensors darwin arm by [@​Girbons](https://togithub.com/Girbons) in [https://github.com/shirou/gopsutil/pull/1672](https://togithub.com/shirou/gopsutil/pull/1672) - fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. by [@​shirou](https://togithub.com/shirou) in [https://github.com/shirou/gopsutil/pull/1676](https://togithub.com/shirou/gopsutil/pull/1676) #### New Contributors - [@​coderZoe](https://togithub.com/coderZoe) made their first contribution in [https://github.com/shirou/gopsutil/pull/1670](https://togithub.com/shirou/gopsutil/pull/1670) **Full Changelog**: https://github.com/shirou/gopsutil/compare/v4.24.6...v4.24.7 ### [`v4.24.6`](https://togithub.com/shirou/gopsutil/releases/tag/v4.24.6) [Compare Source](https://togithub.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](https://togithub.com/aidangill-projects) in [https://github.com/shirou/gopsutil/pull/1659](https://togithub.com/shirou/gopsutil/pull/1659) - Resolved Issue 1661 - AIX Runtime Panic in Host by [@​aidangill-projects](https://togithub.com/aidangill-projects) in [https://github.com/shirou/gopsutil/pull/1663](https://togithub.com/shirou/gopsutil/pull/1663) ##### sensors - fix memory leak by [@​thechampagne](https://togithub.com/thechampagne) in [https://github.com/shirou/gopsutil/pull/1656](https://togithub.com/shirou/gopsutil/pull/1656) - fix: package misnaming in `sensors_freebsd.go` by [@​uubulb](https://togithub.com/uubulb) in [https://github.com/shirou/gopsutil/pull/1668](https://togithub.com/shirou/gopsutil/pull/1668) ##### Other Changes - Fix boot time not returning stat file value by [@​govrin](https://togithub.com/govrin) in [https://github.com/shirou/gopsutil/pull/1655](https://togithub.com/shirou/gopsutil/pull/1655) #### New Contributors - [@​thechampagne](https://togithub.com/thechampagne) made their first contribution in [https://github.com/shirou/gopsutil/pull/1656](https://togithub.com/shirou/gopsutil/pull/1656) - [@​aidangill-projects](https://togithub.com/aidangill-projects) made their first contribution in [https://github.com/shirou/gopsutil/pull/1659](https://togithub.com/shirou/gopsutil/pull/1659) - [@​govrin](https://togithub.com/govrin) made their first contribution in [https://github.com/shirou/gopsutil/pull/1655](https://togithub.com/shirou/gopsutil/pull/1655) - [@​uubulb](https://togithub.com/uubulb) made their first contribution in [https://github.com/shirou/gopsutil/pull/1668](https://togithub.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](https://togithub.com/aidangill-projects) in [https://github.com/shirou/gopsutil/pull/1659](https://togithub.com/shirou/gopsutil/pull/1659) - Resolved Issue 1661 - AIX Runtime Panic in Host by [@​aidangill-projects](https://togithub.com/aidangill-projects) in [https://github.com/shirou/gopsutil/pull/1663](https://togithub.com/shirou/gopsutil/pull/1663) ##### Other Changes - fix memory leak by [@​thechampagne](https://togithub.com/thechampagne) in [https://github.com/shirou/gopsutil/pull/1656](https://togithub.com/shirou/gopsutil/pull/1656) - Fix boot time not returning stat file value by [@​govrin](https://togithub.com/govrin) in [https://github.com/shirou/gopsutil/pull/1655](https://togithub.com/shirou/gopsutil/pull/1655) - fix: package misnaming in `sensors_freebsd.go` by [@​uubulb](https://togithub.com/uubulb) in [https://github.com/shirou/gopsutil/pull/1668](https://togithub.com/shirou/gopsutil/pull/1668) #### New Contributors - [@​thechampagne](https://togithub.com/thechampagne) made their first contribution in [https://github.com/shirou/gopsutil/pull/1656](https://togithub.com/shirou/gopsutil/pull/1656) - [@​aidangill-projects](https://togithub.com/aidangill-projects) made their first contribution in [https://github.com/shirou/gopsutil/pull/1659](https://togithub.com/shirou/gopsutil/pull/1659) - [@​govrin](https://togithub.com/govrin) made their first contribution in [https://github.com/shirou/gopsutil/pull/1655](https://togithub.com/shirou/gopsutil/pull/1655) - [@​uubulb](https://togithub.com/uubulb) made their first contribution in [https://github.com/shirou/gopsutil/pull/1668](https://togithub.com/shirou/gopsutil/pull/1668) **Full Changelog**: https://github.com/shirou/gopsutil/compare/v4.24.5...v4.24.6 ### [`v4.24.5`](https://togithub.com/shirou/gopsutil/releases/tag/v4.24.5) [Compare Source](https://togithub.com/shirou/gopsutil/compare/v3.24.5...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 new `sensors` package. - `process.Groups()` now returns uint32. ([#​1424](https://togithub.com/shirou/gopsutil/issues/1424)) - `process.Uids()` and `process.Gids()` also now uint32. - The Pid remains int32. This is because changing it is expected to have a significant impact. - `mem.VirtualMemoryExStat` is now `ExVirtualMemory` with `ExLinux` and `ExWindows`. See document about [`Ex structs`](https://togithub.com/shirou/gopsutil?tab=readme-ov-file#ex-struct-from-v4245). #### Other - Add SPDX license header line. - Remove [coveralls.io](https://coveralls.io/) - Remove old go build tag such as `// +build` **Full Changelog**: https://github.com/shirou/gopsutil/compare/v3.24.5...v4.24.5

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 3 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.