Skip to content

Releases: alastairlundy/PlatformKit

4.1.0

11 Jun 12:04
Compare
Choose a tag to compare

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 for SUSE

Changes

  • Improved the robustness of parameter-less GetLinuxDistroBase method.
  • SUSE based linux distros will now be detected properly.

3.7.2

11 Jun 12:08
Compare
Choose a tag to compare

Changes since 3.7.1

  • Fixed an issue where SUSE was considered by PlatformKit as based on RHEL

4.0.1

19 May 13:43
Compare
Choose a tag to compare

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

04 May 18:37
Compare
Choose a tag to compare

Changes since 3.7 series

Additions

  • Added additional enum values to LinuxDistroBase
  • Added SteamOsAnalyzer class that extends LinuxOsAnalyzer 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 to MacOsAnalyzer
  • Renamed FreeBSDAnalyzer class to FreeBsdAnalyzer
  • RenamedPlatformIdentification class to PlatformKitIdentification
  • 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 to ProcessRunner class, RunCommand methods have been moved to CommandRunner class, and the URL opening method has been moved to the UrlRunner class.
  • Removed OSAnalyzer class - .NET Standard 2 users of PlatformKit have an additioanl dependency on PlatformKit.Extensions.OSDetection for Operating System Detection

3.7.1

04 May 17:27
Compare
Choose a tag to compare

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

30 Apr 07:47
Compare
Choose a tag to compare
4.0.0 RC 1 Pre-release
Pre-release

Changes since 4.0.0 Beta 10

  • Changed dependency from AlastairLundy.System.Extensions to AlastairLundy.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 with string
  • Replaced some Switch Statements with Switch Expressions
  • 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.
  • Simplified some code
  • Continued replacing concatenation code with String interpolation.
  • Renamed PlatformIdentification as PlatformKitIdentification
  • Deprecated some methods in PlatformKitIdentification - These will be removed in V5
  • Other minor code tweaks

4.0.0 Beta 10

22 Apr 16:46
Compare
Choose a tag to compare
4.0.0 Beta 10 Pre-release
Pre-release

Changes since 4.0.0 Beta 9

  • Moved OpenUrlInBrowser method from ProcessRunner to a new class UrlRunner
  • Renamed OpenUrlInBrowser method to OpenUrlInDefaultBrowser
  • Reduced potential RAM usage on certain CommandRunner methods.
  • Moved TFM relatee code from the RuntimeIdentification class to TargetFrameworkIdentification 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

22 Apr 17:11
Compare
Choose a tag to compare

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 and ProcessExtensions
  • 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

17 Apr 18:30
Compare
Choose a tag to compare
4.0.0 Beta 9 Pre-release
Pre-release

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

16 Apr 18:14
Compare
Choose a tag to compare
4.0.0 Beta 8 Pre-release
Pre-release

Changes since 4.0.0 Beta 7.1

  • Moved WMI related code from WindowsAnalyzer to WMISearcher
  • Moved Windows Registry code from WindowsAnalyzer to WinRegistrySearcher
  • Add in code comment for WinManagementObjectSearcher
  • Better guard Windows only code in WindowsAnalyzer
  • Added RHEL, NotDetected, and NotSupported, enum values for enum LinuxDistroBase