gitarena
gitarena copied to clipboard
Bump whoami from 1.1.2 to 1.5.1
Bumps whoami from 1.1.2 to 1.5.1.
Changelog
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)
Commits
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 forgetpwuid()
(#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
AddTarget
trait for implementing new targets (#80)e3da4c5
Addlangs()
function, deprecatelang()
(#78)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.