Files
firezone/rust/gui-client
dependabot[bot] 7f0bb08225 build(deps-dev): bump tailwindcss from 4.0.9 to 4.0.17 in /rust/gui-client (#8576)
Bumps
[tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss)
from 4.0.9 to 4.0.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/tailwindcss/releases">tailwindcss's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.17</h2>
<h3>Fixed</h3>
<ul>
<li>Fix an issue causing the CLI to hang when processing Ruby files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17383">#17383</a>)</li>
</ul>
<h2>v4.0.16</h2>
<h3>Added</h3>
<ul>
<li>Add support for literal values in <code>--value('…')</code> and
<code>--modifier('…')</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17304">#17304</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix class extraction followed by <code>(</code> in Pug (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17320">#17320</a>)</li>
<li>Ensure <code>@keyframes</code> for theme animations are emitted if
they are referenced following a comma (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17352">#17352</a>)</li>
<li>Vite: Ensure that updates to an imported CSS file are properly
propagated after updating source files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17347">#17347</a>)</li>
<li>Pre process <code>Slim</code> templates embedded in Ruby files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17336">#17336</a>)</li>
<li>Error when input and output files resolve to the same file when
using the CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17311">#17311</a>)</li>
<li>Add missing suggestions when <code>--spacing(--value(integer,
number))</code> is used (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17308">#17308</a>)</li>
<li>Add <code>::-webkit-details-marker</code> pseudo to
<code>marker</code> variant (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17362">#17362</a>)</li>
</ul>
<h2>v4.0.15</h2>
<h3>Fixed</h3>
<ul>
<li>Fix incorrect angle in <code>-bg-conic-*</code> utilities (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17174">#17174</a>)</li>
<li>Fix <code>border-[12px_4px]</code> being interpreted as a
<code>border-color</code> instead of a <code>border-width</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17248">#17248</a>)</li>
<li>Work around a crash in Safari 16.4 and 16.5 when using the default
Preflight styles (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17306">#17306</a>)</li>
<li>Pre-process <code>\&lt;template lang=&quot;…&quot;&gt;</code> in Vue
files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17252">#17252</a>)</li>
<li>Ensure that all CSS variables used by Preflight are prefixed (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17036">#17036</a>)</li>
<li>Prevent segfault when loaded in a worker thread on Linux (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17276">#17276</a>)</li>
<li>Ensure multiple <code>--value(…)</code> or
<code>--modifier(…)</code> calls don't delete subsequent declarations
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17273">#17273</a>)</li>
<li>Fix class extraction followed by <code>(</code> in Slim (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17278">#17278</a>)</li>
<li>Export <code>PluginUtils</code> from <code>tailwindcss/plugin</code>
for compatibility with v3 (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17299">#17299</a>)</li>
<li>Remove redundant <code>line-height: initial</code> from Preflight
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/15212">#15212</a>)</li>
<li>Increase Standalone hardware compatibility on macOS x64 builds (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17267">#17267</a>)</li>
<li>Ensure that the CSS file rebuilds if a new CSS variable is used from
templates (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17301">#17301</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The <code>--theme(…)</code> function now returns CSS variables from
your theme variables unless used inside positions where CSS variables
are invalid (e.g. inside <code>@media</code> queries) (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17036">#17036</a>)</li>
</ul>
<h2>v4.0.14</h2>
<h3>Fixed</h3>
<ul>
<li>Do not extract candidates with JS string interpolation
<code>${</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17142">#17142</a>)</li>
<li>Fix extraction of variants containing <code>.</code> character (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17153">#17153</a>)</li>
<li>Fix extracting candidates in Clojure/ClojureScript (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17087">#17087</a>)</li>
</ul>
<h2>v4.0.13</h2>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md">tailwindcss's
changelog</a>.</em></p>
<blockquote>
<h2>[4.0.17] - 2025-03-26</h2>
<h3>Fixed</h3>
<ul>
<li>Fix an issue causing the CLI to hang when processing Ruby files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17383">#17383</a>)</li>
</ul>
<h2>[4.0.16] - 2025-03-25</h2>
<h3>Added</h3>
<ul>
<li>Add support for literal values in <code>--value('…')</code> and
<code>--modifier('…')</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17304">#17304</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix class extraction followed by <code>(</code> in Pug (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17320">#17320</a>)</li>
<li>Ensure <code>@keyframes</code> for theme animations are emitted if
they are referenced following a comma (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17352">#17352</a>)</li>
<li>Vite: Ensure that updates to an imported CSS file are properly
propagated after updating source files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17347">#17347</a>)</li>
<li>Pre process <code>Slim</code> templates embedded in Ruby files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17336">#17336</a>)</li>
<li>Error when input and output files resolve to the same file when
using the CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17311">#17311</a>)</li>
<li>Add missing suggestions when <code>--spacing(--value(integer,
number))</code> is used (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17308">#17308</a>)</li>
<li>Add <code>::-webkit-details-marker</code> pseudo to
<code>marker</code> variant (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17362">#17362</a>)</li>
</ul>
<h2>[4.0.15] - 2025-03-20</h2>
<h3>Fixed</h3>
<ul>
<li>Fix incorrect angle in <code>-bg-conic-*</code> utilities (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17174">#17174</a>)</li>
<li>Fix <code>border-[12px_4px]</code> being interpreted as a
<code>border-color</code> instead of a <code>border-width</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17248">#17248</a>)</li>
<li>Work around a crash in Safari 16.4 and 16.5 when using the default
Preflight styles (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17306">#17306</a>)</li>
<li>Pre-process <code>\&lt;template lang=&quot;…&quot;&gt;</code> in Vue
files (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17252">#17252</a>)</li>
<li>Ensure that all CSS variables used by Preflight are prefixed (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17036">#17036</a>)</li>
<li>Prevent segfault when loaded in a worker thread on Linux (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17276">#17276</a>)</li>
<li>Ensure multiple <code>--value(…)</code> or
<code>--modifier(…)</code> calls don't delete subsequent declarations
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17273">#17273</a>)</li>
<li>Fix class extraction followed by <code>(</code> in Slim (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17278">#17278</a>)</li>
<li>Export <code>PluginUtils</code> from <code>tailwindcss/plugin</code>
for compatibility with v3 (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17299">#17299</a>)</li>
<li>Remove redundant <code>line-height: initial</code> from Preflight
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/15212">#15212</a>)</li>
<li>Increase Standalone hardware compatibility on macOS x64 builds (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17267">#17267</a>)</li>
<li>Ensure that the CSS file rebuilds if a new CSS variable is used from
templates (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17301">#17301</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The <code>--theme(…)</code> function now returns CSS variables from
your theme variables unless used inside positions where CSS variables
are invalid (e.g. inside <code>@media</code> queries) (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17036">#17036</a>)</li>
</ul>
<h2>[4.0.14] - 2025-03-13</h2>
<h3>Fixed</h3>
<ul>
<li>Do not extract candidates with JS string interpolation
<code>${</code> (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17142">#17142</a>)</li>
<li>Fix extraction of variants containing <code>.</code> character (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17153">#17153</a>)</li>
<li>Fix extracting candidates in Clojure/ClojureScript (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/17087">#17087</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6b1c650410"><code>6b1c650</code></a>
Prepare v4.0.17 release</li>
<li><a
href="1c50b5c16c"><code>1c50b5c</code></a>
Prepare v4.0.16 release (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17372">#17372</a>)</li>
<li><a
href="bd501e8511"><code>bd501e8</code></a>
Add <code>::-webkit-details-marker</code> pseudo to <code>marker</code>
variant (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17362">#17362</a>)</li>
<li><a
href="e8715d081e"><code>e8715d0</code></a>
Extract keyframe name when followed by comma (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17352">#17352</a>)</li>
<li><a
href="91c0d56d0f"><code>91c0d56</code></a>
Revert &quot;Temporarily revert changes to `@utility&quot;</li>
<li><a
href="1aab04cebf"><code>1aab04c</code></a>
Temporarily revert changes to `@utility</li>
<li><a
href="250c843341"><code>250c843</code></a>
Add suggestions when <code>--spacing(--value(integer, number))</code> is
used (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17308">#17308</a>)</li>
<li><a
href="a3316f2ef4"><code>a3316f2</code></a>
Add support for literal values in <code>--value('…')</code> and
<code>--modifier('…')</code> (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17304">#17304</a>)</li>
<li><a
href="4c57d9f734"><code>4c57d9f</code></a>
Prepare v4.0.15 release (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17302">#17302</a>)</li>
<li><a
href="40a76e3380"><code>40a76e3</code></a>
Revert &quot;Don't use <code>color-mix(…)</code> on
<code>currentColor</code> (<a
href="https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss/issues/17247">#17247</a>)&quot;
and work around ...</li>
<li>Additional commits viewable in <a
href="https://github.com/tailwindlabs/tailwindcss/commits/v4.0.17/packages/tailwindcss">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tailwindcss&package-manager=npm_and_yarn&previous-version=4.0.9&new-version=4.0.17)](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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 11:19:10 +00:00
..
2024-11-01 18:06:09 +00:00

gui-client

This crate houses a GUI client for Linux and Windows.

Setup (Ubuntu)

To compile natively for x86_64 Linux:

  1. Install rustup
  2. Install pnpm
  3. sudo apt-get install build-essential curl file libayatana-appindicator3-dev librsvg2-dev libssl-dev libwebkit2gtk-4.1-dev libxdo-dev wget

Setup (Windows)

To compile natively for x86_64 Windows:

  1. Install rustup
  2. Install pnpm

(From Tauri's default README)

Building

Builds are best started from the frontend tool pnpm. This ensures typescript and css is compiled properly before bundling the application.

See the package.json script for more details as to what's going on under the hood.

# Builds a release exe
pnpm build

# Linux:
# The release exe and deb package are up in the workspace.
stat ../target/release/firezone
stat ../target/release/bundle/deb/*.deb

# Windows:
# The release exe and MSI installer should be up in the workspace.
# The exe can run without being installed
stat ../target/release/Firezone.exe
stat ../target/release/bundle/msi/Firezone_0.0.0_x64_en-US.msi

Signing the Windows MSI in GitHub CI

The MSI is signed in GitHub CI using the firezone/firezone repository's secrets. This was originally set up using these guides for inspiration:

Renewing / issuing a new code signing certificate and associated Azure entities is outside the scope of this section. Use the guides above if this needs to be done.

Instead, you'll most likely simply need to rotate the Azure CodeSigning Application's client secret.

To do so, login to the Azure portal using your @firezoneprod.onmicrosoft.com account. Try to access it via the following deep-link. If that doesn't work:

  • Go to the Microsoft Entra ID service
  • Click on App Registrations
  • Make sure the tab All applications is selected
  • Find and navigate to the CodeSigning app registration
  • Client on client credentials
  • Click New client secret
  • Note down the secret value. This should be entered into the GitHub repository's secrets as AZURE_CLIENT_SECRET.

Running

From this dir:

# This will start the frontend tools in watch mode and then run `tauri dev`
pnpm dev

# You can call debug subcommands on the exe from this directory too
# e.g. this is equivalent to `cargo run -- debug hostname`
cargo tauri dev -- -- debug hostname

# The exe is up in the workspace
stat ../target/debug/Firezone.exe

The app's config and logs will be stored at C:\Users\$USER\AppData\Local\dev.firezone.client.

Platform support

Ubuntu 22.04 and newer is supported.

Tauri says it should work on Windows 10, Version 1803 and up. Older versions may work if you manually install WebView2

x86_64 architecture is supported for Windows. aarch64 and x86_64 are supported for Linux.

Threat model

See Security

Testing

See Intended behavior