Releases: alastairlundy/PlatformKit
Releases · alastairlundy/PlatformKit
4.1.0
Changes since 4.0 series
Additions
- Added initial detection support for macOS 15 "Sequoia"
- Added initial detection support for Windows 11 24H2
- Added separate
LinuxDistroBase
value forSUSE
Changes
- Improved the robustness of parameter-less
GetLinuxDistroBase
method. - SUSE based linux distros will now be detected properly.
3.7.2
Changes since 3.7.1
- Fixed an issue where SUSE was considered by PlatformKit as based on RHEL
4.0.1
Changes since 4.0.0
- Fixed an issue where SUSE was considered by PlatformKit as based on RHEL
- Improved XML doc comments
4.0.0
Changes since 3.7 series
Additions
- Added additional enum values to
LinuxDistroBase
- Added
SteamOsAnalyzer
class that extendsLinuxOsAnalyzer
class- Added support for detecting SteamOS version
- Added support for detecting SteamDeck mode (e.g. Gaming Mode or Desktop Mode)
- Added Target Framework Moniker (TFM) detection
- Improved Runtime ID (RID) detection/generation
Changes
- Re-licensed the library back to MIT License as the project originally was
- Optimised and Improved code performance in the library
- Fixed issues with FreeBSD Runtime ID Generation
- Moved WMI related code from WindowsAnalyzer to WMISearcher
- Moved Windows Registry code from WindowsAnalyzer to WinRegistrySearcher
- Moved TFM relatee code from the RuntimeIdentification class to TargetFrameworkIdentification class
- Renamed
MacOSAnalyzer
class toMacOsAnalyzer
- Renamed
FreeBSDAnalyzer
class toFreeBsdAnalyzer
- Renamed
PlatformIdentification
class toPlatformKitIdentification
- Deprecated some methods in PlatformKitIdentification - These will be removed in V5
- Added a missing case to a method in the RuntimeIdentification class for wasm - This now throws a PlatformNotSupported exception as this isn't supported for Runtime ID generation.
- Renamed some methods in Analyzer classes
- Deprecated some methods that will be removed in V5
- Moved
NetworkCard
to the PlatformKit namespace
Removals
- Removed old debugging code
- Removed
ConsoleHelper
class - Removed support for OS X 10.9 through 10.11 (10.9, 10.10, and 10.11.x) - MacOsAnalyzer will now return
MacOsVersion.NotSupported
when attempting to detect any of these versions. - Removed support for macOS 10.12 "Sierra" - MacOsAnalyzer will now return
MacOsVersion.NotSupported
when attempting to detect this version. - Removed support for Windows 7, Windows 7 SP1, and Windows Server 2008 R2 - WindowsAnalyzer will now return
WindowsVersion.NotSupported
when attempting to detect any of these versions. - Removed
ProcessManager
- RunProcess methods have been moved toProcessRunner
class, RunCommand methods have been moved toCommandRunner
class, and the URL opening method has been moved to theUrlRunner
class. - Removed
OSAnalyzer
class - .NET Standard 2 users of PlatformKit have an additioanl dependency onPlatformKit.Extensions.OSDetection
for Operating System Detection
3.7.1
Changes since 3.7.0
- Changed PlatformKit.Extensions.OSDetection to use a floating version (any 1.x version) rather than a specific version.
- Replaced extension dependency with AlastairLundy.Extensions.System - Uses a floating version (4.x)
4.0.0 RC 1
Changes since 4.0.0 Beta 10
- Changed dependency from
AlastairLundy.System.Extensions
toAlastairLundy.Extensions.System
as the package has changed name with its release of package version 4.0.0 Preview 1. - Access Modifier changes to all Exceptions in PlatformKit 4 -They're now all public as they were in PlatformKit 3
- Replaced
String
class usage withstring
- Replaced some Switch Statements with Switch Expressions
- Added a missing case to a method in the
RuntimeIdentification
class forwasm
- This now throws aPlatformNotSupported
exception as this isn't supported for Runtime ID generation. - Simplified some code
- Continued replacing concatenation code with String interpolation.
- Renamed
PlatformIdentification
asPlatformKitIdentification
- Deprecated some methods in
PlatformKitIdentification
- These will be removed in V5 - Other minor code tweaks
4.0.0 Beta 10
Changes since 4.0.0 Beta 9
- Moved
OpenUrlInBrowser
method fromProcessRunner
to a new classUrlRunner
- Renamed
OpenUrlInBrowser
method toOpenUrlInDefaultBrowser
- Reduced potential RAM usage on certain
CommandRunner
methods. - Moved TFM relatee code from the
RuntimeIdentification
class toTargetFrameworkIdentification
class - Started work on making TFM related detection code more maintainable - So far this means moving some detection code into several methods with the
protected
access modifier. These are for internal use only but help make the code easier to maintain going forward. - Removed unnecessary instance of throwing an exception
- Switched all remaining
var
implicit typing to explicit typing - Fixed a potential issue where
OpenUrlInDefaultBrowser
would have thrown a NotImplementedException - This doesn't affect PlatformKit 3.x
3.7.0
Changes since 3.7.0 RC 1
- Backported performance improvements from 4.0.0 Beta 10
- Switched to using explicit typing
- Reduced code duplication
Changes since 3.6 series (including changes from 3.7.0 RC 1)
- Removed internal extension code and added dependency on a System Extensions package
- Added dependency on PlatformKit.Extensions.OperatingSystem and changed internal OS detection code to use
OperatingSystem
extensions. - Deprecated
SoftwareRequirementsAnalyzer
andProcessExtensions
- Improved guards against calling Windows only methods on non Windows platforms
- Backported performance improvements from 4.0.0 Beta 10
- Switched to using explicit typing
- Reduced code duplication
4.0.0 Beta 9
Changes since 4.0.0 Beta 8
- Improved robustness of RHEL distro base detection
- Removed unnecessary modifying of Windows Registry query results prior to returning it
- Made it easier to get Registry values
- Removed unnecessary using statements
4.0.0 Beta 8
Changes since 4.0.0 Beta 7.1
- Moved WMI related code from
WindowsAnalyzer
toWMISearcher
- Moved Windows Registry code from
WindowsAnalyzer
toWinRegistrySearcher
- Add in code comment for
WinManagementObjectSearcher
- Better guard Windows only code in
WindowsAnalyzer
- Added
RHEL
,NotDetected
, andNotSupported
, enum values for enumLinuxDistroBase