Released on Tuesday, June 22, 2021. Silences an outstanding compiler warning
New in version 2.0.0 (06/22/2021)
Released on Tuesday, June 22, 2021. This release introduces SPM support, extends and refactors the info interface, removes caching of most information snippets retrieved and improves overall code quality and test coverage.
Important! This release breaks API compatibility in a number of ways, so please read the changes below carefully, before upgrading an existing installation, as this may require some refactoring.
Changed
- Deprecate
AllIPAddressesandIPAddressin favor of a new property namednetworkInterfaceswhich now returns an array ofCSNetworkInterfaceobjects. This array now also contains IPv6 interfaces, as well as IPv4.898069b - The
systemInfodictionary has been converted to a class where the previous keys are now instance properties. ThesystemInfoStringandsystemVersionStringare now instance properties of theCSSystemInfoobject,stringandversionStringrespectively.b156e26 - The
platformUUIDproperty is now only available on macOS3d9127a
Added
- Added the
memoryPhysicalFootprintandmemoryPhysicalFootprintStringproperties toCSSystemInfoHelper, that extract and format thephys_footprintmember of thevm_task_infostruct.2c6943f
Closed Issues
- Issue #1 is closed as a result of
systemInfobeing computed on demand, instead of cached on the first call.