Sourced from whoami's changelog.
[1.5.1] - 2024-03-09
Fixed
- Broken link in docs
[1.5.0] - 2024-03-03
Added
- WASI support
- Redox support
- Fallible functions
whoami::fallible::devicename()
whoami::fallible::devicename_os()
whoami::fallible::distro()
whoami::fallible::hostname()
- notably doesn't normalize to lowercasewhoami::fallible::realname()
whoami::fallible::realname_os()
whoami::fallible::username()
whoami::fallible::username_os()
whoami::Language
whoami::Country
whoami::langs()
whoami::fallible::account()
whoami::fallible::account_os()
whoami::DesktopEnv::is_gtk()
whoami::DesktopEnv::is_kde()
Removed
- Generated device names that infer casing based on the hostname when the device name is not available - now returns the hostname unchanged
- Partial (potentially unsound) support for Android, iOS, watchOS, tvOS, Fuchsia, Haiku, Solaris, and a few others. These targets now use the "fake" implementation.
Changed
- Deprecated
whoami::distro_os()
- Deprecated
whoami::hostname()
- Deprecated
whoami::hostname_os()
- Deprecated
whoami::lang()
- illumos and Redox are no longer untested targets
- Documented that illumos and Redox have a higher MSRV (Rust 1.65) than other targets
- Display implementation on
Platform::Illumos
now displays in lowercase: illumosFixed
... (truncated)
74a0c3b
Prepare to release whoami 1.5.1 (#109)7789b3f
Backport v2 -> v1: Test docs in CI (#108)4bbaf52
Prevent future potential UB in unix wrapper for getpwuid()
(#104)358dc0e
WhoAmI 1.5.0 Release (#94)d6ee13e
Fix Instances of Memory Corruption on Illumos (#93)953e702
Support Redox (#92)5bc73e4
Preserve OS case for hostnames (#86)29d5f22
Support WASI (#84)d7885e7
Add Target
trait for implementing new targets (#80)e3da4c5
Add langs()
function, deprecate lang()
(#78)