Skip to content

Commit

Permalink
Updating changelog for all changes from the v0.1.0-rc.1 releases
Browse files Browse the repository at this point in the history
  • Loading branch information
svartalf committed Apr 8, 2021
1 parent 037a459 commit b292f15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
5 changes: 3 additions & 2 deletions heim-process/src/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf> {
self.as_ref().cwd().await
}
Expand Down

0 comments on commit b292f15

Please sign in to comment.