From 10fc83bf587699a4ef95f5d6f7211f0a5099d73a Mon Sep 17 00:00:00 2001 From: Stanislav Tkach Date: Sun, 18 Sep 2022 20:32:16 +0200 Subject: [PATCH] Release the 3.5.1 version --- CHANGELOG.md | 7 ++++++- cli/Cargo.toml | 2 +- os_info/Cargo.toml | 2 +- os_info/src/windows/winapi.rs | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb40cf57..c19be54f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [3.5.1] (2022-09-19) + +- Windows 11 detection has been fixed. (#322) + ## [3.5.0] (2022-08-01) - Red Hat Enterprise Linux detection has been improved. (#311) @@ -269,7 +273,8 @@ All notable changes to this project will be documented in this file. The first release containing only minor infrastructural changes and based on [os_type](https://github.com/schultyy/os_type). -[Unreleased]: https://github.com/stanislav-tkach/os_info/compare/v3.5.0...HEAD +[Unreleased]: https://github.com/stanislav-tkach/os_info/compare/v3.5.1...HEAD +[3.5.1]: https://github.com/stanislav-tkach/os_info/compare/v3.5.0...v3.5.1 [3.5.0]: https://github.com/stanislav-tkach/os_info/compare/v3.4.0...v3.5.0 [3.4.0]: https://github.com/stanislav-tkach/os_info/compare/v3.3.0...v3.4.0 [3.3.0]: https://github.com/stanislav-tkach/os_info/compare/v3.2.0...v3.3.0 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1375d620..3bb1b05d 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -17,7 +17,7 @@ name = "os_info" path = "src/main.rs" [dependencies] -os_info = { version = "3.5.0", default-features = false, path = "../os_info" } +os_info = { version = "3.5.1", default-features = false, path = "../os_info" } log = "0.4.5" env_logger = "0.9" clap = { version = "3", features = ["derive"] } diff --git a/os_info/Cargo.toml b/os_info/Cargo.toml index eaaa785a..bacd0eb3 100644 --- a/os_info/Cargo.toml +++ b/os_info/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "os_info" -version = "3.5.0" +version = "3.5.1" authors = ["Jan Schulte ", "Stanislav Tkach "] description = "Detect the operating system type and version." documentation = "https://docs.rs/os_info" diff --git a/os_info/src/windows/winapi.rs b/os_info/src/windows/winapi.rs index 9a862e61..dea5ba25 100644 --- a/os_info/src/windows/winapi.rs +++ b/os_info/src/windows/winapi.rs @@ -222,7 +222,7 @@ fn edition(version_info: &OSVERSIONINFOEX) -> Option { } else { Some("Windows 10") } - }, + } (10, 0, _) => Some("Windows Server 2016"), // Windows Vista, 7, 8 and 8.1. (6, 3, VER_NT_WORKSTATION) => Some("Windows 8.1"),