Commit Graph

485 Commits

Author SHA1 Message Date
dependabot[bot]
bf3221fd0f build(deps): Bump @next/third-parties from 14.2.5 to 14.2.7 in /website (#6532)
Bumps
[@next/third-parties](https://github.com/vercel/next.js/tree/HEAD/packages/third-parties)
from 14.2.5 to 14.2.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases"><code>@​next/third-parties</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v14.2.7</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Revert &quot;chore: externalize undici for bundling&quot; (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/65727">#65727</a>)</li>
<li>Refactor internal routing headers to use request meta (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/66987">#66987</a>)</li>
<li>fix(next): add cross origin in react dom preload (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/67423">#67423</a>)</li>
<li>build: upgrade edge-runtime (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/67565">#67565</a>)</li>
<li>GTM dataLayer parameter should take an object, not an array of
strings (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/66339">#66339</a>)</li>
<li>fix: properly patch lockfile against swc bindings (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/66515">#66515</a>)</li>
<li>Add deployment id header for rsc payload if present (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/67255">#67255</a>)</li>
<li>Update font data (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/68639">#68639</a>)</li>
<li>fix i18n data pathname resolving (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/68947">#68947</a>)</li>
<li>pages router: ensure x-middleware-cache is respected (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/67734">#67734</a>)</li>
<li>Fix bad modRequest in flight entry manifest <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/68888">#68888</a></li>
<li>Reject next image urls in image optimizer <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/68628">#68628</a></li>
<li>Fix hmr assetPrefix escaping and reuse logic from other files <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/67983">#67983</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/kjugi"><code>@​kjugi</code></a>, <a
href="https://github.com/huozhi"><code>@​huozhi</code></a>, <a
href="https://github.com/ztanner"><code>@​ztanner</code></a>, <a
href="https://github.com/SukkaW"><code>@​SukkaW</code></a>, <a
href="https://github.com/marlier"><code>@​marlier</code></a>, <a
href="https://github.com/Kikobeats"><code>@​Kikobeats</code></a>, <a
href="https://github.com/syi0808"><code>@​syi0808</code></a>, <a
href="https://github.com/ijjk"><code>@​ijjk</code></a>, and <a
href="https://github.com/samcx"><code>@​samcx</code></a> for
helping!</p>
<h2>v14.2.6</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Ensure fetch cache TTL is updated properly (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/69164">#69164</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a1c3a0370e"><code>a1c3a03</code></a>
v14.2.7</li>
<li><a
href="26c80eeb16"><code>26c80ee</code></a>
GTM dataLayer parameter should take an object, not an array of strings
(<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/third-parties/issues/66339">#66339</a>)</li>
<li><a
href="427c01de1b"><code>427c01d</code></a>
v14.2.6</li>
<li>See full diff in <a
href="https://github.com/vercel/next.js/commits/v14.2.7/packages/third-parties">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@next/third-parties&package-manager=npm_and_yarn&previous-version=14.2.5&new-version=14.2.7)](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>
2024-09-02 22:26:21 +00:00
Patti
e7f5b3cd00 fix(website): Adjust pricing table appearance (#6557)
- Adjusted colour and offset of underlines to not be distracting
- Made feature column a bit wider to allow easier comparison of columns 
- Bolded text of comparison columns
2024-09-02 21:51:25 +00:00
dependabot[bot]
c7620055a9 build(deps): Bump mixpanel-browser and @types/mixpanel-browser in /website (#6536)
Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) and
[@types/mixpanel-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mixpanel-browser).
These dependencies needed to be updated together.
Updates `mixpanel-browser` from 2.55.0 to 2.55.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mixpanel/mixpanel-js/releases">mixpanel-browser's
releases</a>.</em></p>
<blockquote>
<h2>Misc fixes and updates</h2>
<ul>
<li>Adds a minimum recording length option for session recording. For
example, <code>{record_min_ms: 4000}</code> won't send any recordings
that are less than 4 seconds long. The maximum value allowed is
8000.</li>
<li>Added a fix for session recordings being sent with an empty start
time.</li>
<li>Fixes and improvements for request batcher to support offline
queueing and retry.</li>
<li>Fix for query param parsing/escaping (<a
href="https://redirect.github.com/mixpanel/mixpanel-js/issues/443">mixpanel/mixpanel-js#443</a>).</li>
<li>Support for more UTM tags / click IDs (<a
href="https://redirect.github.com/mixpanel/mixpanel-js/pull/442">mixpanel/mixpanel-js#442</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md">mixpanel-browser's
changelog</a>.</em></p>
<blockquote>
<p><strong>2.55.1</strong> (27 Aug 2024)</p>
<ul>
<li>Adds a minimum recording length option for session recording</li>
<li>Fixes and improvements for session recording batcher to support
offline queueing and retry</li>
<li>Fix for query param parsing/escaping</li>
<li>Support for more UTM tags / click IDs (thanks <a
href="https://github.com/aliyalcinkaya"><code>@​aliyalcinkaya</code></a>)</li>
</ul>
<p><strong>2.55.0</strong> (2 Aug 2024)</p>
<ul>
<li>Added new build to support native JavaScript modules</li>
</ul>
<p><strong>2.54.1</strong> (30 Jul 2024)</p>
<ul>
<li>Fixes and improvements for user-idleness detection in session
recording</li>
</ul>
<p><strong>2.54.0</strong> (23 Jul 2024)</p>
<ul>
<li>Provides optional builds without session recording module and
without asynchronous script loading.</li>
<li>Integrates request batcher with session recording module for
increased reliability.</li>
<li>Improved user inactivity heuristic for session recording
timeout.</li>
<li>Adds config options to inline images and collect fonts during
session recording.</li>
</ul>
<p><strong>2.53.0</strong> (21 Jun 2024)</p>
<ul>
<li>Switch to new session-recording network payload format, utilizing
client-side compression when available</li>
<li>Session-recording methods are now available through Google Tag
Manager wrapper</li>
</ul>
<p><strong>2.52.0</strong> (7 Jun 2024)</p>
<ul>
<li>Reverted UTM param persistence change from 2.51.0: UTM parameters
are again persisted by default</li>
</ul>
<p><strong>2.51.0</strong> (30 May 2024)</p>
<ul>
<li>UTM parameter properties are no longer persisted by default</li>
<li>Existing superproperties persisted in localStorage are now copied
back to cookie storage if the library is initialized with cookie
persistence (support migrations from localStorage-&gt;cookie)</li>
<li>Added session-recording options <code>record_block_class</code>,
<code>record_block_selector</code>, and
<code>record_mask_text_class</code></li>
<li>Added method
<code>mixpanel.get_session_recording_properties()</code> for interop
with other client-side SDKs</li>
</ul>
<p><strong>2.50.0</strong> (26 Apr 2024)</p>
<ul>
<li>Initial support for session recording</li>
</ul>
<p><strong>2.49.0</strong> (5 Feb 2024)</p>
<ul>
<li>SPA support in pageview-tracking</li>
<li>Support for configurable UTM parameter persistence</li>
<li>Initial-referrer profile properties are now stored with
<code>set_once</code> instead of <code>set</code></li>
<li>Ignore AhrefsSiteAudit crawler</li>
</ul>
<p><strong>2.48.1</strong> (14 Nov 2023)</p>
<ul>
<li>UTM campaign properties will always be persisted super properties
(fixes discrepancy between
minified and unminified package)</li>
</ul>
<p><strong>2.48.0</strong> (7 Nov 2023)</p>
<ul>
<li>API endpoint routes can now be configured individually (i.e. rename
/track, /engage, /groups)</li>
<li>Event properties object passed to mixpanel.track() will no longer be
mutated</li>
<li>Super properties are now reloaded from persistence when making every
tracking call (i.e., kept fresh when another tab/window in the same
browser has updated them)</li>
<li>Extra failsafe behavior for trying to clear queued requests when
localStorage doesn't work on startup, e.g., when localStorage is full so
writes fail</li>
<li>Block Chrome-Lighthouse user agent</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="28961c73f3"><code>28961c7</code></a>
2.55.1</li>
<li><a
href="f4ceda4b4e"><code>f4ceda4</code></a>
Merge pull request <a
href="https://redirect.github.com/mixpanel/mixpanel-js/issues/217">#217</a>
from mixpanel/2.55.1-rc</li>
<li><a
href="cb938d7876"><code>cb938d7</code></a>
Build 2.55.1</li>
<li><a
href="5bf4d47e02"><code>5bf4d47</code></a>
Build release branch</li>
<li><a
href="de08b334b9"><code>de08b33</code></a>
Merge pull request <a
href="https://redirect.github.com/mixpanel/mixpanel-js/issues/220">#220</a>
from mixpanel/jg-fix-race-test</li>
<li><a
href="567315502f"><code>5673155</code></a>
fix race condition test for bundled version</li>
<li><a
href="6813a4779c"><code>6813a47</code></a>
Merge pull request <a
href="https://redirect.github.com/mixpanel/mixpanel-js/issues/219">#219</a>
from mixpanel/carlos-recording-min-duration-test</li>
<li><a
href="304e596dd8"><code>304e596</code></a>
Fixed test for minimum recording duration</li>
<li><a
href="343c7ab3bd"><code>343c7ab</code></a>
Merge pull request <a
href="https://redirect.github.com/mixpanel/mixpanel-js/issues/213">#213</a>
from mixpanel/carlos-recording-min-duration</li>
<li><a
href="a7d429a834"><code>a7d429a</code></a>
Merge branch '2.55.1-rc' into carlos-recording-min-duration</li>
<li>Additional commits viewable in <a
href="https://github.com/mixpanel/mixpanel-js/compare/v2.55.0...v2.55.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/mixpanel-browser` from 2.49.1 to 2.50.0
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mixpanel-browser">compare
view</a></li>
</ul>
</details>
<br />


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>
2024-09-02 17:44:10 +00:00
dependabot[bot]
49a09a17cd build(deps): Bump tailwindcss from 3.4.7 to 3.4.10 in /website (#6540)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from
3.4.7 to 3.4.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/tailwindcss/releases">tailwindcss's
releases</a>.</em></p>
<blockquote>
<h2>v3.4.10</h2>
<h3>Fixed</h3>
<ul>
<li>Bump versions of plugins in the Standalone CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14185">#14185</a>)</li>
</ul>
<h2>v3.4.9</h2>
<h3>Fixed</h3>
<ul>
<li>No longer warns when broad glob patterns are detecting
<code>vendor</code> folders</li>
</ul>
<h2>v3.4.8</h2>
<h3>Fixed</h3>
<ul>
<li>Fix minification when using nested CSS (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14105">#14105</a>)</li>
<li>Warn when broad glob patterns are used in the content configuration
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14140">#14140</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/tailwindcss/blob/v3.4.10/CHANGELOG.md">tailwindcss's
changelog</a>.</em></p>
<blockquote>
<h2>[3.4.10] - 2024-08-13</h2>
<h3>Fixed</h3>
<ul>
<li>Bump versions of plugins in the Standalone CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14185">#14185</a>)</li>
</ul>
<h2>[3.4.9] - 2024-08-08</h2>
<h3>Fixed</h3>
<ul>
<li>No longer warns when broad glob patterns are detecting
<code>vendor</code> folders</li>
</ul>
<h2>[3.4.8] - 2024-08-07</h2>
<h3>Fixed</h3>
<ul>
<li>Fix minification when using nested CSS (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14105">#14105</a>)</li>
<li>Warn when broad glob patterns are used in the content configuration
(<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/pull/14140">#14140</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f07dbff2a7"><code>f07dbff</code></a>
3.4.10</li>
<li><a
href="c4f23621e1"><code>c4f2362</code></a>
Bump versions of plugins in the Standalone CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/issues/14185">#14185</a>)</li>
<li><a
href="f65023efb9"><code>f65023e</code></a>
3.4.9</li>
<li><a
href="702ba6aaee"><code>702ba6a</code></a>
Don't warn about broad globs in vendor folders (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/issues/14147">#14147</a>)</li>
<li><a
href="1676118af9"><code>1676118</code></a>
3.4.8</li>
<li><a
href="69c81f2583"><code>69c81f2</code></a>
rename <code>master</code> to <code>main</code></li>
<li><a
href="858696a8bc"><code>858696a</code></a>
Warn when broad glob patterns are used in the content configuration (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/issues/14140">#14140</a>)</li>
<li><a
href="1f23c2e842"><code>1f23c2e</code></a>
Bump to latest cssnano v6 (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/issues/14105">#14105</a>)</li>
<li><a
href="28bd90eefb"><code>28bd90e</code></a>
Automate checksum generation for standalone CLI (<a
href="https://redirect.github.com/tailwindlabs/tailwindcss/issues/14081">#14081</a>)</li>
<li>See full diff in <a
href="https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.10">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tailwindcss&package-manager=npm_and_yarn&previous-version=3.4.7&new-version=3.4.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>
2024-09-02 17:43:48 +00:00
Jamil
cb061bf9ba fix(apple): Trigger connlib reset() when IPv4, IPv6, or available network gateways has changed (#6521)
On Apple, we try to be smart about triggering connlib's `reset()` in
order to keep from triggering endless update loops. This can happen
because connlib itself triggers path monitoring updates through
onUpdateRoutes and such.

Before, we only kept track of whether our primary interface changed in
order to consider the path updated. Now, we also track IPv4/IPv6
connectivity and the network's available gateways (read: routers) to
trigger changes. This fixes the case where our interface loses or gains
IPv4 / IPv6 connectivity, or the router address changes.

Fixes #6515

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-08-31 20:49:54 +00:00
Jamil
d4f4c29b05 fix(android): Disable DisconnectMonitor while applying changes (#6517)
Disables the `DisconnectMonitor` when calling `buildVpnService()` to
prevent self-triggered VPN config changes from disconnect the VPN.

Other minor cleanups as well.
2024-08-31 01:33:54 -07:00
Jamil
e9fbb0358e fix(website): slow down animation speed, disable gradient until lg (#6507)
Disabling the linear-gradient on small screens fixes a mobile browser
crash on iOS.
2024-08-30 10:13:16 -07:00
Jamil
6afaadf452 fix(website): Fix syncs text (#6505)
The top graphic said `Signed in: Last week` while the card said `Last
signed in: 2 weeks ago`.

I did my best to recreate the original shadow and such. The graphic I
exported this PNG from is the one in the New Landing Page.
2024-08-30 01:39:45 -07:00
Jamil
c6b0b0a922 ci: Release 1.3.0 for Internet Resource (#6503)
This publishes the 1.3.0 clients and gateways so that Internet Resources
will work.

The feature is still disabled for the Stripe plans until we publish the
launch post. Select customers have the feature enabled.

Closes #2667
2024-08-30 01:21:34 -07:00
Jamil
c66f0c15c0 ci: Draft bump 1.3.0 clients (#6470)
- Internet resources
2024-08-29 23:33:02 -07:00
Jamil
007323a502 fix(android): Use DisconnectMonitor to shut tunnel down when VPN is disconnected (#6495)
When a user disconnects our VPN from system settings, Android does _not_
call any of the typical TunnelService callbacks. It does, however, send
a standard NetworkMonitor event we can intercept in the `onLost`
callback. We use that to shut down the TunnelService if we detect our
VPN network has been lost.

Unfortunately, network monitoring in Android is broad - we are notified
when _any_ network is lost, not just ours. So to filter others out, we
listen for `linkProperties` changing, and if the link addresses match
our tunnel IPv4 and IPv6, we save that network ID to match on in the
`onLost` callback later.

Resolves #5413
2024-08-30 01:50:46 +00:00
Jamil
a46f5912a0 docs: Use CMD-SHELL for healthcheck in docker compose (#6480)
Fixes a bug found by customer.
2024-08-29 19:36:59 +00:00
Reactor Scram
c8a7820dae feat(rust/gui-client): daily update checks (#6449)
Closes #5811 

<img width="206" alt="image"
src="https://github.com/user-attachments/assets/a2c46bb6-c76a-49ca-a933-4363597d4029">

- Waits a random amount of time up to 24 hours before the first network
check, to avoid the thundering herd problem
- Polls every 24 hours (86,400 seconds) after that
- Saves the network response to disk so we ~~can show "Update ready"
immediately at startup~~ won't notify twice about the same version
- Not clear whether suspending the computer suspends the timer - "it is
also not specified whether system suspends count as elapsed time or not.
The behavior varies across platforms and Rust versions."

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-08-29 19:09:33 +00:00
Reactor Scram
0f62c08070 ci: Bump GUI to 1.2.2 (#6481)
- No known issues from the knowledge base were fixed
- I confirmed on the Windows laptop that the fix for #6469 is in this
MSI.
- The changelog looks good in the Vercel preview

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-08-29 15:26:22 +00:00
Jamil
d76304f1fd fix(website): fix use case layout and mobile crash (#6478)
- Fix missing two-factor graphic
- Fix crash on mobile due to use of luminance in yc-logo-gray.svg,
replaced with PNG
- Fix layout issue on mobile for use case cards
2024-08-29 07:46:25 -07:00
Patti
3399ebdb0f feat(website): New use cases cards (#6291)
Resolves #5751

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-29 07:09:33 +00:00
Reactor Scram
ef75f0fcd9 fix(client/windows): put NRPT rules in a special spot if Group Policy is active (#6472)
Closes #6469

DNS deactivation now also uses the registry instead of PowerShell, but
this may not be faster, since the latency would already be hidden from
users most of the time.
2024-08-28 22:07:27 +00:00
Reactor Scram
176ef052a5 feat(rust/gui-client): add "update ready" notification dot to the tray icon using a runtime compositor (#6432)
Also adds a "Download update" button in the bottom section of the tray
menu when an update is ready.

<img width="258" alt="image"
src="https://github.com/user-attachments/assets/73d31ad2-5eb8-4cfd-9164-39fcad2ba031">

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-08-28 14:59:52 +00:00
Jamil
ea33b7868f ci: Bump GUI to 1.2.1 (#6462) 2024-08-27 22:19:26 -07:00
Reactor Scram
8fef1d0f38 fix(changelog): write about #6455 and #6458 (#6460)
Closes #6459
2024-08-27 21:05:16 +00:00
Reactor Scram
b5a67cd2d7 fix(rust/gui-client): when the Client starts with a token but no Internet, wait for Internet and then connect (#6414)
Closes #6389 

I added a retry button since the network change detection is flaky
inside Parallels. On bare metal Windows it works fine.

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-27 20:14:08 +00:00
Jamil
2b030d801d feat(android): Bundle GITHUB_SHA into Android client (#6405)
Closes #6400 


<img width="659" alt="Screenshot 2024-08-21 at 11 24 16 PM"
src="https://github.com/user-attachments/assets/c1240406-4dda-41df-a36e-1ed9e9b0895a">
2024-08-27 05:17:22 +00:00
Jamil
1a2e10c45e revert(website): Re-add deployment feature section (#6447)
Reverts part of #6337 to add back the Deploy anywhere section.
2024-08-26 15:27:05 -07:00
Patti
cd6eabe71c fix(website): Fix graphics and adjust elevator image size (#6391)
Fix conditions graphic and adjust elevator image size

---------

Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com>
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-26 21:04:59 +00:00
Reactor Scram
482ded889e fix(rust/gui-client): throw error when failing to connect to Firezone (#6409)
Refs #6389 

```[tasklist]
- [x] Update changelog
- [x] Update manual test cases
```

This changes the behavior from "fail silently" to "fail loudly" so at
least the user knows something is wrong and they can restart Firezone
after they gain Internet.

<img width="439" alt="image"
src="https://github.com/user-attachments/assets/d5bbac66-9a5f-40a6-8b4c-71d8ab8abd6d">

<img width="554" alt="image"
src="https://github.com/user-attachments/assets/bcee1f87-bd29-4a44-b41f-a01217e3248e">
2024-08-23 15:37:57 +00:00
Jamil
2e54ae19c9 ci: Release Apple 1.2.1 (#6426)
Get the packet routing fix out.
2024-08-22 23:23:33 -07:00
Gabi
7345cc20a2 fix(connlib): only emit route changes from disabled_resource if routes actually changed (#6424)
Right now, whenever a connection is established we update the site
status.

In order to do that, we call `on_update_resources`, when
`on_update_resources` is called this in turn calls
`set_disabled_resources`, since we apply from the application side the
"disabled" given the current resources.

`set_disabled_resources` currently, always call `on_update_routes`,
which causes connectivity issues on Android and MacOS, since the packets
aren't correctly routed when the routes are changed.

To fix this we make `set_disabled_resources` only emit the routes when
they have actually changed.

Fixes: #6387.

---------

Signed-off-by: Gabi <gabrielalejandro7@gmail.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-08-23 04:01:18 +00:00
Jamil
0994bd145a feat(apple): Build GITHUB_SHA into Apple clients (#6406)
Closes #6401 

<img width="1012" alt="Screenshot 2024-08-21 at 11 52 31 PM"
src="https://github.com/user-attachments/assets/3012d088-97cb-4a82-8a8f-b2a398865755">

![Screenshot 2024-08-22 at 12 05
44 AM](https://github.com/user-attachments/assets/5e1209f9-e8fa-4453-9bdd-9f40339649b4)
2024-08-22 20:49:57 +00:00
Jamil
4ec78f70c2 docs: Uncomment new wildcard spec for DNS Resources (#6408)
This is being deployed now.
2024-08-22 10:38:13 -07:00
Jamil
43ff8fdc4b docs: Gateway 1.2.0 changelog (#6411)
Forgot to uncomment this yesterday when deploying.
2024-08-22 09:49:21 -07:00
Jamil
17c48c8b05 fix(ux/portal): Clarify note about IPv4/6 upstreams (#6407)
Closes #5115 

<img width="1155" alt="Screenshot 2024-08-22 at 1 10 56 AM"
src="https://github.com/user-attachments/assets/3138e055-28c5-47cc-a9db-9f78d36e0d40">
2024-08-22 16:18:28 +00:00
Jamil
c8eed59387 ci: Release 1.2.0 (#6395)
Releasing 1.2.0 to unblock portal deploy! Some of these have already
been published.
2024-08-22 00:18:27 +00:00
Reactor Scram
7593dba7fb feat(client/ios): favorites menu (#6298)
![Screenshot 2024-08-14 at 16 08
14](https://github.com/user-attachments/assets/7d962b32-ee39-42d8-af4a-5f1287bb4b58)
![Screenshot 2024-08-14 at 16 36
10](https://github.com/user-attachments/assets/95876d86-1eb7-4e7f-87ca-6dbd610adddd)

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-20 17:57:57 +00:00
Patti
027fe678cb fix(website): Animate sliding customer logos, fix action link styling (#6309)
Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-20 17:04:16 +00:00
Jamil
3947ad562b feat(website): Add FeatureSection component (#6337)
- Add two feature sections
- Remove obsolete feature sections
- Reorganize order of sections to match design
2024-08-20 07:33:38 -07:00
Jamil
1ae3b74cba fix(website): Fix uptime SLA (#6364)
Matches our CSA.
2024-08-19 21:58:24 -07:00
Jamil
ec3ab2d85c fix(website): max w 1/2 for elevator graphic (#6354) 2024-08-19 20:41:13 -07:00
Reactor Scram
332f827cf7 fix(gui-client): reload IPC service log filter when the settings change (#6351)
Closes #6302

Tested with CI-built MSI on x86_64 Windows, and with dev-built
`run-debug` on aarch Linux.
2024-08-19 23:04:59 +00:00
Jamil
19316938c0 fix(website): Use new elevator graphic and remove borders from color-buggy ActionLinks (#6336)
- Consistent link/button font size on landing
- Use new elevator graphic and remove redundant HTML/CSS
- Removes underline on some ActionLinks because the color is not applied
correctly (Tailwind bug?)
2024-08-18 21:09:30 -07:00
Jamil
5c0402fea1 chore(website): Remove react-mixpanel-browser (#6326)
This library wasn't being actively maintained which caused a
compatibility issue with newer versions of the `mixpanel-browser`
library.

This PR also updates other dependencies via `pnpm update`.
2024-08-18 19:46:00 -07:00
Jamil
9a6f809c3e fix(website): translate-y to offset border-b-2 (#6328)
Adding a bottom border causes the element to shift up ever so slightly,
so we offset that by moving it back down every so slightly.
2024-08-18 17:54:24 -07:00
Jamil
f82fee1624 chore(website): Add back @patticatti's dark scroll bars (#6327)
Adds custom scroll bar styling for dark sections. Use by adding the
`dark-scroll` class to overflow containers.
2024-08-17 03:33:09 +00:00
Reactor Scram
7b73eeae36 feat(client/macOS): Favorite Resources menu (#6186)
```[tasklist]
- [x] Update changelog
- [x] Hook into reset button
```

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-08-16 20:21:48 +00:00
Patti
127492f613 fix(website): Fix headings in elevator and feature cards (#6311)
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-16 09:17:22 -07:00
Patti
eb85a9f72a refactor(website): Restyle customer testimonials (#6318)
Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2024-08-16 07:25:46 -07:00
Reactor Scram
4ddec81f28 fix(gui-client/windows): allow GUI to run as admin again (#6308)
Closes #6305 too

I couldn't find the ticket for this so I'm not sure which customers are
affected.

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-08-15 22:36:18 +00:00
Patti
b2b663aba4 feat(website): Create customer testimonials section, add scrollbar styling (#6252)
Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2024-08-14 22:29:18 -07:00
Thomas Eizinger
7c70850217 feat(connlib): allow glob patterns for matching domain names (#5901)
Currently, `connlib` can only handle "simple" DNS wildcards where `*`
matches any number of subdomains, including zero and `?` matches a
single subdomain.

With this PR, we expand `connlib'`s capabilities to allow for a much
more complex matching of domains that more closely resembles glob
patterns:

- `**` matches any number of subdomains. This supersedes the previous
`*` operator.
- `*` matches a single subdomain. This supersedes the previous `?`
operator.
- `?` matches a single character. This wasn't possible before.
- Additionally, any of these can be combined. Previously, only `*` or
`?` was allowed and they were only accepted at the front of the domain
name pattern.

Resolves: #5056.

---------

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
2024-08-15 01:30:53 +00:00
Jamil
b1b9b552c2 fix(portal): Clarify how synced users count against billing (#6285)
Fixes #6155 

One question we get with almost each new customer is "if I enable sync,
won't that count towards my bill?". This PR aims to answer that question
right when they create the provider.

I will also make sure to update Enterprise accounts in Stripe with
`monthly_active_users_acount` so that they can view this metric on the
Billing page.

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-14 19:04:25 +00:00
Reactor Scram
79c9811a59 fix(gui-client/windows): delete IPC service logs when user clicks "clear logs" (#6280)
Closes #5453 

Tested once on the Windows aarch64 VM. Should always leave 4 files
behind, a `.log` and a `.jsonl` for the GUI and for the IPC service. The
"log directory" is a bit of a lie since it's consistently 2 directories
on both platforms now.

```[tasklist]
- [x] Update changelog
- [x] Make a note to remove the known issue from the website when the next release is cut after this PR merges
```
2024-08-14 15:08:31 +00:00