Skip to content

Commit

Permalink
Bump whoami from 1.4.1 to 1.5.0 (#319)
Browse files Browse the repository at this point in the history
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md">whoami's
changelog</a>.</em></p>
<blockquote>
<h2>[1.5.0] - 2024-03-03</h2>
<h3>Added</h3>
<ul>
<li>WASI support</li>
<li>Redox support</li>
<li>Fallible functions
<ul>
<li><code>whoami::fallible::devicename()</code></li>
<li><code>whoami::fallible::devicename_os()</code></li>
<li><code>whoami::fallible::distro()</code></li>
<li><code>whoami::fallible::hostname()</code> - notably doesn't
normalize to lowercase</li>
<li><code>whoami::fallible::realname()</code></li>
<li><code>whoami::fallible::realname_os()</code></li>
<li><code>whoami::fallible::username()</code></li>
<li><code>whoami::fallible::username_os()</code></li>
</ul>
</li>
<li><code>whoami::Language</code></li>
<li><code>whoami::Country</code></li>
<li><code>whoami::langs()</code></li>
<li><code>whoami::fallible::account()</code></li>
<li><code>whoami::fallible::account_os()</code></li>
<li><code>whoami::DesktopEnv::is_gtk()</code></li>
<li><code>whoami::DesktopEnv::is_kde()</code></li>
</ul>
<h3>Removed</h3>
<ul>
<li>Generated device names that infer casing based on the hostname when
the
device name is not available - now returns the hostname unchanged</li>
<li>Partial (potentially unsound) support for Android, iOS, watchOS,
tvOS,
Fuchsia, Haiku, Solaris, and a few others. These targets now use the
&quot;fake&quot;
implementation.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Deprecated <code>whoami::distro_os()</code></li>
<li>Deprecated <code>whoami::hostname()</code></li>
<li>Deprecated <code>whoami::hostname_os()</code></li>
<li>Deprecated <code>whoami::lang()</code></li>
<li>illumos and Redox are no longer untested targets</li>
<li>Documented that illumos and Redox have a higher MSRV (Rust 1.65)
than other
targets</li>
<li>Display implementation on <code>Platform::Illumos</code> now
displays in lowercase:
illumos</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Removed some unnecessary allocations</li>
<li>Rare and nearly impossible cases of undefined behavior</li>
<li>Better handling of UTF-8 non-conformant strings</li>
<li>Multiple instances of undefined behavior on illumos</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ardaku/whoami/commit/358dc0ef16960beafdf14f89198616b0f378b884"><code>358dc0e</code></a>
WhoAmI 1.5.0 Release (<a
href="https://redirect.github.com/ardaku/whoami/issues/94">#94</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/d6ee13ed9e818aa51b8d86d95e8009a376289a40"><code>d6ee13e</code></a>
Fix Instances of Memory Corruption on Illumos (<a
href="https://redirect.github.com/ardaku/whoami/issues/93">#93</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/953e702c0b24789a359a4027818af53bcb979db6"><code>953e702</code></a>
Support Redox (<a
href="https://redirect.github.com/ardaku/whoami/issues/92">#92</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/5bc73e4e6375a22e6b71300e0befc9cf4c97c278"><code>5bc73e4</code></a>
Preserve OS case for hostnames (<a
href="https://redirect.github.com/ardaku/whoami/issues/86">#86</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/29d5f2210339aa487073a3372876c0a498e46379"><code>29d5f22</code></a>
Support WASI (<a
href="https://redirect.github.com/ardaku/whoami/issues/84">#84</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/d7885e7c75d9a59ab3d2f5dceb82d46399c7dd7b"><code>d7885e7</code></a>
Add <code>Target</code> trait for implementing new targets (<a
href="https://redirect.github.com/ardaku/whoami/issues/80">#80</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/e3da4c56f9df876f01baea5e8fde6d1a0ac60ae9"><code>e3da4c5</code></a>
Add <code>langs()</code> function, deprecate <code>lang()</code> (<a
href="https://redirect.github.com/ardaku/whoami/issues/78">#78</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/9a2ee7ee929b67da8a6c7a8264901f1b2269ec03"><code>9a2ee7e</code></a>
Add commas to <code>format!()</code> calls</li>
<li><a
href="https://github.com/ardaku/whoami/commit/f499c74cc745c6894df190d729b98772dc12bb50"><code>f499c74</code></a>
Implement Fallible API (<a
href="https://redirect.github.com/ardaku/whoami/issues/71">#71</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/1c076a5ac667c0258f9649efd346b238ab9c7b87"><code>1c076a5</code></a>
Fix broken non-utf8 support for some platform / function combinations
(<a
href="https://redirect.github.com/ardaku/whoami/issues/70">#70</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=whoami&package-manager=cargo&previous-version=1.4.1&new-version=1.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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](https://github.com/sourcefrog/cargo-mutants/network/alerts).

</details>
  • Loading branch information
sourcefrog authored Apr 6, 2024
2 parents dd2fe01 + 5fbb30f commit 0962202
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ toml = "0.8"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = "0.3"
whoami = "1.2"
whoami = "1.5"

[dependencies.nutmeg]
version = "0.1.4"
Expand Down

0 comments on commit 0962202

Please sign in to comment.