Commit Graph

2151 Commits

Author SHA1 Message Date
Andrew Dryga
38cceb56ac Fix various issues after config rework (#1462)
Closes #1461
Closes #1458
Closes #1415
Closes #1460
2023-02-23 13:57:10 -06:00
Jamil
b7938d11b9 Cast external_url back to string before being consumed in config (#1457)
Fixes the below issue and in many other places where `external_url` is
used without being explicitly cast with `Kernel.to_string/1`, and ended
as an `%URI{}` struct.

Tests were passing because they were mocked with `external_url` as a
string in `put_env_override/3`

```
firezone-firezone-1  | Request: GET /settings/security/oidc/mOo-_KFG/edit
firezone-firezone-1  | ** (exit) an exception was raised:
firezone-firezone-1  |     ** (FunctionClauseError) no function clause matching in IO.chardata_to_string/1
firezone-firezone-1  |         (elixir 1.14.3) lib/io.ex:670: IO.chardata_to_string(%URI{scheme: "https", authority: "docker-dev.firezone.dev", userinfo: nil, host: "docker-dev.firezone.dev", port: 443, path: "/", query: nil, fragment: nil})
firezone-firezone-1  |         (elixir 1.14.3) lib/path.ex:548: Path.join/2
firezone-firezone-1  |         (fz_http 0.7.16) lib/fz_http_web/live/setting_live/oidc_form_component.ex:136: anonymous fn/3 in FzHttpWeb.SettingLive.OIDCFormComponent.render/1
firezone-firezone-1  |         (phoenix_live_view 0.18.11) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
firezone-firezone-1  |         (phoenix_live_view 0.18.11) lib/phoenix_live_view/diff.ex:521: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
firezone-firezone-1  |         (elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
firezone-firezone-1  |         (phoenix_live_view 0.18.11) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
firezone-firezone-1  |         (phoenix_live_view 0.18.11) lib/phoenix_live_view/diff.ex:521: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
```
2023-02-22 23:03:56 -08:00
Jamil
3971affa07 RemoteIp.Options.proxies expect list of strings not INETs (#1456)
RemoteIp actually expects a list of _strings_, not a comma-separate
string. Updated test to reflect, and tested manually as well.

Fixes #1455
2023-02-22 21:17:53 -08:00
Jamil
a6c01767bf Use INET string to determine protocol for rule destination (#1454)
Fixes #1453
2023-02-22 19:09:28 -08:00
Andrew Dryga
0bcabb64ca Fix script path 2023-02-22 18:01:54 -06:00
Andrew Dryga
c629f84416 Move all bootstrapping to a separate script and reuse it for all commands (#1452) 2023-02-22 17:52:34 -06:00
Andrew Dryga
ae23fbf61a Fix external trusted proxies env usage (#1450)
ref https://discourse.firez.one/t/environment-variables-errors/440/4
2023-02-22 17:39:01 -06:00
Andrew Dryga
76ef9aaa40 Fix typo in default IPV6 address (#1451) 2023-02-22 17:27:09 -06:00
Andrew Dryga
cec02b13d3 Make error message pretties when legacy env is used 2023-02-22 16:21:45 -06:00
Aljaz S
f1746bf2ff Fix "edit this page" link in docs (#1441)
Remove `docs/` trailing part of `presets[].docs.editUrl` so the "Edit
this page" link in the footer of every doc page points to the correct
Github url.

Also replaces the `/tree/` part with `/blob/` as gh redirects you to
that route anyway if you access the page via `/tree/` (seems like
they're deprecating `/tree/`? I don't know..)

---

For example [Enable SSO with Okta (SAML
2.0)](https://www.firezone.dev/docs/authenticate/saml/okta/) points to \

`https://github.com/firezone/firezone/tree/master/www/docs/docs/authenticate/saml/okta.mdx`
while it should point to \

`https://github.com/firezone/firezone/blob/master/www/docs/authenticate/saml/okta.mdx`

---------

Signed-off-by: Aljaz S. <me@aljaxus.eu>
2023-02-22 13:46:15 -08:00
Andrew Dryga
893163d1ed Add missing legacy env 2023-02-22 12:12:35 -06:00
Andrew Dryga
3d22ffe68d Show logs on function test exit 2023-02-22 11:39:01 -06:00
Andrew Dryga
a8c42e13b9 Fix typo 2023-02-22 11:38:51 -06:00
Andrew Dryga
17279216da Trim one more migration field 2023-02-22 11:16:35 -06:00
Jamil
49878743b0 Fix broken link regression (#1449) 2023-02-21 14:45:31 -08:00
Jamil
a44e549818 Update startUrl to add /docs path (#1448) 2023-02-21 11:28:18 -08:00
Andrew Dryga
e08a6cace2 Make sure migration doesn't fail on spaces in inet fields 2023-02-21 12:07:47 -06:00
Andrew Dryga
a8aedf0599 Change type of PRIVATE_CLIENTS env var 2023-02-21 11:48:23 -06:00
Andrew Dryga
80f0cdf171 Change type of EXTERNAL_TRUSTED_PROXIES env var 2023-02-21 11:36:10 -06:00
Andrew Dryga
e819753dcb Make DB password not required again 2023-02-21 11:25:21 -06:00
Andrew Dryga
af431c0a6f Rework configurations (#1352)
- [x] All configs should support ENV variable overrides over DB values
- [ ] ~Adding a new field to DB value should automatically write ENV
config to DB on app boot (so that we don't need migrations)~
- [x] Validate configs and report human-readable errors when something
is wrong, telling where it's invalid (eg. env key X) and what's wrong
with it
- [x] Reuse Changeset validations (we still have a DB schema and UI
form, and want to make sure it's valid)
- [x] Auto-generate docs
- [x] Merge `Config` and `Configurations` into one `Config` context
- [x] Lock out UI fields for configurations when there is an ENV
override
- [x] Lock out corresponding REST API configuration field if overridden
via ENV var
- [x] Log a warning when deprecated legacy var is used
- [x] Document precedence: ENV -> Legacy ENV -> File -> DB
- [x] Change type to `inet[]` for `configurations.{default_client_dns,
default_client_allowed_ips}`, `devices.{dns, allowed_ips}`,
- [x] Drop `EctoNetwork` dep
- [x] `s/phoenix_port/phoenix_http_port` because it doesn't configure
HTTPS server
- [x] Do not load DB configs when config can be resolved from other
sources

Maybe:
- [ ] ~Auto-generate Ecto types to automatically cast/dump values
to/from DB~
- [ ] Allow JSON file config source
- [x] DB-related configs will not be validated?

Closes #1162
Closes #1313
Closes #1374
Closes #1432
2023-02-21 10:38:53 -06:00
dependabot[bot]
38ba7493f5 Bump phoenix_html from 3.2.0 to 3.3.0 (#1422)
Bumps [phoenix_html](https://github.com/phoenixframework/phoenix_html)
from 3.2.0 to 3.3.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/phoenixframework/phoenix_html/blob/master/CHANGELOG.md">phoenix_html's
changelog</a>.</em></p>
<blockquote>
<h1>v3.3.0 (2023-02-10)</h1>
<ul>
<li>
<p>Enhancements</p>
<ul>
<li>Support deeply nested class lists</li>
<li>Implement Phoenix.HTML.Safe for URI</li>
<li>Implement Phoenix.HTML.FormData for Map</li>
</ul>
</li>
<li>
<p>Bug fix</p>
<ul>
<li>Generate unique IDs for checkboxes based on the value</li>
<li>Use artificial button click instead of <code>form.submit</code> in
JavaScript to trigger all relevant events</li>
<li>Fix a bug where nil/false/true attributes in
<code>aria</code>/<code>data</code>/<code>phx</code> would emit empty or
literal values, such as <code>&quot;true&quot;</code> and
<code>&quot;false&quot;</code>. This release aligns them with all other
attributes so both <code>nil</code> and <code>false</code> emit nothing.
<code>true</code> emits the attribute with no value.</li>
</ul>
</li>
<li>
<p>Deprecations</p>
<ul>
<li><code>Phoenix.HTML.Tag.attributes_escape/1</code> is deprecated in
favor of <code>Phoenix.HTML.attributes_escape/1</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6c3a8ee1d2"><code>6c3a8ee</code></a>
Release v3.3.0</li>
<li><a
href="0a6d8e33b3"><code>0a6d8e3</code></a>
Add field to FormField struct (<a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_html/issues/404">#404</a>)</li>
<li><a
href="e67e41b45f"><code>e67e41b</code></a>
Update ExDoc (<a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_html/issues/403">#403</a>)</li>
<li><a
href="d58545f777"><code>d58545f</code></a>
Use field atom for input_value and input_changed? (<a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_html/issues/400">#400</a>)</li>
<li><a
href="f829bcbf9e"><code>f829bcb</code></a>
Fix input_changed?</li>
<li><a
href="da9c164bbd"><code>da9c164</code></a>
Bump version</li>
<li><a
href="6b7bc615bf"><code>6b7bc61</code></a>
Implement form[field], normalize_value/2, and input_changed?/3</li>
<li><a
href="055f2bd829"><code>055f2bd</code></a>
Implement Phoenix.HTML.FormData for Map</li>
<li><a
href="1406b2f6d3"><code>1406b2f</code></a>
Update deprecation notices</li>
<li><a
href="7e4a4f8966"><code>7e4a4f8</code></a>
fix: add hidden attr to csrf inputs (<a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_html/issues/398">#398</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/phoenixframework/phoenix_html/compare/v3.2.0...v3.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phoenix_html&package-manager=hex&previous-version=3.2.0&new-version=3.3.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 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-02-18 09:04:09 -08:00
dependabot[bot]
9c681c7b67 Bump floki from 0.34.0 to 0.34.1 (#1423)
Bumps [floki](https://github.com/philss/floki) from 0.34.0 to 0.34.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/philss/floki/blob/main/CHANGELOG.md">floki's
changelog</a>.</em></p>
<blockquote>
<h2>[0.34.1] - 2023-02-11</h2>
<h3>Fixed</h3>
<ul>
<li>
<p>Fix pseudo-class &quot;:not&quot; selector parsing halting point.
This is a fix for when a &quot;pseudo-class&quot; &quot;:not&quot; that
contains an attribute selector is
followed by another selector. This is an example: &quot;a:not([class]),
div&quot;.</p>
</li>
<li>
<p>Ignore decimal numeric char ref when number is negative.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4e0f0ea94b"><code>4e0f0ea</code></a>
Release v0.34.1</li>
<li><a
href="1d201141e3"><code>1d20114</code></a>
Ignore decimal numeric char ref when number is negative</li>
<li><a
href="f01ac83951"><code>f01ac83</code></a>
Bump earmark from 1.4.34 to 1.4.35 (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/443">#443</a>)</li>
<li><a
href="f22bf9dbca"><code>f22bf9d</code></a>
Fix pseudo-class &quot;:not&quot; selector parsing halting point (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/442">#442</a>)</li>
<li><a
href="57c07e00d0"><code>57c07e0</code></a>
Bump earmark from 1.4.33 to 1.4.34 (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/440">#440</a>)</li>
<li><a
href="ef6f0dfaca"><code>ef6f0df</code></a>
Remove ko-fi from funding</li>
<li><a
href="3aa54d70b3"><code>3aa54d7</code></a>
Bump ex_doc from 0.29.0 to 0.29.1 (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/438">#438</a>)</li>
<li><a
href="adfe71e1a3"><code>adfe71e</code></a>
Simplify versions - CI workflow (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/439">#439</a>)</li>
<li><a
href="c43db1e874"><code>c43db1e</code></a>
Fix dialyzer issues with Floki.text/1 (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/437">#437</a>)</li>
<li><a
href="3c1ce6ef0b"><code>3c1ce6e</code></a>
Remove Rust toolchain from CI (<a
href="https://github-redirect.dependabot.com/philss/floki/issues/436">#436</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/philss/floki/compare/v0.34.0...v0.34.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=floki&package-manager=hex&previous-version=0.34.0&new-version=0.34.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 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-02-18 09:03:55 -08:00
dependabot[bot]
f7f2c21387 Bump phoenix_live_view from 0.18.11 to 0.18.13 (#1424)
Bumps
[phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view)
from 0.18.11 to 0.18.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md">phoenix_live_view's
changelog</a>.</em></p>
<blockquote>
<h2>0.18.13 (2023-02-10)</h2>
<h3>Enhancements</h3>
<ul>
<li>Improve error message when failing to use Phoenix.Component</li>
</ul>
<h2>0.18.12 (2023-02-10)</h2>
<h3>Enhancements</h3>
<ul>
<li>Introduce streams for efficiently handling large collections</li>
<li>Allow replies from <code>:handle_event</code> lifecycle hooks</li>
<li>Add <code>&lt;.inputs_for&gt;</code> component to
<code>Phoenix.Component</code></li>
<li>Support replies on lifecycle <code>:handle_event</code> hooks</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix change tracking when re-assigning a defaulted attribute to same
default value</li>
<li>Fix upload drag and drop failing to worka after using file select
dialog</li>
<li>Fix form recovery when form's first input is phx-change</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2741ab3cfe"><code>2741ab3</code></a>
Release 0.18.3</li>
<li><a
href="15658edaf7"><code>15658ed</code></a>
Improve error message when failing to use Phoenix.Component. Closes <a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_live_view/issues/2440">#2440</a></li>
<li><a
href="1d98c04cc3"><code>1d98c04</code></a>
Release 0.18.13</li>
<li><a
href="89840e852b"><code>89840e8</code></a>
Release 0.18.13</li>
<li><a
href="5843d80f61"><code>5843d80</code></a>
Allow replies from :handle_event lifecycle hooks (<a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_live_view/issues/2425">#2425</a>)</li>
<li><a
href="cf3d77629d"><code>cf3d776</code></a>
Fix comparison</li>
<li><a
href="7d52b421a9"><code>7d52b42</code></a>
Fix typo</li>
<li><a
href="fdd6a5fc98"><code>fdd6a5f</code></a>
Do no consider phx-change inputs in form recovery. Closes <a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_live_view/issues/2181">#2181</a></li>
<li><a
href="5960c20bca"><code>5960c20</code></a>
Touchup</li>
<li><a
href="41d5ab8f7f"><code>41d5ab8</code></a>
Docs: Explain sockets as a server-only data struct</li>
<li>Additional commits viewable in <a
href="https://github.com/phoenixframework/phoenix_live_view/compare/v0.18.11...v0.18.13">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phoenix_live_view&package-manager=hex&previous-version=0.18.11&new-version=0.18.13)](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 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-02-18 09:03:45 -08:00
Jamil
b1ba8d2cdd Use Git 2.27 on CentOS 7 (#1439)
Fixes the Omnibus build 💩
2023-02-17 15:46:47 -08:00
Jamil
41faaf2fb3 Minor static site fixes (#1438) 2023-02-17 11:35:20 -08:00
Jamil
643330fcbe Merge blog site into docs, serve at subpaths (#1419)
- [x] Move all docs to be served under `/docs` prefix
- [x] Merge blog articles and serve under `/blog` prefix
- [x] Remove docs side bar for blog content
- [x] Remake marketing site pages in markdown/react
- [x] Serve marketing site under root path
- [x] Update all old links and paths to use new prefixes
2023-02-15 16:52:16 -08:00
Jamil
e3ba585043 Fix OIDC error matching to catch token and verify failures (#1427)
The phoenix process crashes with 'String.chars not implemented for ...`
when the `fetch_tokens` or `verify` function fails in `openid_connect`.
This is due to a change in the error response tuple that wasn't
reflected in the error matches in `auth_controller.exs`.

Fixes #1426
2023-02-15 12:40:01 -06:00
dependabot[bot]
4819013e50 Bump rubocop from 1.44.1 to 1.45.1 (#1421)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.1 to
1.45.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/releases">rubocop's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.45.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11552">#11552</a>:
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different method chains. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11548">#11548</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method definition was included. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>:
Fix an error for <code>Style/RedundantCondition</code> when the branches
contains empty hash literal argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>:
Fix an error for third party cops when inheriting
<code>RuboCop::Cop::Cop</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h2>RuboCop 1.45</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10839">#10839</a>:
Add API for 3rd party template support. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11528">#11528</a>:
Add new <code>Style/RedundantHeredocDelimiterQuotes</code> cop. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11188">#11188</a>:
Add a <code>--no-detach</code> option for <code>--start-server</code>.
This will start the server process in the foreground, which can be
helpful when running within Docker where detaching the process
terminates the container. (<a
href="https://github.com/f1sherman"><code>@​f1sherman</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11546">#11546</a>:
Make <code>Lint/UselessAccessModifier</code> aware of Ruby 3.2's
<code>Data.define</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11396">#11396</a>:
Add ability to profile rubocop execution via <code>--profile</code> and
<code>--memory</code> options. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11491">#11491</a>:
Fix a crash on <code>Lint/UselessAssignment</code>. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11515">#11515</a>:
Fix a false negative for <code>Naming/HeredocDelimiterNaming</code> when
using lowercase. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11511">#11511</a>:
Fix a false negative for <code>Style/YodaCondition</code> when using
constant. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11520">#11520</a>:
Fix a false negative for <code>Style/YodaExpression</code> when using
constant. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11521">#11521</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
using <code>Kernel.format</code> with the interpolated number of decimal
places fields match. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11545">#11545</a>:
Fix the following false positive for
<code>Lint/NestedMethodDefinition</code> when using numbered parameter.
(<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11535">#11535</a>:
Fix a false positive for <code>Style/NumberedParametersLimit</code> when
only <code>_2</code> or higher numbered parameter is used. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11508">#11508</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using multiple arguments for operator method. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11503">#11503</a>:
Fix a false positive for <code>Style/RedundantCondition</code> when
using method argument with operator. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11529">#11529</a>:
Fix an incorrect autocorrect for <code>Layout/ClassStructure</code> when
definitions that need to be sorted are defined alternately. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11530">#11530</a>:
Fix an incorrect autocorrect for
<code>Style/AccessModifierDeclarations</code> when multiple groupable
access modifiers are defined. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10910">#10910</a>:
Fix an incorrect autocorrect for
<code>Style/MultilineTernaryOperator</code> when contains a comment. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11522">#11522</a>:
Don't flag default keyword arguments in
<code>Style/ArgumentsForwarding</code>. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11547">#11547</a>:
Fix a false positive for <code>Lint/NestedMethodDefinition</code> when
using Ruby 3.2's <code>Data.define</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11537">#11537</a>:
Fix an infinite loop error for <code>Layout/ArrayAlignment</code> when
using assigning unbracketed array elements. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11516">#11516</a>:
Fix missing parentheses in shorthand hash syntax as argument calls. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11504">#11504</a>:
Allow <code>initialize</code> method in
<code>Style/DocumentationMethod</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11541">#11541</a>:
Enable autocorrection for
<code>Layout/LineContinuationLeadingSpace</code>. ([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11542">#11542</a>:
Mark <code>Layout/AssignmentIndentation</code> as safe and
<code>Lint/AssignmentInCondition</code> as unsafe for autocorrection.
([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11517">#11517</a>:
Make <code>Lint/Debugger</code> aware of <code>p</code>,
<code>PP.pp</code>, and <code>pp</code> methods. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11539">#11539</a>:
Remove <code>bundler</code> from default <code>AllowedGems</code> of
<code>Gemspec/DevelopmentDependencies</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's
changelog</a>.</em></p>
<blockquote>
<h2>1.45.1 (2023-02-08)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11552">#11552</a>:
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different method chains. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11548">#11548</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method definition was included. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>:
Fix an error for <code>Style/RedundantCondition</code> when the branches
contains empty hash literal argument. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>:
Fix an error for third party cops when inheriting
<code>RuboCop::Cop::Cop</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.45.0 (2023-02-08)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10839">#10839</a>:
Add API for 3rd party template support. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11528">#11528</a>:
Add new <code>Style/RedundantHeredocDelimiterQuotes</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11188">#11188</a>:
Add a <code>--no-detach</code> option for <code>--start-server</code>.
This will start the server process in the foreground, which can be
helpful when running within Docker where detaching the process
terminates the container. ([<a
href="https://github.com/f1sherman"><code>@​f1sherman</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11546">#11546</a>:
Make <code>Lint/UselessAccessModifier</code> aware of Ruby 3.2's
<code>Data.define</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11396">#11396</a>:
Add ability to profile rubocop execution via <code>--profile</code> and
<code>--memory</code> options. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11491">#11491</a>:
Fix a crash on <code>Lint/UselessAssignment</code>. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11515">#11515</a>:
Fix a false negative for <code>Naming/HeredocDelimiterNaming</code> when
using lowercase. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11511">#11511</a>:
Fix a false negative for <code>Style/YodaCondition</code> when using
constant. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11520">#11520</a>:
Fix a false negative for <code>Style/YodaExpression</code> when using
constant. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11521">#11521</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
using <code>Kernel.format</code> with the interpolated number of decimal
places fields match. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11545">#11545</a>:
Fix the following false positive for
<code>Lint/NestedMethodDefinition</code> when using numbered parameter.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11535">#11535</a>:
Fix a false positive for <code>Style/NumberedParametersLimit</code> when
only <code>_2</code> or higher numbered parameter is used. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11508">#11508</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using multiple arguments for operator method. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11503">#11503</a>:
Fix a false positive for <code>Style/RedundantCondition</code> when
using method argument with operator. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11529">#11529</a>:
Fix an incorrect autocorrect for <code>Layout/ClassStructure</code> when
definitions that need to be sorted are defined alternately. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11530">#11530</a>:
Fix an incorrect autocorrect for
<code>Style/AccessModifierDeclarations</code> when multiple groupable
access modifiers are defined. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10910">#10910</a>:
Fix an incorrect autocorrect for
<code>Style/MultilineTernaryOperator</code> when contains a comment.
([<a href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11522">#11522</a>:
Don't flag default keyword arguments in
<code>Style/ArgumentsForwarding</code>. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11547">#11547</a>:
Fix a false positive for <code>Lint/NestedMethodDefinition</code> when
using Ruby 3.2's <code>Data.define</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11537">#11537</a>:
Fix an infinite loop error for <code>Layout/ArrayAlignment</code> when
using assigning unbracketed array elements. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11516">#11516</a>:
Fix missing parentheses in shorthand hash syntax as argument calls. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11504">#11504</a>:
Allow <code>initialize</code> method in
<code>Style/DocumentationMethod</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11541">#11541</a>:
Enable autocorrection for
<code>Layout/LineContinuationLeadingSpace</code>. ([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11542">#11542</a>:
Mark <code>Layout/AssignmentIndentation</code> as safe and
<code>Lint/AssignmentInCondition</code> as unsafe for autocorrection.
([<a
href="https://github.com/eugeneius"><code>@​eugeneius</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11517">#11517</a>:
Make <code>Lint/Debugger</code> aware of <code>p</code>,
<code>PP.pp</code>, and <code>pp</code> methods. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11539">#11539</a>:
Remove <code>bundler</code> from default <code>AllowedGems</code> of
<code>Gemspec/DevelopmentDependencies</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b0f8575442"><code>b0f8575</code></a>
Cut 1.45.1</li>
<li><a
href="c3f9516b7d"><code>c3f9516</code></a>
Update Changelog</li>
<li><a
href="c4ee09c17f"><code>c4ee09c</code></a>
Fix an error for <code>Style/AccessModifierDeclarations</code> when if a
non method defi...</li>
<li><a
href="24049465e7"><code>2404946</code></a>
CI against JRuby 9.4 instead of JRuby 9.3</li>
<li><a
href="2989584f5a"><code>2989584</code></a>
Fix a false positive for <code>Lint/Debugger</code> when methods
containing different me...</li>
<li><a
href="cdfc3976b4"><code>cdfc397</code></a>
Restore a pending test for processing a regex with regopt</li>
<li><a
href="dca922115e"><code>dca9221</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11554">#11554</a>]
Fix an error for <code>Style/RedundantCondition</code></li>
<li><a
href="4ec3822247"><code>4ec3822</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11549">#11549</a>]
Fix an error for third party cops</li>
<li><a
href="b1b393a210"><code>b1b393a</code></a>
Switch back the docs version</li>
<li><a
href="170d244c0a"><code>170d244</code></a>
Cut 1.45</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.44.1...v1.45.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=1.44.1&new-version=1.45.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 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-02-14 17:03:15 -08:00
Jamil
69335153ce Remove docs.firezone.dev CNAME (#1418)
This corresponds to step (1) of #1417
2023-02-09 15:19:19 -08:00
Jamil
0303ea2811 Short guide on backup / restore (#1411)
Fixes #1270
2023-02-08 12:42:01 -08:00
Jamil
62ea380b4f Remove unneeded dotfiles (#1412)
Leftovers from a distant past
2023-02-08 11:20:11 -08:00
Jamil
96d589ed0a Update issue templates (#1413)
Fixes #1246
2023-02-08 11:19:58 -08:00
Jamil
888eac8703 Fix recursive conncheck timer (#1416)
Fixes #1414
2023-02-08 10:57:39 -08:00
Jamil
8e73b1b8bb Refactor docs for REST API and consistency (#1404)
Also will include the following:

- [x] Fixes #1281
- [x] Fixes #1218
2023-02-07 08:24:11 -08:00
dependabot[bot]
c15b4ca991 Bump docker/build-push-action from 3 to 4 (#1406)
Bumps
[docker/build-push-action](https://github.com/docker/build-push-action)
from 3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/build-push-action/releases">docker/build-push-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<blockquote>
<p><strong>Note</strong></p>
<p>Buildx v0.10 enables support for a minimal <a
href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
which requires support for <a
href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
multi-platform images. This may introduce issues with registry and
runtime support (e.g. <a
href="https://github-redirect.dependabot.com/docker/buildx/issues/1533">Google
Cloud Run and AWS Lambda</a>). You can optionally disable the default
provenance attestation functionality using <code>provenance:
false</code>.</p>
</blockquote>
<ul>
<li>Revert disable provenance by default if not set by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://github-redirect.dependabot.com/docker/build-push-action/pull/784">docker/build-push-action#784</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.3.1...v4.0.0">https://github.com/docker/build-push-action/compare/v3.3.1...v4.0.0</a></p>
<h2>v3.3.1</h2>
<ul>
<li>Disable provenance by default if not set by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/781">#781</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.3.0...v3.3.1">https://github.com/docker/build-push-action/compare/v3.3.0...v3.3.1</a></p>
<h2>v3.3.0</h2>
<blockquote>
<p><strong>Note</strong></p>
<p>Buildx v0.10 enables support for a minimal <a
href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
which requires support for <a
href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
multi-platform images. This may introduce issues with registry and
runtime support (e.g. <a
href="https://github-redirect.dependabot.com/docker/buildx/issues/1533">Google
Cloud Run and AWS Lambda</a>). You can optionally disable the default
provenance attestation functionality using <code>provenance:
false</code>.</p>
</blockquote>
<ul>
<li>Add <code>attests</code>, <code>provenance</code> and
<code>sbom</code> inputs by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/746">#746</a>
<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/759">#759</a>)</li>
<li>Log GitHub Actions runtime token access controls by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/707">#707</a>)</li>
<li>Examples moved to <a
href="https://docs.docker.com/build/ci/github-actions/examples/">docs
website</a> by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/718">#718</a>)</li>
<li>Bump minimatch from 3.0.4 to 3.1.2 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/732">#732</a>)</li>
<li>Bump csv-parse from 5.3.0 to 5.3.3 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/729">#729</a>)</li>
<li>Bump json5 from 2.2.0 to 2.2.3 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/749">#749</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.2.0...v3.3.0">https://github.com/docker/build-push-action/compare/v3.2.0...v3.3.0</a></p>
<h2>v3.2.0</h2>
<ul>
<li>Remove workaround for <code>setOutput</code> by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/704">#704</a>)</li>
<li>Docs: fix Git context link and add more details about subdir support
by <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a>
(<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/685">#685</a>)</li>
<li>Docs: named context by <a
href="https://github.com/baibaratsky"><code>@​baibaratsky</code></a> and
<a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/665">#665</a>)</li>
<li>Bump <code>@​actions/core</code> from 1.9.0 to 1.10.0 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/667">#667</a>
<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/695">#695</a>)</li>
<li>Bump <code>@​actions/github</code> from 5.0.3 to 5.1.1 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/696">#696</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.1.1...v3.2.0">https://github.com/docker/build-push-action/compare/v3.1.1...v3.2.0</a></p>
<h2>v3.1.1</h2>
<ul>
<li>Fix GitHub token not passed with Git context if subdir defined by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/663">#663</a>)</li>
<li>Replace deprecated <code>fs.rmdir</code> with <code>fs.rm</code> by
<a href="https://github.com/bendrucker"><code>@​bendrucker</code></a>
(<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/657">#657</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1">https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1</a></p>
<h2>v3.1.0</h2>
<ul>
<li><code>no-cache-filters</code> input by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/653">#653</a>)</li>
<li>Bump <code>@​actions/github</code> from 5.0.1 to 5.0.3 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/619">#619</a>)</li>
<li>Bump <code>@​actions/core</code> from 1.6.0 to 1.9.0 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/620">#620</a>
<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/637">#637</a>)</li>
<li>Bump csv-parse from 5.0.4 to 5.3.0 (<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/623">#623</a>
<a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/650">#650</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0">https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3b5e8027fc"><code>3b5e802</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/docker/build-push-action/issues/784">#784</a>
from crazy-max/enable-provenance</li>
<li><a
href="02d3266a89"><code>02d3266</code></a>
update generated content</li>
<li><a
href="f403dafe18"><code>f403daf</code></a>
revert disable provenance by default if not set</li>
<li>See full diff in <a
href="https://github.com/docker/build-push-action/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=3&new-version=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 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-02-07 07:49:52 -08:00
dependabot[bot]
45feae5590 Bump pre-commit from 3.0.2 to 3.0.4 (#1407)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.2
to 3.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/releases">pre-commit's
releases</a>.</em></p>
<blockquote>
<h2>pre-commit v3.0.4</h2>
<h3>Fixes</h3>
<ul>
<li>Fix hook diff detection for files affected by
<code>--textconv</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2743">#2743</a>
PR by <a
href="https://github.com/adamchainz"><code>@​adamchainz</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2743">#2743</a>
issue by <a
href="https://github.com/adamchainz"><code>@​adamchainz</code></a>.</li>
</ul>
</li>
</ul>
<h2>pre-commit v3.0.3</h2>
<h3>Fixes</h3>
<ul>
<li>Revert &quot;Prevent local <code>Gemfile</code> from interfering
with hook execution.&quot;.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2739">#2739</a>
issue by <a
href="https://github.com/Roguelazer"><code>@​Roguelazer</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2740">#2740</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.4 - 2023-02-03</h1>
<h3>Fixes</h3>
<ul>
<li>Fix hook diff detection for files affected by
<code>--textconv</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2743">#2743</a>
PR by <a
href="https://github.com/adamchainz"><code>@​adamchainz</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2743">#2743</a>
issue by <a
href="https://github.com/adamchainz"><code>@​adamchainz</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.0.3 - 2023-02-01</h1>
<h3>Fixes</h3>
<ul>
<li>Revert &quot;Prevent local <code>Gemfile</code> from interfering
with hook execution.&quot;.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2739">#2739</a>
issue by <a
href="https://github.com/Roguelazer"><code>@​Roguelazer</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2740">#2740</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0359fae2da"><code>0359fae</code></a>
v3.0.4</li>
<li><a
href="cc7bf965eb"><code>cc7bf96</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2743">#2743</a>
from adamchainz/issue_2742</li>
<li><a
href="7783a3e63a"><code>7783a3e</code></a>
Add <code>--no-textconv</code> to <code>git diff</code> calls</li>
<li><a
href="e846829992"><code>e846829</code></a>
v3.0.3</li>
<li><a
href="bfe1a72734"><code>bfe1a72</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2740">#2740</a>
from pre-commit/gem-file-bleh</li>
<li><a
href="1129e7d222"><code>1129e7d</code></a>
fixup Gemfile in ruby tests</li>
<li><a
href="7260d24d0f"><code>7260d24</code></a>
Revert &quot;also ignore Gemfile in project&quot;</li>
<li><a
href="9868b1a347"><code>9868b1a</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2741">#2741</a>
from pre-commit/golang-1-20</li>
<li><a
href="d216cdd5c1"><code>d216cdd</code></a>
fix golang version regex in test</li>
<li><a
href="c2e432cdf6"><code>c2e432c</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2736">#2736</a>
from pre-commit/node-tests</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=3.0.2&new-version=3.0.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 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-02-07 07:49:17 -08:00
Jamil
7e2d2f35c6 Fix recursive ping timer (#1408)
Fixes recursively initializing the ping timer...
2023-02-06 12:01:57 -08:00
Andrew Dryga
29a74502a9 Fix unique name constraint and render error on MFA register form (#1403)
Closes #1402
2023-02-03 09:16:27 -06:00
Jamil
49d4040b60 Add version tag to migrate script (#1400)
* Add new `VERSION` to `docker_migrate.sh` script
* Add missing `SAML_KEYFILE_PATH` and `SAML_CERTFILE_PATH` env vars to
migrate script
* Add missing `PHOENIX_PORT` var
* Bump Elixir to 1.14.3
* Bump Erlang to 25.2.1
* Update docs to document new VERSION var in docker-compose.yml upgrade
mechanism

Fixes #1395
2023-02-01 19:38:55 -08:00
Andrew Dryga
8033d618c1 Expose phoenix and Wireguard ports specified in configuration (#1372) 2023-02-01 16:23:46 -08:00
Andrew Dryga
aa7a43dc70 Reorganise auth routes to make sure that plugs do not block OIDC/SAML when local auth is disabled (#1399)
And fix acceptance test assertion on the wrong broken behavior.

Closes: #1398
Ref:
https://firezone-users.slack.com/archives/C02PV412LGZ/p1674718310558799
2023-02-01 15:12:46 -08:00
Jamil
dc58d9820f Remove Cockroach note (#1397)
Fixes #1394
2023-02-01 10:18:00 -08:00
Jamil
b64adda2ce Increase load peer timeout (#1396)
Temporary workaround for a rare issue where many peers (> hundreds)
cause a timeout for the `GenServer.call` function, preventing the
`wireguard_public_key` from being set properly.

This will be removed in 0.8, so only an increased timeout is needed for
now.
2023-01-31 18:56:23 -08:00
dependabot[bot]
9b086dc3de Bump rubocop from 1.43.0 to 1.44.1 (#1391)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.43.0 to
1.44.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/releases">rubocop's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.44.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492">#11492</a>:
Fix an error for <code>Lint/Void</code> when configuring
<code>CheckForMethodsWithNoSideEffects: true</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11400">#11400</a>:
Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> and
<code>Lint/AmbiguousOperator</code> when autocorrection conflicts for
ambiguous splat argument. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11483">#11483</a>:
Fix <code>Layout/ClosingParenthesisIndentation</code> for keyword splat
arguments. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11487">#11487</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
format string is only interpolated string. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11485">#11485</a>:
Fix a false positive for <code>Lint/UselessAssignment</code> when using
numbered block parameter. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h2>RuboCop 1.44</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11410">#11410</a>:
Add new <code>Style/InvertibleUnlessCondition</code> cop. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11338">#11338</a>:
Add new <code>Style/ComparableClamp</code> cop. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11350">#11350</a>:
Make <code>Lint/DeprecatedClassMethods</code> aware of deprecated
<code>attr</code> with boolean 2nd argument. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11457">#11457</a>:
Make <code>Metrics/BlockNesting</code> aware of pattern matching. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11458">#11458</a>:
Make <code>Metrics/CyclomaticComplexity</code> aware of pattern
matching. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11469">#11469</a>:
Add <code>Gemspec/DevelopmentDependencies</code> cop. ([<a
href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11445">#11445</a>:
Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when
there is a comment after the closing brace and bracket. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11428">#11428</a>:
Apply value omission exceptions in super invocations. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11420">#11420</a>:
Fix a false positive for <code>Lint/UselessRescue</code> when using
exception variable in <code>ensure</code> clause. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11460">#11460</a>:
Fix an error for <code>Style/OperatorMethodCall</code> when using
<code>foo.&gt; 42</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11456">#11456</a>:
Fix value omissions in <code>yield</code> invocations. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11467">#11467</a>:
Fix a false negative for
<code>Style/MethodCallWithoutArgsParentheses</code> when calling method
on a receiver and assigning to a variable with the same name. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11430">#11430</a>:
Fix an infinite loop error for <code>Layout/BlockEndNewline</code> when
multiline blocks with newlines before the <code>; end</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11442">#11442</a>:
Fix a crash during anonymous rest argument forwarding. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11447">#11447</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> when using nested
double splat hash braces. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11459">#11459</a>:
Make <code>Lint/UselessRuby2Keywords</code> aware of conditions. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11415">#11415</a>:
Fix a false positive for <code>Lint/UselessMethodDefinition</code> when
method definition contains rest arguments. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11418">#11418</a>:
Fix a false positive for
<code>Style/MethodCallWithArgsParentheses</code> when using anonymous
rest arguments or anonymous keyword rest arguments. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11431">#11431</a>:
Fix a crash in Style/HashSyntax. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11444">#11444</a>:
Fix a false positive for <code>Lint/ShadowingOuterLocalVariable</code>
when using numbered block parameter. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11477">#11477</a>:
Fix an error when using YAML alias with server mode. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11419">#11419</a>:
Fix a false positive for <code>Style/RedundantRequireStatement</code>
when using <code>pretty_inspect</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11439">#11439</a>:
Fix an incorrect autocorrect for <code>Style/MinMaxComparison</code>
when using <code>a &lt; b a : b</code> with <code>elsif/else</code>. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11464">#11464</a>:
Fix a false negative for <code>Lint/FormatParameterMismatch</code> when
include interpolated string. (<a
href="https://github.com/ydah"><code>@​ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11425">#11425</a>:
Fix a false negative for <code>Lint/Void</code> when using methods that
takes blocks. ([<a
href="https://github.com/krishanbhasin-shopify"><code>@​krishanbhasin-shopify</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11437">#11437</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when
access modifier is inlined with a method on the top level. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11455">#11455</a>:
Fix crash with <code>super value_omission:</code> followed by a method
call. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11465">#11465</a>:
Make <code>Style/Semicolon</code> aware of redundant semicolon in block.
(<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's
changelog</a>.</em></p>
<blockquote>
<h2>1.44.1 (2023-01-25)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492">#11492</a>:
Fix an error for <code>Lint/Void</code> when configuring
<code>CheckForMethodsWithNoSideEffects: true</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11400">#11400</a>:
Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> and
<code>Lint/AmbiguousOperator</code> when autocorrection conflicts for
ambiguous splat argument. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11483">#11483</a>:
Fix <code>Layout/ClosingParenthesisIndentation</code> for keyword splat
arguments. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11487">#11487</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
format string is only interpolated string. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11485">#11485</a>:
Fix a false positive for <code>Lint/UselessAssignment</code> when using
numbered block parameter. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.44.0 (2023-01-23)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11410">#11410</a>:
Add new <code>Style/InvertibleUnlessCondition</code> cop. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11338">#11338</a>:
Add new <code>Style/ComparableClamp</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11350">#11350</a>:
Make <code>Lint/DeprecatedClassMethods</code> aware of deprecated
<code>attr</code> with boolean 2nd argument. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11457">#11457</a>:
Make <code>Metrics/BlockNesting</code> aware of pattern matching. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11458">#11458</a>:
Make <code>Metrics/CyclomaticComplexity</code> aware of pattern
matching. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11469">#11469</a>:
Add <code>Gemspec/DevelopmentDependencies</code> cop. ([<a
href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11445">#11445</a>:
Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when
there is a comment after the closing brace and bracket. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11428">#11428</a>:
Apply value omission exceptions in super invocations. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11420">#11420</a>:
Fix a false positive for <code>Lint/UselessRescue</code> when using
exception variable in <code>ensure</code> clause. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11460">#11460</a>:
Fix an error for <code>Style/OperatorMethodCall</code> when using
<code>foo.&gt; 42</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11456">#11456</a>:
Fix value omissions in <code>yield</code> invocations. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11467">#11467</a>:
Fix a false negative for
<code>Style/MethodCallWithoutArgsParentheses</code> when calling method
on a receiver and assigning to a variable with the same name. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11430">#11430</a>:
Fix an infinite loop error for <code>Layout/BlockEndNewline</code> when
multiline blocks with newlines before the <code>; end</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11442">#11442</a>:
Fix a crash during anonymous rest argument forwarding. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11447">#11447</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> when using nested
double splat hash braces. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11459">#11459</a>:
Make <code>Lint/UselessRuby2Keywords</code> aware of conditions. ([<a
href="https://github.com/splattael"><code>@​splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11415">#11415</a>:
Fix a false positive for <code>Lint/UselessMethodDefinition</code> when
method definition contains rest arguments. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11418">#11418</a>:
Fix a false positive for
<code>Style/MethodCallWithArgsParentheses</code> when using anonymous
rest arguments or anonymous keyword rest arguments. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11431">#11431</a>:
Fix a crash in Style/HashSyntax. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11444">#11444</a>:
Fix a false positive for <code>Lint/ShadowingOuterLocalVariable</code>
when using numbered block parameter. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11477">#11477</a>:
Fix an error when using YAML alias with server mode. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11419">#11419</a>:
Fix a false positive for <code>Style/RedundantRequireStatement</code>
when using <code>pretty_inspect</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11439">#11439</a>:
Fix an incorrect autocorrect for <code>Style/MinMaxComparison</code>
when using <code>a &lt; b a : b</code> with <code>elsif/else</code>.
([<a href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11464">#11464</a>:
Fix a false negative for <code>Lint/FormatParameterMismatch</code> when
include interpolated string. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11425">#11425</a>:
Fix a false negative for <code>Lint/Void</code> when using methods that
takes blocks. ([<a
href="https://github.com/krishanbhasin-shopify"><code>@​krishanbhasin-shopify</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11437">#11437</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when
access modifier is inlined with a method on the top level. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11455">#11455</a>:
Fix crash with <code>super value_omission:</code> followed by a method
call. ([<a
href="https://github.com/gsamokovarov"><code>@​gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11465">#11465</a>:
Make <code>Style/Semicolon</code> aware of redundant semicolon in block.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11471">#11471</a>:
Change to not output not configured warning when renamed and pending
cop. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8b9b97f7af"><code>8b9b97f</code></a>
Cut 1.44.1</li>
<li><a
href="39adb4e8f3"><code>39adb4e</code></a>
Update Changelog</li>
<li><a
href="6d45fd50db"><code>6d45fd5</code></a>
Fix typos</li>
<li><a
href="aa08c25361"><code>aa08c25</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11493">#11493</a>
from koic/fix_an_error_for_lint_void</li>
<li><a
href="9a1f19a13f"><code>9a1f19a</code></a>
Use <code>RuboCop::AST::Node#basic_conditional?</code></li>
<li><a
href="629da7085e"><code>629da70</code></a>
Use <code>RuboCop::AST::Node#operator_keyword?</code></li>
<li><a
href="48f3d1ffd4"><code>48f3d1f</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492">#11492</a>]
Fix an error for <code>Lint/Void</code></li>
<li><a
href="b947b32ed2"><code>b947b32</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11488">#11488</a>
from koic/fix_a_false_positive_for_lint_useless_ass...</li>
<li><a
href="099a1e7ff5"><code>099a1e7</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11487">#11487</a>
from ydah/fix-false-positive-lint-format-parameter-...</li>
<li><a
href="95a894a43f"><code>95a894a</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11490">#11490</a>
from ydah/fix-indent</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.43.0...v1.44.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=1.43.0&new-version=1.44.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 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-01-30 09:51:54 -08:00
dependabot[bot]
d66fcf4ed4 Bump pre-commit from 2.21.0 to 3.0.2 (#1392)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.21.0
to 3.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/releases">pre-commit's
releases</a>.</em></p>
<blockquote>
<h2>pre-commit v3.0.2</h2>
<h3>Fixes</h3>
<ul>
<li>Prevent local <code>Gemfile</code> from interfering with hook
execution.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727">#2727</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Fix <code>language: r</code>, <code>repo: local</code> hooks
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit-ci/issues/issues/107">pre-commit-ci/issues#107</a>
by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728">#2728</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h2>pre-commit v3.0.1</h2>
<h3>Fixes</h3>
<ul>
<li>Ensure coursier hooks are available offline after install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723">#2723</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h2>pre-commit v3.0.0</h2>
<h3>Features</h3>
<ul>
<li>Make <code>language: golang</code> bootstrap <code>go</code> if not
present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2651">#2651</a>
PR by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2649">#2649</a>
issue by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
</ul>
</li>
<li><code>language: coursier</code> now supports
<code>additional_dependencies</code> and <code>repo: local</code>
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2702">#2702</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Upgrade <code>ruby-build</code> to <code>20221225</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2718">#2718</a>
PR by <a
href="https://github.com/jalessio"><code>@​jalessio</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Improve error message for invalid yaml for <code>pre-commit
autoupdate</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2686">#2686</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2685">#2685</a>
issue by <a
href="https://github.com/CarstenGrohmann"><code>@​CarstenGrohmann</code></a>.</li>
</ul>
</li>
<li><code>repo: local</code> no longer provisions an empty
<code>git</code> repo.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2699">#2699</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>Drop support for python&lt;3.8
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2655">#2655</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for top-level list, use <code>pre-commit
migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2656">#2656</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for <code>sha</code> to specify revision, use
<code>pre-commit migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2657">#2657</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Remove <code>pre-commit-validate-config</code> and
<code>pre-commit-validate-manifest</code>, use <code>pre-commit
validate-config</code> and <code>pre-commit validate-manifest</code>
instead.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2658">#2658</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li><code>language: golang</code> hooks must use <code>go.mod</code> to
specify dependencies
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2672">#2672</a>
PR by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.2 - 2023-01-29</h1>
<h3>Fixes</h3>
<ul>
<li>Prevent local <code>Gemfile</code> from interfering with hook
execution.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727">#2727</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Fix <code>language: r</code>, <code>repo: local</code> hooks
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit-ci/issues/issues/107">pre-commit-ci/issues#107</a>
by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728">#2728</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.0.1 - 2023-01-26</h1>
<h3>Fixes</h3>
<ul>
<li>Ensure coursier hooks are available offline after install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723">#2723</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.0.0 - 2023-01-23</h1>
<h3>Features</h3>
<ul>
<li>Make <code>language: golang</code> bootstrap <code>go</code> if not
present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2651">#2651</a>
PR by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2649">#2649</a>
issue by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
</ul>
</li>
<li><code>language: coursier</code> now supports
<code>additional_dependencies</code> and <code>repo: local</code>
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2702">#2702</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Upgrade <code>ruby-build</code> to <code>20221225</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2718">#2718</a>
PR by <a
href="https://github.com/jalessio"><code>@​jalessio</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Improve error message for invalid yaml for <code>pre-commit
autoupdate</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2686">#2686</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2685">#2685</a>
issue by <a
href="https://github.com/CarstenGrohmann"><code>@​CarstenGrohmann</code></a>.</li>
</ul>
</li>
<li><code>repo: local</code> no longer provisions an empty
<code>git</code> repo.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2699">#2699</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>Drop support for python&lt;3.8
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2655">#2655</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for top-level list, use <code>pre-commit
migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2656">#2656</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for <code>sha</code> to specify revision, use
<code>pre-commit migrate-config</code>
to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2657">#2657</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Remove <code>pre-commit-validate-config</code> and
<code>pre-commit-validate-manifest</code>, use
<code>pre-commit validate-config</code> and <code>pre-commit
validate-manifest</code> instead.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2658">#2658</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li><code>language: golang</code> hooks must use <code>go.mod</code> to
specify dependencies
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2672">#2672</a>
PR by <a
href="https://github.com/taoufik07"><code>@​taoufik07</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6abb05a60c"><code>6abb05a</code></a>
v3.0.2</li>
<li><a
href="2e1cfa8f05"><code>2e1cfa8</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728">#2728</a>
from pre-commit/fix-r-local-hooks</li>
<li><a
href="420902f67c"><code>420902f</code></a>
fix r local hooks</li>
<li><a
href="6eacdd440e"><code>6eacdd4</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2726">#2726</a>
from pre-commit/pick-better-ruby-version</li>
<li><a
href="6e8051b9e6"><code>6e8051b</code></a>
speed up ruby tests by picking a prebuilt in 22.04</li>
<li><a
href="840cf532a9"><code>840cf53</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727">#2727</a>
from pre-commit/ignore-gemfile</li>
<li><a
href="f4bd44996c"><code>f4bd449</code></a>
also ignore Gemfile in project</li>
<li><a
href="dd8e717ed6"><code>dd8e717</code></a>
v3.0.1</li>
<li><a
href="6d3a7eeef5"><code>6d3a7ee</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723">#2723</a>
from pre-commit/coursier-cache</li>
<li><a
href="83e05e607e"><code>83e05e6</code></a>
ensure coursier hooks are available offline after install</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=2.21.0&new-version=3.0.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 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-01-30 09:51:24 -08:00
Andrew Dryga
497429dc03 Change default_client_allowed_ips type to string (#1387)
Closes #1374
2023-01-27 10:50:14 -06:00
Andrew Dryga
e17c0ac6b4 Bump OIDC lib (#1386)
Closes #1385
2023-01-27 10:44:51 -06:00
Jamil
9801617ef5 Fix LiveView disconnect when config is downloaded (#1384)
Fixes #1353
2023-01-26 14:40:22 -08:00
Jamil
e4854902cd Revert to old Project API key (#1379)
Also update ping event timer to 1 day, with a 1 minute delay on boot.

Waiting on PostHog to confirm old API key is set.
2023-01-26 12:49:11 -08:00