diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 418b0e40..66a34416 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -19,7 +19,7 @@ jobs: with: # Feel free to bump this version if you need features of newer Rust. # Sync with badge in README.md - toolchain: 1.41.0 + toolchain: 1.45.0 profile: minimal override: true 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/README.md b/README.md index a4704943..5e702891 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ **Project details:** [![LoC](https://tokei.rs/b1/github/stanislav-tkach/os_info)](https://github.com/stanislav-tkach/os_info) -![Rust 1.41+ required](https://img.shields.io/badge/rust-1.41+-blue.svg?label=Required%20Rust) +![Rust 1.45+ required](https://img.shields.io/badge/rust-1.41+-blue.svg?label=Required%20Rust) ## Overview 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"),