Commit Graph

246 Commits

Author SHA1 Message Date
dependabot[bot]
4d73b99e70 build(deps): Bump ring from 0.17.4 to 0.17.5 in /rust (#2453)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.4 to 0.17.5.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/briansmith/ring/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ring&package-manager=cargo&previous-version=0.17.4&new-version=0.17.5)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 16:39:57 -03:00
dependabot[bot]
ac6a8eefaf build(deps): Bump tracing from 0.1.39 to 0.1.40 in /rust (#2455)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.39 to
0.1.40.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing/releases">tracing's
releases</a>.</em></p>
<blockquote>
<h2>tracing 0.1.40</h2>
<p>This release fixes a potential stack use-after-free in the
<code>Instrument::into_inner</code> method. Only uses of this method are
affected by this
bug.</p>
<h3>Fixed</h3>
<ul>
<li>Use <code>mem::ManuallyDrop</code> instead of
<code>mem::forget</code> in <code>Instrument::into_inner</code>
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2765">#2765</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tracing/issues/2765">#2765</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2765">tokio-rs/tracing#2765</a></p>
<p>Thanks to <a
href="https://github.com/cramertj"><code>@​cramertj</code></a> and <a
href="https://github.com/manishearth"><code>@​manishearth</code></a> for
finding and fixing this issue!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="15600a3a67"><code>15600a3</code></a>
tracing: prepare to release v0.1.40</li>
<li><a
href="20a1762b3f"><code>20a1762</code></a>
tracing: use ManuallyDrop instead of mem::forget (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2765">#2765</a>)</li>
<li>See full diff in <a
href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing&package-manager=cargo&previous-version=0.1.39&new-version=0.1.40)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 16:39:37 -03:00
dependabot[bot]
85a7d002c3 build(deps): Bump thiserror from 1.0.49 to 1.0.50 in /rust (#2451)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.49 to
1.0.50.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.50</h2>
<ul>
<li>Improve diagnostic when a #[source], #[from], or #[transparant]
attribute refers to a type that has no std::error::Error impl (<a
href="https://redirect.github.com/dtolnay/thiserror/issues/258">#258</a>,
thanks <a
href="https://github.com/de-vri-es"><code>@​de-vri-es</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a7d220d791"><code>a7d220d</code></a>
Release 1.0.50</li>
<li><a
href="4088d169ed"><code>4088d16</code></a>
Ignore module_name_repetitions pedantic clippy lint</li>
<li><a
href="ebebf77fe0"><code>ebebf77</code></a>
Format ui tests with rustfmt</li>
<li><a
href="ff0a0a5859"><code>ff0a0a5</code></a>
Source and From attributes only have single-ident path</li>
<li><a
href="7cec716420"><code>7cec716</code></a>
Remove reliance on Spanned for Member</li>
<li><a
href="c9fe739272"><code>c9fe739</code></a>
Touch up PR 258</li>
<li><a
href="4850c6f80f"><code>4850c6f</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/258">#258</a>
from de-vri-es/as-dyn-error-span</li>
<li><a
href="a49f7c603d"><code>a49f7c6</code></a>
Change span of <code>as_dyn_error()</code> to point compile error at
attribute.</li>
<li><a
href="f4eac7ef7b"><code>f4eac7e</code></a>
Ignore needless_raw_string_hashes clippy lint</li>
<li>See full diff in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.49&new-version=1.0.50)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 16:39:13 -03:00
Gabi
29a480789e Fix reuse connections (#2454)
There were 2 bugs:
* `gateway_awaiting_connections` should represent gateways were there is
an on-going connection intent but are not connected yet but currently we
were creating an empty entry when there was no entry, even if there is a
connection established, this would cause the next resource connection
intent to stop early without adding the allowed ip, thus never using the
connection.
* There was a race condition, where if the `ReuseConnection` was sent to
the gateway when the connection wasn't established, the gateway would
just ignore the message, but this connection intent would never be sent
again.

Now that I'm writing this maybe the best solution is, if there is a
pending connection to a gateway, we just do nothing. That way upper
layers would just retry the message and we send `ReuseConnection` once
the connection is established instead of buffering the requests...

Edit: that's exactly the fix I made.
2023-10-20 02:50:29 -03:00
Thomas Eizinger
d2c0744518 fix(connlib): correctly forward rollover (#2462) 2023-10-20 05:12:55 +00:00
Thomas Eizinger
919b7890e6 refactor(connlib): move more logic to poll_next_event (#2403) 2023-10-19 02:30:04 +00:00
Jamil
573124bd2f Document relay gateway client CLIs (#2424)
Fixes #2363 

* Rename `relay` package to `firezone-relay` so that binaries outputted
match the `firezone-*` cli naming scheme
* Rename `firezone-headless-client` package to `firezone-linux-client`
for consistency
* Add READMEs for user-facing CLI components (there will also be docs
later)
2023-10-19 00:59:17 +00:00
Thomas Eizinger
a65a0ad88e deps: update to webrtc 0.9, boringtun to master (#2404)
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-18 19:05:28 -03:00
Thomas Eizinger
5a906cb1c4 refactor(connlib): remove ConnId (#2361)
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-18 21:38:49 +00:00
Gabi
d626f6dbf6 Connlib/forward dns (#2325)
With this we implement DNS forwarding that's specified in  #2043 

This also solve the DNS story in Android.

For the headless client in Linux we still need to implement split dns,
but we can make do with this, specially, we can read from resolvconf and
use the forward DNS (not ideal but can work if we want a beta headless
client).

For the resolver I used `trusted-proto-resolver`.

The other options were:

* Using `domain`'s resolver but while it could work for now, it's no
ideal for this since it doesn't support DoH or DoT and doesn't provide
us with a DNS cache.
* Using `trusted-proto-client`, it doesn't provide us with a DNS cache,
though we could eventually replace it since it provides a way to access
the underlying buffer which could make our code a bit simpler.
* Writing our own. While we could make the API ideal, this is too much
work for beta.


@pratikvelani I did some refactor in the kotlin side so we can return an
array of bytearrays so that we don't require parsing on connlib side, I
also tried to make the dns server detector a bit simpler please take a
look it's my first time doing kotlin

@thomaseizinger please take a look specially at the first commit, I
tried to integrate with the `poll_events` and the `ClientState`.
2023-10-18 20:39:20 +00:00
dependabot[bot]
b69a91e33c build(deps): Bump uuid from 1.4.1 to 1.5.0 in /rust (#2428)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.4.1 to 1.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uuid-rs/uuid/releases">uuid's
releases</a>.</em></p>
<blockquote>
<h2>1.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add impl From<!-- raw HTML omitted --> for String under the std
feature flag by <a
href="https://github.com/brahms116"><code>@​brahms116</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/700">uuid-rs/uuid#700</a></li>
<li>Remove dead link to templates by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/704">uuid-rs/uuid#704</a></li>
<li>make ClockSequence wrap correctly by <a
href="https://github.com/fef1312"><code>@​fef1312</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/705">uuid-rs/uuid#705</a></li>
<li>Track MSRV in Cargo.toml by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/706">uuid-rs/uuid#706</a></li>
<li>Support converting between Uuid and vec by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/703">uuid-rs/uuid#703</a></li>
<li>Replace MIPS with Miri and add clippy to CI by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/712">uuid-rs/uuid#712</a></li>
<li>Added <code>bytemuck</code> support by <a
href="https://github.com/John-Toohey"><code>@​John-Toohey</code></a> in
<a
href="https://redirect.github.com/uuid-rs/uuid/pull/711">uuid-rs/uuid#711</a></li>
<li>Prepare for 1.5.0 release by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/713">uuid-rs/uuid#713</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/brahms116"><code>@​brahms116</code></a>
made their first contribution in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/700">uuid-rs/uuid#700</a></li>
<li><a href="https://github.com/fef1312"><code>@​fef1312</code></a> made
their first contribution in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/705">uuid-rs/uuid#705</a></li>
<li><a
href="https://github.com/John-Toohey"><code>@​John-Toohey</code></a>
made their first contribution in <a
href="https://redirect.github.com/uuid-rs/uuid/pull/711">uuid-rs/uuid#711</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0">https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e68b0108fa"><code>e68b010</code></a>
Merge pull request <a
href="https://redirect.github.com/uuid-rs/uuid/issues/713">#713</a> from
uuid-rs/cargo/1.5.0</li>
<li><a
href="b1cc27a118"><code>b1cc27a</code></a>
prepare for 1.5.0 release</li>
<li><a
href="b8ebdee9b0"><code>b8ebdee</code></a>
Merge pull request <a
href="https://redirect.github.com/uuid-rs/uuid/issues/711">#711</a> from
John-Toohey/bytemuck</li>
<li><a
href="2dad70d3c7"><code>2dad70d</code></a>
Added the <code>bytemuck</code> optional dependency to
<code>lib.rs</code> documentation</li>
<li><a
href="bcf2b58997"><code>bcf2b58</code></a>
Added Bytemuck to .github/workflows/ci.yml::env::DEP_FEATURES</li>
<li><a
href="a8d2e1d4bf"><code>a8d2e1d</code></a>
Merge pull request <a
href="https://redirect.github.com/uuid-rs/uuid/issues/712">#712</a> from
uuid-rs/ci/miri-clippy</li>
<li><a
href="0c5b2dfebd"><code>0c5b2df</code></a>
fix up a clippy warning</li>
<li><a
href="1d4bd6e5b2"><code>1d4bd6e</code></a>
Merge pull request <a
href="https://redirect.github.com/uuid-rs/uuid/issues/703">#703</a> from
uuid-rs/feat/convert-to-vec</li>
<li><a
href="52b3fbc04a"><code>52b3fbc</code></a>
replace MIPS with Miri and add clippy to CI</li>
<li><a
href="3833d095c1"><code>3833d09</code></a>
Make the bytemuck dependency look more like the other dependencies</li>
<li>Additional commits viewable in <a
href="https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uuid&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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 19:45:18 +00:00
dependabot[bot]
a1138fbe28 build(deps): Bump domain from 0.8.1 to 0.9.0 in /rust (#2420)
Bumps [domain](https://github.com/nlnetlabs/domain) from 0.8.1 to 0.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nlnetlabs/domain/releases">domain's
releases</a>.</em></p>
<blockquote>
<h2>0.9.0</h2>
<p>Breaking changes</p>
<ul>
<li>Move the <code>flatten_into</code> method for converting domain
names into a straight, flat form into a new <code>FlattenInto</code>
trait. This trait is only implemented for types that actually are or
contain domain names. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/216">#216</a>)</li>
<li>Marked various methods and functions that return values without side
effects as <code>#[must_use]</code>. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/228">#228</a>
by [<a
href="https://github.com/WhyNotHugo"><code>@​WhyNotHugo</code></a>])</li>
<li>Changed the signature of <code>FoundSrvs::merge</code> to use a
non-mut <code>other</code>. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/232">#232</a>)</li>
<li>The minimum Rust version is now 1.67. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/235">#235</a>)</li>
</ul>
<p>New</p>
<ul>
<li>Added support for the ZONEMD record type. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/229">#229</a>
by [<a
href="https://github.com/xofyarg"><code>@​xofyarg</code></a>])</li>
<li>Re-exported the <em>octseq</em> crate as <code>dep::octseq</code>.
(<a
href="https://redirect.github.com/nlnetlabs/domain/issues/230">#230</a>)</li>
<li>Added a blanket impl for mut refs to <code>Composer</code>. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/231">#231</a>
by [<a
href="https://github.com/xofyarg"><code>@​xofyarg</code></a>])</li>
</ul>
<p><a
href="https://redirect.github.com/nlnetlabs/domain/issues/216">#216</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/216">NLnetLabs/domain#216</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/229">#229</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/229">NLnetLabs/domain#229</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/230">#230</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/230">NLnetLabs/domain#230</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/231">#231</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/231">NLnetLabs/domain#231</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/232">#232</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/232">NLnetLabs/domain#232</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/235">#235</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/235">NLnetLabs/domain#235</a>
[<a href="https://github.com/WhyNotHugo"><code>@​WhyNotHugo</code></a>]:
<a
href="https://github.com/WhyNotHugo">https://github.com/WhyNotHugo</a>
[<a href="https://github.com/xofyarg"><code>@​xofyarg</code></a>]: <a
href="https://github.com/xofyarg">https://github.com/xofyarg</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/NLnetLabs/domain/blob/main/Changelog.md">domain's
changelog</a>.</em></p>
<blockquote>
<h2>0.9.0</h2>
<p>Released 2023-09-18.</p>
<p>Breaking changes</p>
<ul>
<li>Move the <code>flatten_into</code> method for converting domain
names into a
straight, flat form into a new <code>FlattenInto</code> trait. This
trait is only
implemented for types that actually are or contain domain names. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/216">#216</a>)</li>
<li>Marked various methods and functions that return values without side
effects as <code>#[must_use]</code>. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/228">#228</a>
by [<a
href="https://github.com/WhyNotHugo"><code>@​WhyNotHugo</code></a>])</li>
<li>Changed the signature of <code>FoundSrvs::merge</code> to use a
non-mut <code>other</code>.
(<a
href="https://redirect.github.com/nlnetlabs/domain/issues/232">#232</a>)</li>
<li>The minimum Rust version is now 1.67. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/235">#235</a>)</li>
</ul>
<p>New</p>
<ul>
<li>Added support for the ZONEMD record type. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/229">#229</a>
by [<a
href="https://github.com/xofyarg"><code>@​xofyarg</code></a>])</li>
<li>Re-exported the <em>octseq</em> crate as <code>dep::octseq</code>.
(<a
href="https://redirect.github.com/nlnetlabs/domain/issues/230">#230</a>)</li>
<li>Added a blanket impl for mut refs to <code>Composer</code>. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/231">#231</a>
by [<a
href="https://github.com/xofyarg"><code>@​xofyarg</code></a>])</li>
</ul>
<p><a
href="https://redirect.github.com/nlnetlabs/domain/issues/216">#216</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/216">NLnetLabs/domain#216</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/229">#229</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/229">NLnetLabs/domain#229</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/230">#230</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/230">NLnetLabs/domain#230</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/231">#231</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/231">NLnetLabs/domain#231</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/232">#232</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/232">NLnetLabs/domain#232</a>
<a
href="https://redirect.github.com/nlnetlabs/domain/issues/235">#235</a>:
<a
href="https://redirect.github.com/NLnetLabs/domain/pull/235">NLnetLabs/domain#235</a>
[<a href="https://github.com/WhyNotHugo"><code>@​WhyNotHugo</code></a>]:
<a
href="https://github.com/WhyNotHugo">https://github.com/WhyNotHugo</a>
[<a href="https://github.com/xofyarg"><code>@​xofyarg</code></a>]: <a
href="https://github.com/xofyarg">https://github.com/xofyarg</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c8c51a5a6a"><code>c8c51a5</code></a>
Update changelog.</li>
<li><a
href="128552683d"><code>1285526</code></a>
Upgrade minimum Rust version to 1.67. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/235">#235</a>)</li>
<li><a
href="45d9a97ac5"><code>45d9a97</code></a>
Prepare for release 0.9.0. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/234">#234</a>)</li>
<li><a
href="454d29fbb1"><code>454d29f</code></a>
Upgrade to ring 0.17. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/233">#233</a>)</li>
<li><a
href="3db82d1845"><code>3db82d1</code></a>
Update changelog.</li>
<li><a
href="1b8a37e114"><code>1b8a37e</code></a>
Add Composer impl for mut refs. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/231">#231</a>)</li>
<li><a
href="07e26639b0"><code>07e2663</code></a>
Update changelog.</li>
<li><a
href="b3b3b53bf6"><code>b3b3b53</code></a>
Change FoundSrvs::merge signature and documentation. (<a
href="https://redirect.github.com/nlnetlabs/domain/issues/232">#232</a>)</li>
<li><a
href="97bf460bb5"><code>97bf460</code></a>
Clippy-related fixes.</li>
<li><a
href="cc26065fb2"><code>cc26065</code></a>
Clippy-related fixes (and non-fixes).</li>
<li>Additional commits viewable in <a
href="https://github.com/nlnetlabs/domain/compare/v0.8.1...v0.9.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=domain&package-manager=cargo&previous-version=0.8.1&new-version=0.9.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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 06:35:29 +11:00
dependabot[bot]
25902fa92a build(deps): Bump rustix from 0.38.14 to 0.38.19 in /rust (#2435)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.14
to 0.38.19.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3a53dfe16c"><code>3a53dfe</code></a>
chore: Release rustix version 0.38.19</li>
<li><a
href="55cbe8839c"><code>55cbe88</code></a>
Fixes for <code>Dir</code> on macOS, FreeBSD, and WASI.</li>
<li><a
href="31fd98ca72"><code>31fd98c</code></a>
Merge pull request from GHSA-c827-hfw6-qwvm</li>
<li><a
href="4bb2f4bbcd"><code>4bb2f4b</code></a>
Add <code>mlockall</code> and <code>munlockall</code> (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/872">#872</a>)</li>
<li><a
href="d012bcf896"><code>d012bcf</code></a>
Fixes needed by io_uring. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/873">#873</a>)</li>
<li><a
href="5e5c0460cc"><code>5e5c046</code></a>
Add a test for <code>get_socket_nosigpipe</code>. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/874">#874</a>)</li>
<li><a
href="1a9d12963d"><code>1a9d129</code></a>
chore: Release rustix version 0.38.18</li>
<li><a
href="112c268cd7"><code>112c268</code></a>
io-uring API updates. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/871">#871</a>)</li>
<li><a
href="0c227041a7"><code>0c22704</code></a>
Provide {get,set}_socket_nosigpipe on NetBSD and DragonFly BSD (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/870">#870</a>)</li>
<li><a
href="a00dbd0f53"><code>a00dbd0</code></a>
chore: Release rustix version 0.38.17</li>
<li>Additional commits viewable in <a
href="https://github.com/bytecodealliance/rustix/compare/v0.38.14...v0.38.19">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustix&package-manager=cargo&previous-version=0.38.14&new-version=0.38.19)](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/firezone/firezone/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 06:33:09 +11:00
Jamil
6ec10b2669 Revert "Fix/website mdx" (#2434)
Reverts firezone/firezone#2433
2023-10-18 11:42:54 -07:00
Jamil
caef531b17 Fix/website mdx (#2433) 2023-10-18 11:42:18 -07:00
Thomas Eizinger
5549044afe ci: use sccache for Rust (#2402)
Our caches in GitHub actions are hopelessly overflowing, plus for the
Kotlin and Swift jobs, we don't seem to be doing a particularly good job
at caching the build outputs because those jobs take forever.

Instead of using GitHub actions, this PR configures `sccache` for all
Rust compilation commands and uses a GCP bucket to store the artifacts.
This speeds up some of the builds a fair bit. Android now finishes in
~6minutes.

Apart from the self-hosted MacOS 14 runner, the Swift jobs are slow but
still a lot faster than what we currently have.

Windows seems to be quite slow at compiling / fetching artefacts which
is negatively impacted by this change because they now have to be
fetched from the bucket.

Overall, I think this is a net-positive though and should be much easier
to maintain going forward.

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-18 10:25:31 -07:00
Thomas Eizinger
2cfe7befef refactor(connlib): remove ControlSignal (#2321) 2023-10-18 17:28:04 +11:00
dependabot[bot]
aaf18aa66b build(deps): Bump tokio from 1.32.0 to 1.33.0 in /rust (#2388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 00:17:28 +00:00
dependabot[bot]
a30579b3a1 build(deps): Bump org.jetbrains.kotlin:kotlin-stdlib from 1.7.21 to 1.9.10 in /rust/connlib/clients/android/connlib (#2381)
Bumps
[org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin)
from 1.7.21 to 1.9.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/JetBrains/kotlin/releases">org.jetbrains.kotlin:kotlin-stdlib's
releases</a>.</em></p>
<blockquote>
<h2>Kotlin 1.9.10</h2>
<h2>Changelog</h2>
<h3>Compiler</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60769"><code>KT-60769</code></a>
Partially revert KT-58371</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60659"><code>KT-60659</code></a>
Incorrect 'unresolved reference: addFirst' error with JDK 21</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60371"><code>KT-60371</code></a>
Native custom allocator link error</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60986"><code>KT-60986</code></a>
Native: static caches with custom runtime options are broken on
Linux</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60770"><code>KT-60770</code></a>
Fix false-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED on toArray with JDK
21</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60231"><code>KT-60231</code></a>
NoClassDefFoundError: $$$$$NON_LOCAL_RETURN$$$$$ after upgrade to Kotlin
1.9.0</li>
</ul>
<h3>JavaScript</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60785"><code>KT-60785</code></a>
KJS: Destructured value class in suspend function fails with Uncaught
TypeError: can't convert to primitive type error</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60852"><code>KT-60852</code></a>
Kotlin JS(IR): IllegalArgumentException: Cross module dependency
resolution failed when updating to Kotlin 1.9.0</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57509"><code>KT-57509</code></a>
KJS: Compiler generates native JS operator == for comparing values with
Any type</li>
</ul>
<h3>Native</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60230"><code>KT-60230</code></a>
Native: &quot;unknown options: -ios_simulator_version_min
-sdk_version&quot; with Xcode 15 beta 3</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60758"><code>KT-60758</code></a>
Native: Building for 'iOS-simulator', but linking in dylib built for
'iOS' in Xcode 15 beta 4</li>
</ul>
<h3>Native. C and ObjC Import</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-59167"><code>KT-59167</code></a>
Native: cinterop is unable to build interop libraries against the Xcode
15 Beta 1</li>
</ul>
<h3>Tools. Gradle</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-61147"><code>KT-61147</code></a>
Kotlin Compiler 1.9.0 bundles a stripped unshadowed version of Gson</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60543"><code>KT-60543</code></a>
NoClassDefFoundError for com/gradle/scan/plugin/BuildScanExtension</li>
</ul>
<h2>Checksums</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Sha256</th>
</tr>
</thead>
<tbody>
<tr>
<td>kotlin-compiler-1.9.10.zip</td>

<td>7d74863deecf8e0f28ea54c3735feab003d0eac67e8d3a791254b16889c20342</td>
</tr>
<tr>
<td>kotlin-native-linux-x86_64-1.9.10.tar.gz</td>

<td>1db3679919f4449514e9d82451e7dfa73558ac9bc80b82579cd74d452c8faa5b</td>
</tr>
<tr>
<td>kotlin-native-macos-x86_64-1.9.10.tar.gz</td>

<td>f5650f2560438a692803d8fe07124529c19f1972f84fe09cfa2329b93f43828d</td>
</tr>
<tr>
<td>kotlin-native-macos-aarch64-1.9.10.tar.gz</td>

<td>d2cf5a484ac0808ab29fd3f6099df7c07330f81f3cbab949947e42e36138c3de</td>
</tr>
<tr>
<td>kotlin-native-windows-x86_64-1.9.10.zip</td>

<td>a34d56661455e94e1ba4dd09ec3c1adac6148fdedcf55eefb9a79c8ed01ff02c</td>
</tr>
</tbody>
</table>
<h2>Kotlin 1.9.0</h2>
<h2>Changelog</h2>
<h3>Analysis API</h3>
<h4>New Features</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md">org.jetbrains.kotlin:kotlin-stdlib's
changelog</a>.</em></p>
<blockquote>
<h2>1.9.10</h2>
<h3>Compiler</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60769"><code>KT-60769</code></a>
Partially revert KT-58371</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60659"><code>KT-60659</code></a>
Incorrect 'unresolved reference: addFirst' error with JDK 21</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60371"><code>KT-60371</code></a>
Native custom allocator link error</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60986"><code>KT-60986</code></a>
Native: static caches with custom runtime options are broken on
Linux</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60770"><code>KT-60770</code></a>
Fix false-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED on toArray with JDK
21</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60231"><code>KT-60231</code></a>
NoClassDefFoundError: $$$$$NON_LOCAL_RETURN$$$$$ after upgrade to Kotlin
1.9.0</li>
</ul>
<h3>JavaScript</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60785"><code>KT-60785</code></a>
KJS: Destructured value class in suspend function fails with Uncaught
TypeError: can't convert to primitive type error</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60852"><code>KT-60852</code></a>
Kotlin JS(IR): IllegalArgumentException: Cross module dependency
resolution failed when updating to Kotlin 1.9.0</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57509"><code>KT-57509</code></a>
KJS: Compiler generates native JS operator == for comparing values with
Any type</li>
</ul>
<h3>Native</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60230"><code>KT-60230</code></a>
Native: &quot;unknown options: -ios_simulator_version_min
-sdk_version&quot; with Xcode 15 beta 3</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60758"><code>KT-60758</code></a>
Native: Building for 'iOS-simulator', but linking in dylib built for
'iOS' in Xcode 15 beta 4</li>
</ul>
<h3>Native. C and ObjC Import</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-59167"><code>KT-59167</code></a>
Native: cinterop is unable to build interop libraries against the Xcode
15 Beta 1</li>
</ul>
<h3>Tools. Gradle</h3>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-61147"><code>KT-61147</code></a>
Kotlin Compiler 1.9.0 bundles a stripped unshadowed version of Gson</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-60543"><code>KT-60543</code></a>
NoClassDefFoundError for com/gradle/scan/plugin/BuildScanExtension</li>
</ul>
<h2>1.9.0</h2>
<h3>Analysis API</h3>
<h4>New Features</h4>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57930"><code>KT-57930</code></a>
Analysis API: provide an API for extending Kotlin resolution</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57636"><code>KT-57636</code></a>
K2: Add the return type of K2 reference shortener AA
<code>ShortenCommand::invokeShortening()</code> e.g.,
<code>ShorteningResultInfo</code> to allow callers to access the
shortening result PSI</li>
</ul>
<h4>Fixes</h4>
<ul>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-58249"><code>KT-58249</code></a>
Analysis API: Disable error logging for FE10 implementation of
resolveCall when resolve is not successful</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-55626"><code>KT-55626</code></a>
Impossible to restore symbol by psi from script file</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57314"><code>KT-57314</code></a>
LL FIR: Combine <code>LLFirProvider$SymbolProvider</code>s in session
dependencies (optimization)</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-55527"><code>KT-55527</code></a>
K2 IDE: Rewrite KtScopeContext class to allow to handle each scope
separately</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-55329"><code>KT-55329</code></a>
LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and
function declaration</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-50732"><code>KT-50732</code></a>
LL API: fix compiler based tests</li>
<li><a
href="https://youtrack.jetbrains.com/issue/KT-57850"><code>KT-57850</code></a>
K2: contract violation due to
SymbolLightAccessorMethod.propertyAccessorSymbol</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3db61efe5e"><code>3db61ef</code></a>
[K/JS] Revert KT-60785 fix because the 1.9.0 contains old schema for
function...</li>
<li><a
href="3584af4046"><code>3584af4</code></a>
Add ChangeLog for 1.9.10</li>
<li><a
href="7bab2dba1f"><code>7bab2db</code></a>
Remove gson from compiler fat jar</li>
<li><a
href="b925404e11"><code>b925404</code></a>
[K/JS] Fix autoboxing for inlined function ^KT-60785 Fixed</li>
<li><a
href="5801279810"><code>5801279</code></a>
[JS IR] De-optimize equality operator as workaround for KT-57509</li>
<li><a
href="79d3dda5ec"><code>79d3dda</code></a>
[K/N] Update osVersionMin for arm ios and tvos simulators</li>
<li><a
href="955598c9ac"><code>955598c</code></a>
[K/N] Pick minimal iOS/tvOS depending on the Xcode version</li>
<li><a
href="b1aa582719"><code>b1aa582</code></a>
[K/N] Do not check caches consistency until all of them are built</li>
<li><a
href="0f6d84cca3"><code>0f6d84c</code></a>
[K/N][tests] Added a reproducer for #KT-60371</li>
<li><a
href="d3b8607632"><code>d3b8607</code></a>
[K/N][tests] Fixed CachesAutoBuildTest</li>
<li>Additional commits viewable in <a
href="https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.9.10">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.kotlin:kotlin-stdlib&package-manager=gradle&previous-version=1.7.21&new-version=1.9.10)](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>
2023-10-17 17:07:10 -07:00
dependabot[bot]
3e1ba0d041 build(deps): Bump serde from 1.0.188 to 1.0.189 in /rust (#2383)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 23:54:06 +00:00
dependabot[bot]
c78975a1ed build(deps): Bump time from 0.3.29 to 0.3.30 in /rust (#2350)
Bumps [time](https://github.com/time-rs/time) from 0.3.29 to 0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/time-rs/time/releases">time's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.30</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's
changelog</a>.</em></p>
<blockquote>
<h2>0.3.30 [2023-10-13]</h2>
<h3>Added</h3>
<ul>
<li><code>powerfmt::smart_display::SmartDisplay</code> has been added
for the main types in the library. These
implementations ensure that values follow the requested fill, width, and
alignment when using
<code>format!</code> or similar macros. <code>Display</code> is
implemented in terms of <code>SmartDisplay</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Large values no longer wrap around in release mode when using
<code>NumericalDuration</code> or
<code>NumericalStdDuration</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="72f03e0507"><code>72f03e0</code></a>
v0.3.30 release</li>
<li><a
href="08ed41dee5"><code>08ed41d</code></a>
Address clippy lints</li>
<li><a
href="9564e59114"><code>9564e59</code></a>
Implement <code>SmartDisplay</code> for main types</li>
<li><a
href="dec2a2d1e8"><code>dec2a2d</code></a>
Use <code>rstest_reuse</code> to split tests further</li>
<li><a
href="1ebc5e3299"><code>1ebc5e3</code></a>
Added closing markdown tag (<a
href="https://redirect.github.com/time-rs/time/issues/628">#628</a>)</li>
<li><a
href="75e255dfc9"><code>75e255d</code></a>
Avoid wrapping in <code>ext</code> when using
<code>--release</code></li>
<li>See full diff in <a
href="https://github.com/time-rs/time/compare/v0.3.29...v0.3.30">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=time&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:35:51 -03:00
dependabot[bot]
3c98bb97e4 build(deps): Bump async-trait from 0.1.73 to 0.1.74 in /rust (#2349)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.73
to 0.1.74.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/async-trait/releases">async-trait's
releases</a>.</em></p>
<blockquote>
<h2>0.1.74</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="265979b07a"><code>265979b</code></a>
Release 0.1.74</li>
<li><a
href="5e677097d2"><code>5e67709</code></a>
Fix doc test when async fn in trait is natively supported</li>
<li><a
href="ef144aed28"><code>ef144ae</code></a>
Update ui test suite to nightly-2023-10-15</li>
<li><a
href="9398a28d6f"><code>9398a28</code></a>
Test docs.rs documentation build in CI</li>
<li><a
href="8737173daf"><code>8737173</code></a>
Update ui test suite to nightly-2023-09-24</li>
<li><a
href="5ba643c001"><code>5ba643c</code></a>
Test dyn Trait containing async fn</li>
<li><a
href="247c8e7b0b"><code>247c8e7</code></a>
Add ui test testing the recommendation to use async-trait</li>
<li><a
href="799db66a84"><code>799db66</code></a>
Update ui test suite to nightly-2023-09-23</li>
<li><a
href="0e60248011"><code>0e60248</code></a>
Update actions/checkout@v3 -&gt; v4</li>
<li><a
href="7fcbc83993"><code>7fcbc83</code></a>
Update ui test suite to nightly-2023-08-29</li>
<li>See full diff in <a
href="https://github.com/dtolnay/async-trait/compare/0.1.73...0.1.74">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async-trait&package-manager=cargo&previous-version=0.1.73&new-version=0.1.74)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:35:24 -03:00
dependabot[bot]
f20295fa4a build(deps): Bump ring from 0.17.2 to 0.17.4 in /rust (#2347)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [ring](https://github.com/briansmith/ring) from 0.17.2 to 0.17.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/briansmith/ring/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ring&package-manager=cargo&previous-version=0.17.2&new-version=0.17.4)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 16:39:20 -03:00
dependabot[bot]
d1fa7f56dc build(deps): Bump tracing from 0.1.37 to 0.1.39 in /rust (#2346)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.37 to
0.1.39.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing/releases">tracing's
releases</a>.</em></p>
<blockquote>
<h2>tracing 0.1.39</h2>
<p>This release adds several additional features to the
<code>tracing</code> macros. In
addition, it updates the <code>tracing-core</code> dependency to
[v0.1.32][core-0.1.32] and
the <code>tracing-attributes</code> dependency to
[v0.1.27][attrs-0.1.27].</p>
<h3>Added</h3>
<ul>
<li>Allow constant field names in macros (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2617">#2617</a>)</li>
<li>Allow setting event names in macros (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2699">#2699</a>)</li>
<li><strong>core</strong>: Allow <code>ValueSet</code>s of any length
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2508">#2508</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>tracing-attributes</code>: updated to
[0.1.27][attrs-0.1.27]</li>
<li><code>tracing-core</code>: updated to [0.1.32][core-0.1.32]</li>
<li><strong>attributes</strong>: Bump minimum version of proc-macro2 to
1.0.60 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2732">#2732</a>)</li>
<li><strong>attributes</strong>: Generate less dead code for async block
return type hint (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2709">#2709</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use fully qualified names in macros for items exported from std
prelude
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2621">#2621</a>,
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2757">#2757</a>)</li>
<li><strong>attributes</strong>: Allow
[<code>clippy::let_with_type_underscore</code>] in macro-generated
code (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2609">#2609</a>)</li>
<li><strong>attributes</strong>: Allow <code>unknown_lints</code> in
macro-generated code (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2626">#2626</a>)</li>
<li><strong>attributes</strong>: Fix a compilation error in
<code>#[instrument]</code> when the <code>&quot;log&quot;</code>
feature is enabled (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2599">#2599</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>Add <code>axum-insights</code> to relevant crates. (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2713">#2713</a>)</li>
<li>Fix link to RAI pattern crate documentation (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2612">#2612</a>)</li>
<li>Fix docs typos and warnings (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2581">#2581</a>)</li>
<li>Add <code>clippy-tracing</code> to related crates (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2628">#2628</a>)</li>
<li>Add <code>tracing-cloudwatch</code> to related crates (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2667">#2667</a>)</li>
<li>Fix deadlink to <code>tracing-etw</code> repo (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2602">#2602</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tracing/issues/2617">#2617</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2617">tokio-rs/tracing#2617</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2699">#2699</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2699">tokio-rs/tracing#2699</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2508">#2508</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2508">tokio-rs/tracing#2508</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2621">#2621</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2621">tokio-rs/tracing#2621</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2713">#2713</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2713">tokio-rs/tracing#2713</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2581">#2581</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2581">tokio-rs/tracing#2581</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2628">#2628</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2628">tokio-rs/tracing#2628</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2667">#2667</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2667">tokio-rs/tracing#2667</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2602">#2602</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2602">tokio-rs/tracing#2602</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2626">#2626</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2626">tokio-rs/tracing#2626</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2757">#2757</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2757">tokio-rs/tracing#2757</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2732">#2732</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2732">tokio-rs/tracing#2732</a>
<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2709">#2709</a>:
<a
href="https://redirect.github.com/tokio-rs/tracing/pull/2709">tokio-rs/tracing#2709</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4b99457c87"><code>4b99457</code></a>
chore: prepare tracing 0.1.39 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2755">#2755</a>)</li>
<li><a
href="b2a5e11e24"><code>b2a5e11</code></a>
tracing: update core to v0.1.31 and attributes to v0.1.27</li>
<li><a
href="3825a50c1a"><code>3825a50</code></a>
tracing: use full path when calling <code>format_args!</code> (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2757">#2757</a>)</li>
<li><a
href="c4b2a56937"><code>c4b2a56</code></a>
chore: prepare tracing-core 0.1.32 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2754">#2754</a>)</li>
<li><a
href="2502f19d93"><code>2502f19</code></a>
chore: prepare tracing-attributes 0.1.27 (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2756">#2756</a>)</li>
<li><a
href="90487620d8"><code>9048762</code></a>
Revert &quot;log: update to env_logger 0.10 to fix GHSA-g98v-hv3f-hcfr
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2740">#2740</a>)&quot;
(#...</li>
<li><a
href="6ba5af2ce2"><code>6ba5af2</code></a>
docs: remove mention of <code>Registration</code> on v0.1.x (<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2753">#2753</a>)</li>
<li><a
href="11aac9a07c"><code>11aac9a</code></a>
log: deprecate <code>env_logger</code> in favor of
<code>tracing_subscriber::fmt::Subscriber</code>...</li>
<li><a
href="2f27752a99"><code>2f27752</code></a>
chore: remove <code>env_logger</code> from <code>hyper</code>
example</li>
<li><a
href="f96846d78a"><code>f96846d</code></a>
attributes: fix typo &quot;overriden&quot; =&gt; &quot;overridden&quot;
(<a
href="https://redirect.github.com/tokio-rs/tracing/issues/2719">#2719</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing&package-manager=cargo&previous-version=0.1.37&new-version=0.1.39)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-17 16:38:51 -03:00
Thomas Eizinger
b187ac7850 feat(connlib): gzip encode log files (#2345)
Resolves: #2342.

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-16 13:13:43 -07:00
Thomas Eizinger
58f5f79672 fix(connlib): don't spam log on timeout (#2340)
It turns out there was a bug in the `StreamMap` implementation that
would keep emitting the event once a stream timed out. I fixed it in
0c0349221f
which this PR is upgrading to.

Fixes: #2327.
2023-10-16 02:18:39 +00:00
Jamil
5dcfcc1e49 Don't use any local tun interfaces for WebRTC ICE candidates (#2335)
I was triaging #2163 and realized we probably want to filter _all_
`*tun*` interfaces, not just our own right?
2023-10-15 16:08:14 -07:00
Jamil
3a07d16c75 Build Apple on macos-14 (#2313)
- Update CI to run on our self-hosted M1 runner as well (macos-14)
- Sanitize build environment in `build-rust.sh` to keep only needed ENV
vars from Xcode
- Build both `x86_64` and `aarch64` targets with a single `cargo build`
instead of a loop
- Store artifacts in ephemeral locations

Fixes #2329
2023-10-13 21:49:46 +00:00
Thomas Eizinger
0229004d98 refactor(connlib): split device handler for clients & gateway (take 2) (#2318) 2023-10-12 17:47:06 +11:00
Thomas Eizinger
49b836ed3e Revert "refactor(connlib): split device handler for clients & gateway" (#2317)
Reverts firezone/firezone#2301

This auto-merged despite failing CI.
2023-10-11 16:29:38 -07:00
Thomas Eizinger
dbf0e445b0 refactor(connlib): split device handler for clients & gateway (#2301) 2023-10-11 23:02:31 +00:00
Thomas Eizinger
82c2bf3574 refactor(connlib): use events to handle ICE candidates (#2279) 2023-10-10 22:26:42 +00:00
Thomas Eizinger
dbb1dd4a3a deps(rust): bump to Rust version 1.73 (#2291)
See https://releases.rs/docs/1.73.0/ for details.
2023-10-10 13:03:06 -07:00
Jamil
00e77062b1 Return fd onRemoveRoute as well (#2296)
Implements the function signatures for `onRemoveRoute` as well.

Getting this error still though:

<img width="1633" alt="Screenshot 2023-10-10 at 8 25 17 AM"
src="https://github.com/firezone/firezone/assets/167144/3dc09f1b-10e1-401b-a1ef-64f1a09e35d5">

Android simulator, Pixel, API 34
2023-10-10 11:26:53 -07:00
Jamil
b8dd4ce0b6 Fix typo and formatting in gateway/src/main.rs (#2290) 2023-10-09 18:50:23 -07:00
Jamil
d0d1c095c3 Fix spelling typos (#2289)
Fixes failing checks in #2284
2023-10-09 18:32:24 -07:00
Thomas Eizinger
ddb99ee561 fix(gateway): don't drop tunnel state between reconnects (#2278)
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 23:35:33 +00:00
dependabot[bot]
2398e0ffa2 build(deps): Bump ring from 0.17.0 to 0.17.2 in /rust (#2283)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.0 to 0.17.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/briansmith/ring/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ring&package-manager=cargo&previous-version=0.17.0&new-version=0.17.2)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:03:36 -03:00
dependabot[bot]
23b9dd5e82 build(deps): Bump libc from 0.2.148 to 0.2.149 in /rust (#2282)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.148 to 0.2.149.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/libc/releases">libc's
releases</a>.</em></p>
<blockquote>
<h2>0.2.149</h2>
<h2>What's Changed</h2>
<ul>
<li>libc 0.2.148 by <a
href="https://github.com/joshtriplett"><code>@​joshtriplett</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3351">rust-lang/libc#3351</a></li>
<li>update libc-test and its libc dependency to 0.2.148 by <a
href="https://github.com/chenx97"><code>@​chenx97</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3314">rust-lang/libc#3314</a></li>
<li>Disable 1.13 CI by <a
href="https://github.com/JohnTitor"><code>@​JohnTitor</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3358">rust-lang/libc#3358</a></li>
<li>Add teeos libc by <a
href="https://github.com/Sword-Destiny"><code>@​Sword-Destiny</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3333">rust-lang/libc#3333</a></li>
<li>Added SIOCSIFNAME by <a
href="https://github.com/Brijeshkrishna"><code>@​Brijeshkrishna</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3354">rust-lang/libc#3354</a></li>
<li>copyfile apple api update by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3346">rust-lang/libc#3346</a></li>
<li>Hermit updates by <a
href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3348">rust-lang/libc#3348</a></li>
<li>Add the LoongArch64 HWCAP values by <a
href="https://github.com/heiher"><code>@​heiher</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3344">rust-lang/libc#3344</a></li>
<li>Add F_PUNCHHOLE and fpunchhole_t by <a
href="https://github.com/anacrolix"><code>@​anacrolix</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3337">rust-lang/libc#3337</a></li>
<li>Fix compatibility with Emscripten &gt;= 3.1.44 by <a
href="https://github.com/kleisauke"><code>@​kleisauke</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3308">rust-lang/libc#3308</a></li>
<li>freebsd adding few mmap constants related to page alignment by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3326">rust-lang/libc#3326</a></li>
<li>Redox pthreads by <a
href="https://github.com/4lDO2"><code>@​4lDO2</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3347">rust-lang/libc#3347</a></li>
<li>linux MADV_COLLAPSE addition by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3340">rust-lang/libc#3340</a></li>
<li>android adding few more pthread api calls. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3288">rust-lang/libc#3288</a></li>
<li>Declare <code>pthread_attr_setguardsize</code> and
<code>pthread_attr_getstacksize</code>. by <a
href="https://github.com/sunfishcode"><code>@​sunfishcode</code></a> in
<a
href="https://redirect.github.com/rust-lang/libc/pull/3330">rust-lang/libc#3330</a></li>
<li>Add missing PS Vita definitions, fix some unused ones by <a
href="https://github.com/pheki"><code>@​pheki</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3284">rust-lang/libc#3284</a></li>
<li>Drop <code>armv7-apple-ios</code> target support by <a
href="https://github.com/JohnTitor"><code>@​JohnTitor</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3362">rust-lang/libc#3362</a></li>
<li>backtrace definitions and support for getmntinfo and getvfsstat by
<a href="https://github.com/0323pin"><code>@​0323pin</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3368">rust-lang/libc#3368</a></li>
<li>apple fcntl update. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3365">rust-lang/libc#3365</a></li>
<li>Added socketpair and pipe2 for Vita target by <a
href="https://github.com/nikarh"><code>@​nikarh</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3366">rust-lang/libc#3366</a></li>
<li>Added additional Ethernet Protocol Ids for fuchsia by <a
href="https://github.com/w1redch4d"><code>@​w1redch4d</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3332">rust-lang/libc#3332</a></li>
<li>timerfd api for freebsd 14. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3341">rust-lang/libc#3341</a></li>
<li>haiku adding pthread GNU part by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3364">rust-lang/libc#3364</a></li>
<li>add execveat for glibc by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3372">rust-lang/libc#3372</a></li>
<li>added support for GNU/Hurd by <a
href="https://github.com/Vtewari2311"><code>@​Vtewari2311</code></a> in
<a
href="https://redirect.github.com/rust-lang/libc/pull/3325">rust-lang/libc#3325</a></li>
<li>Fix apple tvos support by <a
href="https://github.com/lcruz99"><code>@​lcruz99</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3370">rust-lang/libc#3370</a></li>
<li>Remove deprecation from SA_ONSTACK; fix hexagon-unknown-linux-musl
by <a href="https://github.com/androm3da"><code>@​androm3da</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3335">rust-lang/libc#3335</a></li>
<li>feat: add close_range for glibc by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3373">rust-lang/libc#3373</a></li>
<li>Update crate version to 0.2.149 by <a
href="https://github.com/nikarh"><code>@​nikarh</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3360">rust-lang/libc#3360</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Sword-Destiny"><code>@​Sword-Destiny</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3333">rust-lang/libc#3333</a></li>
<li><a
href="https://github.com/Brijeshkrishna"><code>@​Brijeshkrishna</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3354">rust-lang/libc#3354</a></li>
<li><a href="https://github.com/anacrolix"><code>@​anacrolix</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3337">rust-lang/libc#3337</a></li>
<li><a href="https://github.com/4lDO2"><code>@​4lDO2</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3347">rust-lang/libc#3347</a></li>
<li><a href="https://github.com/pheki"><code>@​pheki</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3284">rust-lang/libc#3284</a></li>
<li><a href="https://github.com/0323pin"><code>@​0323pin</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3368">rust-lang/libc#3368</a></li>
<li><a href="https://github.com/w1redch4d"><code>@​w1redch4d</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3332">rust-lang/libc#3332</a></li>
<li><a
href="https://github.com/Vtewari2311"><code>@​Vtewari2311</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3325">rust-lang/libc#3325</a></li>
<li><a href="https://github.com/lcruz99"><code>@​lcruz99</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3370">rust-lang/libc#3370</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/libc/compare/0.2.148...0.2.149">https://github.com/rust-lang/libc/compare/0.2.148...0.2.149</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d80e8bd305"><code>d80e8bd</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3360">#3360</a>
- vita-rust:release-0.2.149, r=JohnTitor</li>
<li><a
href="017bf5f6b3"><code>017bf5f</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3373">#3373</a>
- SteveLauC:close_range, r=JohnTitor</li>
<li><a
href="14ef2e5220"><code>14ef2e5</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3335">#3335</a>
- androm3da:bcain/sa_onstack, r=JohnTitor</li>
<li><a
href="7b9e367f67"><code>7b9e367</code></a>
fmt</li>
<li><a
href="173757d3b2"><code>173757d</code></a>
feat: add close_range for glibc</li>
<li><a
href="c7a860dbc7"><code>c7a860d</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3370">#3370</a>
- NordSecurity:add_apple_tvos_support, r=JohnTitor</li>
<li><a
href="4cdc32e72a"><code>4cdc32e</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3325">#3325</a>
- Vtewari2311:libc-hurd-latest, r=JohnTitor</li>
<li><a
href="aa065c6f9b"><code>aa065c6</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3372">#3372</a>
- SteveLauC:execveat, r=JohnTitor</li>
<li><a
href="d3910f6460"><code>d3910f6</code></a>
add execveat for glibc</li>
<li><a
href="aab9d7023c"><code>aab9d70</code></a>
Fix apple tvos support</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/libc/compare/0.2.148...0.2.149">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libc&package-manager=cargo&previous-version=0.2.148&new-version=0.2.149)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:03:15 -03:00
dependabot[bot]
2e30596a25 build(deps): Bump proptest from 1.2.0 to 1.3.1 in /rust (#2281)
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.2.0 to
1.3.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0b4ffe8d08"><code>0b4ffe8</code></a>
[Release] 1.3.1 -- fix for incompatible bit-set/bit-vec versions (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/375">#375</a>)</li>
<li><a
href="99bdf24f8a"><code>99bdf24</code></a>
[Release] 1.3.0 (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/373">#373</a>)</li>
<li><a
href="7bfc889fea"><code>7bfc889</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/357">#357</a>
from tzemanovic/tomas/clear-break-dead-code</li>
<li><a
href="eb9db9d6c3"><code>eb9db9d</code></a>
Merge branch 'master' into tomas/clear-break-dead-code</li>
<li><a
href="370b3a031c"><code>370b3a0</code></a>
Permit use of (?-u) in byte-regex strategies (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/336">#336</a>)
(<a
href="https://redirect.github.com/proptest-rs/proptest/issues/337">#337</a>)</li>
<li><a
href="e395e8caa5"><code>e395e8c</code></a>
Add PathBuf Arbitrary impl with tests (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/368">#368</a>)</li>
<li><a
href="fcccad0f76"><code>fcccad0</code></a>
Book tips and best practices (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/367">#367</a>)</li>
<li><a
href="fc3be95ae1"><code>fc3be95</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/355">#355</a>
from tzemanovic/tomas/fix-sm-logs</li>
<li><a
href="7292965d14"><code>7292965</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/360">#360</a>
from psychon/remove-byteorder</li>
<li><a
href="466d59daec"><code>466d59d</code></a>
[proptest] silence clippy::arc_with_non_send_sync warning with
prop_oneof (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/363">#363</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=proptest&package-manager=cargo&previous-version=1.2.0&new-version=1.3.1)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:02:42 -03:00
dependabot[bot]
d0302f6f31 build(deps): Bump reqwest from 0.11.20 to 0.11.22 in /rust (#2280)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.20 to
0.11.22.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/releases">reqwest's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.21</h2>
<h2>What's Changed</h2>
<ul>
<li>Add automatically detecting macOS proxy settings.</li>
<li>Add <code>ClientBuilder::tls_info(bool)</code>, which will put
<code>tls::TlsInfo</code> into the response extensions.</li>
<li>Fix trust-dns resolver from possible hangs.</li>
<li>Fix connect timeout to be split among multiple IP addresses.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/SpeedReach"><code>@​SpeedReach</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1960">seanmonstar/reqwest#1960</a></li>
<li><a href="https://github.com/jefflloyd"><code>@​jefflloyd</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1955">seanmonstar/reqwest#1955</a></li>
<li><a href="https://github.com/droe"><code>@​droe</code></a> made their
first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1938">seanmonstar/reqwest#1938</a></li>
<li><a
href="https://github.com/conradludgate"><code>@​conradludgate</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1940">seanmonstar/reqwest#1940</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md">reqwest's
changelog</a>.</em></p>
<blockquote>
<h2>v0.11.22</h2>
<ul>
<li>Fix compilation on Windows when <code>trust-dns</code> is
enabled.</li>
</ul>
<h2>v0.11.21</h2>
<ul>
<li>Add automatically detecting macOS proxy settings.</li>
<li>Add <code>ClientBuilder::tls_info(bool)</code>, which will put
<code>tls::TlsInfo</code> into the response extensions.</li>
<li>Fix trust-dns resolver from possible hangs.</li>
<li>Fix connect timeout to be split among multiple IP addresses.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5df3861a73"><code>5df3861</code></a>
v0.11.22</li>
<li><a
href="afc3a9364a"><code>afc3a93</code></a>
fix trust-dns error kind on windows (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1992">#1992</a>)</li>
<li><a
href="d050e604e1"><code>d050e60</code></a>
v0.11.21</li>
<li><a
href="2a881fb504"><code>2a881fb</code></a>
fix: split connect timeout for multiple IPs (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1940">#1940</a>)</li>
<li><a
href="17c893ffc0"><code>17c893f</code></a>
Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1968">#1968</a>)</li>
<li><a
href="10d9d23f88"><code>10d9d23</code></a>
Add <code>tls_info</code> / <code>TlsInfo</code> for access to peer's
leaf certificate (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1938">#1938</a>)</li>
<li><a
href="d3d95a5b56"><code>d3d95a5</code></a>
Optimize <code>TrustDnsResolver</code> (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1967">#1967</a>)</li>
<li><a
href="0292486aba"><code>0292486</code></a>
dep: Upgrade trust-dns-resolver from v0.22 to v0.23 (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1965">#1965</a>)</li>
<li><a
href="70d100c1b8"><code>70d100c</code></a>
Feature: auto detect MacOS proxy settings (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1955">#1955</a>)</li>
<li><a
href="34f6c70134"><code>34f6c70</code></a>
Added wasm in the docs. (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1960">#1960</a>)</li>
<li>See full diff in <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.20...v0.11.22">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=reqwest&package-manager=cargo&previous-version=0.11.20&new-version=0.11.22)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:02:19 -03:00
Thomas Eizinger
72d6942a71 refactor(phoenix-channel): introduce init function (#2260)
What is common across all our usages of the phoenix channel is that we
wait for some kind of `init` message before we fully start-up. We
extract this pattern into a dedicated function within the
`phoenix-channel` crate.

---------

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
2023-10-10 07:45:46 +11:00
Gabi
e516bcc8dd connlib+android: enable fd replacement (#2235)
Should be easier to review commit by commit.

The gist of this commit is:
* `onAddRoute` on Android now takes an address+prefix as to minimize
parsing
* `onAddRoute` recreates the vpn service each time(TODO: is this too bad
for performance?)
* `on_add_route` and `onAddRoute` returns the new fd
* on android after `on_add_route` we recreate `IfaceConfig` and
`DeviceIo` and we store the new values
* `peer_handler` now runs on a loop, where each time we fail a write
with an error code 9(bad descriptor) we try to take the new `DeviceIo`
* we keep an
[`AbortHandle`](https://docs.rs/tokio/latest/tokio/task/struct.AbortHandle.html)
from the `iface_handler` task, since closing the fd doesn't awake the
`read` task for `AsyncFd`(I tried it, right now `close` is only called
after dropping the fd) so we explicitly abort the task and start a new
one with the new `device_io`.
* in android `DeviceIo` has an atomic which tells if it's closed or open
and we change it to closed after `on_add_route`, we use this as to never
double-close the fd, instead we wait until it's dropped. This *might*
affect performance on android since we use non-`Ordering::Relaxed`
atomic operation each read/write but it won't affect perfromance in
other platforms, furthermore I believe the performance gains if we
remove this will be minimal.

Fixes #2227

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-08 23:52:45 -03:00
Jamil
1915080740 Build with profile = "release" for Android when appropriate (#2270)
We were building Release builds with the debug profile
2023-10-07 14:30:32 -07:00
Gabi
11a2979158 connlib: error out with http 4xx instead of trying to reconnect (#2264)
fixes #2013 

Stops the reconnect loop on a 4xx error.

Right now it seems like android doesn't handle `on_disconnect` properly,
just logging instead of going back to sign-in screen.
2023-10-07 16:52:16 +00:00
Jamil
da66264c84 Use larger builders for CPU-bound workflows (#2256)
- `ubuntu-22.04-firezone` is a 16-core builder for ~~kotlin~~ and docker
- ~~`macos-13-xlarge` is an M1 builder for Apple and docker arm64~~
- Configure the Gradle build cache
- Upgrade kotlin plugins, Android minSDK to 30, and gradle to 8.4


Edit: It appears that even using the largest runners for kotin and swift
don't speed the builds up that much (~30%), but will substantially
increase our cost, so I've reverted them to free.

Fixes #2210
2023-10-07 08:07:24 -07:00
Thomas Eizinger
dde98f1985 refactor(gateway): introduce Eventloop (#2244) 2023-10-06 22:05:52 +00:00
Thomas Eizinger
ecae222674 fix(rust): install toolchain in base layer (#2258)
Copying the `rust-toolchain.toml` file in is one thing but if we want to
avoid repeatedly installing it, we should do that in the same layer too.

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
2023-10-06 14:12:58 -06:00
Thomas Eizinger
9a41983447 ci: optimize caching further (#2246)
This patch-set aims to make several improvements to our CI caching:

1. Use of registry as build cache: Pushes a separate image to our docker
registry at GCP that contains the cache layers. This happens for every
PR & main. As a result, we can restore from **both** which should make
repeated runs of CI on an individual PR faster and give us a good
baseline cache for new PRs from `main`. See
https://docs.docker.com/build/ci/github-actions/cache/#registry-cache
for details. As a nice side-effect, this allows us to use the 10 GB we
have on GitHub actions for other jobs.
2. We make better use of `restore-keys` by also attempting to restore
the cache if the fingerprint of our lockfiles doesn't match. This is
useful for CI runs that upgrade dependencies. Those will restore a cache
that is still useful although doesn't quite match. That is better[^1]
than not hitting the cache at all.
3. There were two tiny bugs in our Swift and Android builds:
a. We used `rustup show` in the wrong directory and thus did not
actually install the toolchain properly.
b. We used `shared-key` instead of `key` for the
https://github.com/Swatinem/rust-cache action and thus did not
differentiate between jobs properly.
5. Our Dockerfile for Rust had a bug where it did not copy in the
`rust-toolchain.toml` file in the `chef` layer and thus also did not use
the correctly toolchain.
6. We remove the dedicated gradle cache because the build action already
comes with a cache configuration:
https://github.com/firezone/firezone/actions/runs/6416847209/job/17421412150#step:10:25

[^1]: Over time, this may mean that our caches grow a bit. In an ideal
world, we automatically remove files from the caches that haven't been
used in a while. The cache action we use for Rust does that
automatically:
https://github.com/Swatinem/rust-cache?tab=readme-ov-file#cache-details.
As a workaround, we can just purge all caches every now and then.

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-05 06:26:56 -07:00
Thomas Eizinger
3fcfaa6bfd refactor(connlib): create login_url utility (#2237) 2023-10-05 15:15:51 +11:00