Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/releases">vite's releases</a>.</em></p> <blockquote> <h2>v6.3.2</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.2/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.3.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.3.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.3.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.1/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>create-vite@6.3.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.3.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.3.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.3.0-beta.2</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.0-beta.2/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.3.0-beta.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.0-beta.1/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.3.0-beta.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.3.0-beta.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> <blockquote> <h2><!-- raw HTML omitted -->6.3.2 (2025-04-18)<!-- raw HTML omitted --></h2> <ul> <li>fix: match default asserts case insensitive (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19852">#19852</a>) (<a href="cbdab1d6a3">cbdab1d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19852">#19852</a></li> <li>fix: open first url if host does not match any urls (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19886">#19886</a>) (<a href="6abbdce3d7">6abbdce</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19886">#19886</a></li> <li>fix(css): respect <code>css.lightningcss</code> option in css minification process (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19879">#19879</a>) (<a href="b5055e0dd4">b5055e0</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19879">#19879</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19698">#19698</a>) (<a href="bab4cb9224">bab4cb9</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19698">#19698</a></li> <li>feat(css): improve lightningcss messages (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19880">#19880</a>) (<a href="c713f79b5a">c713f79</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19880">#19880</a></li> </ul> <h2><!-- raw HTML omitted -->6.3.1 (2025-04-17)<!-- raw HTML omitted --></h2> <ul> <li>fix: avoid using <code>Promise.allSettled</code> in preload function (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19805">#19805</a>) (<a href="35c7f35e2b">35c7f35</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19805">#19805</a></li> <li>fix: backward compat for internal plugin <code>transform</code> calls (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19878">#19878</a>) (<a href="a152b7cbac">a152b7c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19878">#19878</a></li> </ul> <h2>6.3.0 (2025-04-16)</h2> <ul> <li>fix(hmr): avoid infinite loop happening with <code>hot.invalidate</code> in circular deps (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19870">#19870</a>) (<a href="d4ee5e8655">d4ee5e8</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19870">#19870</a></li> <li>fix(preview): use host url to open browser (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19836">#19836</a>) (<a href="5003434040">5003434</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19836">#19836</a></li> </ul> <h2>6.3.0-beta.2 (2025-04-11)</h2> <ul> <li>fix: addWatchFile doesn't work if base is specified (fixes <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19792">#19792</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19794">#19794</a>) (<a href="8bed1de571">8bed1de</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19792">#19792</a> <a href="https://redirect.github.com/vitejs/vite/issues/19794">#19794</a></li> <li>fix: correct the behavior when multiple transform filter options are specified (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19818">#19818</a>) (<a href="7200deec91">7200dee</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19818">#19818</a></li> <li>fix: fs check with svg and relative paths (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19782">#19782</a>) (<a href="62d7e81ee1">62d7e81</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19782">#19782</a></li> <li>fix: keep entry asset files imported by other files (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19779">#19779</a>) (<a href="2fa1495801">2fa1495</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19779">#19779</a></li> <li>fix: reject requests with <code>#</code> in request-target (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19830">#19830</a>) (<a href="175a83909f">175a839</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19830">#19830</a></li> <li>fix: unbundle <code>fdir</code> to fix <code>commonjsOptions.dynamicRequireTargets</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19791">#19791</a>) (<a href="71227be9aa">71227be</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19791">#19791</a></li> <li>fix(css): remove empty chunk imports correctly when chunk file name contained special characters (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1">#1</a> (<a href="b1251720d4">b125172</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19814">#19814</a></li> <li>fix(dev): make query selector regexes more inclusive (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19213">#19213</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19767">#19767</a>) (<a href="f530a72246">f530a72</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19213">#19213</a> <a href="https://redirect.github.com/vitejs/vite/issues/19767">#19767</a></li> <li>fix(hmr): run HMR handler sequentially (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19793">#19793</a>) (<a href="380c10e665">380c10e</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19793">#19793</a></li> <li>fix(module-runner): allow already resolved id as entry (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19768">#19768</a>) (<a href="e2e11b15a6">e2e11b1</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19768">#19768</a></li> <li>fix(types): remove the <code>keepProcessEnv</code> from the <code>DefaultEnvironmentOptions</code> type (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19796">#19796</a>) (<a href="36935b58ea">36935b5</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19796">#19796</a></li> <li>refactor: simplify pluginFilter implementation (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19828">#19828</a>) (<a href="0a0c50a7ed">0a0c50a</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19828">#19828</a></li> <li>perf(css): avoid constructing <code>renderedModules</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19775">#19775</a>) (<a href="59d0b35b30">59d0b35</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19775">#19775</a></li> <li>test: tweak generateCodeFrame test (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19812">#19812</a>) (<a href="8fe3538d90">8fe3538</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19812">#19812</a></li> <li>docs(vite): fix description of <code>transformIndexHtml</code> hook (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19799">#19799</a>) (<a href="a0e1a04026">a0e1a04</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19799">#19799</a></li> <li>chore: remove unused eslint directive (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19781">#19781</a>) (<a href="cb4f5b4b6b">cb4f5b4</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19781">#19781</a></li> </ul> <h2>6.3.0-beta.1 (2025-04-03)</h2> <ul> <li>fix: align plugin hook filter behavior with pluginutils (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19736">#19736</a>) (<a href="0bbdd2c133">0bbdd2c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19736">#19736</a></li> <li>fix: fs check in transform middleware (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19761">#19761</a>) (<a href="59673137c4">5967313</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19761">#19761</a></li> <li>fix(hmr): throw non-standard error info causes logical error (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19776">#19776</a>) (<a href="6b648c73ae">6b648c7</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19776">#19776</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="4bc17b4683"><code>4bc17b4</code></a> release: v6.3.2</li> <li><a href="b5055e0dd4"><code>b5055e0</code></a> fix(css): respect <code>css.lightningcss</code> option in css minification process (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19879">#19879</a>)</li> <li><a href="c713f79b5a"><code>c713f79</code></a> feat(css): improve lightningcss messages (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19880">#19880</a>)</li> <li><a href="cbdab1d6a3"><code>cbdab1d</code></a> fix: match default asserts case insensitive (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19852">#19852</a>)</li> <li><a href="6abbdce3d7"><code>6abbdce</code></a> fix: open first url if host does not match any urls (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19886">#19886</a>)</li> <li><a href="bab4cb9224"><code>bab4cb9</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19698">#19698</a>)</li> <li><a href="a7349ef31e"><code>a7349ef</code></a> release: v6.3.1</li> <li><a href="a152b7cbac"><code>a152b7c</code></a> fix: backward compat for internal plugin <code>transform</code> calls (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19878">#19878</a>)</li> <li><a href="35c7f35e2b"><code>35c7f35</code></a> fix: avoid using <code>Promise.allSettled</code> in preload function (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19805">#19805</a>)</li> <li><a href="5fdcfe77a9"><code>5fdcfe7</code></a> release: v6.3.0</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/v6.3.2/packages/vite">compare view</a></li> </ul> </details> <br /> [](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>
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.
Reading Client logs
The Client logs are written as JSONL for machine-readability.
To make them more human-friendly, pipe them through jq like this:
cd path/to/logs # e.g. `$HOME/.cache/dev.firezone.client/data/logs` on Linux
cat *.log | jq -r '"\(.time) \(.severity) \(.message)"'
Resulting in, e.g.
2024-04-01T18:25:47.237661392Z INFO started log
2024-04-01T18:25:47.238193266Z INFO GIT_VERSION = 1.0.0-pre.11-35-gcc0d43531
2024-04-01T18:25:48.295243016Z INFO No token / actor_name on disk, starting in signed-out state
2024-04-01T18:25:48.295360641Z INFO null
Benchmarking on Linux
The recommended way for benchmarking any of the Rust components is Linux' perf utility.
For example, to attach to a running application, do:
- Ensure the binary you are profiling is compiled with the
releaseprofile. sudo perf record -g --freq 10000 --pid $(pgrep <your-binary>).- Run the speed test or whatever load-inducing task you want to measure.
sudo perf script > profile.perf- Open profiler.firefox.com and load
profile.perf
Instead of attaching to a process with --pid, you can also specify the path to executable directly.
That is useful if you want to capture perf data for a test or a micro-benchmark.