Skip to content

Bump com.github.oshi:oshi-core from 6.6.3 to 7.7.1 - #14

Merged
Varun-51 merged 1 commit into
mainfrom
dependabot/maven/com.github.oshi-oshi-core-7.7.1
Oct 21, 2026
Merged

Varun-51 merged 1 commit into
mainfrom
dependabot/maven/com.github.oshi-oshi-core-7.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor

Bumps com.github.oshi:oshi-core from 6.6.3 to 7.7.1.

Release notes

Sourced from com.github.oshi:oshi-core's releases.

Release 7.7.1

Bug Fixes and Improvements
  • #3763: Standardizes connection reporting from 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. A tcp6 or udp6 connection to an IPv4 peer now has a 16-byte IPv4-mapped address rather than a 4-byte one - @​dbwiddis.
  • #3771: Fixed Firmware.getManufacturer() on Linux, which never read the BIOS vendor from sysfs - @​dbwiddis.
  • #3774: LogicalVolumeGroup.getPhysicalVolumes() on Linux now runs pvs through the oshi.os.linux.privileged.prefix when pvs is in oshi.os.linux.privileged.allowlist, so physical volumes that hold no logical volume can be listed without running the application as root - @​dbwiddis.
  • #3777: Fixed the heap corruption behind intermittent JVM crashes on Solaris and illumos - @​dbwiddis.
  • #3781: Sensors.getCpuTemperature() now returns a 0.0 sentinel on all platforms when the temperature is unavailable. FreeBSD previously returned NaN - @​dbwiddis.
  • #3776, #3782: Fixed intermittent JVM crashes on Solaris (illumos), OpenBSD and DragonFly BSD when libcups is not installed - @​dbwiddis.

Full change log

Release 7.7.0

New Features
  • #3745: The FFM implementation now reads NetBSD natively, through sysctl, getloadavg, _lwp_self and getrlimit, where it previously ran commands and parsed their output - @​dbwiddis.
  • #3709, #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, and Display.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
  • #3723: Windows Sensors now reads CPU temperature, fan speed and voltage from the ROOT\LibreHardwareMonitor WMI namespace when the LibreHardwareMonitor application is running, in addition to the ROOT\OpenHardwareMonitor namespace it already read. Users running the maintained LibreHardwareMonitor previously got its GPU metrics but no CPU sensor data - @​dbwiddis.
  • #3727: The oshi.os.windows.ohm.disabled and oshi.os.windows.lhm.disabled configuration 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.
  • #3730: Fixed Sensors.getCpuVoltage() on Windows when using the voltage published by Open Hardware Monitor or LibreHardwareMonitor - @​dbwiddis.
  • #3742: NetworkParams.getRoutes() on NetBSD now reads the routing table from the kernel where the JNA native library is available - @​dbwiddis.
  • #3743: Fixed three HWDiskStore faults on NetBSD: read and write byte totals that could decrease between readings, a doubled getTransferTime(), and a 1-byte disk or 512-byte partition size where the size is unknown, which also affected OpenBSD - @​dbwiddis.
  • #3744: Fixed OSProcess naming on NetBSD: getPath() and getName() were truncated to seven characters, and where the kernel withholds a process's arguments, getCommandLine() returned ps's (command) placeholder and getName() kept its parentheses - @​dbwiddis.
  • #3754: OperatingSystem.getProcessId() and getThreadId() 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 led getCurrentProcess() to return an arbitrary process on the BSDs, Solaris and AIX. getProcess() with a negative PID now returns null on Solaris and AIX - @​dbwiddis.

Full change log

Release 7.6.1

Bug Fixes and Improvements
  • #3710: Fix the bnd imports for oshi-core and oshi-core-ffm to make the JSpecify annotations optional, so both bundles resolve in an OSGi container without JSpecify - @​dbwiddis.

Full change log

Release 7.6.0

Maven Central Publication Change

The oshi-dist zip is no longer published to Maven Central; download it from the GitHub release instead.

New Features
  • #3652: oshi-metrics reports the OpenTelemetry reserved state for system.filesystem.usage and system.filesystem.utilization, alongside the existing used and free. The three states partition the filesystem, so the usage gauges sum to system.filesystem.limit and the utilization gauges sum to 1.0 - @​dbwiddis.
  • #3660, #3678: Display.getDevicePort() reports the port a display is attached to, and on systems with X RandR, Display.getOutputName() gives the name xrandr --output accepts for it - @​ayonization, @​dbwiddis.
Behavior Changes

... (truncated)

Changelog

Sourced from com.github.oshi:oshi-core's changelog.

7.7.0 (2026-09-29), 7.7.1 (2026-10-10)

New Features
  • #3745: The FFM implementation now reads NetBSD natively, through sysctl, getloadavg, _lwp_self and getrlimit, where it previously ran commands and parsed their output - @​dbwiddis.
  • #3709, #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, and Display.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
  • #3723: Windows Sensors now reads CPU temperature, fan speed and voltage from the ROOT\LibreHardwareMonitor WMI namespace when the LibreHardwareMonitor application is running, in addition to the ROOT\OpenHardwareMonitor namespace it already read. Users running the maintained LibreHardwareMonitor previously got its GPU metrics but no CPU sensor data - @​dbwiddis.
  • #3727: The oshi.os.windows.ohm.disabled and oshi.os.windows.lhm.disabled configuration 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.
  • #3730: Fixed Sensors.getCpuVoltage() on Windows when using the voltage published by Open Hardware Monitor or LibreHardwareMonitor - @​dbwiddis.
  • #3742: NetworkParams.getRoutes() on NetBSD now reads the routing table from the kernel where the JNA native library is available - @​dbwiddis.
  • #3743: Fixed three HWDiskStore faults on NetBSD: read and write byte totals that could decrease between readings, a doubled getTransferTime(), and a 1-byte disk or 512-byte partition size where the size is unknown, which also affected OpenBSD - @​dbwiddis.
  • #3744: Fixed OSProcess naming on NetBSD: getPath() and getName() were truncated to seven characters, and where the kernel withholds a process's arguments, getCommandLine() returned ps's (command) placeholder and getName() kept its parentheses - @​dbwiddis.
  • #3754: OperatingSystem.getProcessId() and getThreadId() 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 led getCurrentProcess() to return an arbitrary process on the BSDs, Solaris and AIX. getProcess() with a negative PID now returns null on Solaris and AIX - @​dbwiddis.
  • #3763: Standardizes connection reporting from 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. A tcp6 or udp6 connection to an IPv4 peer now has a 16-byte IPv4-mapped address rather than a 4-byte one - @​dbwiddis.
  • #3771: Fixed Firmware.getManufacturer() on Linux, which never read the BIOS vendor from sysfs - @​dbwiddis.
  • #3774: LogicalVolumeGroup.getPhysicalVolumes() on Linux now runs pvs through the oshi.os.linux.privileged.prefix when pvs is in oshi.os.linux.privileged.allowlist, so physical volumes that hold no logical volume can be listed without running the application as root - @​dbwiddis.
  • #3777: Fixed the heap corruption behind intermittent JVM crashes on Solaris and illumos - @​dbwiddis.
  • #3781: Sensors.getCpuTemperature() now returns a 0.0 sentinel on all platforms when the temperature is unavailable. FreeBSD previously returned NaN - @​dbwiddis.
  • #3776, #3782: Fixed intermittent JVM crashes on Solaris (illumos), OpenBSD and DragonFly BSD when libcups is not installed - @​dbwiddis.

7.6.0 (2026-08-23), 7.6.1 (2026-09-01)

The oshi-dist zip is no longer published to Maven Central; download it from the GitHub release instead.

New Features
  • #3652: oshi-metrics reports the OpenTelemetry reserved state for system.filesystem.usage and system.filesystem.utilization, alongside the existing used and free. The three states partition the filesystem, so the usage gauges sum to system.filesystem.limit and the utilization gauges sum to 1.0 - @​dbwiddis.
  • #3660, #3678: Display.getDevicePort() reports the port a display is attached to, and on systems with X RandR, Display.getOutputName() gives the name xrandr --output accepts for it - @​ayonization, @​dbwiddis.
Behavior Changes
  • #3705: OSDesktopWindow.getLocAndSize() returns a copy of the window's Rectangle and the constructor copies the one it is given, so the class honors the immutability its documentation promises. ApplicationInfo.getAdditionalInfo() returns an unmodifiable map. Code that wrote through either return value silently mutated OSHI's own state; it now has no effect, or throws UnsupportedOperationException for the map - @​dbwiddis.
  • #3705: UsbDevice.compareTo() breaks ties on the unique device ID, vendor ID, product ID and serial number after comparing names, and AbstractUsbDevice implements equals() and hashCode() over the same fields. Two distinct devices sharing a name previously compared equal, so a TreeSet or SortedSet of them kept only one. The ordering is now a default method on UsbDevice, so every implementation shares it - @​dbwiddis.
Bug Fixes and Improvements
  • #3651: OSFileStore now guarantees 0 <= getUsableSpace() <= getFreeSpace() <= getTotalSpace() on every platform. The three values are read by separate queries, so on a ZFS dataset or a swap-backed tmpfs they could previously contradict each other; they are now clamped downward to restore the ordering - @​dbwiddis.
  • #3657: Fix the TcpState for the FFM implementation of InternetProtocolStats.getConnections() on macOS and set the process cap from the kernel - @​dbwiddis.
  • #3661: Setting oshi.os.windows.hkeyperfdata to false now also skips the registry when fetching thread counters, matching its documented behavior and the existing handling for processes - @​dbwiddis.
  • #3662: Reading the processor description from the registry no longer throws when a value is missing. CentralProcessor.getFeatureFlags() on Windows now reports every processor feature IsProcessorFeaturePresent() accepts, matching the PF_ defines in winnt.h - @​dbwiddis.
  • #3665: NetworkParams.getRoutes() reads the routing table from the kernel through a NET_RT_DUMP sysctl on macOS, FreeBSD, DragonFly BSD and OpenBSD, rather than by running netstat twice - @​dbwiddis.
  • #3670: NetworkParams.getHostName() on Linux reads the kernel host name from /proc/sys/kernel/hostname in every backend, fixing the native-free implementation, which truncated a fully qualified name at the first dot and reported localhost when the name did not resolve - @​dbwiddis.
  • #3671: NetworkParams.getHostName() and getDomainName() report the empty-string sentinel when the local host name does not resolve, rather than the loopback address's localhost. NetBSD is the most affected platform, having no native host name query of its own - @​dbwiddis.
  • #3672,

... (truncated)

Commits
  • 967a8cc [maven-release-plugin] prepare release oshi-parent-7.7.1
  • 5cbf433 7.7.1 Release
  • 1ce97a0 Check that optional native libraries exist before loading them on AIX, OpenBS...
  • 9bc3b2c Return 0 for unavailable CPU temperature everywhere, and make IPConnection.ge...
  • 02fe810 Fix inverted start-time comparison in child-process test (#3780)
  • 85ea210 Exempt external-dependency and blocked issues from stale bot
  • 73e5330 Use a dedicated Sonatype server id so Central credentials are only sent to So...
  • 74a147a Update dependency com.diffplug.spotless:spotless-maven-plugin to v3.10.4 (#3779)
  • 18783f8 Update github/codeql-action digest to 24c5418 (#3778)
  • a85c4ad Treat the kstat control structure as opaque to stop a heap overrun (#3777)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.github.oshi:oshi-core](https://github.com/oshi/oshi) from 6.6.3 to 7.7.1.
- [Release notes](https://github.com/oshi/oshi/releases)
- [Changelog](https://github.com/oshi/oshi/blob/master/CHANGELOG.md)
- [Commits](oshi/oshi@oshi-parent-6.6.3...oshi-parent-7.7.1)

---
updated-dependencies:
- dependency-name: com.github.oshi:oshi-core
  dependency-version: 7.7.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Varun-51 as a code owner October 19, 2026 22:45
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Oct 19, 2026
@Varun-51
Varun-51 merged commit 6cb5905 into main Oct 21, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/com.github.oshi-oshi-core-7.7.1 branch October 21, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant