Repository navigation
fix(deps): update dependency com.github.oshi:oshi-core to v7.7.3 - #56
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.7.2→7.7.3Release Notes
oshi/oshi (com.github.oshi:oshi-core)
v7.7.3New Features
sysctl,getloadavg,_lwp_selfandgetrlimit, where it previously ran commands and parsed their output - @dbwiddis.#3757:
Display.getCurrentMode()returns the mode a display is driven in: its logical and pixel resolution, refresh rate, rotation, and position on the desktop.Display.isBuiltIn()reports whether it is a built-in panel, andDisplay.isPrimary()whether it is the primary display. All three are available on Windows, macOS, and on Linux and the other UNIX platforms through X11 - @ayonization, @dbwiddis.Bug Fixes and Improvements
Sensorsnow reads CPU temperature, fan speed and voltage from theROOT\LibreHardwareMonitorWMI namespace when the LibreHardwareMonitor application is running, in addition to theROOT\OpenHardwareMonitornamespace it already read. Users running the maintained LibreHardwareMonitor previously got its GPU metrics but no CPU sensor data - @dbwiddis.oshi.os.windows.ohm.disabledandoshi.os.windows.lhm.disabledconfiguration properties now skip the Open Hardware Monitor and Libre Hardware Monitor WMI namespaces, which OSHI otherwise queries on each sensor read until one returns data. The latter also covers GPU metrics - @dbwiddis.Sensors.getCpuVoltage()on Windows when using the voltage published by Open Hardware Monitor or LibreHardwareMonitor - @dbwiddis.NetworkParams.getRoutes()on NetBSD now reads the routing table from the kernel where the JNA native library is available - @dbwiddis.HWDiskStorefaults on NetBSD: read and write byte totals that could decrease between readings, a doubledgetTransferTime(), and a 1-byte disk or 512-byte partition size where the size is unknown, which also affected OpenBSD - @dbwiddis.OSProcessnaming on NetBSD:getPath()andgetName()were truncated to seven characters, and where the kernel withholds a process's arguments,getCommandLine()returnedps's(command)placeholder andgetName()kept its parentheses - @dbwiddis.OperatingSystem.getProcessId()andgetThreadId()return 0 when the ID is unknown on every platform. On NetBSD without JNA,getThreadId()returned a Java thread ID, and on failure some implementations returned -1, which ledgetCurrentProcess()to return an arbitrary process on the BSDs, Solaris and AIX.getProcess()with a negative PID now returns null on Solaris and AIX - @dbwiddis.InternetProtocolStats.getConnections()on the UNIX platforms. It now includes listening and unconnected sockets, as on Linux, and returns connections on Solaris, where it returned none. Atcp6orudp6connection to an IPv4 peer now has a 16-byte IPv4-mapped address rather than a 4-byte one - @dbwiddis.Firmware.getManufacturer()on Linux, which never read the BIOS vendor from sysfs - @dbwiddis.LogicalVolumeGroup.getPhysicalVolumes()on Linux now runspvsthrough theoshi.os.linux.privileged.prefixwhenpvsis inoshi.os.linux.privileged.allowlist, so physical volumes that hold no logical volume can be listed without running the application as root - @dbwiddis.Sensors.getCpuTemperature()now returns a 0.0 sentinel on all platforms when the temperature is unavailable. FreeBSD previously returnedNaN- @dbwiddis.#3782: Fixed intermittent JVM crashes on Solaris (illumos), OpenBSD and DragonFly BSD when
libcupsis not installed - @dbwiddis.sysctlread there - @dbwiddis.#3795,
#3800,
#3801,
#3803,
#3822,
#3831: Fixed the TCP and UDP statistics from
InternetProtocolStatson Linux, macOS, AIX, FreeBSD, OpenBSD, NetBSD and DragonFly BSD, where many counters were read from the wrong field or at the wrong width. Counters a platform does not keep now report 0, including IPv6 UDP on FreeBSD and macOS, and connection failures and UDP receive errors on AIX - @dbwiddis.#3816:
ComputerSystem,FirmwareandBaseboardnow report SMBIOS values without root on FreeBSD and DragonFly BSD, and at all on NetBSD, where every value was unknown; NetBSD's serial numbers and UUID still need root.Firmware.getReleaseDate()is no longer garbled on any platform when the firmware does not write the date as MM/DD/YYYY - @dbwiddis.#3807,
#3814,
#3824: Fixed
NetworkIFon the BSDs: traffic statistics were 0 on OpenBSD and DragonFly BSD, and on NetBSD for interfaces without a link-level address, andgetSpeed()was always 0 on FreeBSD, OpenBSD and NetBSD.NetworkParamsnow reports DragonFly BSD's default gateways and reads NetBSD's routing table from the kernel - @dbwiddis.#3792,
#3799,
#3812,
#3818: Fixed
CentralProcessoron FreeBSD, NetBSD and DragonFly BSD, which miscounted cores, packages or logical processors and left identification and caches unknown, and on NetBSD ARM threw aStackOverflowError. AMD processors of family 16 and later now get the right family on OpenBSD and the rightProcessorIDwhere OSHI builds one. FreeBSD context switch and interrupt counts no longer wrap at 2^32 - @dbwiddis.#3798,
#3819,
#3833: Fixed
getDiskStores()on the BSDs: DragonFly BSD returned no disks, FreeBSD listed each disk as a partition of the next, and NetBSD listed each wedge as a separate disk. Partitions now sit under their disk with their mount points, and on OpenBSD and NetBSD without root they no longer include another disk's or misread their size whenBLOCKSIZEis set - @dbwiddis.#3810,
#3817,
#3821,
#3827,
#3829,
#3832: Fixed
OSProcesson the BSDs.getPath()now returns the executable's full path from the kernel on FreeBSD and NetBSD, as doesgetCurrentWorkingDirectory()on NetBSD. DragonFly BSD now reports bitness and affinity, FreeBSD other processes' open-file limits, and NetBSD every thread of a process and only real descriptors ingetOpenFiles().getServices()skips rcorder placeholders - @dbwiddis.#3805,
#3826: Fixed
getPowerSources()on FreeBSD and DragonFly BSD, which reported a battery on machines with none and only one of several, with units and signs now matching other platforms;getGraphicsCards()on current FreeBSD, which reported the wrong vendor and no device ID; andgetUsbDevices()on FreeBSD, which was empty - @dbwiddis.#3820,
#3823,
#3825: Fixed
FileSystemandOSFileStoreon the BSDs.getMaxFileDescriptorsPerProcess()returns the per-process limit, NetBSD'sgetOpenFileDescriptors()is no longer 0, FreeBSD'sgetUUID()is found for every volume, and mount points with spaces and NetBSD and OpenBSD inode counts are read correctly - @dbwiddis.HWDiskStore.getDiskType()on Windows now reportsSSD,HDD,RemovableorVirtual, read from the storage driver and falling back toMSFT_PhysicalDisk- @dbwiddis.OSProcess.getPath()there now reads the full path from the kernel for the current process only, andargv[0]or the command name for others - @dbwiddis.NetworkParams.getRoutes()andInternetProtocolStats.getConnections()- @dbwiddis.NetworkParams.getIpv4DefaultGateway()andgetIpv6DefaultGateway()on Linux now read the kernel routing table, so they no longer return an empty string when theroutecommand is missing or not on thePATH- @dbwiddis.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.