From b292f1535bb27c03800cdb7509fa81a40859fbbb Mon Sep 17 00:00:00 2001 From: svartalf Date: Thu, 8 Apr 2021 13:42:28 +0200 Subject: [PATCH] Updating changelog for all changes from the v0.1.0-rc.1 releases --- CHANGELOG.md | 11 +++++++++-- heim-process/src/process/mod.rs | 5 +++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c988ffd..82505bf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,19 +18,24 @@ for information about previous releases. * `process::Process::niceness` method for *nixes (#216) * `process::Process::wait` method for Linux and macOS (#213, #214) * `process::Process::environment` method for Linux and macOS (#208, #209) + * `process::Process::cwd` for Windows, first unstable version (#267) * `cpu::os::unix::loadavg` function for load average values fetching * `net::Nic::is_running` method for checking network interface running state (#223) * `disk::Partition::usage` method to fetch disk usage information (#288) + * ARM64 architecture detected now, as in Apple Silicon chips (#303) + * "Windows Domain Controller" is detected by `heim::host::platform` for Windows (#302) + * Windows domain name is provided by `heim::host::os::windows::PlatformExt` extension trait (#302) ### Changed - * MSRV bumped to Rust 1.45.0+ + * MSRV bumped to Rust 1.46.0+ + * Dependencies are now set with caret dependencies instead of tilde ones * Examples moved to the separate workspace crate * Benchmarks moved to the separate workspace crate - * `process::Process::cwd` for Windows panics instead of returning blank error, as this method is not implemented yet * `process::Process::cwd` for Linux returns `AccessDenied` error if IO operation fails with the permission error (#226) * Internal blocking operations are grouped together as much as possible in order to reduce execution time * `net::Nic::is_up` method represents only "up" state now, `is_running` method added also (#223) + * `heim::net::nic` returns `Send + Sync` `Stream` now (#313) ### Removed @@ -41,6 +46,8 @@ for information about previous releases. * `cpu::times` for Linux correctly parses `/proc/stat` (#233) * Handle addition overflow when calculating CPU interrupts stats for Windows (#250) + * Swap memory calculation fixed for Windows (#307) + * `heim::host::Platform::hostname` value is not truncated for Windows (#302) ## Older versions diff --git a/heim-process/src/process/mod.rs b/heim-process/src/process/mod.rs index f5d5f37c..a14afcf4 100644 --- a/heim-process/src/process/mod.rs +++ b/heim-process/src/process/mod.rs @@ -88,8 +88,9 @@ impl Process { /// /// ## Compatibility /// - /// For Windows this method is not implemented yet and will always panic, - /// see [#105](https://github.com/heim-rs/heim/issues/105). + /// For Windows this method is implemented, but considered as an **unstable** right now. + /// + /// Please use it with caution and report any bugs you might face. pub async fn cwd(&self) -> ProcessResult { self.as_ref().cwd().await }