Skip to content

Latest commit

 

History

History
797 lines (679 loc) · 70.1 KB

CHANGELOG.md

File metadata and controls

797 lines (679 loc) · 70.1 KB

6.4.3 (in progress)

  • #2377: Graceful fallback for macOS Process user or group name - @dbwiddis.

6.4.0 (2022-12-02), 6.4.1 (2023-03-18), 6.4.2 (2023-05-02)

New Features
  • #2261: Add getThreadId, getCurrentThread and getCurrentProcess to OperatingSystem API - @dbwiddis.
Bug fixes / Improvements

6.3.0 (2022-10-16), 6.3.1 (2022-10-30), 6.3.2 (2022-11-16)

New Features
Bug fixes / Improvements
  • #2179: Update JUnit EnabledOnOS for OpenBSD and FreeBSD - @dbwiddis.
  • #2180: Suppress log warnings for common non-root procfs failures - @dbwiddis.
  • #2181: Better handling of ARM CPU Names - @dbwiddis.
  • #2204: Improve performance using parallel streams for processes and threads - @adrian-kong.
  • #2212: Suppress log warnings for common non-root macOS sysctl failures - @pavangole.
  • #2224: Detect Windows Server 2022 in older JDKs - @dbwiddis.
  • #2229: Fix division by zero on AIX with fewer logical processors than physical processors - @dbwiddis.
  • #2243: Actually return Windows IP Connections - @dbwiddis.

6.2.0 (2022-06-26), 6.2.1 (2022-06-29), 6.2.2 (2022-07-20)

Performance improvement

This release leverages improvements in JNA 5.12.1 which should significantly improve performance. Finalizers in JNA were replaced by Cleaners, reducing the impact of Memory objects in tenured heap space by promptly releasing native memory allocations.

In addition, JNA's Memory class now implements Closeable. All direct and most indirect allocations of Memory in OSHI now have their underlying native allocation freed proactively.

New Features
Bug fixes / Improvements

6.1.0 (2022-01-20), 6.1.1 (2022-02-13), 6.1.2 (2022-02-14), 6.1.3 (2022-02-22), 6.1.4 (2022-03-01), 6.1.5 (2022-03-15), 6.1.6 (2022-04-10)

New Features
  • #1851, #1858: Add PhysicalProcessor class to expose hybrid processor topology - @dbwiddis.
  • #1886: Implement Processor Utility to optionally match Windows Task Manager CPU usage - @dbwiddis.
  • #1974: Enable suppression of disabled perfmon counter warnings - @dbwiddis.
Bug fixes / Improvements
Artifact Removal

6.0.0 (2021-12-31)

Breaking Changes
  • #1724: Removed deprecated MACOSX value from PlatformEnum and SystemInfo and removed the getCurrentPlatformEnum() method - @Novaenn.
  • #1725: Removed deprecated process sorting methods from the OperatingSystem class - @varnaa.
  • #1729: Changed the return value of LinuxOSPRocess and MacOSProcess method getCommandLine() from null-delimited string to space-delimited string - @prathamgandhi.
  • #1730: Changed the return value of getServices() from array to list in OperatingSystem - @adrian-kong.
  • #1736: Changed the return type of the NetworkInterface method getMTU() from int to long in all its OS implementations. - @Simba-97.

5.8.0 (2021-07-18), 5.8.1 (2021-08-22), 5.8.2 (2021-09-05), 5.8.3 (2021-10-21), 5.8.5 (2021-11-24), 5.8.6 (2021-12-14), 5.8.7 (2021-12-31)

New Features
Bug fixes / Improvements

5.7.0 (2021-04-01), 5.7.1 (2021-04-15), 5.7.2 (2021-05-01), 5.7.3 (2021-05-16), 5.7.4 (2021-05-30), 5.7.5 (2021-06-12)

New Features
Bug fixes / Improvements
  • #1585: macOS doesn't provide system level context switches or interrupts - @dbwiddis.
  • #1596: Single COM initialization for groups of queries - @dbwiddis.
  • #1603: Improve performance of Windows USB device tree parsing - @dbwiddis.
  • #1605: Cache localized perf counter object strings - @dbwiddis.
  • #1608: LinuxOSProcess#getOpenFiles returns one more than expected - @slaha.
  • #1610: Remove redundant check for isLocalInterface - @barddoo.
  • #1614: Simplify Windows version parsing using JDK properties - @dbwiddis.
  • #1620: Reduced log level to debug for fallback class loading - @UnusualFrog.
  • #1628: Null check volume name when iterating Mac File Stores - @dbwiddis.
  • #1631: Null check all CFStrings to prevent exceptions - @dbwiddis.
  • #1649: Fix macOS and unix sysctl mappings for size_t - @dbwiddis.
  • #1657: macOS 12 Monterey - @dbwiddis.
  • #1662: PDH queries shouldn't be localized on Vista+ - @dbwiddis.
  • #1664: Fix PDH failed query thread safety - @dbwiddis.
  • #1665: (Java11 branch) JNA needs reflective access to Windows structure mappings - @vatbub.

5.6.0 (2021-03-01), 5.6.1 (2021-03-22)

New Features
  • #1541: Expose the alias of a network interface (Windows and Linux) - @dornand.
  • #1546: Expose network interface operational status (Windows and Linux) - @dornand.
  • #1548: Add getter for descendants of a process - @dbwiddis.
Bug fixes / Improvements

5.5.0 (2021-02-08), 5.5.1 (2021-02-21)

New Features
  • New oshi-core-java11 artifact (in beta) intended for modular projects.
  • #1526: Make process filtering and sorting more flexible - @dbwiddis.
Bug fixes / Improvements

5.4.0 (2021-01-18), 5.4.1 (2021-01-24)

New Features
Bug fixes / Improvements

5.3.0 (2020-10-11), 5.3.1 (2020-10-18), 5.3.2 (2020-10-25), 5.3.3 (2020-10-28), 5.3.4 (2020-11-01), 5.3.5 (2020-11-11), 5.3.6 (2020-11-15), 5.3.7 (2020-12-20)

New Features
Bug fixes / Improvements

4.9.1 / 5.2.1 (2020-07-14), 4.9.2 / 5.2.2 (2020-07-20), 4.9.3 / 5.2.3 (2020-08-09), 4.9.4 / 5.2.4 (2020-08-16), 4.9.5 / 5.2.5 (2020-08-30)

New Features
Bug fixes / Improvements

4.9.0 / 5.2.0 (2020-06-25)

New Features
Bug fixes / Improvements
  • #1266: Suppress repeated attempts to query failed PDH - @dbwiddis.
  • #1267: Check proc_pidinfo return value before incrementing numberOfThreads - @markkulube.

4.8.0 / 5.1.0 (2020-05-20), 4.8.1 / 5.1.1 (2020-05-30), 4.8.2 / 5.1.2 (2020-06-07)

New Features
Bug fixes / Improvements
  • #1246: Configure data source for OperatingSystem#getSessions - @dbwiddis.
  • #1252: Fallback to command line if getSessions sanity check fails - @dbwiddis.
  • #1256: Fix calculation of Linux process start time - @dbwiddis.
  • #1237: Update Udev to object oriented style - @dbwiddis.
  • #1245: Refactor PerfCounterQuery classes and fix memory leak - @dbwiddis.
  • #1229: Changed the linux and solaris virtual memory swapins/outs to count just swaps - @roeezz

5.0.0 (2020-05-05), 5.0.1 (2020-05-06), 5.0.2 (2020-05-14)

New Features

4.7.0 (2020-04-25), 4.7.1 (2020-05-02), 4.7.2 (2020-05-06), 4.7.3 (2020-05-14)

New Features
Bug fixes / Improvements

4.6.0 (2020-04-02), 4.6.1 (2020-04-08)

New Features
Bug fixes / Improvements

4.5.0 (2020-03-12), 4.5.2 (2020-03-20)

New Features
Bug fixes / Improvements

4.4.0 (2020-02-12), 4.4.1 (2020-02-17), 4.4.2 (2020-02-20)

New Features

4.3.0 (2020-01-02), 4.3.1 (2020-02-05)

New Features
Bug fixes / Improvements

4.2.0 (2019-11-09), 4.2.1 (2019-11-14)

New Features
Bug fixes / Improvements

4.1.0 (2019-10-16), 4.1.1 (2019-10-24)

New Features

API CHANGE: This version implements thread-safe getters for OSHI attributes. As part of this change, support for serialization has been removed. In addition, some setters have been removed from the API, as they were never intended for end user use. Additional setter removal may occur in future versions.

The default configuration file has been renamed to oshi.properties to prevent classpath conflicts.

Bug fixes / Improvements

4.0.0 (2019-08-10)

New Features
Bug fixes / Improvements

3.14.0 (2021-11-14)

(oshi-core artifact only)

3.13.0 (2019-01-18), 3.13.1 (2019-04-21), 3.13.2 (2019-04-28), 3.13.3 (2019-06-05), 3.13.4 (2019-09-06), 3.13.5 (2020-01-02), 3.13.6 (2020-07-14)

3.12.1 (2018-12-31), 3.12.2 (2019-01-10)

3.12.0 (2018-12-16)

3.11.0 (2018-11-21)

3.10.0 (2018-11-03)

3.9.1 (2018-10-14)

3.9.0 (2018-10-07)

3.8.1 (2018-09-01), 3.8.2 (2018-09-07), 3.8.3 (2018-09-14), 3.8.4 (2018-09-04)

3.8.0 (2018-08-20)

3.7.1 (2018-07-28), 3.7.2 (2018-08-01)

3.7.0 (2018-07-28)

3.6.1 (2018-06-28), 3.6.2 (2018-07-10)

  • #527: Correct process information caching and command line retrieval under Windows - @dustin-johnson.
  • #533: Filter to CPU zone if multiple Windows Thermal sensors. - @dbwiddis.
  • #542: Disabled Windows performance collection leads to empty Process cache - @MarcMil.
  • #547: Remove DataTypeConverter dependency so OSHI builds on Java 9+ - @dbwiddis.

3.6.0 (2018-06-20)

  • #489: Switch from WMI to native methods for most Windows Process data. - @dbwiddis.
  • #501: Added HWDiskStore.updateDiskStats. - @cjbrowne.
  • #503: Expose memory page size to API. - @dbwiddis.
  • #507: Replace WMI with (faster) PDH queries for WindowsCentralProcessor. - @dbwiddis.
  • #508: Replace WMI with (faster) registry data for Windows Processes. - @dbwiddis.
  • #509: Add pages swapped in/out to paging/swap file. - @dbwiddis.
  • #518: Add OS bitness. - @dbwiddis.

3.5.0 (2018-04-15)

3.4.5 (2018-04-11)

3.4.4 (2017-10-15)

  • #392: Fix NPE for processes terminating before iteration - @dbwiddis.
  • #396: Fix issue on macOS whereby the buffer size for the call to proc_listpids() was improperly calculated - @brettwooldridge
  • Updated to JNA 4.5.0

3.4.3 (2017-06-02)

  • #336: Add Process Current Working Directory - @dbwiddis.
  • #357: Prioritize OpenHardwareMonitor for Windows Sensors - @dbwiddis.
  • #362: Add logical volume attribute to OSFileStore (Linux support only), providing a place for an alternate volume name. @darinhoward
  • #363: Adding Steal Tick Type for Linux - @darinhoward.
  • #375: Added OSGi bundle support - @swimmesberger
  • Updated to JNA 4.4.0.

3.4.2 (2017-03-02)

3.4.1 (2017-03-01)

3.4.0 (2017-02-26)

  • Switch groupId to com.github.oshi
  • #294, #305: Add NetworkParams for network parameter of OS - @chikei, @dbwiddis.
  • #295: Make OSProcess (AbstractProcess.java) more easily extendible - @michaeldesigaud.
  • #307: Deprecate CentralProcessor's getSystemSerialNumber method that duplicated ComputerSystem's getSerialNumber method. - @dbwiddis.
  • #308: Add getProcessorID to CentralProcessor. - @dbwiddis.
  • #309: Reduce C library duplication. - @dbwiddis.
  • #317: Add user/uid, group/gid, and command line to OSProcess. - @dbwiddis.

3.3 (2016-12-31)

3.2 (2016-09-01)

3.1.1 (2016-08-05)

3.1 (2016-08-01)

3.0 (2016-07-01)

2.6.2 (2016-06-21)

  • #199: Use WMI queries for raw data instead of maintaining PDH threads - @dbwiddis.
  • Multiple efficiency improvements

2.6-java7 / 2.6.1 (2016-06-17)

  • #190: Add VendorID and ProductID to UsbDevice - @dbwiddis.
  • #193: Add read/write to Windows and macOS HWDiskStores - @dbwiddis.
  • #194: Add volume name to OSFileStores - @henryx.
  • #195: Fixed reading multiple (in particular external) displays on Mac - @dpagano.
  • #197: Add UUID to OSFileStores - @dbwiddis.
  • #198: macOS 10.12 (Sierra) - @dbwiddis.
  • Created a Java 7 backport using threeten.org dependency released as 2.6-m-java7

2.5.1-java7 / 2.5.2 (2016-06-09)

  • #186, #187, #188: Improve USB device trees - @dbwiddis.
  • Created a Java 7 backport using threeten.org dependency released as 2.5.1-java7

2.5 (2016-04-06)

2.4 (2016-05-02)

2.3 (2016-04-14)

2.2 (2016-03-01)

2.1.2 (2016-02-24)

2.1.1 (2016-02-19)

2.1 (2016-01-01)

2.0 (2015-11-28)

1.5.2 2015-11-23)

1.5.1 (2015-10-15)

1.5 (2015-09-21)

  • #87: Added SLF4J logging, changed exception throwing to log errors to be robust to lack of permissions - @dbwiddis.

1.4 (2015-09-03)

1.3 (2015-06-27)

  • Upgraded to Java 7 base support
  • Upgraded JNA to 4.1.0
  • Brought over lessons learned from waffle for building project from source.
  • #50: Added file store information - @dbwiddis.
  • #51: Added CPU Ticks and switched to OperatingSystemMXBean for CPU load / load average - @dbwiddis.
  • #62: Added Per-Processor CPU Load and Ticks - @dbwiddis.

1.2 (2015-06-13)

1.1 (2013-10-13)

  • Added support for Windows 8 to oshi.software.os.OperatingSystemVersion, oshi.software.os.windows.nt.OSVersionInfoEx - @laurent-r.

1.0 (2010-06-23)

  • Initial public release - @dblock.